From 736d66e30444f4770b11a73f2470bc5165cac2ff Mon Sep 17 00:00:00 2001 From: chendaze <1824191732@qq.com> Date: Tue, 9 Apr 2024 10:03:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E5=AF=B9=E5=BA=94?= =?UTF-8?q?=E7=9A=84=E4=BC=81=E4=B8=9Abug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/admin/CustomerEdit.vue | 1 + src/views/admin/meeting/VisitorPersonList.vue | 11 ++++------- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/views/admin/CustomerEdit.vue b/src/views/admin/CustomerEdit.vue index f8548df..b247649 100644 --- a/src/views/admin/CustomerEdit.vue +++ b/src/views/admin/CustomerEdit.vue @@ -989,6 +989,7 @@ export default { // 删除联系人 handleDeleteContact(contactInfo) { console.log(contactInfo) + contactInfo.icsCustomerId = this.$route.query.customerId // contactInfo. updateStaffByCustomer(contactInfo).then(res => { if (res.code === 0) { diff --git a/src/views/admin/meeting/VisitorPersonList.vue b/src/views/admin/meeting/VisitorPersonList.vue index 09abe18..81315c7 100644 --- a/src/views/admin/meeting/VisitorPersonList.vue +++ b/src/views/admin/meeting/VisitorPersonList.vue @@ -52,7 +52,7 @@ 删除 - 通过 + 通过 驳回 @@ -163,12 +163,9 @@ export default { created() { }, methods: { - verifySuccess(id){ - console.log(id) - saveVisitorPerson({ - id, - status: 1 - }).then(res => { + verifySuccess(record,status){ + record.status = status + saveVisitorPerson(record).then(res => { if (res.code === 0) { this.$message.success('审核通过') this.handleOk()