20240205
luoJunYong.123 3 years ago
parent 5c86041d4e
commit ce39059f47
  1. 89
      src/components/dialog/index.vue
  2. 12
      src/pages/manage/list/client/consumerClient.vue
  3. 31
      src/pages/manage/list/personal/currentAccount/openAccount.vue
  4. 2
      src/pages/manage/list/servicesAccount/passwordLost.vue
  5. 10
      src/pages/manage/list/servicesAccount/relieveLost.vue

@ -3,7 +3,7 @@
<el-dialog <el-dialog
style="margin-top:0vh" style="margin-top:0vh"
:visible="visible" :visible="visible"
class="2xl:w-9/12 xl:w-screen lg:w-full md:w-full h-auto 2xl:left-72" class="2xl:w-screen xl:w-screen lg:w-full md:w-full h-auto 2xl:left-72"
append-to-body append-to-body
:close-on-click-modal="true" :close-on-click-modal="true"
:show-close="false" :show-close="false"
@ -55,6 +55,85 @@
</template> </template>
<script> <script>
const nameMap = {
idType: {
83: '身份证'
},
documentType: {
82: '统一社会信用代码证'
},
certificateType: {
83: '身份证'
},
currency: {
12: 'CNY人民币'
},
goldLogo: {
13: '钞户'
},
accountQuality: {
14: '个人结算户',
101: '基本户',
102: '一般户',
103: '专用户',
104: '临时户'
},
voucherType: {
15: 'IC卡',
115: '转账支票',
116: '现金支票',
123: '存单',
127: '银行'
},
accountType: {
16: '一类户',
17: '二类户',
97: '结算户',
98: '结算户',
99: '委托保障金户',
100: '资本临时户'
},
drawWay: {
13: '密码',
93: '现金',
94: '转账',
114: '印鉴',
125: '部分支取',
126: '全部支取并销户'
},
accountQualityTwo: {
14: '个人结算户',
101: '基本户',
102: '一般户',
103: '专用户',
104: '临时户'
},
voucherTypeTwo: {
15: 'IC卡',
115: '转账支票',
116: '现金支票',
123: '存单',
127: '银行'
},
accountTypeTwo: {
16: '一类户',
17: '二类户',
97: '结算户',
98: '结算户',
99: '委托保障金户',
100: '资本临时户'
},
drawWayTwo: {
13: '密码',
93: '现金',
94: '转账',
114: '印鉴',
125: '部分支取',
126: '全部支取并销户'
},
}
export default { export default {
props: { props: {
visible: { visible: {
@ -88,10 +167,18 @@ export default {
continue; continue;
} }
if(num%2 === 0) { if(num%2 === 0) {
if(nameMap[key]) {
this.leftObj[this.formName[key]] = nameMap[key][this.showForm[key]]
}else {
this.leftObj[this.formName[key]] = this.showForm[key] this.leftObj[this.formName[key]] = this.showForm[key]
}
}else {
if(nameMap[key]) {
this.rightObj[this.formName[key]] = nameMap[key][this.showForm[key]]
}else { }else {
this.rightObj[this.formName[key]] = this.showForm[key] this.rightObj[this.formName[key]] = this.showForm[key]
} }
}
num++; num++;
} }
// A1000000019 // A1000000019

@ -8,10 +8,10 @@
<el-form ref="form" :model="form" label-width="140px" :rules="rules"> <el-form ref="form" :model="form" label-width="140px" :rules="rules">
<el-col :span="10" :offset="1"> <el-col :span="10" :offset="1">
<el-form-item label="证件类型"> <el-form-item label="证件类型">
<el-select v-model="form.idType" disabled placeholder="请选择" ref="idType"> <el-select v-model="form.idType" placeholder="请选择" ref="idType">
<el-option <el-option
label="身份证" label="身份证"
value="身份证"> :value="83">
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
@ -89,7 +89,7 @@ export default {
idNumberJudge: false, idNumberJudge: false,
visible:false,// visible:false,//
form:{ form:{
idType:'身份证',// idType:83,//
idNumber:'',// idNumber:'',//
userName:'',// userName:'',//
sex:'',// sex:'',//
@ -214,9 +214,9 @@ export default {
if(this.needsModule(moduleName) === '') { if(this.needsModule(moduleName) === '') {
if(sessionStorage.getItem('nomClientIdentity')) { if(sessionStorage.getItem('nomClientIdentity')) {
this.idNumberJudge = true this.idNumberJudge = true
const { idType, userName, sex, birthday, nationality, mailbox, idNumber } = this.dataFlow const { userName, sex, birthday, nationality, mailbox, idNumber } = this.dataFlow
this.form.idNumber = idNumber this.form.idNumber = idNumber
this.form.idType = idType this.form.idType = 83
this.form.userName = userName this.form.userName = userName
this.form.sex = sex this.form.sex = sex
this.form.birthday = birthday this.form.birthday = birthday
@ -253,7 +253,7 @@ export default {
var list = data.data.judgmentRuleReqs var list = data.data.judgmentRuleReqs
console.log(list) console.log(list)
for (var i = 0; i < list.length; i++) { for (var i = 0; i < list.length; i++) {
if (list[i].answerId == '40') {this.form.idType = list[i].emptyTwo} if (list[i].answerId == '40') {this.form.idType = +list[i].emptyTwo}
// if (list[i].answerId == '41') {sessionStorage.setItem('nomClientIdentity', list[i].emptyTwo)} // if (list[i].answerId == '41') {sessionStorage.setItem('nomClientIdentity', list[i].emptyTwo)}
if (list[i].answerId == '41' && list[i].emptyTwo) { if (list[i].answerId == '41' && list[i].emptyTwo) {
console.log('---') console.log('---')

@ -11,7 +11,7 @@
</el-form-item> </el-form-item>
<el-form-item label="币种" prop="currency"> <el-form-item label="币种" prop="currency">
<el-select v-model="form.currency" placeholder="请选择" ref="currency" disabled> <el-select v-model="form.currency" placeholder="请选择" ref="currency" disabled>
<el-option label='CNY人民币' value="CNY人民币">CNY人民币</el-option> <el-option label='CNY人民币' :value="12">CNY人民币</el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -20,7 +20,7 @@
<el-input :value="form.userName" disabled @input="(val) => checkName(val, form, 'userName')" ref="userName"></el-input> <el-input :value="form.userName" disabled @input="(val) => checkName(val, form, 'userName')" ref="userName"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="钞汇标识" prop="goldLogo"> <el-form-item label="钞汇标识" prop="goldLogo">
<el-select v-model="form.goldLogo" placeholder="请选择" ref="goldLogo"> <el-select v-model="form.goldLogo" disabled placeholder="请选择" ref="goldLogo">
<el-option v-for="item in goldLogoSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> <el-option v-for="item in goldLogoSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
@ -50,8 +50,8 @@
</el-form-item> </el-form-item>
<el-form-item label="支取方式" prop="drawWay"> <el-form-item label="支取方式" prop="drawWay">
<el-select v-model="form.drawWay" placeholder="请选择" ref="drawWay"> <el-select v-model="form.drawWay" placeholder="请选择" ref="drawWay">
<el-option v-for="item in drawWaySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> <el-option label="密码" :value="13"> </el-option>
<el-option label="印鉴" :value="114"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -101,8 +101,8 @@
<el-form-item label="支取方式" required> <el-form-item label="支取方式" required>
<el-select v-model="form.drawWaysTwo" placeholder="请选择"> <el-select v-model="form.drawWaysTwo" placeholder="请选择">
<!-- <el-option v-for="item in drawWaySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> --> <!-- <el-option v-for="item in drawWaySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> -->
<el-option label="密码" value="密码"> </el-option> <el-option label="密码" :value="13"> </el-option>
<el-option label="印鉴" value="印鉴"> </el-option> <el-option label="印鉴" :value="114"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -149,8 +149,8 @@
</el-form-item> </el-form-item>
<el-form-item label="支取方式" required> <el-form-item label="支取方式" required>
<el-select v-model="form.drawWaysThree" placeholder="请选择"> <el-select v-model="form.drawWaysThree" placeholder="请选择">
<el-option label="密码" value="密码"> </el-option> <el-option label="密码" :value="13"> </el-option>
<el-option label="印鉴" value="印鉴"> </el-option> <el-option label="印鉴" :value="114"> </el-option>
<!-- <el-option v-for="item in drawWaySelectList" :label="item.options" :value="item.options" :key="item.itemId"> </el-option> --> <!-- <el-option v-for="item in drawWaySelectList" :label="item.options" :value="item.options" :key="item.itemId"> </el-option> -->
</el-select> </el-select>
</el-form-item> </el-form-item>
@ -240,7 +240,7 @@ export default {
drawPassword2: '', // 2 drawPassword2: '', // 2
drawPassword3: '', // 3 drawPassword3: '', // 3
userNumber: '', // userNumber: '', //
currency: '', // currency: 12, //
userName: '', // userName: '', //
goldLogo: '', // goldLogo: '', //
accountQuality: '', // accountQuality: '', //
@ -256,6 +256,7 @@ export default {
drawWaysThree: '', // 3 drawWaysThree: '', // 3
voucherTypesThree: '', // 3 voucherTypesThree: '', // 3
}, },
formShow: {},
formName:{ formName:{
cardNumber: '卡号', // cardNumber: '卡号', //
cardNumber2: '卡号二', // cardNumber2: '卡号二', //
@ -398,6 +399,14 @@ export default {
} }
}, },
mounted(){ mounted(){
// currencySelectList:[
// ],
// goldLogoSelectList:[],
// accountQualitySelectList:[],
// voucherTypeSelectList:[],
// accountTypeSelectList:[],
// drawWaySelectList:[],
}, },
methods:{ methods:{
...mapMutations({ ...mapMutations({
@ -421,7 +430,7 @@ export default {
for (var i = 0; i < list.length; i++) { for (var i = 0; i < list.length; i++) {
if (list[i].answerId == '68') {this.form.userNumber = list[i].emptyTwo} if (list[i].answerId == '68') {this.form.userNumber = list[i].emptyTwo}
else if (list[i].answerId == '69') {this.form.userName = list[i].emptyTwo} else if (list[i].answerId == '69') {this.form.userName = list[i].emptyTwo}
else if (list[i].answerId == '70') {this.form.currency = list[i].emptyTwo} else if (list[i].answerId == '70') {this.form.currency = +list[i].emptyTwo}
else if (list[i].answerId == '71') { else if (list[i].answerId == '71') {
this.form.goldLogo = +list[i].emptyTwo this.form.goldLogo = +list[i].emptyTwo
} }
@ -809,7 +818,7 @@ export default {
idCardNumber: 'system/idCardNumber', idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork' inMyWork: 'system/inMyWork'
}) })
}, }
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>

@ -15,7 +15,7 @@
</el-form-item> </el-form-item>
<el-form-item label="证件类型" prop="certificateType"> <el-form-item label="证件类型" prop="certificateType">
<el-select v-model="form.certificateType" ref="certificateType"> <el-select v-model="form.certificateType" ref="certificateType">
<el-option label="身份证" value="身份证"> </el-option> <el-option label="身份证" :value="83"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>

@ -16,7 +16,7 @@
</el-form-item> </el-form-item>
<el-form-item label="证件类型" prop="certificateType"> <el-form-item label="证件类型" prop="certificateType">
<el-select v-model="form.certificateType" ref="certificateType"> <el-select v-model="form.certificateType" ref="certificateType">
<el-option label="身份证" value="身份证"> </el-option> <el-option label="身份证" :value="83"> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="支取密码" required> <el-form-item label="支取密码" required>
@ -150,12 +150,12 @@ export default{
mounted() { mounted() {
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,28,336' const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,28,336'
const cards = { const cards = {
341: 'servicesPasswordRelieveLost', // 341: 'servicesPasswordRelieveLost',
337: 'servicesPasswordRelieveLost2', // 337: 'servicesPasswordRelieveLost2',
343: 'servicesPasswordRelievePassword', // 343: 'servicesPasswordRelievePassword',
} }
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards) autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards)
this.$refs.customerName.focus() // this.$refs.customerName.focus()
} }
} }
</script> </script>

Loading…
Cancel
Save