|
|
@@ -203,8 +203,11 @@
|
|
|
//审核确认
|
|
|
confirm1(record){
|
|
|
let that = this;
|
|
|
- that.$confirm({
|
|
|
+ const modal =that.$confirm({
|
|
|
title: "审核",
|
|
|
+ closable:true,
|
|
|
+ keyboard: false,
|
|
|
+ maskClosable: true,
|
|
|
content:record.enterpriseName,
|
|
|
okText:"通过",
|
|
|
cancelText:"不通过",
|
|
|
@@ -218,15 +221,21 @@
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- onCancel() {
|
|
|
- auditHpUser({ id: record.id,authenticationStatus:2 }).then((res) => {
|
|
|
- if (res.success) {
|
|
|
- that.$message.success(res.message)
|
|
|
- that.loadData();
|
|
|
- } else {
|
|
|
- that.$message.warning(res.message)
|
|
|
- }
|
|
|
- })
|
|
|
+ onCancel(e) {
|
|
|
+ if(e.triggerCancel){
|
|
|
+ return;
|
|
|
+ }else{
|
|
|
+ modal.destroy()
|
|
|
+ auditHpUser({ id: record.id,authenticationStatus:2 }).then((res) => {
|
|
|
+ if (res.success) {
|
|
|
+ that.$message.success(res.message)
|
|
|
+ that.loadData();
|
|
|
+ } else {
|
|
|
+ that.$message.warning(res.message)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
},
|
|
|
})
|
|
|
},
|