页面id对应和刷卡密码器完成

20240205
luoJunYong.123 3 years ago
parent 9a5a43e6ad
commit 164567e65a
  1. 2
      src/pages/counter/list/index.vue
  2. 78
      src/pages/counter/list/myConfig.js
  3. 118
      src/pages/manage/list/acceptanceDraft/invoice.vue
  4. 5
      src/pages/manage/list/business/openAccount.vue
  5. 108
      src/pages/manage/list/cityWide/cityWideIn.vue
  6. 95
      src/pages/manage/list/cityWide/cityWideOut.vue
  7. 90
      src/pages/manage/list/personal/callDeposits/accountClosed.vue
  8. 56
      src/pages/manage/list/personal/callDeposits/openAccount.vue
  9. 6
      src/pages/manage/list/personal/currentAccount/settle.vue
  10. 6
      src/pages/manage/list/personal/currentAccount/transferAccounts.vue
  11. 2
      src/pages/manage/list/personal/timeDeposit/deposit.vue
  12. 9
      src/pages/manage/list/personal/timeDeposit/openAccount.vue
  13. 3
      src/pages/manage/list/personal/usefulPhrases/openAccount.vue
  14. 73
      src/pages/manage/list/servicesAccount/passwordChange.vue
  15. 58
      src/pages/manage/list/servicesAccount/passwordLost.vue
  16. 66
      src/pages/manage/list/servicesAccount/relieveLost.vue

