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()