|
@ -297,7 +297,7 @@ export default { |
|
|
{ required: true, message: "手持身份证照不能为空", trigger: "blur" } |
|
|
{ required: true, message: "手持身份证照不能为空", trigger: "blur" } |
|
|
], |
|
|
], |
|
|
failureReason: [ |
|
|
failureReason: [ |
|
|
{ required: true, message: "审核失败原因不能为空", trigger: "blur" } |
|
|
{} |
|
|
], |
|
|
], |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
@ -450,6 +450,9 @@ export default { |
|
|
}, |
|
|
}, |
|
|
/** 审核拒绝*/ |
|
|
/** 审核拒绝*/ |
|
|
submitRefuse() { |
|
|
submitRefuse() { |
|
|
|
|
|
this.rules.failureReason = [ |
|
|
|
|
|
{ required: true, message: '拒绝原因不能为空!', trigger: 'blur' } |
|
|
|
|
|
]; |
|
|
this.$refs["auditForm"].validate(valid => { |
|
|
this.$refs["auditForm"].validate(valid => { |
|
|
if (valid) { |
|
|
if (valid) { |
|
|
this.$modal.confirm('是否【拒绝】用户"' + this.auditForm.userInfoName + '"的认证申请?').then(() => { |
|
|
this.$modal.confirm('是否【拒绝】用户"' + this.auditForm.userInfoName + '"的认证申请?').then(() => { |
|
@ -468,6 +471,8 @@ export default { |
|
|
}, |
|
|
}, |
|
|
/** 审核通过*/ |
|
|
/** 审核通过*/ |
|
|
submitPass() { |
|
|
submitPass() { |
|
|
|
|
|
|
|
|
|
|
|
this.$refs["auditForm"].clearValidate("failureReason"); |
|
|
this.$modal.confirm('是否【通过】用户"' + this.auditForm.userInfoName + '"的认证申请?').then(() => { |
|
|
this.$modal.confirm('是否【通过】用户"' + this.auditForm.userInfoName + '"的认证申请?').then(() => { |
|
|
this.buttonLoading = true; |
|
|
this.buttonLoading = true; |
|
|
this.auditForm.status = "1"; |
|
|
this.auditForm.status = "1"; |
|
|