diff --git a/src/pages/counter/list/index.vue b/src/pages/counter/list/index.vue index ef735e9..e24c14c 100644 --- a/src/pages/counter/list/index.vue +++ b/src/pages/counter/list/index.vue @@ -76,15 +76,10 @@ -<<<<<<< HEAD --> -======= - - ->>>>>>> 8498f8e3a48d5889580b43697701a1ef33281d85
@@ -673,7 +668,7 @@ export default { this.passwordForm.password = accountPassword this.passwordForm.passwordAgain = accountPassword } - }else if(this.$store.state.system.id == '64'){ + }else if(this.$store.state.system.id == '64,2'){ let nomCurrentWithdrawalPassword = sessionStorage.getItem('nomCurrentWithdrawalPassword'); if(nomCurrentWithdrawalPassword){ this.passwordForm.password = nomCurrentWithdrawalPassword @@ -685,7 +680,7 @@ export default { this.passwordForm.password = nomCurrentTransferPassword this.passwordForm.passwordAgain = nomCurrentTransferPassword } - }else if(this.$store.state.system.id == '66'){ + }else if(this.$store.state.system.id == '66,2'){ let nomCurrentSettlePassword = sessionStorage.getItem('nomCurrentSettlePassword'); if(nomCurrentSettlePassword){ this.passwordForm.password = nomCurrentSettlePassword @@ -699,6 +694,7 @@ export default { this.passwordForm.passwordAgain = nomCurrentSettlePassword } }else{ + let accountPasswordAll = sessionStorage.getItem('accountPasswordAll'); if(accountPasswordAll){ this.passwordForm.password = accountPasswordAll @@ -1332,163 +1328,157 @@ export default { if(this.popText.includes('密码器') && this.nbm !== 8 && this.passwordForm.passwordAgain) { this.callChangePassword() } - - console.log('mxx') - console.log(this.id) - console.log(this.$store.state.system.id) - if (this.$store.state.system.id == '33'){ - this.nbm = 33 - // this.goodsShelfTotalData = this.auditGoodsShelf - if (this.receptionList.length >0){ - sessionStorage.setItem('nomClientIdentity', JSON.stringify(this.receptionList)) - } - console.log(sessionStorage.getItem('nomClientIdentity')) - }else if (this.$store.state.system.id == '34'){ - this.nbm = 34 - // this.goodsShelfTotalData = this.auditGoodsShelf - if (this.receptionList.length >0){ - sessionStorage.setItem('firmClientIdentity', JSON.stringify(this.receptionList)) - } - }else if (this.$store.state.system.id == '63'){ - this.nbm = 63 - // this.goodsShelfTotalData = this.auditGoodsShelf - if (this.receptionList.length >0){ - sessionStorage.setItem('nomBusinessDepositCard', JSON.stringify(this.receptionList)) - } - }else if (this.$store.state.system.id == '64'){ - this.nbm = 64 - // this.goodsShelfTotalData = this.auditGoodsShelf - if (this.receptionList.length >0){ - sessionStorage.setItem('nomCurrentWithdrawalCard', JSON.stringify(this.receptionList)) - } - if (this.passwordForm.passwordAgain){ - let accountPassword = ''; - accountPassword = this.passwordForm.passwordAgain - sessionStorage.setItem('nomCurrentWithdrawalPassword', accountPassword) - } - }else if (this.$store.state.system.id == '65'){ - this.nbm = 65 - // this.goodsShelfTotalData = this.auditGoodsShelf - if (this.receptionList.length >0){ - sessionStorage.setItem('nomCurrentTransferCard', JSON.stringify(this.receptionList)) - } - if (this.passwordForm.passwordAgain){ - let accountPassword = ''; - accountPassword = this.passwordForm.passwordAgain - sessionStorage.setItem('nomCurrentTransferPassword', accountPassword) - } - }else if (this.$store.state.system.id == '66'){ - this.nbm = 66 - // this.goodsShelfTotalData = this.auditGoodsShelf - if (this.receptionList.length >0){ - sessionStorage.setItem('nomCurrentSettleCard', JSON.stringify(this.receptionList)) - } - if (this.passwordForm.passwordAgain){ - let accountPassword = ''; - accountPassword = this.passwordForm.passwordAgain - sessionStorage.setItem('nomCurrentSettlePassword', accountPassword) - } - }else if (this.$store.state.system.id == '67,1'){ - this.nbm = 67 - // this.goodsShelfTotalData = this.auditGoodsShelf - if (this.receptionList.length >0){ - sessionStorage.setItem('nomCurrentCancellCard1', JSON.stringify(this.receptionList)) - } - }else if (this.$store.state.system.id == '67,2'){ - this.nbm = 67 - // this.goodsShelfTotalData = this.auditGoodsShelf - if (this.receptionList.length >0){ - sessionStorage.setItem('nomCurrentCancellCard2', JSON.stringify(this.receptionList)) - } - - }else if (this.$store.state.system.id == '33'){ - this.nbm = 33 - // this.goodsShelfTotalData = this.auditGoodsShelf - if (this.receptionList.length >0){ - sessionStorage.setItem('nomClientIdentity', JSON.stringify(this.receptionList)) - } - }else if (this.$store.state.system.id == '34'){ - this.nbm = 34 - // this.goodsShelfTotalData = this.auditGoodsShelf - if (this.receptionList.length >0){ - sessionStorage.setItem('firmClientIdentity', JSON.stringify(this.receptionList)) - } - }else if (this.$store.state.system.id == '63'){ - this.nbm = 63 - // this.goodsShelfTotalData = this.auditGoodsShelf - if (this.receptionList.length >0){ - sessionStorage.setItem('nomBusinessDepositCard', JSON.stringify(this.receptionList)) - } - }else if (this.$store.state.system.id == '64'){ - this.nbm = 64 - // this.goodsShelfTotalData = this.auditGoodsShelf - if (this.receptionList.length >0){ - sessionStorage.setItem('nomCurrentWithdrawalCard', JSON.stringify(this.receptionList)) - } - if (this.passwordForm.passwordAgain){ - let accountPassword = ''; - accountPassword = this.passwordForm.passwordAgain - sessionStorage.setItem('nomCurrentWithdrawalPassword', accountPassword) - } - }else if (myConfig[this.$store.state.system.id]){ // myConfig[this.$store.state.system.id] - - const { nbm, name, isPassword } = myConfig[this.$store.state.system.id] - this.nbm = nbm - if(!isPassword) { + + if(this.popText === '身份证扫描仪' || this.popText === '刷卡器' || this.popText === '密码器') { + if (this.$store.state.system.id == '33' && this.popText === '身份证扫描仪'){ + this.nbm = 33 // this.goodsShelfTotalData = this.auditGoodsShelf if (this.receptionList.length >0){ - sessionStorage.setItem(name, JSON.stringify(this.receptionList)) + sessionStorage.setItem('nomClientIdentity', JSON.stringify(this.receptionList)) } - }else { + console.log(sessionStorage.getItem('nomClientIdentity')) + }else if (this.$store.state.system.id == '34'){ + this.nbm = 34 + // this.goodsShelfTotalData = this.auditGoodsShelf + if (this.receptionList.length >0){ + sessionStorage.setItem('firmClientIdentity', JSON.stringify(this.receptionList)) + } + }else if (this.$store.state.system.id == '63' && this.popText === '刷卡器'){ + this.nbm = 63 + // this.goodsShelfTotalData = this.auditGoodsShelf + if (this.receptionList.length >0){ + sessionStorage.setItem('nomBusinessDepositCard', JSON.stringify(this.receptionList)) + } + }else if (this.$store.state.system.id == '64' && this.popText === '刷卡器'){ + this.nbm = 64 + if (this.receptionList.length >0){ + sessionStorage.setItem('nomCurrentWithdrawalCard', JSON.stringify(this.receptionList)) + } + }else if (this.$store.state.system.id == '64,2' && this.popText === '密码器'){ + this.nbm = 64 if (this.passwordForm.passwordAgain){ - let accountPassword = ''; - accountPassword = this.passwordForm.passwordAgain - sessionStorage.setItem(name, accountPassword) - } - } - - - }else if (this.$store.state.system.id == '67,3'){ - this.nbm = 67 - if (this.passwordForm.passwordAgain){ - let accountPassword = ''; - accountPassword = this.passwordForm.passwordAgain - sessionStorage.setItem('nomCurrentCancellPassword', accountPassword) - } - }else if (this.$store.state.system.id == '62,1'){ - this.nbm = 62 - // this.goodsShelfTotalData = this.auditGoodsShelf - if (this.receptionList.length >0){ - sessionStorage.setItem('accountVoucher', JSON.stringify(this.receptionList)) - } - if (this.passwordForm.passwordAgain){ - let accountPassword = ''; - accountPassword = this.passwordForm.passwordAgain - sessionStorage.setItem('accountPassword', accountPassword) - } - }else if (this.$store.state.system.id == '62,2'){ - this.nbm = 62 + let accountPassword = ''; + accountPassword = this.passwordForm.passwordAgain + sessionStorage.setItem('nomCurrentWithdrawalPassword', accountPassword) + } + }else if (this.$store.state.system.id == '65' && this.popText === '刷卡器'){ + this.nbm = 65 + // this.goodsShelfTotalData = this.auditGoodsShelf + if (this.receptionList.length >0){ + sessionStorage.setItem('nomCurrentTransferCard', JSON.stringify(this.receptionList)) + } + // if (this.passwordForm.passwordAgain){ + // let accountPassword = ''; + // accountPassword = this.passwordForm.passwordAgain + // sessionStorage.setItem('nomCurrentTransferPassword', accountPassword) + // } + }else if (this.$store.state.system.id == '66' && this.popText === '刷卡器'){ + this.nbm = 66 // this.goodsShelfTotalData = this.auditGoodsShelf - if (this.receptionList.length >0){ - sessionStorage.setItem('accountVoucherTwo', JSON.stringify(this.receptionList)) + sessionStorage.setItem('nomCurrentSettleCard', JSON.stringify(this.receptionList)) } + // if (this.passwordForm.passwordAgain){ + // let accountPassword = ''; + // accountPassword = this.passwordForm.passwordAgain + // sessionStorage.setItem('nomCurrentSettlePassword', accountPassword) + // } + }else if (this.$store.state.system.id == '66,2' && this.popText === '密码器'){ + this.nbm = 66 if (this.passwordForm.passwordAgain){ - let accountPasswordTwo = '' - accountPasswordTwo = this.passwordForm.passwordAgain - sessionStorage.setItem('accountPasswordTwo', accountPasswordTwo) + let accountPassword = ''; + accountPassword = this.passwordForm.passwordAgain + sessionStorage.setItem('nomCurrentSettlePassword', accountPassword) } - }else if (this.$store.state.system.id == '62,3'){ - this.nbm = 62 + }else if (this.$store.state.system.id == '67,1' && this.popText === '刷卡器'){ + this.nbm = 67 + // this.goodsShelfTotalData = this.auditGoodsShelf + if (this.receptionList.length >0){ + sessionStorage.setItem('nomCurrentCancellCard1', JSON.stringify(this.receptionList)) + } + }else if (this.$store.state.system.id == '67,2' && this.popText === '身份证扫描仪'){ + this.nbm = 67 + // this.goodsShelfTotalData = this.auditGoodsShelf + if (this.receptionList.length >0){ + sessionStorage.setItem('nomCurrentCancellCard2', JSON.stringify(this.receptionList)) + } + + }else if (this.$store.state.system.id == '33'){ + this.nbm = 33 + // this.goodsShelfTotalData = this.auditGoodsShelf + if (this.receptionList.length >0){ + sessionStorage.setItem('nomClientIdentity', JSON.stringify(this.receptionList)) + } + }else if (this.$store.state.system.id == '34'){ + this.nbm = 34 // this.goodsShelfTotalData = this.auditGoodsShelf if (this.receptionList.length >0){ - sessionStorage.setItem('accountVoucherThree', JSON.stringify(this.receptionList)) + sessionStorage.setItem('firmClientIdentity', JSON.stringify(this.receptionList)) + } + }else if (myConfig[this.$store.state.system.id]){ // myConfig[this.$store.state.system.id] + + const { nbm, name, isPassword, machine } = myConfig[this.$store.state.system.id] + this.nbm = nbm + if(!isPassword) { + if (this.receptionList.length >0 && machine === this.popText){ + sessionStorage.setItem(name, JSON.stringify(this.receptionList)) + } + }else { + if (this.passwordForm.passwordAgain){ + let accountPassword = ''; + accountPassword = this.passwordForm.passwordAgain + sessionStorage.setItem(name, accountPassword) + } } + + + }else if (this.$store.state.system.id == '67,3'){ + this.nbm = 67 if (this.passwordForm.passwordAgain){ - let accountPasswordThree = '' - accountPasswordThree = this.passwordForm.passwordAgain - sessionStorage.setItem('accountPasswordThree', accountPasswordThree) + let accountPassword = ''; + accountPassword = this.passwordForm.passwordAgain + sessionStorage.setItem('nomCurrentCancellPassword', accountPassword) } + }else if (this.$store.state.system.id == '62,1' && this.popText === '刷卡器'){ + this.nbm = 62 + if (this.receptionList.length >0){ + sessionStorage.setItem('accountVoucher', JSON.stringify(this.receptionList)) + } + }else if (this.$store.state.system.id == '62,1' && this.popText === '密码器'){ + this.nbm = 62 + if (this.passwordForm.passwordAgain){ + let accountPassword = ''; + accountPassword = this.passwordForm.passwordAgain + sessionStorage.setItem('accountPassword', accountPassword) + } + }else if (this.$store.state.system.id == '62,2' && this.popText === '刷卡器'){ + this.nbm = 62 + // this.goodsShelfTotalData = this.auditGoodsShelf + + if (this.receptionList.length >0){ + sessionStorage.setItem('accountVoucherTwo', JSON.stringify(this.receptionList)) + } + }else if (this.$store.state.system.id == '62,2' && this.popText === '密码器'){ + this.nbm = 62 + if (this.passwordForm.passwordAgain){ + let accountPasswordTwo = '' + accountPasswordTwo = this.passwordForm.passwordAgain + sessionStorage.setItem('accountPasswordTwo', accountPasswordTwo) + } + }else if (this.$store.state.system.id == '62,3' && this.popText === '刷卡器'){ + this.nbm = 62 + // this.goodsShelfTotalData = this.auditGoodsShelf + if (this.receptionList.length >0){ + sessionStorage.setItem('accountVoucherThree', JSON.stringify(this.receptionList)) + } + }else if (this.$store.state.system.id == '62,3' && this.popText === '密码器'){ + this.nbm = 62 + if (this.passwordForm.passwordAgain){ + let accountPasswordThree = '' + accountPasswordThree = this.passwordForm.passwordAgain + sessionStorage.setItem('accountPasswordThree', accountPasswordThree) + } + } }else { let formList = [] // this.toggleGoods() diff --git a/src/pages/counter/list/myConfig.js b/src/pages/counter/list/myConfig.js index 7002b2f..4ac70ef 100644 --- a/src/pages/counter/list/myConfig.js +++ b/src/pages/counter/list/myConfig.js @@ -3,7 +3,7 @@ const myConfig = { nbm: 118, name: 'nomCurrentTransferPassword', parentId: '285,287,5,26,57,65', - isPassword: true + isPassword: true, }, '117': { nbm: 118, @@ -15,13 +15,15 @@ const myConfig = { nbm: 118, name: 'nomtimeOpenAccount1', parentId: '285,287,5,26,58,118', - isPassword: false + isPassword: false, + machine: '身份证扫描仪' }, '118,2': { nbm: 118, name: 'nomtimeOpenAccount2', parentId: '285,287,5,26,58,118', - isPassword: false + isPassword: false, + machine: '刷卡器' }, '129': { nbm: 129, @@ -33,7 +35,8 @@ const myConfig = { nbm: 131, name: 'nomtimeDeposit1', parentId: '285,287,5,26,58,119', - isPassword: false + isPassword: false, + machine: '刷卡器' }, '140': { nbm: 140, @@ -49,9 +52,10 @@ const myConfig = { }, '144,1': { nbm: 144, - name: 'nomtimeDepositWithdrawalPassword', + name: 'nomtimeDepositWithdrawal1', parentId: '285,287,5,26,58,120', - isPassword: true + isPassword: false, + machine: '刷卡器' }, '156': { nbm: 156, @@ -69,7 +73,8 @@ const myConfig = { nbm: 166, name: 'nomUsefulPhrasesOpenCard', parentId: '285,287,5,26,59,155', - isPassword: false + isPassword: false, + machine: '刷卡器' }, '167': { nbm: 167, @@ -81,7 +86,8 @@ const myConfig = { nbm: 171, name: 'nomUsefulPhrasesContinueCard', parentId: '285,287,5,26,59,156', - isPassword: false + isPassword: false, + machine: '刷卡器' }, '178': { nbm: 178, @@ -93,7 +99,8 @@ const myConfig = { nbm: 181, name: 'nomUsefulPhrasesClosed2', parentId: '285,287,5,26,59,157', - isPassword: false + isPassword: false, + machine: '刷卡器' }, '192': { nbm: 192, @@ -201,13 +208,15 @@ const myConfig = { nbm: 1399, name: 'nomUsefulPhrasesOpenCard2', parentId: '285,287,5,26,59,155', - isPassword: false + isPassword: false, + machine: '身份证扫描仪' }, '180': { nbm: 180, name: 'nomUsefulPhrasesClosed', parentId: '285,287,5,26,59,157', - isPassword: false + isPassword: false, + machine: '身份证扫描仪' } } diff --git a/src/pages/manage/list/client/consumerClient.vue b/src/pages/manage/list/client/consumerClient.vue index 0d60e42..08b5160 100644 --- a/src/pages/manage/list/client/consumerClient.vue +++ b/src/pages/manage/list/client/consumerClient.vue @@ -294,8 +294,9 @@ export default { popUp(){// 唤起弹窗 // this.$store.commit('system/changePop',{show:true,text:'身份证扫描仪',id:'33'}) // this.changeShowGoods(true) - this.$message.info('请刷身份证'); // this.$store.commit('system/changePop',{show: false, text: '', id:'33'}) + + this.$message.warning('请刷身份证'); this.setPopId('33') this.$router.push('/counter/list/') }, diff --git a/src/pages/manage/list/client/corporateClient.vue b/src/pages/manage/list/client/corporateClient.vue index b438b09..0510c80 100644 --- a/src/pages/manage/list/client/corporateClient.vue +++ b/src/pages/manage/list/client/corporateClient.vue @@ -155,21 +155,10 @@ export default { } }, created() { + // firmClientIdentity if(this.inMyWork(moduleName)) { if(this.needsModule(moduleName) === '') { - if(this.inMyWork(moduleName)) { - if(this.needsModule(moduleName) === '') { - }else { - this.isNeedBefore = true - this.needBefore = this.needsModule(moduleName) - } - }else { - this.isNeedBefore = true - this.unNeed = true - } - }else { - this.isNeedBefore = true - this.needBefore = this.needsModule(moduleName) + } }else { this.isNeedBefore = true diff --git a/src/pages/manage/list/personal/callDeposits/openAccount.vue b/src/pages/manage/list/personal/callDeposits/openAccount.vue index 60e6f89..4d14911 100644 --- a/src/pages/manage/list/personal/callDeposits/openAccount.vue +++ b/src/pages/manage/list/personal/callDeposits/openAccount.vue @@ -1,6 +1,6 @@ // 开户