|
|
@ -83,7 +83,13 @@ |
|
|
|
<el-table-column label="姓名" align="center" prop="userInfoName" /> |
|
|
|
<el-table-column label="身份证号" align="center" prop="idCard" /> |
|
|
|
<el-table-column label="国籍简码" align="center" prop="nationality" /> |
|
|
|
<el-table-column label="认证状态" align="center" prop="status" > |
|
|
|
<el-table-column label="生物认证" align="center" prop="status" > |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-tag type="danger" v-if="scope.row.biometrics == '0'">未认证</el-tag> |
|
|
|
<el-tag type="success" v-if="scope.row.biometrics == '1'">已认证</el-tag> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="证件认证" align="center" prop="status" > |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-tag type="primary" v-if="scope.row.status == '0'">未认证</el-tag> |
|
|
|
<el-tag type="success" v-if="scope.row.status == '1'">认证通过</el-tag> |
|
|
@ -92,9 +98,6 @@ |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<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" width="200" class-name="small-padding fixed-width"> |
|
|
@ -117,13 +120,6 @@ |
|
|
|
icon="el-icon-view" |
|
|
|
@click="handleAudit(scope.row)" |
|
|
|
>审核</el-button> |
|
|
|
<el-button |
|
|
|
size="mini" |
|
|
|
type="text" |
|
|
|
icon="el-icon-edit" |
|
|
|
@click="handleUpdate(scope.row)" |
|
|
|
v-hasPermi="['business:userVerification:edit']" |
|
|
|
>修改</el-button> |
|
|
|
<el-button |
|
|
|
size="mini" |
|
|
|
type="text" |
|
|
@ -198,7 +194,9 @@ |
|
|
|
{{auditForm.nationality}} |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="出生日期:"> |
|
|
|
{{ auditForm.birthDate ? auditForm.birthDate.substring(0, 9) : '' }} |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ parseTime(auditForm.birthDate, '{y}-{m}-{d}') }}</span> |
|
|
|
</template> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="身份证正面照:"> |
|
|
|
{{auditForm.idCardFrontImagePath}} |
|
|
@ -222,25 +220,19 @@ |
|
|
|
<!-- 实名认证详情 --> |
|
|
|
<el-dialog :title="title" :visible.sync="detailOpen" width="700px" append-to-body> |
|
|
|
<el-form ref="form" :model="form" label-width="auto"> |
|
|
|
<el-form-item label="用户关联ID:"> |
|
|
|
{{form.userId}} |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="姓名:"> |
|
|
|
{{form.fullName}} |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="身份证号:"> |
|
|
|
{{form.idCardNumber}} |
|
|
|
{{form.idCard}} |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="国籍简码:"> |
|
|
|
{{form.nationality}} |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="出生日期" prop="birthDate"> |
|
|
|
<el-date-picker clearable |
|
|
|
v-model="form.birthDate" |
|
|
|
type="datetime" |
|
|
|
value-format="yyyy-MM-dd HH:mm:ss" |
|
|
|
placeholder="请选择出生日期"> |
|
|
|
</el-date-picker> |
|
|
|
<el-form-item label="出生日期:"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ parseTime(form.birthDate, '{y}-{m}-{d}') }}</span> |
|
|
|
</template> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="身份证正面照:"> |
|
|
|
{{form.idCardFrontImagePath}} |
|
|
@ -252,18 +244,11 @@ |
|
|
|
{{form.userWithIdCardImagePath}} |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="生物识别信息:"> |
|
|
|
{{form.biometrics}} |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="认证时间" prop="authenticationDate"> |
|
|
|
<el-date-picker clearable |
|
|
|
v-model="form.authenticationDate" |
|
|
|
type="datetime" |
|
|
|
value-format="yyyy-MM-dd HH:mm:ss" |
|
|
|
placeholder="请选择认证时间"> |
|
|
|
</el-date-picker> |
|
|
|
<el-tag type="danger" v-if="form.biometrics == '0'">未认证</el-tag> |
|
|
|
<el-tag type="success" v-if="form.biometrics == '1'">已认证</el-tag> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="认证失败原因:"> |
|
|
|
{{form.failureReason}} |
|
|
|
<el-form-item label="认证时间:"> |
|
|
|
{{ form.authenticationDate}} |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<div slot="footer" class="dialog-footer"> |
|
|
@ -462,7 +447,7 @@ export default { |
|
|
|
this.buttonLoading = true; |
|
|
|
if (this.form.id != null) { |
|
|
|
updateUserVerification(this.form).then(response => { |
|
|
|
this.$modal.msgSuccess("修改成功"); |
|
|
|
this.$modal.msgSuccess("认证信息已提交,请等待审核!"); |
|
|
|
this.open = false; |
|
|
|
this.getList(); |
|
|
|
}).finally(() => { |
|
|
@ -470,7 +455,7 @@ export default { |
|
|
|
}); |
|
|
|
} else { |
|
|
|
addUserVerification(this.form).then(response => { |
|
|
|
this.$modal.msgSuccess("新增成功"); |
|
|
|
this.$modal.msgSuccess("认证信息已提交,请等待审核!"); |
|
|
|
this.open = false; |
|
|
|
this.getList(); |
|
|
|
}).finally(() => { |
|
|
@ -516,6 +501,7 @@ export default { |
|
|
|
} |
|
|
|
}); |
|
|
|
}, |
|
|
|
/** 审核通过*/ |
|
|
|
submitPass() { |
|
|
|
this.buttonLoading = true; |
|
|
|
auditPass(this.auditForm).then(response => { |
|
|
|