update 工作组联系人完善

This commit is contained in:
danshihao
2024-01-11 17:31:55 +08:00
parent 12888fb62c
commit a4b6d3250e
+9 -9
View File
@@ -222,7 +222,7 @@ export default {
// hasContactTwo: false, // 是否选择联系人2
// hasContactThree: false, // 是否选择联系人3
url: {
info: '',
info: '/project/payWorkingGroupSubitem/getItemById',
// add: '/project/payWorkingGroupSubitem/add',
edit: '/project/payWorkingGroupSubitem/editCompany'
},
@@ -267,14 +267,14 @@ export default {
})
},
async edit(record) {
// this.confirmLoading = true
// this.visible = true
// const res = await getAction(this.url.info, {
// id: record.id,
// draftingGroupId: record.draftingGroupId
// })
// this.confirmLoading = false
// record = res.result || record
this.confirmLoading = true
this.visible = true
const res = await getAction(this.url.info, {
id: record.id,
workingGroupId: record.workingGroupId
})
this.confirmLoading = false
record = res.result || record
// 存在默认选中企业时显示默认企业
if (this.defaultChargeCompany.hasOwnProperty.call(this.defaultChargeCompany, 'id')) {
record.chargeCompany = {