更新生成合同选择甲方公司列表
This commit is contained in:
parent
288554451e
commit
793ce79b89
@ -29,6 +29,12 @@ export function apiCompanyDetail(params: any) {
|
|||||||
export function apiSubordinateList(params: any) {
|
export function apiSubordinateList(params: any) {
|
||||||
return request.get({ url: '/company/subordinate', params })
|
return request.get({ url: '/company/subordinate', params })
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 获取甲方公司类型
|
||||||
|
export function getContractPartyACompanyTypeList(params: any) {
|
||||||
|
return request.get({ url: '/setting.dict.dict_data/getContractPartyACompanyTypeList', params })
|
||||||
|
}
|
||||||
|
|
||||||
// 重新发送短信
|
// 重新发送短信
|
||||||
export function sendMsgApi(params: any) {
|
export function sendMsgApi(params: any) {
|
||||||
return request.get({ url: '/company/postsms', params })
|
return request.get({ url: '/company/postsms', params })
|
||||||
|
@ -69,6 +69,7 @@ import {
|
|||||||
apiCompanyLists,
|
apiCompanyLists,
|
||||||
companyListTwo,
|
companyListTwo,
|
||||||
apiCompanyDelete,
|
apiCompanyDelete,
|
||||||
|
getContractPartyACompanyTypeList,
|
||||||
} from "@/api/company";
|
} from "@/api/company";
|
||||||
import { defineEmits } from "vue";
|
import { defineEmits } from "vue";
|
||||||
|
|
||||||
@ -86,8 +87,10 @@ const props = defineProps({
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
const typeList = props.companyTypeList.filter((item: any) => {
|
// 可选公司类型
|
||||||
return item.id == 30 || item.id == 16;
|
const typeList = ref([]);
|
||||||
|
getContractPartyACompanyTypeList({}).then((res) => {
|
||||||
|
typeList.value = res;
|
||||||
});
|
});
|
||||||
|
|
||||||
// 查询条件
|
// 查询条件
|
||||||
|
Loading…
x
Reference in New Issue
Block a user