|
@ -277,7 +277,7 @@ export default { |
|
|
{ required: true,pattern: /^\d+$/, message: "身份证号只能为数字", trigger: "blur" } |
|
|
{ required: true,pattern: /^\d+$/, message: "身份证号只能为数字", trigger: "blur" } |
|
|
], |
|
|
], |
|
|
failureReason: [ |
|
|
failureReason: [ |
|
|
{ required: true, message: "审核失败原因不能为空", trigger: "blur" } |
|
|
{ } |
|
|
], |
|
|
], |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
@ -430,6 +430,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.merchantName + '"的认证申请?').then(() => { |
|
|
this.$modal.confirm('是否【拒绝】商户"' + this.auditForm.merchantName + '"的认证申请?').then(() => { |
|
@ -450,6 +453,7 @@ export default { |
|
|
submitPass() { |
|
|
submitPass() { |
|
|
this.buttonLoading = true; |
|
|
this.buttonLoading = true; |
|
|
this.auditForm.status = "1"; |
|
|
this.auditForm.status = "1"; |
|
|
|
|
|
this.$refs["auditForm"].clearValidate("failureReason"); |
|
|
this.$modal.confirm('是否【通过】商户"' + this.auditForm.merchantName + '"的认证申请?').then(() => { |
|
|
this.$modal.confirm('是否【通过】商户"' + this.auditForm.merchantName + '"的认证申请?').then(() => { |
|
|
merchantAudit(this.auditForm).then(response => { |
|
|
merchantAudit(this.auditForm).then(response => { |
|
|
this.$modal.msgSuccess("审核结果:通过"); |
|
|
this.$modal.msgSuccess("审核结果:通过"); |
|
|