|
@ -61,11 +61,7 @@ |
|
|
<el-tag type="warning" v-if="scope.row.status == '3'">待审核</el-tag> |
|
|
<el-tag type="warning" v-if="scope.row.status == '3'">待审核</el-tag> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column label="认证时间" align="center" prop="authenticationDate" width="180"> |
|
|
<el-table-column label="审核时间" align="center" prop="authenticationDate" width="180"/> |
|
|
<template slot-scope="scope"> |
|
|
|
|
|
<span>{{ parseTime(scope.row.authenticationDate, '{y}-{m}-{d}') }}</span> |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column label="失败原因" align="center" prop="failureReason"/> |
|
|
<el-table-column label="失败原因" align="center" prop="failureReason"/> |
|
|
<el-table-column label="操作" align="center" width="200" class-name="small-padding fixed-width"> |
|
|
<el-table-column label="操作" align="center" width="200" class-name="small-padding fixed-width"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
@ -124,34 +120,23 @@ |
|
|
<!-- 认证审核 --> |
|
|
<!-- 认证审核 --> |
|
|
<el-dialog :title="title" :visible.sync="auditOpen" width="700px" append-to-body> |
|
|
<el-dialog :title="title" :visible.sync="auditOpen" width="700px" append-to-body> |
|
|
<el-form ref="auditForm" :model="auditForm" :rules="rules" label-width="auto"> |
|
|
<el-form ref="auditForm" :model="auditForm" :rules="rules" label-width="auto"> |
|
|
<el-form-item label="注册姓名:"> |
|
|
<el-form-item label="注册商企名称:"> |
|
|
{{auditForm.userInfoName}} |
|
|
{{auditForm.merchantInfoName}} |
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item label="认证姓名:"> |
|
|
|
|
|
{{auditForm.fullName}} |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item label="注册身份证号:"> |
|
|
|
|
|
{{auditForm.idCardShow}} |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item label="认证身份证号:"> |
|
|
|
|
|
{{auditForm.idCardNumber}} |
|
|
|
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label="国籍简码:"> |
|
|
<el-form-item label="认证商企名称:"> |
|
|
{{auditForm.nationality}} |
|
|
{{auditForm.merchantName}} |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label="出生日期:"> |
|
|
<el-form-item label="注册法人名称:"> |
|
|
<template slot-scope="scope"> |
|
|
{{auditForm.legalPersonInfoName}} |
|
|
<span>{{ parseTime(auditForm.birthDate, '{y}-{m}-{d}') }}</span> |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label="身份证正面照:"> |
|
|
<el-form-item label="认证法人名称:"> |
|
|
{{auditForm.idCardFrontImagePath}} |
|
|
{{auditForm.legalPersonName}} |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label="身份证反面照:"> |
|
|
<el-form-item label="法人身份证号:"> |
|
|
{{auditForm.idCardBackImagePath}} |
|
|
{{auditForm.legalPersonIdCardShow}} |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label="手持身份证照:"> |
|
|
<el-form-item label="营业执照:"> |
|
|
{{auditForm.userWithIdCardImagePath}} |
|
|
{{auditForm.businessLicenseNumber}} |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label="认证失败原因:" prop="failureReason"> |
|
|
<el-form-item label="认证失败原因:" prop="failureReason"> |
|
|
<el-input v-model="auditForm.failureReason" placeholder="请输入认证失败原因" /> |
|
|
<el-input v-model="auditForm.failureReason" placeholder="请输入认证失败原因" /> |
|
@ -200,7 +185,7 @@ |
|
|
<el-form-item label="开户银行:"> |
|
|
<el-form-item label="开户银行:"> |
|
|
{{ form.bankName }} |
|
|
{{ form.bankName }} |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label="认证时间" prop="authenticationDate"> |
|
|
<el-form-item label="审核时间" prop="authenticationDate"> |
|
|
<el-date-picker clearable |
|
|
<el-date-picker clearable |
|
|
v-model="form.authenticationDate" |
|
|
v-model="form.authenticationDate" |
|
|
type="datetime" |
|
|
type="datetime" |
|
@ -225,7 +210,8 @@ import { |
|
|
getMerchantVerification, |
|
|
getMerchantVerification, |
|
|
delMerchantVerification, |
|
|
delMerchantVerification, |
|
|
addMerchantVerification, |
|
|
addMerchantVerification, |
|
|
updateMerchantVerification |
|
|
updateMerchantVerification, |
|
|
|
|
|
merchantAudit |
|
|
} from "@/api/business/merchantVerification"; |
|
|
} from "@/api/business/merchantVerification"; |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
@ -290,6 +276,9 @@ export default { |
|
|
legalPersonIdCard: [ |
|
|
legalPersonIdCard: [ |
|
|
{ required: true, message: "法人身份证号不能为空", trigger: "blur" } |
|
|
{ required: true, message: "法人身份证号不能为空", trigger: "blur" } |
|
|
], |
|
|
], |
|
|
|
|
|
failureReason: [ |
|
|
|
|
|
{ required: true, message: "审核失败原因不能为空", trigger: "blur" } |
|
|
|
|
|
], |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
@ -310,6 +299,7 @@ export default { |
|
|
cancel() { |
|
|
cancel() { |
|
|
this.open = false; |
|
|
this.open = false; |
|
|
this.detailOpen = false; |
|
|
this.detailOpen = false; |
|
|
|
|
|
this.auditOpen = false; |
|
|
this.reset(); |
|
|
this.reset(); |
|
|
}, |
|
|
}, |
|
|
// 表单重置 |
|
|
// 表单重置 |
|
@ -442,27 +432,33 @@ export default { |
|
|
submitRefuse() { |
|
|
submitRefuse() { |
|
|
this.$refs["auditForm"].validate(valid => { |
|
|
this.$refs["auditForm"].validate(valid => { |
|
|
if (valid) { |
|
|
if (valid) { |
|
|
this.buttonLoading = true; |
|
|
this.$modal.confirm('是否【拒绝】商户"' + this.auditForm.merchantName + '"的认证申请?').then(() => { |
|
|
auditBusRefuse(this.auditForm).then(response => { |
|
|
this.buttonLoading = true; |
|
|
this.$modal.msgSuccess("审核结果:拒绝"); |
|
|
this.auditForm.status = "2"; |
|
|
this.auditOpen = false; |
|
|
merchantAudit(this.auditForm).then(response => { |
|
|
this.getList(); |
|
|
this.$modal.msgSuccess("审核结果:拒绝"); |
|
|
}).finally(() => { |
|
|
this.auditOpen = false; |
|
|
this.buttonLoading = false; |
|
|
this.getList(); |
|
|
}); |
|
|
}).finally(() => { |
|
|
|
|
|
this.buttonLoading = false; |
|
|
|
|
|
}); |
|
|
|
|
|
}) |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
/** 审核通过*/ |
|
|
/** 审核通过*/ |
|
|
submitPass() { |
|
|
submitPass() { |
|
|
this.buttonLoading = true; |
|
|
this.buttonLoading = true; |
|
|
auditBusPass(this.auditForm).then(response => { |
|
|
this.auditForm.status = "1"; |
|
|
this.$modal.msgSuccess("审核结果:通过"); |
|
|
this.$modal.confirm('是否【通过】商户"' + this.auditForm.merchantName + '"的认证申请?').then(() => { |
|
|
this.auditOpen = false; |
|
|
merchantAudit(this.auditForm).then(response => { |
|
|
this.getList(); |
|
|
this.$modal.msgSuccess("审核结果:通过"); |
|
|
}).finally(() => { |
|
|
this.auditOpen = false; |
|
|
this.buttonLoading = false; |
|
|
this.getList(); |
|
|
}); |
|
|
}).finally(() => { |
|
|
|
|
|
this.buttonLoading = false; |
|
|
|
|
|
}); |
|
|
|
|
|
}) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|