From a4b6d3250e4cf64ffdf98c730c8960763fb26116 Mon Sep 17 00:00:00 2001 From: danshihao Date: Thu, 11 Jan 2024 17:31:55 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=B7=A5=E4=BD=9C=E7=BB=84=E8=81=94?= =?UTF-8?q?=E7=B3=BB=E4=BA=BA=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/workTeam/modules/WorkTeamModal.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/workTeam/modules/WorkTeamModal.vue b/src/views/workTeam/modules/WorkTeamModal.vue index 7c9dbda..3b4a38d 100644 --- a/src/views/workTeam/modules/WorkTeamModal.vue +++ b/src/views/workTeam/modules/WorkTeamModal.vue @@ -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 = {