|
@ -49,11 +49,8 @@ |
|
|
<el-table v-loading="loading" :data="merchantVerificationList" @selection-change="handleSelectionChange"> |
|
|
<el-table v-loading="loading" :data="merchantVerificationList" @selection-change="handleSelectionChange"> |
|
|
<el-table-column type="selection" width="55" align="center" /> |
|
|
<el-table-column type="selection" width="55" align="center" /> |
|
|
<el-table-column :label="$t('business.agent.agentVerification.userAccount')" align="center" prop="userAccount" /> |
|
|
<el-table-column :label="$t('business.agent.agentVerification.userAccount')" align="center" prop="userAccount" /> |
|
|
<el-table-column :label="$t('business.agent.agentVerification.agentName')" align="center" prop="agentName"/> |
|
|
<el-table-column :label="$t('business.agent.agentVerification.agentName')" align="center" prop="agentInfoName" /> |
|
|
<el-table-column :label="$t('business.agent.agentVerification.businessLicenseNumber')" align="center" prop="businessLicenseNumber"/> |
|
|
<el-table-column :label="$t('business.merchant.merchantVerification.certificateExpirationDate')" align="center" prop="legalPersonExpirationTime" /> |
|
|
<el-table-column :label="$t('business.agent.agentVerification.legalPersonInfoName')" align="center" prop="legalPersonInfoName"/> |
|
|
|
|
|
<el-table-column :label="$t('business.agent.agentVerification.legalPersonIdCard')" align="center" prop="legalPersonIdCard"/> |
|
|
|
|
|
<el-table-column :label="$t('business.agent.agentVerification.certificateExpirationDate')" align="center" prop="legalPersonExpirationTime"/> |
|
|
|
|
|
<el-table-column :label="$t('business.agent.agentVerification.status')" align="center" prop="status"> |
|
|
<el-table-column :label="$t('business.agent.agentVerification.status')" align="center" prop="status"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<el-tag type="primary" v-if="scope.row.status == '0' || scope.row.status == null">{{ $t('business.agent.agentVerification.statusOption.unverified') }}</el-tag> |
|
|
<el-tag type="primary" v-if="scope.row.status == '0' || scope.row.status == null">{{ $t('business.agent.agentVerification.statusOption.unverified') }}</el-tag> |
|
@ -62,8 +59,12 @@ |
|
|
<el-tag type="danger" v-if="scope.row.status == '3'">{{ $t('business.agent.agentVerification.statusOption.verificationFailed') }}</el-tag> |
|
|
<el-tag type="danger" v-if="scope.row.status == '3'">{{ $t('business.agent.agentVerification.statusOption.verificationFailed') }}</el-tag> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column :label="$t('business.agent.agentVerification.authenticationDate')" align="center" prop="authenticationDate" width="180"/> |
|
|
<el-table-column :label="$t('business.agent.agentVerification.authenticationDate')" align="center" |
|
|
<el-table-column :label="$t('business.agent.agentVerification.failureReason')" align="center" prop="failureReason"/> |
|
|
prop="authenticationDate" width="180" /> |
|
|
|
|
|
<el-table-column :label="$t('business.merchant.userInfoBus.operatingAddress')" align="center" |
|
|
|
|
|
prop="operateAddressShow" width="180" /> |
|
|
|
|
|
<el-table-column :label="$t('business.agent.agentVerification.failureReason')" align="center" |
|
|
|
|
|
prop="failureReason" /> |
|
|
<el-table-column :label="$t('common.tableMsg.operation')" align="center" width="200" class-name="small-padding fixed-width"> |
|
|
<el-table-column :label="$t('common.tableMsg.operation')" align="center" width="200" class-name="small-padding fixed-width"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<el-button v-if="(scope.row.status == null || scope.row.status == 0 || scope.row.status == 3)" |
|
|
<el-button v-if="(scope.row.status == null || scope.row.status == 0 || scope.row.status == 3)" |
|
@ -99,66 +100,218 @@ |
|
|
<!-- 添加或修改商户认证信息对话框 --> |
|
|
<!-- 添加或修改商户认证信息对话框 --> |
|
|
<el-dialog :title="title" :visible.sync="open" width="700px" append-to-body> |
|
|
<el-dialog :title="title" :visible.sync="open" width="700px" append-to-body> |
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="auto"> |
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="auto"> |
|
|
<el-form-item :label="$t('business.agent.agentVerification.agentName')" prop="agentName"> |
|
|
<!-- 是否有营业执照:1-有,2-无 --> |
|
|
<el-input v-model="form.agentName" :placeholder="$t('business.agent.agentVerification.placeholder.agentNamePlaceholder')"/> |
|
|
<el-form-item :label="$t('business.merchant.merchantVerification.businessLicense')" prop="hasLicense"> |
|
|
</el-form-item> |
|
|
<el-radio-group v-model="form.hasLicense"> |
|
|
<el-form-item :label="$t('business.agent.agentVerification.businessLicenseNumber')" prop="businessLicenseNumber"> |
|
|
<el-radio :label="1">{{ $t('business.merchant.merchantVerification.yes') }}</el-radio> |
|
|
<el-input v-model="form.businessLicenseNumber" :placeholder="$t('business.agent.agentVerification.businessLicenseNumber')"/> |
|
|
<el-radio :label="0">{{ $t('business.merchant.merchantVerification.no') }}</el-radio> |
|
|
</el-form-item> |
|
|
</el-radio-group> |
|
|
<el-form-item :label="$t('business.agent.agentVerification.legalPersonName')" prop="legalPersonName"> |
|
|
</el-form-item> |
|
|
<el-input v-model="form.legalPersonName" :placeholder="$t('business.agent.agentVerification.legalPersonName')"/> |
|
|
<el-form-item v-if="form.hasLicense == '1'" :label="$t('business.merchant.merchantVerification.businessLicenseNumber')" |
|
|
</el-form-item> |
|
|
prop="businessLicenseNumber"> |
|
|
<el-form-item :label="$t('business.agent.agentVerification.legalPersonIdCard')" prop="legalPersonIdCard"> |
|
|
<el-input v-model="form.businessLicenseNumber" |
|
|
<el-input v-model="form.legalPersonIdCard" :placeholder="$t('business.agent.agentVerification.placeholder.legalPersonIdCardPlaceholder')"/> |
|
|
:placeholder="$t('business.merchant.merchantVerification.businessLicenseNumberPlaceholder')" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item :label="$t('business.userManager.userVerification.idCardFront')" prop="idCardFrontImagePath"> |
|
|
<el-form-item v-if="form.hasLicense == '1'" :label="$t('business.merchant.merchantVerification.businessLicense')" |
|
|
<el-upload |
|
|
prop="businessLicenseImage"> |
|
|
class="upload-demo" |
|
|
<el-upload class="upload-demo" :action="uploadUrl" :on-success="handleSuccess_businessLicenseImage" :limit="1" |
|
|
:action="uploadUrl" |
|
|
:accept="'image/jpg,image/png'" :file-list="fileList" list-type="picture"> |
|
|
:on-success="handleSuccess_idCardFrontImagePath" |
|
|
<el-button size="small" type="primary">点击上传</el-button> |
|
|
:limit="1" |
|
|
<div slot="tip" class="el-upload__tip">只能上传JPG/PNG文件,且不超过5M</div> |
|
|
:accept="'image/jpg,image/png'" |
|
|
</el-upload> |
|
|
:file-list="fileList" |
|
|
</el-form-item> |
|
|
list-type="picture"> |
|
|
<el-form-item v-if="form.hasLicense == '0'" :label="$t('business.merchant.merchantVerification.doorPhoto')" |
|
|
|
|
|
prop="shopDoorImagePath"> |
|
|
|
|
|
<el-upload class="upload-demo" :action="uploadUrl" :on-success="handleSuccess_shopDoorImagePath" :limit="1" |
|
|
|
|
|
:accept="'image/jpg,image/png'" :file-list="fileList" list-type="picture"> |
|
|
|
|
|
<el-button size="small" type="primary">点击上传</el-button> |
|
|
|
|
|
<div slot="tip" class="el-upload__tip">只能上传JPG/PNG文件,且不超过5M</div> |
|
|
|
|
|
</el-upload> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<!-- 有营业执照的认证方式:1-身份证,2-护照 --> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense == '1'" :label="$t('business.userManager.userVerification.verifiedType')" prop="licenseType"> |
|
|
|
|
|
<el-radio-group v-model="form.licenseType"> |
|
|
|
|
|
<el-radio :label="1">{{ $t('business.userManager.userVerification.idCardVerification') }}</el-radio> |
|
|
|
|
|
<el-radio :label="0">{{ $t('business.userManager.userVerification.license') }}</el-radio> |
|
|
|
|
|
</el-radio-group> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<!-- 有营业执照的认证方式认证基础字段 --> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense == '1'" :label="$t('business.merchant.merchantVerification.legalPersonName')" prop="legalPersonName"> |
|
|
|
|
|
<el-input v-model="form.legalPersonName" |
|
|
|
|
|
:placeholder="$t('business.merchant.merchantVerification.legalPersonNamePlaceholder')" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense == '1'" :label="$t('business.merchant.merchantVerification.legalPersonPhone')" prop="contactPersonPhone"> |
|
|
|
|
|
<el-input v-model="form.contactPersonPhone" |
|
|
|
|
|
:placeholder="$t('business.merchant.merchantVerification.legalPersonPhonePlaceholder')" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense == '1'" :label="$t('business.merchant.merchantVerification.legalPersonEmail')" prop="contactPersonEmail"> |
|
|
|
|
|
<el-input v-model="form.contactPersonEmail" |
|
|
|
|
|
:placeholder="$t('business.merchant.merchantVerification.legalPersonEmailPlaceholder')" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense == '1'" :label="$t('business.merchant.merchantVerification.legalPersonIdCard')" prop="legalPersonIdCard"> |
|
|
|
|
|
<el-input v-model="form.legalPersonIdCard" |
|
|
|
|
|
:placeholder="$t('business.merchant.merchantVerification.legalPersonIdCardPlaceholder')" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense == '1'" :label="$t('business.userManager.userVerification.certificateStartDate')" prop="legalPersonDateOfIssue"> |
|
|
|
|
|
<el-date-picker clearable |
|
|
|
|
|
v-model="form.legalPersonDateOfIssue" |
|
|
|
|
|
type="date" |
|
|
|
|
|
format="dd/MM/yyyy" |
|
|
|
|
|
value-format="dd/MM/yyyy" |
|
|
|
|
|
:placeholder="$t('business.userManager.userVerification.dateOfIssueRequired')"> |
|
|
|
|
|
</el-date-picker> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense == '1'" :label="$t('business.userManager.userVerification.certificateEndDate')" prop="legalPersonExpirationTime"> |
|
|
|
|
|
<el-date-picker clearable |
|
|
|
|
|
v-model="form.legalPersonExpirationTime" |
|
|
|
|
|
type="date" |
|
|
|
|
|
format="dd/MM/yyyy" |
|
|
|
|
|
value-format="dd/MM/yyyy" |
|
|
|
|
|
:placeholder="$t('business.userManager.userVerification.expirationTimeRequired')"> |
|
|
|
|
|
</el-date-picker> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense == '1'" :label="$t('business.merchant.userInfoBus.operatingAddress')" prop="operateAddress"> |
|
|
|
|
|
<el-cascader |
|
|
|
|
|
v-model="form.operateAddress" |
|
|
|
|
|
:options="options_addr" |
|
|
|
|
|
@change="handleChange"></el-cascader> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense == '1'" :label="$t('business.userManager.userInfo.detailAddr')" prop="operateAddressDetail"> |
|
|
|
|
|
<el-input v-model="form.operateAddressDetail " :placeholder="$t('business.userManager.userInfo.addrPlaceholder')" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<!-- 有营业执照的认证方式身份证上传 --> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense == '1' && form.licenseType == '1'" :label="$t('business.userManager.userVerification.idCardFront')" |
|
|
|
|
|
prop="idCardFrontImagePath"> |
|
|
|
|
|
<el-upload class="upload-demo" :action="uploadUrl" :on-success="handleSuccess_idCardFrontImagePath" :limit="1" |
|
|
|
|
|
:accept="'image/jpg,image/png'" :file-list="fileList" list-type="picture"> |
|
|
|
|
|
<el-button size="small" type="primary">点击上传</el-button> |
|
|
|
|
|
<div slot="tip" class="el-upload__tip">只能上传JPG/PNG文件,且不超过5M</div> |
|
|
|
|
|
</el-upload> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense == '1' && form.licenseType == '1'" :label="$t('business.userManager.userVerification.idCardBack')" |
|
|
|
|
|
prop="idCardBackImagePath"> |
|
|
|
|
|
<el-upload class="upload-demo" :action="uploadUrl" :on-success="handleSuccess_idCardBackImagePath" :limit="1" |
|
|
|
|
|
:accept="'image/jpg,image/png'" :file-list="fileList" list-type="picture"> |
|
|
|
|
|
<el-button size="small" type="primary">点击上传</el-button> |
|
|
|
|
|
<div slot="tip" class="el-upload__tip">只能上传JPG/PNG文件,且不超过5M</div> |
|
|
|
|
|
</el-upload> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense == '1' && form.licenseType == '1'" :label="$t('business.userManager.userVerification.idCardHolding')" |
|
|
|
|
|
prop="userWithIdCardImagePath"> |
|
|
|
|
|
<el-upload class="upload-demo" :action="uploadUrl" :on-success="handleSuccess_userWithIdCardImagePath" |
|
|
|
|
|
:limit="1" :accept="'image/jpg,image/png'" :file-list="fileList" list-type="picture"> |
|
|
|
|
|
<el-button size="small" type="primary">点击上传</el-button> |
|
|
|
|
|
<div slot="tip" class="el-upload__tip">只能上传JPG/PNG文件,且不超过5M</div> |
|
|
|
|
|
</el-upload> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<!-- 有营业执照的认证方式护照上传 --> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense == '1' && form.licenseType == '0'" :label="$t('business.userManager.userVerification.license')" |
|
|
|
|
|
prop="passportImagePath"> |
|
|
|
|
|
<el-upload class="upload-demo" :action="uploadUrl" :on-success="handleSuccess_passportImagePath" |
|
|
|
|
|
:limit="1" :accept="'image/jpg,image/png'" :file-list="fileList" list-type="picture"> |
|
|
|
|
|
<el-button size="small" type="primary">点击上传</el-button> |
|
|
|
|
|
<div slot="tip" class="el-upload__tip">只能上传JPG/PNG文件,且不超过5M</div> |
|
|
|
|
|
</el-upload> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<!-------------------------------------------------------------有无营业执照分割线-------------------------------------------------------------------> |
|
|
|
|
|
<!-- 无营业执照的认证方式:1-身份证,2-护照 --> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense == '0'" :label="$t('business.userManager.userVerification.verifiedType')" prop="shopkeeperLicenseType"> |
|
|
|
|
|
<el-radio-group v-model="form.shopkeeperLicenseType"> |
|
|
|
|
|
<el-radio :label="1">{{ $t('business.userManager.userVerification.idCardVerification') }}</el-radio> |
|
|
|
|
|
<el-radio :label="0">{{ $t('business.userManager.userVerification.license') }}</el-radio> |
|
|
|
|
|
</el-radio-group> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<!-- 无营业执照的认证方式认证基础字段 --> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense == '0'" :label="$t('business.merchant.merchantVerification.shopKeeperName')" prop="shopkeeperName"> |
|
|
|
|
|
<el-input v-model="form.shopkeeperName" |
|
|
|
|
|
:placeholder="$t('business.merchant.merchantVerification.legalPersonNamePlaceholder')" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense == '0'" :label="$t('business.merchant.merchantVerification.shopKeeperPhone')" prop="contactPersonPhone"> |
|
|
|
|
|
<el-input v-model="form.contactPersonPhone" |
|
|
|
|
|
:placeholder="$t('business.merchant.merchantVerification.legalPersonPhonePlaceholder')" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense == '0'" :label="$t('business.merchant.merchantVerification.shopKeeperEmail')" prop="contactPersonEmail"> |
|
|
|
|
|
<el-input v-model="form.contactPersonEmail" |
|
|
|
|
|
:placeholder="$t('business.merchant.merchantVerification.legalPersonEmailPlaceholder')" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense == '0'" :label="$t('business.merchant.merchantVerification.shopKeeperIdCardNumber')" prop="shopkeeperIdCard"> |
|
|
|
|
|
<el-input v-model="form.shopkeeperIdCard" |
|
|
|
|
|
:placeholder="$t('business.merchant.merchantVerification.legalPersonIdCardPlaceholder')" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense == '0'" :label="$t('business.userManager.userVerification.certificateStartDate')" prop="shopkeeperDateOfIssue"> |
|
|
|
|
|
<el-date-picker clearable |
|
|
|
|
|
v-model="form.shopkeeperDateOfIssue" |
|
|
|
|
|
type="date" |
|
|
|
|
|
format="dd/MM/yyyy" |
|
|
|
|
|
value-format="dd/MM/yyyy" |
|
|
|
|
|
:placeholder="$t('business.userManager.userVerification.dateOfIssueRequired')"> |
|
|
|
|
|
</el-date-picker> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense == '0'" :label="$t('business.userManager.userVerification.certificateEndDate')" prop="shopkeeperExpirationTime"> |
|
|
|
|
|
<el-date-picker clearable |
|
|
|
|
|
v-model="form.shopkeeperExpirationTime" |
|
|
|
|
|
type="date" |
|
|
|
|
|
format="dd/MM/yyyy" |
|
|
|
|
|
value-format="dd/MM/yyyy" |
|
|
|
|
|
:placeholder="$t('business.userManager.userVerification.expirationTimeRequired')"> |
|
|
|
|
|
</el-date-picker> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense == '0'" :label="$t('business.merchant.userInfoBus.operatingAddress')" prop="operateAddress"> |
|
|
|
|
|
<el-cascader |
|
|
|
|
|
v-model="form.operateAddress" |
|
|
|
|
|
:options="options_addr" |
|
|
|
|
|
@change="handleChange"></el-cascader> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense == '0'" :label="$t('business.userManager.userInfo.detailAddr')" prop="operateAddressDetail"> |
|
|
|
|
|
<el-input v-model="form.operateAddressDetail " :placeholder="$t('business.userManager.userInfo.addrPlaceholder')" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<!-- 无营业执照的认证方式身份证上传 --> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense == '0' && form.shopkeeperLicenseType == '1'" :label="$t('business.userManager.userVerification.idCardFront')" |
|
|
|
|
|
prop="shopkeeperIdCardFrontImagePath"> |
|
|
|
|
|
<el-upload class="upload-demo" :action="uploadUrl" :on-success="handleSuccess_shopkeeperIdCardFrontImagePath" :limit="1" |
|
|
|
|
|
:accept="'image/jpg,image/png'" :file-list="fileList" list-type="picture"> |
|
|
<el-button size="small" type="primary">点击上传</el-button> |
|
|
<el-button size="small" type="primary">点击上传</el-button> |
|
|
<div slot="tip" class="el-upload__tip">只能上传JPG/PNG文件,且不超过5M</div> |
|
|
<div slot="tip" class="el-upload__tip">只能上传JPG/PNG文件,且不超过5M</div> |
|
|
</el-upload> |
|
|
</el-upload> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item :label="$t('business.userManager.userVerification.idCardBack')" prop="idCardBackImagePath"> |
|
|
<el-form-item v-if="form.hasLicense == '0' && form.shopkeeperLicenseType == '1'" :label="$t('business.userManager.userVerification.idCardBack')" |
|
|
<el-upload |
|
|
prop="shopkeeperIdCardBackImagePath"> |
|
|
class="upload-demo" |
|
|
<el-upload class="upload-demo" :action="uploadUrl" :on-success="handleSuccess_shopkeeperIdCardBackImagePath" :limit="1" |
|
|
:action="uploadUrl" |
|
|
:accept="'image/jpg,image/png'" :file-list="fileList" list-type="picture"> |
|
|
:on-success="handleSuccess_idCardBackImagePath" |
|
|
|
|
|
:limit="1" |
|
|
|
|
|
:accept="'image/jpg,image/png'" |
|
|
|
|
|
:file-list="fileList" |
|
|
|
|
|
list-type="picture"> |
|
|
|
|
|
<el-button size="small" type="primary">点击上传</el-button> |
|
|
<el-button size="small" type="primary">点击上传</el-button> |
|
|
<div slot="tip" class="el-upload__tip">只能上传JPG/PNG文件,且不超过5M</div> |
|
|
<div slot="tip" class="el-upload__tip">只能上传JPG/PNG文件,且不超过5M</div> |
|
|
</el-upload> |
|
|
</el-upload> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item :label="$t('business.userManager.userVerification.idCardHolding')" prop="userWithIdCardImagePath"> |
|
|
<el-form-item v-if="form.hasLicense == '0' && form.shopkeeperLicenseType == '1'" :label="$t('business.userManager.userVerification.idCardHolding')" |
|
|
<el-upload |
|
|
prop="shopkeeperWithIdCardImagePath"> |
|
|
class="upload-demo" |
|
|
<el-upload class="upload-demo" :action="uploadUrl" :on-success="handleSuccess_shopkeeperWithIdCardImagePath" |
|
|
:action="uploadUrl" |
|
|
:limit="1" :accept="'image/jpg,image/png'" :file-list="fileList" list-type="picture"> |
|
|
:on-success="handleSuccess_userWithIdCardImagePath" |
|
|
|
|
|
:limit="1" |
|
|
|
|
|
:accept="'image/jpg,image/png'" |
|
|
|
|
|
:file-list="fileList" |
|
|
|
|
|
list-type="picture"> |
|
|
|
|
|
<el-button size="small" type="primary">点击上传</el-button> |
|
|
<el-button size="small" type="primary">点击上传</el-button> |
|
|
<div slot="tip" class="el-upload__tip">只能上传JPG/PNG文件,且不超过5M</div> |
|
|
<div slot="tip" class="el-upload__tip">只能上传JPG/PNG文件,且不超过5M</div> |
|
|
</el-upload> |
|
|
</el-upload> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item :label="$t('business.agent.agentVerification.electronicContract')" prop="electronicContract"> |
|
|
<!-- 无营业执照的认证方式护照上传 --> |
|
|
<el-input v-model="form.electronicContract" :placeholder="$t('business.agent.agentVerification.electronicContract')"/> |
|
|
<el-form-item v-if="form.hasLicense == '0' && form.shopkeeperLicenseType == '0'" :label="$t('business.userManager.userVerification.license')" |
|
|
|
|
|
prop="shopkeeperPassportImagePath"> |
|
|
|
|
|
<el-upload class="upload-demo" :action="uploadUrl" :on-success="handleSuccess_shopkeeperPassportImagePath" |
|
|
|
|
|
:limit="1" :accept="'image/jpg,image/png'" :file-list="fileList" list-type="picture"> |
|
|
|
|
|
<el-button size="small" type="primary">点击上传</el-button> |
|
|
|
|
|
<div slot="tip" class="el-upload__tip">只能上传JPG/PNG文件,且不超过5M</div> |
|
|
|
|
|
</el-upload> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item :label="$t('business.agent.agentVerification.earnestMoney')" prop="earnestMoney"> |
|
|
<!-- 保证金缴纳证明上传 --> |
|
|
<el-input v-model="form.earnestMoney" :placeholder="$t('business.agent.agentVerification.earnestMoney')"/> |
|
|
<el-form-item :label="$t('business.agent.agentVerification.earnestMoney')" |
|
|
|
|
|
prop="earnestMoney"> |
|
|
|
|
|
<el-upload class="upload-demo" :action="uploadUrl" :on-success="handleSuccess_earnestMoney" |
|
|
|
|
|
:limit="1" :accept="'image/jpg,image/png'" :file-list="fileList" list-type="picture"> |
|
|
|
|
|
<el-button size="small" type="primary">点击上传</el-button> |
|
|
|
|
|
<div slot="tip" class="el-upload__tip">只能上传JPG/PNG文件,且不超过5M</div> |
|
|
|
|
|
</el-upload> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
<div slot="footer" class="dialog-footer"> |
|
|
<div slot="footer" class="dialog-footer"> |
|
|
<el-button :loading="buttonLoading" type="primary" @click="submitForm">{{ $t('common.button.confirm') }}</el-button> |
|
|
<el-button :loading="buttonLoading" type="primary" |
|
|
|
|
|
@click="submitForm">{{ $t('common.button.confirm') }}</el-button> |
|
|
<el-button @click="cancel">{{ $t('common.button.cancel') }}</el-button> |
|
|
<el-button @click="cancel">{{ $t('common.button.cancel') }}</el-button> |
|
|
</div> |
|
|
</div> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
@ -166,39 +319,104 @@ |
|
|
<!-- 认证审核 --> |
|
|
<!-- 认证审核 --> |
|
|
<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="$t('business.agent.agentVerification.registeredAgentName') + ':'"> |
|
|
|
|
|
{{auditForm.agentInfoName}} |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item :label="$t('business.agent.agentVerification.authenticatedAgentName') + ':'"> |
|
|
<el-form-item :label="$t('business.agent.agentVerification.authenticatedAgentName') + ':'"> |
|
|
{{auditForm.agentName}} |
|
|
{{auditForm.agentName}} |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item :label="$t('business.agent.agentVerification.registeredLegalPersonName') + ':'"> |
|
|
<el-form-item v-if="auditForm.hasLicense ==1" :label="$t('business.merchant.merchantVerification.businessLicenseNumber') + ':'"> |
|
|
{{auditForm.legalPersonInfoName}} |
|
|
{{auditForm.businessLicenseNumber}} |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="auditForm.hasLicense ==1" :label="$t('business.merchant.merchantVerification.businessLicense') + ':'"> |
|
|
|
|
|
<el-image style="width: 90px; height: 30px" :src="auditForm.businessLicenseImage" |
|
|
|
|
|
:preview-src-list="[auditForm.businessLicenseImage]" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="auditForm.hasLicense ==0" :label="$t('business.merchant.merchantVerification.doorPhoto') + ':'"> |
|
|
|
|
|
<el-image style="width: 90px; height: 30px" :src="auditForm.shopDoorImagePath" |
|
|
|
|
|
:preview-src-list="[auditForm.shopDoorImagePath]" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item :label="$t('business.agent.agentVerification.authenticatedLegalPersonName') + ':'"> |
|
|
<!-- 有营业执照的法人审核信息 --> |
|
|
|
|
|
<el-form-item v-if="auditForm.hasLicense == '1'" :label="$t('business.merchant.merchantVerification.legalPersonName') + ':'"> |
|
|
{{auditForm.legalPersonName}} |
|
|
{{auditForm.legalPersonName}} |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item :label="$t('business.agent.agentVerification.legalPersonIdCardNumber') + ':'"> |
|
|
<el-form-item v-if="auditForm.hasLicense == '1'" :label="$t('business.merchant.merchantVerification.legalPersonPhone') + ':'"> |
|
|
{{auditForm.legalPersonIdCardShow}} |
|
|
{{auditForm.contactPersonPhone}} |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="auditForm.hasLicense == '1'" :label="$t('business.merchant.merchantVerification.legalPersonEmail') + ':'"> |
|
|
|
|
|
{{auditForm.contactPersonEmail}} |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="auditForm.hasLicense == '1'" :label="$t('business.merchant.merchantVerification.legalPersonIdCard') + ':'"> |
|
|
|
|
|
{{auditForm.legalPersonIdCard}} |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item v-if="auditForm.licenseType ==1" :label="$t('business.userManager.userVerification.idCardFront') + ':'"> |
|
|
<el-form-item v-if="auditForm.hasLicense == '1'" :label="$t('business.userManager.userVerification.certificateStartDate') + ':'"> |
|
|
<el-image style="width: 90px; height: 30px" :src="auditForm.idCardFrontImagePath" :preview-src-list="[auditForm.idCardFrontImagePath]"/> |
|
|
{{auditForm.legalPersonDateOfIssue}} |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item v-if="auditForm.licenseType ==1" :label="$t('business.userManager.userVerification.idCardBack') + ':'"> |
|
|
<el-form-item v-if="auditForm.hasLicense == '1'" :label="$t('business.userManager.userVerification.certificateEndDate') + ':'"> |
|
|
<el-image style="width: 90px; height: 30px" :src="auditForm.idCardBackImagePath" :preview-src-list="[auditForm.idCardBackImagePath]"/> |
|
|
{{auditForm.legalPersonExpirationTime}} |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item v-if="auditForm.licenseType ==1" :label="$t('business.userManager.userVerification.idCardHolding') + ':'"> |
|
|
<el-form-item v-if="auditForm.hasLicense == '1'" :label="$t('business.merchant.userInfoBus.operatingAddress') + ':'"> |
|
|
<el-image style="width: 90px; height: 30px" :src="auditForm.userWithIdCardImagePath" :preview-src-list="[auditForm.userWithIdCardImagePath]"/> |
|
|
{{auditForm.operateAddressShow}} |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item v-if="auditForm.licenseType == 0" :label="$t('business.userManager.userVerification.license')"> |
|
|
<el-form-item v-if="auditForm.licenseType == '1' && auditForm.hasLicense == '1'" :label="$t('business.userManager.userVerification.idCardFront') + ':'"> |
|
|
|
|
|
<el-image style="width: 90px; height: 30px" :src="auditForm.legalPersonIdCardFrontImagePath" |
|
|
|
|
|
:preview-src-list="[auditForm.legalPersonIdCardFrontImagePath]" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="auditForm.licenseType == '1' && auditForm.hasLicense == '1'" :label="$t('business.userManager.userVerification.idCardBack') + ':'"> |
|
|
|
|
|
<el-image style="width: 90px; height: 30px" :src="auditForm.legalPersonIdCardBackImagePath" |
|
|
|
|
|
:preview-src-list="[auditForm.legalPersonIdCardBackImagePath]" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="auditForm.licenseType == '1' && auditForm.hasLicense == '1'" :label="$t('business.userManager.userVerification.idCardHolding') + ':'"> |
|
|
|
|
|
<el-image style="width: 90px; height: 30px" :src="auditForm.legalPersonUserWithIdCardImagePath" |
|
|
|
|
|
:preview-src-list="[auditForm.legalPersonUserWithIdCardImagePath]" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="auditForm.licenseType == '0' && auditForm.hasLicense == '1'" :label="$t('business.userManager.userVerification.license') + ':'"> |
|
|
<el-image style="width: 90px; height: 30px" :src="auditForm.passportImagePath" |
|
|
<el-image style="width: 90px; height: 30px" :src="auditForm.passportImagePath" |
|
|
:preview-src-list="[auditForm.passportImagePath]" /> |
|
|
:preview-src-list="[auditForm.passportImagePath]" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item :label="$t('business.agent.agentVerification.businessLicense') + ':'"> |
|
|
<!-- 无营业执照的店主审核信息 --> |
|
|
{{auditForm.businessLicenseNumber}} |
|
|
<el-form-item v-if="auditForm.hasLicense == '0'" :label="$t('business.merchant.merchantVerification.shopKeeperName') + ':'"> |
|
|
|
|
|
{{auditForm.shopkeeperName}} |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="auditForm.hasLicense == '0'" :label="$t('business.merchant.merchantVerification.shopKeeperPhone') + ':'"> |
|
|
|
|
|
{{auditForm.contactPersonPhone}} |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="auditForm.hasLicense == '0'" :label="$t('business.merchant.merchantVerification.shopKeeperEmail') + ':'"> |
|
|
|
|
|
{{auditForm.contactPersonEmail}} |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="auditForm.hasLicense == '0'" :label="$t('business.merchant.merchantVerification.shopKeeperIdCardNumber') + ':'"> |
|
|
|
|
|
{{auditForm.shopkeeperIdCard}} |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="auditForm.hasLicense == '0'" :label="$t('business.userManager.userVerification.certificateStartDate') + ':'"> |
|
|
|
|
|
{{auditForm.shopkeeperDateOfIssue}} |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item :label="$t('business.agent.agentVerification.authenticationFailureReason') + ':'" prop="failureReason"> |
|
|
<el-form-item v-if="auditForm.hasLicense == '0'" :label="$t('business.userManager.userVerification.certificateEndDate') + ':'"> |
|
|
<el-input v-model="auditForm.failureReason" :placeholder="$t('business.agent.agentVerification.authenticationFailureReason')" /> |
|
|
{{auditForm.shopkeeperExpirationTime}} |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="auditForm.hasLicense == '0'" :label="$t('business.merchant.userInfoBus.operatingAddress') + ':'"> |
|
|
|
|
|
{{auditForm.operateAddressShow}} |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="auditForm.shopkeeperLicenseType == '1' && auditForm.hasLicense == '0'" :label="$t('business.userManager.userVerification.idCardFront') + ':'"> |
|
|
|
|
|
<el-image style="width: 90px; height: 30px" :src="auditForm.shopkeeperIdCardFrontImagePath" |
|
|
|
|
|
:preview-src-list="[auditForm.shopkeeperIdCardFrontImagePath]" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="auditForm.shopkeeperLicenseType == '1' && auditForm.hasLicense == '0'" :label="$t('business.userManager.userVerification.idCardBack') + ':'"> |
|
|
|
|
|
<el-image style="width: 90px; height: 30px" :src="auditForm.shopkeeperIdCardBackImagePath" |
|
|
|
|
|
:preview-src-list="[auditForm.shopkeeperIdCardBackImagePath]" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="auditForm.shopkeeperLicenseType == '1' && auditForm.hasLicense == '0'" :label="$t('business.userManager.userVerification.idCardHolding') + ':'"> |
|
|
|
|
|
<el-image style="width: 90px; height: 30px" :src="auditForm.shopkeeperWithIdCardImagePath" |
|
|
|
|
|
:preview-src-list="[auditForm.shopkeeperWithIdCardImagePath]" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="auditForm.shopkeeperLicenseType == '0' && auditForm.hasLicense == '0'" :label="$t('business.userManager.userVerification.license') + ':'"> |
|
|
|
|
|
<el-image style="width: 90px; height: 30px" :src="auditForm.shopkeeperPassportImagePath" |
|
|
|
|
|
:preview-src-list="[auditForm.shopkeeperPassportImagePath]" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item :label="$t('business.agent.agentVerification.earnestMoney') + ':'"> |
|
|
|
|
|
<el-image style="width: 90px; height: 30px" :src="auditForm.earnestMoney" |
|
|
|
|
|
:preview-src-list="[auditForm.earnestMoney]" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item :label="$t('business.merchant.merchantVerification.authenticationFailureReason') + ':'" |
|
|
|
|
|
prop="failureReason"> |
|
|
|
|
|
<el-input v-model="auditForm.failureReason" |
|
|
|
|
|
:placeholder="$t('business.merchant.merchantVerification.authenticationFailureReasonPlaceholder')" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
<div slot="footer" class="dialog-footer"> |
|
|
<div slot="footer" class="dialog-footer"> |
|
@ -214,40 +432,100 @@ |
|
|
<el-form-item :label="$t('business.agent.agentVerification.agentName') + ':'"> |
|
|
<el-form-item :label="$t('business.agent.agentVerification.agentName') + ':'"> |
|
|
{{ form.agentName }} |
|
|
{{ form.agentName }} |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item :label="$t('business.agent.agentVerification.businessLicenseNumber') + ':'"> |
|
|
<el-form-item v-if="form.hasLicense ==1" :label="$t('business.merchant.merchantVerification.businessLicenseNumber') + ':'"> |
|
|
{{form.businessLicenseNumber}} |
|
|
{{form.businessLicenseNumber}} |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item :label="$t('business.agent.agentVerification.legalPersonName') + ':'"> |
|
|
<el-form-item v-if="form.hasLicense ==1" :label="$t('business.merchant.merchantVerification.businessLicense') + ':'"> |
|
|
|
|
|
<el-image style="width: 90px; height: 30px" :src="form.businessLicenseImage" |
|
|
|
|
|
:preview-src-list="[form.businessLicenseImage]" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense ==0" :label="$t('business.merchant.merchantVerification.doorPhoto') + ':'"> |
|
|
|
|
|
<el-image style="width: 90px; height: 30px" :src="form.shopDoorImagePath" |
|
|
|
|
|
:preview-src-list="[form.shopDoorImagePath]" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<!-- 有营业执照的法人信息详情 --> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense == '1'" :label="$t('business.merchant.merchantVerification.legalPersonName') + ':'"> |
|
|
{{form.legalPersonName}} |
|
|
{{form.legalPersonName}} |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item :label="$t('business.agent.agentVerification.legalPersonIdCard') + ':'"> |
|
|
<el-form-item v-if="form.hasLicense == '1'" :label="$t('business.merchant.merchantVerification.legalPersonPhone') + ':'"> |
|
|
|
|
|
{{form.contactPersonPhone}} |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense == '1'" :label="$t('business.merchant.merchantVerification.legalPersonEmail') + ':'"> |
|
|
|
|
|
{{form.contactPersonEmail}} |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense == '1'" :label="$t('business.merchant.merchantVerification.legalPersonIdCard') + ':'"> |
|
|
{{form.legalPersonIdCard}} |
|
|
{{form.legalPersonIdCard}} |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item v-if="form.licenseType ==1" :label="$t('business.userManager.userVerification.idCardFront') + ':'"> |
|
|
<el-form-item v-if="form.hasLicense == '1'" :label="$t('business.userManager.userVerification.certificateStartDate') + ':'"> |
|
|
<el-image style="width: 90px; height: 30px" :src="form.idCardFrontImagePath" :preview-src-list="[form.idCardFrontImagePath]"/> |
|
|
{{form.legalPersonDateOfIssue}} |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item v-if="form.licenseType ==1" :label="$t('business.userManager.userVerification.idCardBack') + ':'"> |
|
|
<el-form-item v-if="form.hasLicense == '1'" :label="$t('business.userManager.userVerification.certificateEndDate') + ':'"> |
|
|
<el-image style="width: 90px; height: 30px" :src="form.idCardBackImagePath" :preview-src-list="[form.idCardBackImagePath]"/> |
|
|
{{form.legalPersonExpirationTime}} |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item v-if="form.licenseType ==1" :label="$t('business.userManager.userVerification.idCardHolding') + ':'"> |
|
|
<el-form-item v-if="form.hasLicense == '1'" :label="$t('business.merchant.userInfoBus.operatingAddress') + ':'"> |
|
|
<el-image style="width: 90px; height: 30px" :src="form.userWithIdCardImagePath" :preview-src-list="[form.userWithIdCardImagePath]"/> |
|
|
{{form.operateAddressShow}} |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item v-if="form.licenseType == 0" :label="$t('business.userManager.userVerification.license')"> |
|
|
<el-form-item v-if="form.licenseType ==1 && form.hasLicense == '1'" :label="$t('business.userManager.userVerification.idCardFront') + ':'"> |
|
|
|
|
|
<el-image style="width: 90px; height: 30px" :src="form.legalPersonIdCardFrontImagePath" |
|
|
|
|
|
:preview-src-list="[form.legalPersonIdCardFrontImagePath]" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="form.licenseType ==1 && form.hasLicense == '1'" :label="$t('business.userManager.userVerification.idCardBack') + ':'"> |
|
|
|
|
|
<el-image style="width: 90px; height: 30px" :src="form.legalPersonIdCardBackImagePath" |
|
|
|
|
|
:preview-src-list="[form.legalPersonIdCardBackImagePath]" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="form.licenseType ==1 && form.hasLicense == '1'" :label="$t('business.userManager.userVerification.idCardHolding') + ':'"> |
|
|
|
|
|
<el-image style="width: 90px; height: 30px" :src="form.legalPersonUserWithIdCardImagePath" |
|
|
|
|
|
:preview-src-list="[form.legalPersonUserWithIdCardImagePath]" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="form.licenseType == 0 && form.hasLicense == '1'" :label="$t('business.userManager.userVerification.license') + ':'"> |
|
|
<el-image style="width: 90px; height: 30px" :src="form.passportImagePath" |
|
|
<el-image style="width: 90px; height: 30px" :src="form.passportImagePath" |
|
|
:preview-src-list="[form.passportImagePath]" /> |
|
|
:preview-src-list="[form.passportImagePath]" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item :label="$t('business.agent.agentVerification.electronicContract') + ':'"> |
|
|
<!-- 无营业执照的店主信息详情 --> |
|
|
{{ form.electronicContract }} |
|
|
<el-form-item v-if="form.hasLicense == '0'" :label="$t('business.merchant.merchantVerification.shopKeeperName') + ':'"> |
|
|
|
|
|
{{form.shopkeeperName}} |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item :label="$t('business.agent.agentVerification.earnestMoney') + ':'"> |
|
|
<el-form-item v-if="form.hasLicense == '0'" :label="$t('business.merchant.merchantVerification.shopKeeperPhone') + ':'"> |
|
|
{{ form.earnestMoney }} |
|
|
{{form.contactPersonPhone}} |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item :label="$t('business.agent.agentVerification.authenticationDate') + ':'" prop="authenticationDate"> |
|
|
<el-form-item v-if="form.hasLicense == '0'" :label="$t('business.merchant.merchantVerification.shopKeeperEmail') + ':'"> |
|
|
{{ form.authenticationDate }} |
|
|
{{form.contactPersonEmail}} |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense == '0'" :label="$t('business.merchant.merchantVerification.shopKeeperIdCardNumber') + ':'"> |
|
|
|
|
|
{{form.shopkeeperIdCard}} |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense == '0'" :label="$t('business.userManager.userVerification.certificateStartDate') + ':'"> |
|
|
|
|
|
{{form.shopkeeperDateOfIssue}} |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense == '0'" :label="$t('business.userManager.userVerification.certificateEndDate') + ':'"> |
|
|
|
|
|
{{form.shopkeeperExpirationTime}} |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="form.hasLicense == '0'" :label="$t('business.merchant.userInfoBus.operatingAddress') + ':'"> |
|
|
|
|
|
{{form.operateAddressShow}} |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="form.shopkeeperLicenseType == '1' && form.hasLicense == '0'" :label="$t('business.userManager.userVerification.idCardFront') + ':'"> |
|
|
|
|
|
<el-image style="width: 90px; height: 30px" :src="form.shopkeeperIdCardFrontImagePath" |
|
|
|
|
|
:preview-src-list="[form.shopkeeperIdCardFrontImagePath]" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="form.shopkeeperLicenseType == '1' && form.hasLicense == '0'" :label="$t('business.userManager.userVerification.idCardBack') + ':'"> |
|
|
|
|
|
<el-image style="width: 90px; height: 30px" :src="form.shopkeeperIdCardBackImagePath" |
|
|
|
|
|
:preview-src-list="[form.shopkeeperIdCardBackImagePath]" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="form.shopkeeperLicenseType == '1' && form.hasLicense == '0'" :label="$t('business.userManager.userVerification.idCardHolding') + ':'"> |
|
|
|
|
|
<el-image style="width: 90px; height: 30px" :src="form.shopkeeperWithIdCardImagePath" |
|
|
|
|
|
:preview-src-list="[form.shopkeeperWithIdCardImagePath]" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item v-if="form.shopkeeperLicenseType == '0' && form.hasLicense == '0'" :label="$t('business.userManager.userVerification.license') + ':'"> |
|
|
|
|
|
<el-image style="width: 90px; height: 30px" :src="form.shopkeeperPassportImagePath" |
|
|
|
|
|
:preview-src-list="[form.shopkeeperPassportImagePath]" /> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item :label="$t('business.agent.agentVerification.earnestMoney') + ':'"> |
|
|
|
|
|
<el-image style="width: 90px; height: 30px" :src="form.earnestMoney" |
|
|
|
|
|
:preview-src-list="[form.earnestMoney]" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
<div slot="footer" class="dialog-footer"> |
|
|
<div slot="footer" class="dialog-footer"> |
|
|
<el-button @click="cancel">{{$t('common.button.cancel')}}</el-button> |
|
|
<el-button @click="cancel">{{$t('common.button.close')}}</el-button> |
|
|
</div> |
|
|
</div> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
</div> |
|
|
</div> |
|
@ -291,6 +569,8 @@ export default { |
|
|
detailOpen: false, |
|
|
detailOpen: false, |
|
|
// 是否显示详情弹出层 |
|
|
// 是否显示详情弹出层 |
|
|
auditOpen: false, |
|
|
auditOpen: false, |
|
|
|
|
|
//地址选择列表 |
|
|
|
|
|
options_addr:[], |
|
|
// 查询参数 |
|
|
// 查询参数 |
|
|
queryParams: { |
|
|
queryParams: { |
|
|
pageNum: 1, |
|
|
pageNum: 1, |
|
@ -324,6 +604,9 @@ export default { |
|
|
legalPersonName: [ |
|
|
legalPersonName: [ |
|
|
{ required: true, message: this.$t('business.agent.agentVerification.legalPersonNameRequired'), trigger: "blur" } |
|
|
{ required: true, message: this.$t('business.agent.agentVerification.legalPersonNameRequired'), trigger: "blur" } |
|
|
], |
|
|
], |
|
|
|
|
|
shopkeeperName: [ |
|
|
|
|
|
{ required: true, message: this.$t('business.merchant.merchantVerification.shopKeeperNamePlaceholder'), trigger: "blur" } |
|
|
|
|
|
], |
|
|
idCardFrontImagePath: [ |
|
|
idCardFrontImagePath: [ |
|
|
{ required: true, message: this.$t('business.userManager.userVerification.idCardFrontRequired'), trigger: "blur" } |
|
|
{ required: true, message: this.$t('business.userManager.userVerification.idCardFrontRequired'), trigger: "blur" } |
|
|
], |
|
|
], |
|
@ -333,6 +616,11 @@ export default { |
|
|
userWithIdCardImagePath: [ |
|
|
userWithIdCardImagePath: [ |
|
|
{ required: true, message: this.$t('business.userManager.userVerification.idCardHoldingRequired'), trigger: "blur" } |
|
|
{ required: true, message: this.$t('business.userManager.userVerification.idCardHoldingRequired'), trigger: "blur" } |
|
|
], |
|
|
], |
|
|
|
|
|
passportImagePath: [{ |
|
|
|
|
|
required: true, |
|
|
|
|
|
message: this.$t('business.userManager.userVerification.passportRequired'), |
|
|
|
|
|
trigger: "blur" |
|
|
|
|
|
}], |
|
|
electronicContract: [ |
|
|
electronicContract: [ |
|
|
{ required: true, message: this.$t('business.agent.agentVerification.electronicContractRequired'), trigger: "blur" } |
|
|
{ required: true, message: this.$t('business.agent.agentVerification.electronicContractRequired'), trigger: "blur" } |
|
|
], |
|
|
], |
|
@ -342,14 +630,94 @@ export default { |
|
|
legalPersonIdCard: [ |
|
|
legalPersonIdCard: [ |
|
|
{ required: true,pattern: /^\d+$/, message: this.$t('business.agent.agentVerification.legalPersonIdCardPattern'), trigger: "blur" } |
|
|
{ required: true,pattern: /^\d+$/, message: this.$t('business.agent.agentVerification.legalPersonIdCardPattern'), trigger: "blur" } |
|
|
], |
|
|
], |
|
|
failureReason: [ |
|
|
failureReason: [{}], |
|
|
{ } |
|
|
businessLicenseNumber: [{ |
|
|
], |
|
|
required: true, |
|
|
|
|
|
message: this.$t('business.merchant.merchantVerification.businessLicenseNumberPlaceholder'), |
|
|
|
|
|
trigger: "blur" |
|
|
|
|
|
}], |
|
|
|
|
|
businessLicenseImage: [{ |
|
|
|
|
|
required: true, |
|
|
|
|
|
message: this.$t('business.merchant.merchantVerification.businessLicensePhotoPlaceholder'), |
|
|
|
|
|
trigger: "blur" |
|
|
|
|
|
}], |
|
|
|
|
|
shopDoorImagePath: [{ |
|
|
|
|
|
required: true, |
|
|
|
|
|
message: this.$t('business.merchant.merchantVerification.doorPhotoPlaceholder'), |
|
|
|
|
|
trigger: "blur" |
|
|
|
|
|
}], |
|
|
|
|
|
legalPersonDateOfIssue: [{ |
|
|
|
|
|
required: true, |
|
|
|
|
|
message: this.$t('business.userManager.userVerification.expirationTimeRequired'), |
|
|
|
|
|
trigger: "blur" |
|
|
|
|
|
}], |
|
|
|
|
|
legalPersonExpirationTime: [{ |
|
|
|
|
|
required: true, |
|
|
|
|
|
message: this.$t('business.userManager.userVerification.expirationTimeRequired'), |
|
|
|
|
|
trigger: "blur" |
|
|
|
|
|
}], |
|
|
|
|
|
operateAddress: [{ |
|
|
|
|
|
required: true, |
|
|
|
|
|
message: this.$t('business.userManager.userInfo.addrPlaceholder'), |
|
|
|
|
|
trigger: "blur" |
|
|
|
|
|
}], |
|
|
|
|
|
operateAddressDetail: [{ |
|
|
|
|
|
required: true, |
|
|
|
|
|
message: this.$t('business.userManager.userInfo.addrPlaceholder'), |
|
|
|
|
|
trigger: "blur" |
|
|
|
|
|
}], |
|
|
|
|
|
shopkeeperIdCard: [{ |
|
|
|
|
|
required: true, |
|
|
|
|
|
pattern: /^\d+$/, |
|
|
|
|
|
message: this.$t('business.merchant.merchantVerification.shopKeeperIdCardPlaceholder'), |
|
|
|
|
|
trigger: "blur" |
|
|
|
|
|
}], |
|
|
|
|
|
contactPersonPhone: [{ |
|
|
|
|
|
required: true, |
|
|
|
|
|
message: this.$t('business.merchant.merchantVerification.shopKeeperPhonePlaceholder'), |
|
|
|
|
|
trigger: "blur" |
|
|
|
|
|
}], |
|
|
|
|
|
contactPersonEmail: [{ |
|
|
|
|
|
required: true, |
|
|
|
|
|
message: this.$t('business.merchant.merchantVerification.shopKeeperEmailPlaceholder'), |
|
|
|
|
|
trigger: "blur" |
|
|
|
|
|
}], |
|
|
|
|
|
shopkeeperIdCardFrontImagePath: [{ |
|
|
|
|
|
required: true, |
|
|
|
|
|
message: this.$t('business.userManager.userVerification.idCardFrontRequired'), |
|
|
|
|
|
trigger: "blur" |
|
|
|
|
|
}], |
|
|
|
|
|
shopkeeperIdCardBackImagePath: [{ |
|
|
|
|
|
required: true, |
|
|
|
|
|
message: this.$t('business.userManager.userVerification.idCardBackRequired'), |
|
|
|
|
|
trigger: "blur" |
|
|
|
|
|
}], |
|
|
|
|
|
shopkeeperWithIdCardImagePath: [{ |
|
|
|
|
|
required: true, |
|
|
|
|
|
message: this.$t('business.userManager.userVerification.idCardHoldingRequired'), |
|
|
|
|
|
trigger: "blur" |
|
|
|
|
|
}], |
|
|
|
|
|
shopkeeperPassportImagePath: [{ |
|
|
|
|
|
required: true, |
|
|
|
|
|
message: this.$t('business.userManager.userVerification.passportRequired'), |
|
|
|
|
|
trigger: "blur" |
|
|
|
|
|
}], |
|
|
|
|
|
shopkeeperDateOfIssue: [{ |
|
|
|
|
|
required: true, |
|
|
|
|
|
message: this.$t('business.userManager.userVerification.expirationTimeRequired'), |
|
|
|
|
|
trigger: "blur" |
|
|
|
|
|
}], |
|
|
|
|
|
shopkeeperExpirationTime: [{ |
|
|
|
|
|
required: true, |
|
|
|
|
|
message: this.$t('business.userManager.userVerification.expirationTimeRequired'), |
|
|
|
|
|
trigger: "blur" |
|
|
|
|
|
}], |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
created() { |
|
|
created() { |
|
|
this.getList(); |
|
|
this.getList(); |
|
|
|
|
|
this.getAddress(); |
|
|
}, |
|
|
}, |
|
|
computed: { |
|
|
computed: { |
|
|
// 计算属性:动态生成上传URL |
|
|
// 计算属性:动态生成上传URL |
|
@ -364,6 +732,12 @@ export default { |
|
|
/** 查询商户认证信息列表 */ |
|
|
/** 查询商户认证信息列表 */ |
|
|
getList() { |
|
|
getList() { |
|
|
this.loading = true; |
|
|
this.loading = true; |
|
|
|
|
|
const languageMap = { |
|
|
|
|
|
'zh': 1, |
|
|
|
|
|
'en': 2, |
|
|
|
|
|
'la': 3 |
|
|
|
|
|
}; |
|
|
|
|
|
this.queryParams.language = languageMap[this.$i18n.locale] || null; |
|
|
listAgentVerification(this.queryParams).then(response => { |
|
|
listAgentVerification(this.queryParams).then(response => { |
|
|
this.merchantVerificationList = response.rows; |
|
|
this.merchantVerificationList = response.rows; |
|
|
this.total = response.total; |
|
|
this.total = response.total; |
|
@ -399,7 +773,9 @@ export default { |
|
|
updateTime: undefined, |
|
|
updateTime: undefined, |
|
|
createBy: undefined, |
|
|
createBy: undefined, |
|
|
updateBy: undefined, |
|
|
updateBy: undefined, |
|
|
delFlag: undefined |
|
|
delFlag: undefined, |
|
|
|
|
|
hasLicense: 1, |
|
|
|
|
|
licenseType: 1 |
|
|
}; |
|
|
}; |
|
|
this.resetForm("form"); |
|
|
this.resetForm("form"); |
|
|
}, |
|
|
}, |
|
@ -422,11 +798,40 @@ export default { |
|
|
/** 新增按钮操作 */ |
|
|
/** 新增按钮操作 */ |
|
|
handleAdd(row) { |
|
|
handleAdd(row) { |
|
|
this.reset() |
|
|
this.reset() |
|
|
|
|
|
this.form.agentName = row.agentInfoName; |
|
|
if (row.id != null){ |
|
|
if (row.id != null){ |
|
|
this.form = row; |
|
|
this.form = row; |
|
|
this.form.idCardFrontImagePath = null; |
|
|
// 处理地址回显 |
|
|
this.form.idCardBackImagePath = null; |
|
|
const addrValue = this.form.operateAddress ; |
|
|
this.form.userWithIdCardImagePath = null; |
|
|
if (addrValue) { |
|
|
|
|
|
const addrArray = addrValue.split(','); |
|
|
|
|
|
const provinceValue = addrArray[0]; |
|
|
|
|
|
const cityValue = addrArray[1]; |
|
|
|
|
|
|
|
|
|
|
|
const province = this.options_addr.find(item => item.value === provinceValue); |
|
|
|
|
|
if (province) { |
|
|
|
|
|
if (cityValue) { |
|
|
|
|
|
const city = province.children.find(item => item.value === cityValue); |
|
|
|
|
|
if (city) { |
|
|
|
|
|
this.form.operateAddress = [provinceValue, cityValue]; |
|
|
|
|
|
console.log(this.form); |
|
|
|
|
|
} |
|
|
|
|
|
} else { |
|
|
|
|
|
this.form.operateAddress = [provinceValue]; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
this.form.businessLicenseImage = undefined; |
|
|
|
|
|
this.form.shopDoorImagePath = undefined; |
|
|
|
|
|
this.form.idCardFrontImagePath = undefined; |
|
|
|
|
|
this.form.idCardBackImagePath = undefined; |
|
|
|
|
|
this.form.userWithIdCardImagePath = undefined; |
|
|
|
|
|
this.form.passportImagePath = undefined; |
|
|
|
|
|
this.form.shopkeeperIdCardFrontImagePath = undefined; |
|
|
|
|
|
this.form.shopkeeperIdCardBackImagePath = undefined; |
|
|
|
|
|
this.form.shopkeeperWithIdCardImagePath = undefined; |
|
|
|
|
|
this.form.shopkeeperPassportImagePath = undefined; |
|
|
|
|
|
this.form.earnestMoney = undefined; |
|
|
this.open = true; |
|
|
this.open = true; |
|
|
this.title = this.$t('business.agent.agentVerification.authenticateTitle'); |
|
|
this.title = this.$t('business.agent.agentVerification.authenticateTitle'); |
|
|
}else { |
|
|
}else { |
|
@ -466,6 +871,9 @@ export default { |
|
|
this.$refs["form"].validate(valid => { |
|
|
this.$refs["form"].validate(valid => { |
|
|
if (valid) { |
|
|
if (valid) { |
|
|
this.buttonLoading = true; |
|
|
this.buttonLoading = true; |
|
|
|
|
|
this.form.operateAddress = this.form.operateAddress + "," + this.form.operateAddressDetail; |
|
|
|
|
|
if (this.form.electronicContract == null || this.form.electronicContract == '') |
|
|
|
|
|
this.form.electronicContract = 1; |
|
|
if (this.form.id != null) { |
|
|
if (this.form.id != null) { |
|
|
updateAgentVerification(this.form).then(response => { |
|
|
updateAgentVerification(this.form).then(response => { |
|
|
this.$modal.msgSuccess(this.$t('business.agent.agentVerification.updateSuccess')); |
|
|
this.$modal.msgSuccess(this.$t('business.agent.agentVerification.updateSuccess')); |
|
@ -543,23 +951,82 @@ export default { |
|
|
}); |
|
|
}); |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
//身份证正面上传成功 |
|
|
//身份证正面上传成功-法人 |
|
|
handleSuccess_idCardFrontImagePath(response) { |
|
|
handleSuccess_idCardFrontImagePath(response) { |
|
|
if (response.code === 200) { |
|
|
if (response.code === 200) { |
|
|
this.form.idCardFrontImagePath = this.getImgUrl + response.data; // 保存 URL 到表单 |
|
|
this.form.idCardFrontImagePath = this.getImgUrl + response.data; // 保存 URL 到表单 |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
//身份证反面上传成功 |
|
|
//身份证反面上传成功-法人 |
|
|
handleSuccess_idCardBackImagePath(response) { |
|
|
handleSuccess_idCardBackImagePath(response) { |
|
|
if (response.code === 200) { |
|
|
if (response.code === 200) { |
|
|
this.form.idCardBackImagePath = this.getImgUrl + response.data; // 保存 URL 到表单 |
|
|
this.form.idCardBackImagePath = this.getImgUrl + response.data; // 保存 URL 到表单 |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
//身份证手持上传成功 |
|
|
//身份证手持上传成功-法人 |
|
|
handleSuccess_userWithIdCardImagePath(response) { |
|
|
handleSuccess_userWithIdCardImagePath(response) { |
|
|
if (response.code === 200) { |
|
|
if (response.code === 200) { |
|
|
this.form.userWithIdCardImagePath = this.getImgUrl + response.data; // 保存 URL 到表单 |
|
|
this.form.userWithIdCardImagePath = this.getImgUrl + response.data; // 保存 URL 到表单 |
|
|
} |
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
//护照上传成功-法人 |
|
|
|
|
|
handleSuccess_passportImagePath(response) { |
|
|
|
|
|
if (response.code === 200) { |
|
|
|
|
|
this.form.passportImagePath = this.getImgUrl + response.data; // 保存 URL 到表单 |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
//身份证正面上传成功-店主 |
|
|
|
|
|
handleSuccess_shopkeeperIdCardFrontImagePath(response) { |
|
|
|
|
|
if (response.code === 200) { |
|
|
|
|
|
this.form.shopkeeperIdCardFrontImagePath = this.getImgUrl + response.data; // 保存 URL 到表单 |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
//身份证反面上传成功-店主 |
|
|
|
|
|
handleSuccess_shopkeeperIdCardBackImagePath(response) { |
|
|
|
|
|
if (response.code === 200) { |
|
|
|
|
|
this.form.shopkeeperIdCardBackImagePath = this.getImgUrl + response.data; // 保存 URL 到表单 |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
//身份证手持上传成功-店主 |
|
|
|
|
|
handleSuccess_shopkeeperWithIdCardImagePath(response) { |
|
|
|
|
|
if (response.code === 200) { |
|
|
|
|
|
this.form.shopkeeperWithIdCardImagePath = this.getImgUrl + response.data; // 保存 URL 到表单 |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
//护照上传成功-店主 |
|
|
|
|
|
handleSuccess_shopkeeperPassportImagePath(response) { |
|
|
|
|
|
if (response.code === 200) { |
|
|
|
|
|
this.form.shopkeeperPassportImagePath = this.getImgUrl + response.data; // 保存 URL 到表单 |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
//门头照片 |
|
|
|
|
|
handleSuccess_shopDoorImagePath(response) { |
|
|
|
|
|
if (response.code === 200) { |
|
|
|
|
|
this.form.shopDoorImagePath = this.getImgUrl + response.data; // 保存 URL 到表单 |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
//营业执照照片 |
|
|
|
|
|
handleSuccess_businessLicenseImage(response) { |
|
|
|
|
|
if (response.code === 200) { |
|
|
|
|
|
this.form.businessLicenseImage = this.getImgUrl + response.data; // 保存 URL 到表单 |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
//保证金照片 |
|
|
|
|
|
handleSuccess_earnestMoney(response) { |
|
|
|
|
|
if (response.code === 200) { |
|
|
|
|
|
this.form.earnestMoney = this.getImgUrl + response.data; // 保存 URL 到表单 |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
/** 获取地址列表 */ |
|
|
|
|
|
getAddress() { |
|
|
|
|
|
this.loading = true; |
|
|
|
|
|
getAddress(this.$i18n.locale).then(response => { |
|
|
|
|
|
this.options_addr = response.data; |
|
|
|
|
|
}); |
|
|
|
|
|
}, |
|
|
|
|
|
/** 地址联动事件 **/ |
|
|
|
|
|
handleChange(value) { |
|
|
|
|
|
this.form.operateAddress = value; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|