From fe2fc69a422f301dd2cf14add7c70670d8b8e95d Mon Sep 17 00:00:00 2001 From: schry <2433098676@qq.com> Date: Tue, 11 Jul 2023 10:01:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E7=94=A8=E6=88=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/userManage/customerManage.vue | 8 +++++++- src/views/userManage/customerUser.vue | 9 +++++---- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/views/userManage/customerManage.vue b/src/views/userManage/customerManage.vue index 0dc02ca..7623506 100644 --- a/src/views/userManage/customerManage.vue +++ b/src/views/userManage/customerManage.vue @@ -451,6 +451,11 @@ export default { page: 1, limit: 20, }, + userPersonQuery:{ + businessId:"", + page: 1, + limit: 20, + }, value: "", total: 0, checkFlag: { @@ -610,6 +615,7 @@ export default { this.currentCustomer = row.id; this.customerVisible = true; + }, closeCustomerDialog() { @@ -617,7 +623,7 @@ export default { this.customerVisible = false; }, checkDialog(row) { - this.formData=row; + this.formData=row; this.formVisible = true; this.query.businessId=row.id; this.getCertList(); diff --git a/src/views/userManage/customerUser.vue b/src/views/userManage/customerUser.vue index 8736940..3387fed 100644 --- a/src/views/userManage/customerUser.vue +++ b/src/views/userManage/customerUser.vue @@ -222,8 +222,10 @@ const formJson = { export default { name: "currentCustomer", props: { - currentCustomer: "", - + currentCustomer: { + type: String, + required: true, + }, closeCustomerDialog: { type: Function, required: true, @@ -328,7 +330,6 @@ export default { weChat: "", email: "", createTime: "", - companyId: this.currentCustomer, }; this.getList(); }, @@ -442,7 +443,7 @@ export default { created() { - this.query.companyId = this.currentCustomer; + this.query.companyId = this.currentCustomer; this.getList(); },