update 工作组联系人完善
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user