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(); },