|
|
|
@ -5,224 +5,168 @@ |
|
|
|
|
|
|
|
|
|
<div class="body"> |
|
|
|
|
<el-row :gutter="20"> |
|
|
|
|
<el-form ref="form" |
|
|
|
|
:model="form" |
|
|
|
|
label-width="120px" |
|
|
|
|
:rules="rules"> |
|
|
|
|
<el-col :span="10" |
|
|
|
|
:offset="1"> |
|
|
|
|
<el-form-item label="证件类型" |
|
|
|
|
prop="certificateType"> |
|
|
|
|
<el-select v-model.trim="form.certificateType" |
|
|
|
|
placeholder="请选择" |
|
|
|
|
ref="certificateType"> |
|
|
|
|
<el-option label="身份证" |
|
|
|
|
:value="83"> </el-option> |
|
|
|
|
<el-form ref="form" :model="form" label-width="120px" :rules="rules"> |
|
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
|
<el-form-item label="证件类型"> |
|
|
|
|
<el-select v-model.trim="form.certificateType" placeholder="请选择"> |
|
|
|
|
<el-option label="身份证" :value="83"> </el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="客户号" |
|
|
|
|
prop="customerNumber"> |
|
|
|
|
<el-input :value="form.customerNumber" |
|
|
|
|
maxlength="20" |
|
|
|
|
disabled |
|
|
|
|
@input="(val) => checkHanzi(val, form, 'customerNumber')" |
|
|
|
|
ref="customerNumber"></el-input> |
|
|
|
|
<el-form-item label="客户号"> |
|
|
|
|
<el-input ref="clientNumber" disabled maxlength="20" :value="form.clientNumber" |
|
|
|
|
@input="(val) => checkHanzi(val, form, 'clientNumber')"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="币种" |
|
|
|
|
prop="currency"> |
|
|
|
|
<el-select v-model.trim="form.currency" |
|
|
|
|
placeholder="请选择" |
|
|
|
|
ref="currency"> |
|
|
|
|
<el-option v-for="item in getSelectList.currencySelectList" |
|
|
|
|
:label="item.options" |
|
|
|
|
:value="item.itemId" |
|
|
|
|
<el-form-item label="币种" prop="currency"> |
|
|
|
|
<el-select v-model.trim="form.currency" placeholder="请选择" disabled ref="currency"> |
|
|
|
|
<el-option v-for="item in getSelectList.currencySelectList" :label="item.options" :value="item.itemId" |
|
|
|
|
:key="item.itemId"> </el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="凭证类型" |
|
|
|
|
prop="certificateType"> |
|
|
|
|
<el-select v-model.trim="form.certificateType" |
|
|
|
|
placeholder="请选择" |
|
|
|
|
ref="certificateType"> |
|
|
|
|
<el-option label="转账支票" |
|
|
|
|
:value="115"> </el-option> |
|
|
|
|
<el-option label="现金支票" |
|
|
|
|
:value="116"> </el-option> |
|
|
|
|
<el-form-item label="凭证类型" prop="voucherType"> |
|
|
|
|
<el-select v-model.trim="form.voucherType" placeholder="请选择" disabled ref="voucherType"> |
|
|
|
|
<el-option label="IC卡" :value="15"> </el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="开通网上银行" |
|
|
|
|
prop="extendPeriod" |
|
|
|
|
required> |
|
|
|
|
<el-radio-group v-model.trim="form.extendPeriod" |
|
|
|
|
ref="extendPeriod"> |
|
|
|
|
<el-radio :label="90">是</el-radio> |
|
|
|
|
<el-radio :label="91">否</el-radio> |
|
|
|
|
<el-form-item label="开通网上银行" prop="openOnlineBanking"> |
|
|
|
|
<el-radio-group v-model.trim="form.openOnlineBanking"> |
|
|
|
|
<el-radio :label="1">是</el-radio> |
|
|
|
|
<el-radio :label="0">否</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="支取密码" |
|
|
|
|
required> |
|
|
|
|
<div v-if='!form.drawPassword' |
|
|
|
|
class="idCard" |
|
|
|
|
@click="popUp3('密码器')"> |
|
|
|
|
<el-form-item label="支取密码" required> |
|
|
|
|
<div v-if='!form.drawPassword' class="idCard" @click="popUp3('密码器')"> |
|
|
|
|
<p>请输入密码</p> |
|
|
|
|
</div> |
|
|
|
|
<div v-else |
|
|
|
|
@click="popUp3('密码器')"> |
|
|
|
|
<el-input :value="form.drawPassword" |
|
|
|
|
ref="drawPassword" |
|
|
|
|
type="password"></el-input> |
|
|
|
|
<div v-else @click="popUp3('密码器')"> |
|
|
|
|
<el-input :value="form.drawPassword" ref="drawPassword" type="password"></el-input> |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="10" |
|
|
|
|
:offset="1"> |
|
|
|
|
<el-form-item label="证件号码" |
|
|
|
|
required> |
|
|
|
|
<div class="idCard" |
|
|
|
|
@click="popUp1('身份证扫描仪')" |
|
|
|
|
v-if='!idNumberJudge'> |
|
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
|
<el-form-item label="证件号码" required> |
|
|
|
|
<div class="idCard" @click="popUp1('身份证扫描仪')" v-if='!idNumberJudge'> |
|
|
|
|
<p>请刷身份证</p> |
|
|
|
|
</div> |
|
|
|
|
<div v-else> |
|
|
|
|
<el-input :value="form.idNumber" |
|
|
|
|
disabled |
|
|
|
|
ref="idNumber"></el-input> |
|
|
|
|
<el-input :value="form.idNumber" disabled ref="idNumber"></el-input> |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="客户姓名" |
|
|
|
|
prop="customerName"> |
|
|
|
|
<el-input ref="customerName" |
|
|
|
|
disabled |
|
|
|
|
:value="form.customerName" |
|
|
|
|
<el-form-item label="客户姓名" prop="customerName"> |
|
|
|
|
<el-input ref="customerName" disabled :value="form.customerName" |
|
|
|
|
@input="(val) => checkName(val, form, 'customerName')"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="钞汇标识" |
|
|
|
|
prop="goldLogo"> |
|
|
|
|
<el-select v-model.trim="form.goldLogo" |
|
|
|
|
placeholder="请选择" |
|
|
|
|
ref="goldLogo"> |
|
|
|
|
<el-option v-for="item in getSelectList.goldLogoSelectList" |
|
|
|
|
:label="item.options" |
|
|
|
|
:value="item.itemId" |
|
|
|
|
<el-form-item label="钞汇标识" prop="goldLogo"> |
|
|
|
|
<el-select v-model.trim="form.goldLogo" placeholder="请选择" disabled ref="goldLogo"> |
|
|
|
|
<el-option v-for="item in getSelectList.goldLogoSelectList" :label="item.options" :value="item.itemId" |
|
|
|
|
:key="item.itemId"> </el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="凭证号码" |
|
|
|
|
required> |
|
|
|
|
<div v-if='!cardNumberJudge' |
|
|
|
|
class="idCard" |
|
|
|
|
@click="popUp2('刷卡器')"> |
|
|
|
|
<el-form-item label="凭证号码" required> |
|
|
|
|
<div v-if='!cardNumberJudge' class="idCard" @click="popUp2('刷卡器')"> |
|
|
|
|
<p>请刷卡</p> |
|
|
|
|
</div> |
|
|
|
|
<div v-else> |
|
|
|
|
<el-input @blur="getDataBlur" |
|
|
|
|
maxlength="20" |
|
|
|
|
ref="voucherNumber" |
|
|
|
|
disabled |
|
|
|
|
:value="form.voucherNumber" |
|
|
|
|
<el-input maxlength="20" ref="voucherNumber" disabled :value="form.voucherNumber" |
|
|
|
|
@input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> |
|
|
|
|
</div> |
|
|
|
|
<!-- <el-input @blur="getDataBlur" maxlength="20" ref="voucherNumber" :value="form.voucherNumber" @input="(val) => inputListen(val, form, 'voucherNumber')"></el-input> --> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="开通手机银行" |
|
|
|
|
prop="extendPeriod" |
|
|
|
|
required> |
|
|
|
|
<el-radio-group v-model.trim="form.extendPeriod" |
|
|
|
|
ref="extendPeriod"> |
|
|
|
|
<el-radio :label="90">是</el-radio> |
|
|
|
|
<el-radio :label="91">否</el-radio> |
|
|
|
|
<el-form-item label="开通手机银行" prop="openPhoneBanking"> |
|
|
|
|
<el-radio-group v-model.trim="form.openPhoneBanking"> |
|
|
|
|
<el-radio :label="1">是</el-radio> |
|
|
|
|
<el-radio :label="0">否</el-radio> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<my-dialog :moduleName="moduleName" |
|
|
|
|
v-if="visible" |
|
|
|
|
:visible.sync="visible" |
|
|
|
|
:showForm="form" |
|
|
|
|
:formName="formName" |
|
|
|
|
@submitIt="submitForm2" |
|
|
|
|
depositNumber='0816' /> |
|
|
|
|
<my-dialog :moduleName="moduleName" v-if="visible" :visible.sync="visible" :showForm="form" |
|
|
|
|
:formName="formName" @submitIt="submitForm2" depositNumber='0816' /> |
|
|
|
|
</el-form> |
|
|
|
|
</el-row> |
|
|
|
|
<el-button @click="submitForm" |
|
|
|
|
type="primary" |
|
|
|
|
class="submitBtn" |
|
|
|
|
v-throttle>提交</el-button> |
|
|
|
|
<el-button @click="submitForm" type="primary" class="submitBtn" v-throttle>提交</el-button> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<my-dialog :moduleName="moduleName" |
|
|
|
|
v-if="visible" |
|
|
|
|
:visible.sync="visible" |
|
|
|
|
:showForm="form" |
|
|
|
|
:formName="formName" |
|
|
|
|
<my-dialog :moduleName="moduleName" v-if="visible" :visible.sync="visible" :showForm="form" :formName="formName" |
|
|
|
|
@submitIt="submitForm2()" /> |
|
|
|
|
</div> |
|
|
|
|
<!-- <need-before class='wrap' v-else :moduleName='needBefore' :unNeed="unNeed"> |
|
|
|
|
</need-before> --> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<script> // 模块标识: consumerClient |
|
|
|
|
<script> |
|
|
|
|
import { mapState, mapMutations, mapGetters } from 'vuex' |
|
|
|
|
import { vername, vermob } from '@/utils/verify.js' |
|
|
|
|
import { addOperation, getOperation } from '@/api/http'; |
|
|
|
|
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js' |
|
|
|
|
import { phoneListen, mailBoxListen, checkRequired, randomPeopleNumber, myValidate, checkName, messageIdCard } from '@/utils/utilFunction.js' |
|
|
|
|
import { phoneListen, mailBoxListen, checkHanzi, randomPeopleNumber, myValidate, checkName, messageIdCard, messageCard, messagePassword } from '@/utils/utilFunction.js' |
|
|
|
|
|
|
|
|
|
import MyTitle from '@/components/myTitle' |
|
|
|
|
import TipsBefore from '@/mixins/tipsBefore' |
|
|
|
|
import MyDialog from '@/components/dialog' |
|
|
|
|
import NeedBefore from '@/components/needBefore' |
|
|
|
|
|
|
|
|
|
const moduleName = 'consumerClient' |
|
|
|
|
const moduleName = 'onlineBank/openAccount' |
|
|
|
|
export default { |
|
|
|
|
name: 'consumerClient', |
|
|
|
|
data () { |
|
|
|
|
return { |
|
|
|
|
moduleName: 'consumerClient', |
|
|
|
|
moduleName, |
|
|
|
|
idNumberJudge: false, |
|
|
|
|
visible: false,// 表单 |
|
|
|
|
cardNumberJudge: false, |
|
|
|
|
form: { |
|
|
|
|
idType: 83,//证件类型 |
|
|
|
|
certificateType: 83, // 证件类型 |
|
|
|
|
idNumber: '',//证件号码 |
|
|
|
|
userName: '',//客户名字 |
|
|
|
|
sex: '',//性别 |
|
|
|
|
birthday: null,//出生日期 |
|
|
|
|
nationality: '',//民族 |
|
|
|
|
mailbox: '',//通讯地址 |
|
|
|
|
phone: '',//联系电话 |
|
|
|
|
peopleNumber: '', |
|
|
|
|
clientNumber: '', // 客户号 |
|
|
|
|
customerName: '', // 客户姓名 |
|
|
|
|
currency: '', // 币种 |
|
|
|
|
goldLogo: '', // 钞汇标识 |
|
|
|
|
voucherType: 15, // 凭证类型 |
|
|
|
|
voucherNumber: '', // 凭证号码 |
|
|
|
|
openOnlineBanking: '', |
|
|
|
|
openPhoneBanking: '', |
|
|
|
|
drawPassword: '', // 支付密码 |
|
|
|
|
}, |
|
|
|
|
formName: { |
|
|
|
|
idType: '证件类型', |
|
|
|
|
certificateType: '证件类型', |
|
|
|
|
idNumber: '证件号码', |
|
|
|
|
userName: '客户名字', |
|
|
|
|
sex: '性别', |
|
|
|
|
birthday: '出生日期', |
|
|
|
|
nationality: '民族', |
|
|
|
|
mailbox: '通讯地址', |
|
|
|
|
phone: '联系电话', |
|
|
|
|
peopleNumber: '客户号' |
|
|
|
|
clientNumber: '客户号', |
|
|
|
|
customerName: '客户姓名', |
|
|
|
|
currency: '币种', |
|
|
|
|
goldLogo: '钞汇标识', |
|
|
|
|
voucherType: '凭证类型', |
|
|
|
|
voucherNumber: '凭证号码', |
|
|
|
|
openOnlineBanking: '开通网上银行', |
|
|
|
|
openPhoneBanking: '开通手机银行', |
|
|
|
|
drawPassword: '支付密码', |
|
|
|
|
}, |
|
|
|
|
rules: { |
|
|
|
|
userName: vercustomer, |
|
|
|
|
phone: [ |
|
|
|
|
{ |
|
|
|
|
customerName: vercustomer, |
|
|
|
|
currency: [{ |
|
|
|
|
required: true, |
|
|
|
|
message: '请输入联系电话', |
|
|
|
|
message: '请选择币种', |
|
|
|
|
trigger: 'blur' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
pattern: mobPattern, |
|
|
|
|
message: '联系电话格式有误' |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
birthday: [ |
|
|
|
|
{ |
|
|
|
|
goldLogo: [{ |
|
|
|
|
required: true, |
|
|
|
|
message: '请选择出生日期', |
|
|
|
|
message: '请选择钞汇标识', |
|
|
|
|
trigger: 'blur' |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
voucherType: [{ |
|
|
|
|
required: true, |
|
|
|
|
message: '请选择凭证类型', |
|
|
|
|
trigger: 'blur' |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
openOnlineBanking: [{ |
|
|
|
|
required: true, |
|
|
|
|
message: '请选择开通网上银行', |
|
|
|
|
trigger: 'blur' |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
openPhoneBanking: [{ |
|
|
|
|
required: true, |
|
|
|
|
message: '请选择开通手机银行', |
|
|
|
|
trigger: 'blur' |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
authorization: false,// 切授权 |
|
|
|
@ -235,65 +179,6 @@ export default { |
|
|
|
|
{ name: '男', id: 1 }, |
|
|
|
|
{ name: '女', id: 2 }, |
|
|
|
|
], |
|
|
|
|
nations: [ |
|
|
|
|
{ "itemId": 24, "description": "汉族", "options": "汉族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:44", "updateTime": "2021-12-20 12:00:44" }, |
|
|
|
|
{ "itemId": 25, "description": "蒙古族", "options": "蒙古族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:44", "updateTime": "2021-12-20 12:00:44" }, |
|
|
|
|
{ "itemId": 26, "description": "回族", "options": "回族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 27, "description": "藏族", "options": "藏族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 28, "description": "维吾尔族", "options": "维吾尔族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 29, "description": "苗族", "options": "苗族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 30, "description": "彝族", "options": "彝族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 31, "description": "壮族", "options": "壮族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 32, "description": "布依族", "options": "布依族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 33, "description": "朝鲜族", "options": "朝鲜族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 34, "description": "满族", "options": "满族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 35, "description": "侗族", "options": "侗族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 36, "description": "瑶族", "options": "瑶族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 37, "description": "白族", "options": "白族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 38, "description": "土家族", "options": "土家族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 39, "description": "哈尼族", "options": "哈尼族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 40, "description": "哈萨克族", "options": "哈萨克族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 41, "description": "傣族", "options": "傣族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 42, "description": "黎族", "options": "黎族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 43, "description": "傈僳族", "options": "傈僳族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 44, "description": "佤族", "options": "佤族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 45, "description": "畲族", "options": "畲族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 46, "description": "高山族", "options": "高山族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 47, "description": "拉祜族", "options": "拉祜族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 48, "description": "水族", "options": "水族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 49, "description": "东乡族", "options": "东乡族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 50, "description": "纳西族", "options": "纳西族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 51, "description": "景颇族", "options": "景颇族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 52, "description": "柯尔克孜族", "options": "柯尔克孜族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 53, "description": "土族", "options": "土族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 54, "description": "达斡尔族", "options": "达斡尔族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 55, "description": "仫佬族", "options": "仫佬族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 56, "description": "羌族", "options": "羌族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 57, "description": " 布朗族", "options": " 布朗族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 58, "description": " 撒拉族", "options": " 撒拉族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 59, "description": " 毛难族", "options": " 毛难族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 60, "description": " 仡佬族", "options": " 仡佬族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:45", "updateTime": "2021-12-20 12:00:45" }, |
|
|
|
|
{ "itemId": 61, "description": " 锡伯族", "options": " 锡伯族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
{ "itemId": 62, "description": " 阿昌族", "options": " 阿昌族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
{ "itemId": 63, "description": " 普米族", "options": " 普米族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
{ "itemId": 64, "description": " 塔吉克族", "options": " 塔吉克族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
{ "itemId": 65, "description": " 怒族", "options": " 怒族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
{ "itemId": 66, "description": " 乌孜别克族", "options": " 乌孜别克族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
{ "itemId": 67, "description": " 俄罗斯族", "options": " 俄罗斯族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
{ "itemId": 68, "description": " 鄂温克族", "options": " 鄂温克族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
{ "itemId": 69, "description": " 崩龙族", "options": " 崩龙族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
{ "itemId": 70, "description": " 保安族", "options": " 保安族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
{ "itemId": 71, "description": " 裕固族", "options": " 裕固族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
{ "itemId": 72, "description": " 京族", "options": " 京族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
{ "itemId": 73, "description": " 塔塔尔族", "options": " 塔塔尔族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
{ "itemId": 74, "description": " 独龙族", "options": " 独龙族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
{ "itemId": 75, "description": " 鄂伦春族", "options": " 鄂伦春族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
{ "itemId": 76, "description": " 赫哲族", "options": " 赫哲族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
{ "itemId": 77, "description": " 门巴族", "options": " 门巴族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
{ "itemId": 78, "description": " 珞巴族", "options": " 珞巴族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
{ "itemId": 79, "description": " 基诺族", "options": " 基诺族", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" }, |
|
|
|
|
{ "itemId": 80, "description": " 其他", "options": " 其他", "subjectId": 3, "isDel": 0, "createTime": "2021-12-20 12:00:46", "updateTime": "2021-12-20 12:00:46" } |
|
|
|
|
], |
|
|
|
|
submited: 0 |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
@ -303,25 +188,31 @@ export default { |
|
|
|
|
NeedBefore |
|
|
|
|
}, |
|
|
|
|
created () { |
|
|
|
|
// if(this.isNeedBefore) { |
|
|
|
|
// return |
|
|
|
|
// } |
|
|
|
|
if (sessionStorage.getItem('nomUsefulPhrasesOpenPassword')) { |
|
|
|
|
this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesOpenPassword') |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (sessionStorage.getItem('nomClientIdentity')) { |
|
|
|
|
this.idNumberJudge = true |
|
|
|
|
const { userName, sex, birthday, nationality, mailbox, idNumber } = this.dataFlow |
|
|
|
|
const { idNumber } = this.dataFlow |
|
|
|
|
this.form.idNumber = idNumber |
|
|
|
|
this.form.idType = 83 |
|
|
|
|
this.form.userName = userName |
|
|
|
|
// let sexs = null |
|
|
|
|
// if (sex == '男'){ |
|
|
|
|
// sexs = 1 |
|
|
|
|
// }else{ |
|
|
|
|
// sexs = 2 |
|
|
|
|
// } |
|
|
|
|
this.form.sex = sex |
|
|
|
|
this.form.birthday = birthday |
|
|
|
|
// this.form.nationality = nationality |
|
|
|
|
// this.form.mailbox = mailbox |
|
|
|
|
this.form.certificateType = 83 |
|
|
|
|
} |
|
|
|
|
if (sessionStorage.getItem('nomUsefulPhrasesOpenCard2')) { |
|
|
|
|
this.idNumberJudge = true |
|
|
|
|
// 身份证号码、客户姓名、币种(人民币)、钞汇标识(钞户) |
|
|
|
|
const { idNumber, userName, peopleNumber, currency, goldLogo } = this.dataFlow |
|
|
|
|
this.form.clientNumber = peopleNumber |
|
|
|
|
this.form.idNumber = idNumber |
|
|
|
|
this.form.customerName = userName |
|
|
|
|
this.form.currency = currency |
|
|
|
|
this.form.goldLogo = goldLogo |
|
|
|
|
this.form.voucherType = 15 |
|
|
|
|
} |
|
|
|
|
if (sessionStorage.getItem('nomUsefulPhrasesOpenCard')) { |
|
|
|
|
this.cardNumberJudge = true |
|
|
|
|
const { voucherNumber } = this.dataFlow |
|
|
|
|
this.form.voucherNumber = voucherNumber |
|
|
|
|
} |
|
|
|
|
this.getFormData() |
|
|
|
|
|
|
|
|
@ -333,7 +224,6 @@ export default { |
|
|
|
|
// 授权提交后 |
|
|
|
|
submitIt () { |
|
|
|
|
|
|
|
|
|
// this.setDataFlow({name: 'userName', val: ''}) |
|
|
|
|
// console.log(this.dataFlow) |
|
|
|
|
}, |
|
|
|
|
getFormData () { |
|
|
|
@ -350,12 +240,6 @@ export default { |
|
|
|
|
this.idNumberJudge = true |
|
|
|
|
this.form.idNumber = list[i].emptyTwo |
|
|
|
|
} |
|
|
|
|
if (list[i].answerId == '42') { this.form.userName = list[i].emptyTwo } |
|
|
|
|
if (list[i].answerId == '43') { this.form.sex = +list[i].emptyTwo } |
|
|
|
|
if (list[i].answerId == '44') { this.form.birthday = list[i].emptyTwo } |
|
|
|
|
if (list[i].answerId == '45') { this.form.nationality = list[i].emptyTwo } |
|
|
|
|
if (list[i].answerId == '46') { this.form.mailbox = list[i].emptyTwo } |
|
|
|
|
if (list[i].answerId == '47') { this.form.phone = list[i].emptyTwo } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
@ -399,6 +283,24 @@ export default { |
|
|
|
|
sessionStorage.setItem('computerPath', this.$route.fullPath) |
|
|
|
|
this.$router.push('/counter/list/') |
|
|
|
|
}, |
|
|
|
|
popUp1 (text) { // 身份证扫描仪 |
|
|
|
|
this.setTipsOperate('请刷身份证'); |
|
|
|
|
this.setPopId('1399') |
|
|
|
|
sessionStorage.setItem('computerPath', this.$route.fullPath) |
|
|
|
|
this.$router.push('/counter/list/') |
|
|
|
|
}, |
|
|
|
|
popUp2 (text) { |
|
|
|
|
this.setTipsOperate('请刷银行卡'); |
|
|
|
|
this.setPopId('166') |
|
|
|
|
sessionStorage.setItem('computerPath', this.$route.fullPath) |
|
|
|
|
this.$router.push('/counter/list/') |
|
|
|
|
}, |
|
|
|
|
popUp3 (text) { |
|
|
|
|
this.setTipsOperate('请在密码器输入密码'); |
|
|
|
|
this.setPopId('167') |
|
|
|
|
sessionStorage.setItem('computerPath', this.$route.fullPath) |
|
|
|
|
this.$router.push('/counter/list/') |
|
|
|
|
}, |
|
|
|
|
//提交个人用户信息 |
|
|
|
|
submitForm () { |
|
|
|
|
if (this.submited) return this.$message.error('已提交!') |
|
|
|
@ -409,9 +311,15 @@ export default { |
|
|
|
|
messageIdCard() |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
if (!this.form.voucherNumber) { |
|
|
|
|
messageCard('请填写凭证号码') |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
if (!this.form.drawPassword) { |
|
|
|
|
messagePassword() |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
this.$refs.form.validate(myValidate(() => { |
|
|
|
|
// this.form.birthday = this.form.birthday.slice(0, 10) |
|
|
|
|
this.form.peopleNumber = randomPeopleNumber() |
|
|
|
|
this.visible = true; |
|
|
|
|
}, this.$refs)); |
|
|
|
|
}, |
|
|
|
@ -425,38 +333,8 @@ export default { |
|
|
|
|
let formList = []; |
|
|
|
|
|
|
|
|
|
formList.push({ "answerId": '41', "emptyOne": "", "emptyTwo": this.form.idNumber, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,33,41,13", "type": "" }) |
|
|
|
|
if (this.form.sex) { |
|
|
|
|
formList.push({ |
|
|
|
|
"answerId": '43', |
|
|
|
|
"emptyOne": "1", |
|
|
|
|
"emptyTwo": this.form.sex, |
|
|
|
|
"operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,33,43",//性别 |
|
|
|
|
"type": "1" |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
if (this.form.nationality) { |
|
|
|
|
formList.push({ |
|
|
|
|
"answerId": '45', |
|
|
|
|
"emptyOne": "3", |
|
|
|
|
"emptyTwo": this.form.nationality, |
|
|
|
|
"operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,33,45",//民族 |
|
|
|
|
"type": "1" |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
if (this.form.mailbox) { |
|
|
|
|
formList.push({ |
|
|
|
|
"answerId": '46', |
|
|
|
|
"emptyOne": "4", |
|
|
|
|
"emptyTwo": this.form.mailbox, |
|
|
|
|
"operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,33,46",//通讯地址 |
|
|
|
|
"type": "3" |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
formList.push( |
|
|
|
|
{ "answerId": '40', "emptyOne": "19", "emptyTwo": this.form.idType, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,33,40", "type": "1" },//证件类型 |
|
|
|
|
{ "answerId": '42', "emptyOne": "7", "emptyTwo": this.form.userName, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,33,42", "type": "3" },//客户姓名 |
|
|
|
|
{ "answerId": '44', "emptyOne": "2", "emptyTwo": this.form.birthday, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,33,44", "type": "3" },//出生日期 |
|
|
|
|
{ "answerId": '47', "emptyOne": "5", "emptyTwo": this.form.phone, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,25,33,47", "type": "3" }//联系电话 |
|
|
|
|
); |
|
|
|
|
let params = { |
|
|
|
|
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,25,33', |
|
|
|
@ -492,9 +370,10 @@ export default { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
phoneListen: phoneListen, |
|
|
|
|
mailBoxListen: mailBoxListen, |
|
|
|
|
checkName: checkName |
|
|
|
|
checkHanzi, |
|
|
|
|
phoneListen, |
|
|
|
|
mailBoxListen, |
|
|
|
|
checkName, |
|
|
|
|
}, |
|
|
|
|
computed: { |
|
|
|
|
...mapGetters({ |
|
|
|
@ -516,6 +395,7 @@ export default { |
|
|
|
|
flex-direction: column; |
|
|
|
|
overflow: auto; |
|
|
|
|
padding: 24px 0 24px 24px; |
|
|
|
|
|
|
|
|
|
.body { |
|
|
|
|
margin-top: 50px; |
|
|
|
|
overflow-y: auto; |
|
|
|
|