@ -602,7 +602,7 @@ export default {
}
}
}
if(this.$store.state.system.popText == '身份证扫描仪'){
if(this.$store.state.system.popText == '身份证扫描仪' || this.$store.state.system.popText.includes('身份证扫描') || this.$store.state.system.popText.includes('银行')){
if (this.$store.state.system.id == '33'){
this.nbm = 33
let param= {

@ -118,6 +118,84 @@ const myConfig = {
name: 'nomCallDepositClosedPassword',
parentId: '0,5,26,60,194',
isPassword: true
},
'320': {
nbm: 320,
name: 'servicesPasswordChange',
parentId: '0,5,28,316',
isPassword: false
},
'323': {
nbm: 323,
name: 'servicesPasswordChange2',
parentId: '0,5,28,316',
isPassword: false
},
'329': {
nbm: 329,
name: 'servicesPasswordLost',
parentId: '0,5,28,328',
isPassword: false
},
'333': {
nbm: 333,
name: 'servicesPasswordLost2',
parentId: '0,5,28,328',
isPassword: false
},
'341': {
nbm: 341,
name: 'servicesPasswordRelieveLost',
parentId: '0,5,28,336',
isPassword: false
},
'337': {
nbm: 337,
name: 'servicesPasswordRelieveLost2',
parentId: '0,5,28,336',
isPassword: false
},
'343': {
nbm: 343,
name: 'servicesPasswordRelievePassword',
parentId: '0,5,28,336',
isPassword: true
},
'291': {
nbm: 291,
name: 'nomCallDepositOpen2',
parentId: '0,5,26,38,288',
isPassword: false
},
'297': {
nbm: 297,
name: 'servicesPasswordRelievePassword',
parentId: '0,5,26,38,288',
isPassword: false
},
'301': {
nbm: 301,
name: 'nomCallDepositOpenPassword',
parentId: '0,5,26,38,288',
isPassword: true
},
'303': {
nbm: 303,
name: 'nomCallDepositCard',
parentId: '0,5,26,38,289',
isPassword: false
},
'304': {
nbm: 304,
name: 'nomCallDepositCard2',
parentId: '0,5,26,38,289',
isPassword: false
},
'315': {
nbm: 303,
name: 'nomCallDepositClosedPassword',
parentId: '0,5,26,38,289',
isPassword: true
}
}

@ -118,7 +118,7 @@
<script>
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js'
import { myValidate, checkHanzi, checkName, ismoney } from '@/utils/utilFunction.js'
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2 } from '@/utils/utilFunction.js'
export default {
name: 'index',
@ -181,10 +181,120 @@ export default {
trigger: 'blur'
}
]
},
myTable2: {
// accountName: '', //
// collectionName: '', //
// currencyType: 'CYC', //
// moneyOrderMoney: '', //
// accountTradeName: '', //
// tradeAddress: '', //
// collectionTradeName: '', //
// billType: '', //
// drawBillDate: '', //
// isTransfer: '', //
// serviceCharge: '' //
376: {
prop: 'accountTradeName', // 1
type: '3',
"subjectId": '',
},
377: {
prop: 'accountName', // 1
type: '3',
"subjectId": '',
},
378: {
prop: 'tradeAddress', // 1
type: '3',
"subjectId": '',
},
380: {
prop: 'collectionTradeName', // 3
type: '3',
"subjectId": '',
},
381: {
prop: 'collectionName', // 3
type: '3',
"subjectId": '',
},
382: {
prop: 'billType', // 3
type: '1',
"subjectId": '',
},
383: {
prop: 'currencyType', // 3
type: '3',
"subjectId": '',
},
386: {
prop: 'drawBillDate', // 3
type: '1',
"subjectId": '',
},
388: {
prop: 'isTransfer', // 3
type: '1',
"subjectId": '',
},
389: {
prop: 'moneyOrderMoney', // 3
type: '3',
"subjectId": '',
},
390: {
prop: 'serviceCharge', // 3
type: '3',
"subjectId": '',
},
},
myTable: {
//
// accountNumber: '', //
// collectionNumber: '', //
// moneyOrderNumber: '', //
// expireDate: '', //
// money: '', //
375: {
prop: 'accountNumber', // 3
type: '3',
"subjectId": '',
},
379: {
prop: 'collectionNumber', // 3
type: '3',
"subjectId": '',
},
384: {
prop: 'money', // 1
type: '3',
"subjectId": '',
},
385: {
prop: 'moneyOrderNumber', // 3
type: '3',
"subjectId": '',
},
387: {
prop: 'expireDate', // 3
type: '1',
"subjectId": '',
},
372: {
prop: 'accountUsername', // 3
type: '3',
"subjectId": '',
}
},
}
},
mounted() {
const parentId = '0,5,30,374'
autoPlay2(parentId, this.form, this.myTable2, this.myTable)
this.$refs.accountNumber.focus()
},
methods: {
@ -192,10 +302,8 @@ export default {
submitForm(){
this.$refs.form.validate(myValidate(() => {
//
this.$message({
message: '验证成功',
center: true
});
const parentId = '0,5,30,374'
autoPlay(parentId, this.form, this.myTable2, this.myTable)
}, this.$refs));
},
ismoney: ismoney,

@ -232,6 +232,11 @@ export default {
prop: 'foreignCurrencyBumber', // 3
type: '3',
"subjectId": 42,
},
318: {
prop: 'foreignCurrencyCertificate',
type: '3',
"subjectId": '',
}
},
myTable: {

@ -2,9 +2,9 @@
<template>
<div class="wrap">
<div class="title">
<p>公司业务</p>
<p>同城交换</p>
<i class="el-icon-arrow-right"></i>
<p>{{text}}</p>
<p>同城提入</p>
</div>
<!-- 存款 -->
@ -94,7 +94,7 @@
<script>
import { mapState } from 'vuex'
import { myValidate, ismoney, inputListen, checkHanzi, checkName } from '@/utils/utilFunction.js'
import { myValidate, ismoney, inputListen, checkHanzi, checkName, autoPlay, autoPlay2 } from '@/utils/utilFunction.js'
export default {
name: 'index',
components:{},
@ -163,23 +163,115 @@ export default {
}
]
},
visible:false
visible:false,
myTable2: {
//
// currency: 'CYC', //
// proposeTime: '', //
// insertDate: '', //
// otherAccountUsername: '', //
// exchangeNumber: '', //
// abstract: '', //
// customsNumber: '', //
// exchangeName: '' //
361: {
prop: 'currency', // 1
type: '3',
"subjectId": '',
},
363: {
prop: 'proposeTime', // 1
type: '3',
"subjectId": '',
},
364: {
prop: 'insertDate', // 1
type: '1',
"subjectId": '',
},
366: {
prop: 'otherAccountUsername', // 3
type: '3',
"subjectId": '',
},
368: {
prop: 'exchangeNumber', // 3
type: '3',
"subjectId": '',
},
370: {
prop: 'customsNumber', // 3
type: '3',
"subjectId": '',
},
371: {
prop: 'exchangeName', // 3
type: '3',
"subjectId": '',
},
373: {
prop: 'abstract', // 3
type: '3',
"subjectId": '',
},
},
myTable: {
//
// shroffAccountNumber: '', //
// money: '', //
// accountUsername: '', //
// billType: '', //
// otherAccountNumber: '', //
// voucherNumber: '', //
360: {
prop: 'shroffAccountNumber', // 3
type: '3',
"subjectId": '',
},
362: {
prop: 'money', // 3
type: '3',
"subjectId": '',
},
365: {
prop: 'billType', // 1
type: '1',
"subjectId": '',
},
367: {
prop: 'otherAccountNumber', // 3
type: '3',
"subjectId": '',
},
369: {
prop: 'voucherNumber', // 3
type: '3',
"subjectId": '',
},
372: {
prop: 'accountUsername', // 3
type: '3',
"subjectId": '',
}
},
}
},
created() {
},
mounted() {
const parentId = '0,5,29,345,359'
autoPlay2(parentId, this.form, this.myTable2, this.myTable)
this.$refs.shroffAccountNumber.focus()
},
methods: {
submitForm() {
this.$refs.form.validate(myValidate(() => {
//
this.$message({
message: '验证成功',
center: true
});
const parentId = '0,5,29,345,359'
autoPlay(parentId, this.form, this.myTable2, this.myTable)
}, this.$refs));
},
ismoney: ismoney,

@ -2,9 +2,9 @@
<template>
<div class="wrap">
<div class="title">
<p>公司业务</p>
<p>同城交换</p>
<i class="el-icon-arrow-right"></i>
<p>{{text}}</p>
<p>同城提出</p>
</div>
<!-- 存款 -->
@ -48,8 +48,8 @@
<el-form-item label="提出场次" prop="proposeTime">
<el-input :value="form.proposeTime" @input="val => inputListen(val, form, 'proposeTime')" ref="proposeTime"></el-input>
</el-form-item>
<el-form-item label="票据类型" prop="billTyoe">
<el-select v-model="form.billTyoe" placeholder="请选择" ref="billTyoe">
<el-form-item label="票据类型" prop="billType">
<el-select v-model="form.billType" placeholder="请选择" ref="billType">
<el-option label="银行本票" value="银行本票"> </el-option>
</el-select>
</el-form-item>
@ -93,19 +93,20 @@
<script>
import { mapState } from 'vuex'
import { myValidate, ismoney, inputListen, checkHanzi, checkName } from '@/utils/utilFunction.js'
import { myValidate, ismoney, inputListen, checkHanzi, checkName, autoPlay, autoPlay2 } from '@/utils/utilFunction.js'
export default {
name: 'index',
components:{},
data() {
return {
text:'存款',/* 顶部文字 */
visible: false,
form:{
//
shroffAccountNumber: '', //
money: '', //
shroffAccountUsername: '', //
billTyoe: '银行本票', //
billType: '银行本票', //
otherAccountNumber: '', //
voucherNumber: '', //
//
@ -138,7 +139,7 @@ export default {
trigger: 'blur'
}
],
billTyoe: [
billType: [
{
required: true,
message: '请选择票据类型',
@ -162,9 +163,81 @@ export default {
},
myTable2: {
//
// currency: 'CYC', //
// proposeTime: '', //
// proposeDate: '', //
// otherAccountUsername: '', //
// drawBillDate: '', //
// abstract: '', //
348: {
prop: 'currency', // 1
type: '3',
"subjectId": '',
},
350: {
prop: 'proposeTime', // 1
type: '3',
"subjectId": '',
},
351: {
prop: 'proposeDate', // 1
type: '1',
"subjectId": '',
},
353: {
prop: 'otherAccountUsername', // 3
type: '3',
"subjectId": '',
},
355: {
prop: 'drawBillDate', // 3
type: '1',
"subjectId": '',
},
358: {
prop: 'abstract', // 3
type: '3',
"subjectId": '',
},
},
myTable: {
//
// shroffAccountNumber: '', //
// money: '', //
// shroffAccountUsername: '', //
// billType: '', //
// otherAccountNumber: '', //
// voucherNumber: '', //
347: {
prop: 'shroffAccountNumber', // 3
type: '3',
"subjectId": '',
},
349: {
prop: 'money', // 3
type: '3',
"subjectId": '',
},
352: {
prop: 'billType', // 1
type: '1',
"subjectId": '',
},
354: {
prop: 'otherAccountNumber', // 3
type: '3',
"subjectId": '',
},
356: {
prop: 'voucherNumber', // 3
type: '3',
"subjectId": '',
},
357: {
prop: 'shroffAccountUsername', // 3
type: '3',
"subjectId": '',
},
},
visible:false
}
@ -173,16 +246,16 @@ export default {
},
mounted() {
const parentId = '0,5,29,345,346'
autoPlay2(parentId, this.form, this.myTable2, this.myTable)
this.$refs.shroffAccountNumber.focus()
},
methods: {
submitForm() {
this.$refs.form.validate(myValidate(() => {
//
this.$message({
message: '验证成功',
center: true
});
const parentId = '0,5,29,345,346'
autoPlay(parentId, this.form, this.myTable2, this.myTable)
}, this.$refs));
},
ismoney: ismoney,

@ -10,9 +10,12 @@
</el-select>
</el-form-item>
<el-form-item label="凭证号码" prop="voucherNumber">
<el-select v-model="form.voucherNumber" placeholder="请选择" ref="voucherNumber">
<div class="idCard" @click="popUp('银行卡扫描器')">
<p>请刷银行卡</p>
</div>
<!-- <el-select v-model="form.voucherNumber" placeholder="请选择" ref="voucherNumber">
<el-option label="存单" value="存单"> </el-option>
</el-select>
</el-select> -->
</el-form-item>
<el-form-item label="币种" prop="currency">
<el-select v-model="form.currency" placeholder="请选择" ref="currency">
@ -28,16 +31,14 @@
<el-form-item label="利息" prop="interest">
<el-input :value="form.interest" @input="val => ismoney(val, form, 'interest')" ref="interest"></el-input>
</el-form-item>
<el-form-item label="起息日期" required>
<div class="idCard" @click="popUp('密码器')">
<p>请输入密码</p>
</div>
<el-form-item label="起息日期" prop="breathDate">
<el-input v-model="breathDate"></el-input>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="身份证" required>
<div class="idCard" @click="popUp('身份证扫描器')">
<div class="idCard" @click="popUp2('身份证扫描器')">
<p>请刷身份证</p>
</div>
</el-form-item>
@ -63,7 +64,7 @@
<el-input :value="form.totalMoney" @input="val => ismoney(val, form, 'totalMoney')" ref="totalMoney" ></el-input>
</el-form-item>
<el-form-item label="支取密码" required>
<div class="idCard" @click="popUp2('密码器')">
<div class="idCard" @click="popUp3('密码器')">
<p>请填凭证号码</p>
</div>
</el-form-item>
@ -138,95 +139,114 @@ export default{
// depositDate: '', //
// interest: '', //
// totalMoney: '', //
// certificateType: '', //
// breathDate: '', //
210: {
prop: 'clientName',//
302: {
prop: 'certificateType',
type: '1',
"subjectId": 19,
},
305: {
prop: 'clientName',
type: '3',
"subjectId": 7,
},
212: {
307: {
prop: 'currencyMark',//
type: '1',
"subjectId": 9,
},
213: {
308: {
prop: 'depositNumber',//
type: '3',
"subjectId": 33,
},
214: {
309: {
prop: 'capital',//
type: '3',
"subjectId": 34,
},
215: {
310: {
prop: 'interestRate',//
type: '3',
"subjectId": 29,
},
216: {
311: {
prop: 'depositDate',//
type: '1',
"subjectId": 27,
},
217: {
312: {
prop: 'interest',//
type: '3',
"subjectId": 26,
},
218: {
313: {
prop: 'totalMoney',//
type: '3',
"subjectId": 45,
},
219: {
314: {
prop: 'breathDate',//
type: '3',
"subjectId": 32,
},
}
},
myTable2: {
209: {
prop: 'voucherNumber',
type: '3'
},
211: {
// voucherNumber: '', //
// currency: 'CYN', //
// 304: {
// prop: 'voucherNumber',
// type: '3',
// "subjectId": 44,
// },
306: {
prop: 'currency',//
type: '1',
"subjectId": 8,
},
207: {
prop: 'certificateType',
type: '1',
"subjectId": 19,
}
},
}
},
mounted() {
this.$refs.clientName.focus()
const parentId = '0,5,26,60,194'
const parentId = '0,5,26,38,289'
const cards = {
220: 'nomCallDepositClosedPassword'
303: 'nomCallDepositCard',
304: 'nomCallDepositCard2',
315: 'nomCallDepositClosedPassword'
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards)
},
methods: {
popUp(text) {
this.$store.commit('system/changePop',{show:true,text})
this.$store.commit('system/changePop',{show:true,text, id: '303'})
},
popUp2(text) {
this.$store.commit('system/changePop',{show:true,text, id: '220'})
this.$store.commit('system/changePop',{show:true,text, id: '304'})
},
popUp3(text) {
this.$store.commit('system/changePop',{show:true,text, id: '315'})
},
submitForm() {
this.$refs.form.validate(myValidate(() => {
//
this.visible = true;
const parentId = '0,5,26,60,194'
const parentId = '0,5,26,38,289'
const nomCallDepositCard = sessionStorage.getItem('nomCallDepositCard')
const nomCallDepositCard2 = sessionStorage.getItem('nomCallDepositCard2')
const nomCallDepositClosedPassword = sessionStorage.getItem('nomCallDepositClosedPassword')
const cards = [
{
220: nomCallDepositClosedPassword,
303: nomCallDepositCard
},
{
304: nomCallDepositCard2
},
{
315: nomCallDepositClosedPassword,
"subjectId": 17,
}
]

@ -46,7 +46,7 @@
</el-select>
</el-form-item>
<el-form-item label="凭证号码" required>
<div class="idCard" @click="popUp('刷卡器')">
<div class="idCard" @click="popUp2('刷卡器')">
<p>请填凭证号码</p>
</div>
</el-form-item>
@ -56,7 +56,7 @@
</el-select>
</el-form-item>
<el-form-item label="支取密码" required>
<div class="idCard" @click="popUp2('密码器')">
<div class="idCard" @click="popUp3('密码器')">
<p>请输入密码</p>
</div>
</el-form-item>
@ -136,45 +136,53 @@ export default{
],
},
myTable: {
195: {
290: {
prop: 'certificateType',//
type: '1',
"subjectId": 19,
},
197: {
292: {
prop: 'clientNumber',//
type: '3',
"subjectId": 6,
},
},
myTable2: {
198: {
293: {
prop: 'customerName',//
type: '3',
"subjectId": 7,
},
199: {
294: {
prop: 'currency',//
type: '1',
"subjectId": 8,
},
200: {
295: {
prop: 'currencyMark',//
type: '1',
"subjectId": 9,
},
201: {
296: {
prop: 'voucherType',//
type: '1',
"subjectId": 11,
},
127: {
299: {
prop: 'depositType',//
type: '1'
type: '1',
"subjectId": 30,
},
129: {
300: {
prop: 'money',//
type: '1'
type: '3',
"subjectId": 14,
},
298: {
prop: 'noticeType',//
type: '1',
"subjectId": 48,
},
// : {
// prop: 'noticeType',//
@ -205,32 +213,40 @@ export default{
},
methods: {
getFormData(){
const parentId = '0,5,26,60,193'
const parentId = '0,5,26,38,288'
const cards = {
202: 'nomCallDepositOpen2',
203: 'nomCallDepositOpenPassword'
291: 'nomCallDepositOpen2',
297: 'nomCallDepositOpen3',
301: 'nomCallDepositOpenPassword'
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards)
},
popUp(text) {
this.$store.commit('system/changePop',{show:true,text, id:'193,1'})
this.$store.commit('system/changePop',{show:true,text, id:'291'})
},
popUp2(text) {
this.$store.commit('system/changePop',{show:true,text, id:'203'})
this.$store.commit('system/changePop',{show:true,text, id:'297'})
},
popUp3(text) {
this.$store.commit('system/changePop',{show:true,text, id:'301'})
},
submitForm() {
this.$refs.form.validate(myValidate(() => {
//
this.visible = true;
const parentId = '0,5,26,60,193'
const parentId = '0,5,26,38,288'
const nomCallDepositOpen2 = sessionStorage.getItem('nomCallDepositOpen2')
const nomCallDepositOpen3 = sessionStorage.getItem('nomCallDepositOpen3')
const nomCallDepositOpenPassword = sessionStorage.getItem('nomCallDepositOpenPassword')
const cards = [
{
202: nomCallDepositOpen2,
291: nomCallDepositOpen2,
},
{
297: nomCallDepositOpen3,
},
{
203: nomCallDepositOpenPassword,
301: nomCallDepositOpenPassword,
"subjectId": 17,
}
]

@ -95,17 +95,17 @@ export default{
},
107: {
prop: 'money',
type: '1',
type: '3',
"subjectId": 14,
},
108: {
prop: 'interest',
type: '1',
type: '3',
"subjectId": 26,
},
109: {
prop: 'totalMoney',
type: '1'
type: '3'
},
112: {
prop: 'remark',

@ -97,15 +97,15 @@ export default{
myTable2: {
100: {
prop: 'shroffAccount',
type: '1'
type: '3'
},
101: {
prop: 'payeeName',
type: '1'
type: '3'
},
102: {
prop: 'remark',
type: '1',
type: '3',
"subjectId": 16
}
},

@ -215,8 +215,6 @@ export default{
},
mounted() {
this.getFormData()
console.log('---')
console.log(this.form.extendPeriod)
this.$refs.customerName.focus()
},
methods: {

@ -22,8 +22,8 @@
<el-option label="存单" value="存单"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="支取方式" prop="voucherType">
<el-select disabled v-model="form.withdrawingWay" placeholder="请选择" ref="voucherType">
<el-form-item label="支取方式" prop="withdrawingWay">
<el-select disabled v-model="form.withdrawingWay" placeholder="请选择" ref="withdrawingWay">
<el-option label="密码" value="密码"> </el-option>
</el-select>
</el-form-item>
@ -134,6 +134,11 @@ export default{
type: '3',
"subjectId": 7,
},
130: {
prop: 'withdrawingWay', //
type: '1',
"subjectId": 13,
},
125: {
prop: 'currency',//
type: '1',

@ -147,7 +147,7 @@ export default{
},
169: {
prop: 'customerManage',//
type: '1',
type: '3',
"subjectId": 27,
},
160: {
@ -215,6 +215,7 @@ export default{
},
submitForm() {
let nomUsefulPhrasesOpenCard = sessionStorage.getItem('nomUsefulPhrasesOpenCard')
// let nomUsefulPhrasesOpenCard2 = sessionStorage.getItem('nomUsefulPhrasesOpenCard2')
let nomUsefulPhrasesOpenPassword = sessionStorage.getItem('nomUsefulPhrasesOpenPassword')
this.$refs.form.validate(myValidate(() => {
//

@ -23,12 +23,12 @@
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="证件号码" required>
<div class="idCard" @click="popUp('身份证扫描器')">
<div class="idCard" @click="popUp1('身份证扫描仪')">
<p>请刷身份证</p>
</div>
</el-form-item>
<el-form-item label="账号" required>
<div class="idCard" @click="popUp('银行扫描器')">
<div class="idCard" @click="popUp2('银行扫描仪')">
<p>请刷银行卡</p>
</div>
</el-form-item>
@ -97,32 +97,71 @@ export default{
}
]
},
myTable2: {
326: {
prop: 'newPayPassword', // 3
type: '3',
"subjectId": '',
},
327: {
prop: 'maillingAddress', // 3
type: '3',
"subjectId": '',
},
317: {
prop: 'certificateType', //
type: '1',
"subjectId": '',
}
},
myTable: {
322: {
prop: 'customerName', //
type: '3',
"subjectId": '',
},
325: {
prop: 'payPassword', //
type: '3',
"subjectId": '',
}
},
visible: false
}
},
mounted() {
const parentId = '0,5,28,316'
const cards = {
320: 'servicesPasswordChange',
323: 'servicesPasswordChange2'
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards)
this.$refs.customerName.focus()
},
methods: {
popUp(text) {
this.$store.commit('system/changePop',{show:true,text})
popUp1(text) {
this.$store.commit('system/changePop',{show:true,text, id: '320'})
},
popUp2(text) {
this.$store.commit('system/changePop',{show:true,text, id: '323'})
},
submitForm() {
let servicesAccount = sessionStorage.getItem('servicesAccount')
// const cards = [
// {
// 94: nomCurrentTransferCard
// },
// {
// 99: nomCurrentTransferPassword
// }
// ]
let servicesPasswordChange = sessionStorage.getItem('servicesPasswordChange')
let servicesPasswordChange2 = sessionStorage.getItem('servicesPasswordChange2')
this.$refs.form.validate(myValidate(() => {
//
this.$message({
message: '验证成功',
center: true
});
this.visible = true;
const parentId = '0,5,28,316'
const cards = [
{ // //
320: servicesPasswordChange
},
{ //
323: servicesPasswordChange2
}
]
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)
}, this.$refs));
},
checkHanzi: checkHanzi,

@ -3,14 +3,14 @@
<div class="title">
<p>账户服务</p>
<i class="el-icon-arrow-right"></i>
<p>密码修改</p>
<p>密码挂失</p>
</div>
<div class="body">
<el-row :gutter="20" style="margin: 0">
<el-form ref="form" :model="form" label-width="120px" :rules="rules">
<el-col :span="10" :offset="1">
<el-form-item label="账号" required>
<div class="idCard" @click="popUp('银行扫描器')">
<div class="idCard" @click="popUp1('银行扫描器')">
<p>请刷银行卡</p>
</div>
</el-form-item>
@ -25,7 +25,7 @@
<el-input :value="form.customerName" @input="(val) => checkName(val, form, 'customerName')" ref="customerName"></el-input>
</el-form-item>
<el-form-item label="身份证" required>
<div class="idCard" @click="popUp('身份证扫描器')">
<div class="idCard" @click="popUp2('身份证扫描器')">
<p>请刷身份证</p>
</div>
</el-form-item>
@ -64,7 +64,7 @@
</template>
<script>
import { vercustomer } from '@/utils/verify.js'
import { myValidate, checkHanzi, checkName } from '@/utils/utilFunction.js'
import { myValidate, checkHanzi, checkName, autoPlay, autoPlay2 } from '@/utils/utilFunction.js'
export default{
name:'',
props:{},
@ -81,23 +81,61 @@ export default{
rules: {
customerName: vercustomer
},
myTable2: {
332: {
prop: 'certificateType', // 1
type: '1',
"subjectId": '',
},
335: {
prop: 'remark', // 3
type: '3',
"subjectId": '',
}
},
myTable: {
331: {
prop: 'customerName', //
type: '3',
"subjectId": '',
}
},
visible: false
}
},
mounted() {
const parentId = '0,5,28,328'
const cards = {
329: 'servicesPasswordLost',
333: 'servicesPasswordLost2'
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards)
this.$refs.customerName.focus()
},
methods: {
popUp(text) {
this.$store.commit('system/changePop',{show:true,text})
popUp1(text) {
this.$store.commit('system/changePop',{show:true,text,id:'329'})
},
popUp2(text) {
this.$store.commit('system/changePop',{show:true,text,id:'333'})
},
submitForm() {
this.$refs.form.validate(myValidate(() => {
//
this.$message({
message: '验证成功',
center: true
});
let servicesPasswordLost = sessionStorage.getItem('servicesPasswordLost')
let servicesPasswordLost2 = sessionStorage.getItem('servicesPasswordLost2')
this.visible = true;
const parentId = '0,5,28,328'
const cards = [
{ // //
329: servicesPasswordLost
},
{ //
333: servicesPasswordLost2
}
]
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)
}, this.$refs));
},
checkHanzi: checkHanzi,

@ -10,7 +10,7 @@
<el-form ref="form" :model="form" label-width="120px" :rules="rules">
<el-col :span="10" :offset="1">
<el-form-item label="账号" required>
<div class="idCard" @click="popUp('银行扫描器')">
<div class="idCard" @click="popUp1('银行扫描器')">
<p>请刷银行卡</p>
</div>
</el-form-item>
@ -20,7 +20,7 @@
</el-select>
</el-form-item>
<el-form-item label="支取密码" required>
<div class="idCard" @click="popUp('密码器')">
<div class="idCard" @click="popUp3('密码器')">
<p>请输入密码</p>
</div>
</el-form-item>
@ -30,7 +30,7 @@
<el-input :value="form.customerName" @input="(val) => checkName(val, form, 'customerName')" ref="customerName"></el-input>
</el-form-item>
<el-form-item label="身份证" required>
<div class="idCard" @click="popUp('身份证扫描器')">
<div class="idCard" @click="popUp2('身份证扫描器')">
<p>请刷身份证</p>
</div>
</el-form-item>
@ -67,7 +67,7 @@
</template>
<script>
import { vercustomer } from '@/utils/verify.js'
import { myValidate, checkHanzi, checkName } from '@/utils/utilFunction.js'
import { myValidate, checkHanzi, checkName, autoPlay, autoPlay2 } from '@/utils/utilFunction.js'
export default{
name:'',
props:{},
@ -83,27 +83,73 @@ export default{
rules: {
customerName: vercustomer
},
myTable2: {
340: {
prop: 'certificateType', // 1
type: '1',
"subjectId": '',
},
344: {
prop: 'remark', // 3
type: '3',
"subjectId": '',
}
},
myTable: {
339: {
prop: 'customerName', //
type: '3',
"subjectId": '',
}
},
visible: false
}
},
methods: {
popUp(text) {
this.$store.commit('system/changePop',{show:true,text})
popUp1(text) {
this.$store.commit('system/changePop',{show:true,text, id: '337'})
},
popUp2(text) {
this.$store.commit('system/changePop',{show:true,text, id: '341'})
},
popUp3(text) {
this.$store.commit('system/changePop',{show:true,text, id: '343'})
},
submitForm() {
this.$refs.form.validate(myValidate(() => {
//
this.$message({
message: '验证成功',
center: true
});
let servicesPasswordRelieveLost = sessionStorage.getItem('servicesPasswordRelieveLost')
let servicesPasswordRelieveLost2 = sessionStorage.getItem('servicesPasswordRelieveLost2')
let servicesPasswordRelievePassword = sessionStorage.getItem('servicesPasswordRelievePassword')
this.visible = true;
const parentId = '0,5,28,336'
const cards = [
{ // //
341: servicesPasswordRelieveLost
},
{ //
337: servicesPasswordRelieveLost2
},
{
343: servicesPasswordRelievePassword
}
]
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)
}, this.$refs));
},
checkHanzi: checkHanzi,
checkName: checkName
},
mounted() {
const parentId = '0,5,28,336'
const cards = {
341: 'servicesPasswordRelieveLost',
337: 'servicesPasswordRelieveLost2',
343: 'servicesPasswordRelievePassword',
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards)
this.$refs.customerName.focus()
}
}

Loading…
Cancel
Save