1.修复弹窗点击空白区域被关闭的问题

fencang
x_z 3 years ago
parent e87c5a19ac
commit fa348cd1b4

@ -310,6 +310,7 @@
width="70%" width="70%"
append-to-body append-to-body
:modal-append-to-body="false" :modal-append-to-body="false"
:close-on-click-modal="false"
@close="closeCustomerDialog" @close="closeCustomerDialog"
> >
<customerUser :currentCustomer="currentCustomer"></customerUser> <customerUser :currentCustomer="currentCustomer"></customerUser>
@ -490,8 +491,6 @@ export default {
this.getList(); this.getList();
}, },
handleCheckedChange(val) { handleCheckedChange(val) {
console.log(val);
console.log(this.check);
}, },
checkRegister(tquery) { checkRegister(tquery) {
this.loading = true; this.loading = true;
@ -514,18 +513,13 @@ export default {
customerkDialog(row) { customerkDialog(row) {
this.currentCustomer = row.customerId; this.currentCustomer = row.customerId;
this.timer = new Date().getTime(); this.timer = new Date().getTime();
console.log("this.currentCustomer = " + this.currentCustomer);
this.customerVisible = true; this.customerVisible = true;
}, },
closeCustomerDialog() { closeCustomerDialog() {
console.log("this.currentCustomer 关闭 = " + this.currentCustomer);
this.currentCustomer = null; this.currentCustomer = null;
}, },
checkDialog(row) { checkDialog(row) {
console.log(row);
console.log(row.customerName);
(this.formData = { (this.formData = {
customerName: row.companyName, customerName: row.companyName,
userMax: row.userMax, userMax: row.userMax,
@ -536,7 +530,6 @@ export default {
pdfTemplateId: row.pdfTemplateId, pdfTemplateId: row.pdfTemplateId,
}), }),
(this.check = parseInt(row.roleId)); (this.check = parseInt(row.roleId));
console.log(this.check);
this.formVisible = true; this.formVisible = true;
}, },
@ -572,7 +565,6 @@ export default {
authCustomerRoles() authCustomerRoles()
.then((response) => { .then((response) => {
this.roles = response.data.list || []; this.roles = response.data.list || [];
console.log("888---" + this.checkQuery.roles);
}) })
.catch(() => { .catch(() => {
}); });

@ -82,6 +82,7 @@
:before-close="hideForm" :before-close="hideForm"
append-to-body append-to-body
:modal-append-to-body="false" :modal-append-to-body="false"
:close-on-click-modal="false"
width="70%" width="70%"
top="5vh" top="5vh"
> >

Loading…
Cancel
Save