From 019f6af7eb5a910d1e999b5f35329c8e864e3ee5 Mon Sep 17 00:00:00 2001 From: "luoJunYong.123" Date: Tue, 29 Mar 2022 17:22:06 +0800 Subject: [PATCH] update --- src/components/tipDialog/index.vue | 2 +- src/pages/counter/list/index.vue | 381 +----------------- .../personal/callDeposits/accountClosed.vue | 24 -- src/store/modules/system.js | 1 + 4 files changed, 13 insertions(+), 395 deletions(-) diff --git a/src/components/tipDialog/index.vue b/src/components/tipDialog/index.vue index 6cacbd8..96e8d1a 100644 --- a/src/components/tipDialog/index.vue +++ b/src/components/tipDialog/index.vue @@ -239,7 +239,7 @@ export default { } .successTip { color: green; - background-color: rgba(255, 255, 255,.9); + background-color: rgba(255, 255, 240,.9); border: 1px solid white; border-radius: 16px; } diff --git a/src/pages/counter/list/index.vue b/src/pages/counter/list/index.vue index bc89a39..20d2c14 100644 --- a/src/pages/counter/list/index.vue +++ b/src/pages/counter/list/index.vue @@ -528,6 +528,7 @@ export default { // goods:[/* 物品栏物品 */ // ], popArr:[/* 弹窗展示的物品 */ + {name:'二类银行卡',src:require('@/assets/img/goods/bankCard.png'),id:563}, {name:'银行卡',src:require('@/assets/img/goods/bankCard.png'),id:16,cardNub:'1865 3549 5675 5589'}, {name:'定期存单',src:require('@/assets/img/seal/paid.png'),id:428}, {name:'预留印鉴卡',src:require('@/assets/img/seal/paid.png'),id:439}, @@ -701,7 +702,9 @@ export default { ] if(this.businessKey === '业务一') { // arr.unshift({name:'二类银行卡',src:require('@/assets/img/goods/bankCard.png'),id:16,cardNub:'1865 3549 5675 5589'}) + arr.unshift({name:'二类银行卡',src:require('@/assets/img/goods/bankCard.png'),id:563,cardNub:'1865 3549 5675 5589'}) arr.unshift({name:'一类银行卡',src:require('@/assets/img/goods/bankCard.png'),id:16,cardNub:'1865 3549 5675 5589'}) + arr.pop() }else { arr.unshift({name:'银行卡',src:require('@/assets/img/goods/bankCard.png'),id:16,cardNub:'1865 3549 5675 5589'}) @@ -728,372 +731,6 @@ export default { this.passwordForm.password2 = '' if(!this.showGoods) this.checkList = [] return this.$store.state.system.showPop; - // 以下代码是之前的,想用来存刷过的证 - // if(this.$store.state.system.popText == '刷卡器'){ - // if (this.$store.state.system.id == '62,1'){ - // this.nbm = 62 - // let param= { - // parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,57,62,75' - // } - // getOperation(param).then((data)=> { - // if (data.data.status == 200) { - // var list = data.data.judgmentRuleReqs - // for(var j=0;j{ - // }) - // }else if (this.$store.state.system.id == '63'){ - // this.nbm = 63 - // let param= { - // parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,57,63,78' - // } - // getOperation(param).then((data)=> { - // if (data.data.status == 200) { - // var list = data.data.judgmentRuleReqs - // for(var j=0;j{ - // }) - // }else if (this.$store.state.system.id == '64'){ - // console.log(this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id) - // this.nbm = 64 - // let param= { - // parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,57,64,85' - // } - // getOperation(param).then((data)=> { - // if (data.data.status == 200) { - // var list = data.data.judgmentRuleReqs - // for(var j=0;j{ - // }) - // }else if (this.$store.state.system.id == '65'){ - // this.nbm = 65 - // let param= { - // parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,57,65,94' - // } - // getOperation(param).then((data)=> { - // if (data.data.status == 200) { - // var list = data.data.judgmentRuleReqs - // for(var j=0;j{ - // }) - // }else if (this.$store.state.system.id == '66'){ - // this.nbm = 66 - // let param= { - // parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,57,66,103' - // } - // getOperation(param).then((data)=> { - // if (data.data.status == 200) { - // var list = data.data.judgmentRuleReqs - // for(var j=0;j{ - // }) - // }else if (this.$store.state.system.id == '67,1'){ - // this.nbm = 67 - // let param= { - // parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,57,67,113' - // } - // getOperation(param).then((data)=> { - // if (data.data.status == 200) { - // var list = data.data.judgmentRuleReqs - // for(var j=0;j{ - // }) - // }else if (myConfig[this.$store.state.system.id]){ - // let { nbm, parentId, name } = myConfig[this.$store.state.system.id] - // parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,' + parentId - - // this.nbm = nbm - // let param= { - // parentId - // } - // getOperation(param).then((data)=> { - // if (data.data.status == 200) { - // let tmpName = sessionStorage.getItem(name) - // if(tmpName) { - // this.receptionList = JSON.parse(tmpName); - // }else { - // var list = data.data.judgmentRuleReqs - // for(var j=0;j{ - // }) - // }else{ - // let dataList = JSON.parse(sessionStorage.getItem('dataList')); - // if (dataList){ - // this.receptionList = [] - // for(var j=0;j { - // if (data.data.status == 200) { - // var list = data.data.judgmentRuleReqs - // for(var j=0;j{ - // }) - // }else if (this.$store.state.system.id == '34'){ - // this.nbm = 34 - // let param= { - // parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,25,34,54' - // } - // getOperation(param).then((data)=> { - // if (data.data.status == 200) { - // var list = data.data.judgmentRuleReqs - // for(var j=0;j{ - // }) - // }else if (this.$store.state.system.id == '67,2'){ - // this.nbm = 67 - // let param= { - // parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,57,67,116' - // } - // getOperation(param).then((data)=> { - // if (data.data.status == 200) { - // var list = data.data.judgmentRuleReqs - // for(var j=0;j{ - // }) - // }else if (myConfig[this.$store.state.system.id]){ - // let { nbm, parentId, name } = myConfig[this.$store.state.system.id] - // parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,' + parentId - // this.nbm = nbm - // let param= { - // parentId - // } - // getOperation(param).then((data)=> { - // if (data.data.status == 200) { - // let tmpName = sessionStorage.getItem(name) - // if(tmpName) { - // this.receptionList = JSON.parse(tmpName); - // }else { - // var list = data.data.judgmentRuleReqs - // for(var j=0;j{ - // }) - // // const { nbm, name } = myConfig[this.$store.state.system.id] - // // this.nbm = nbm - // // let tmpName = sessionStorage.getItem(name) - // // this.receptionList = JSON.parse(tmpName); - - // // if(this.receptionList == null){ - // // this.receptionList = [] - // // } - // }else{ - // let dataList = JSON.parse(sessionStorage.getItem('dataList')); - // if (dataList){ - // this.receptionList = [] - // for(var j=0;j0){ - sessionStorage.setItem('accountVoucherTwo', JSON.stringify("getIt")) + if(this.receptionList[0].id == 563) { + sessionStorage.setItem('accountVoucherTwo', JSON.stringify("getIt")) + } } this.showManage() }else if (this.$store.state.system.id == '62,2' && this.popText === '密码器'){ @@ -1837,7 +1476,9 @@ export default { this.nbm = 62 // this.goodsShelfTotalData = this.auditGoodsShelf if (this.receptionList.length >0){ - sessionStorage.setItem('accountVoucherThree', JSON.stringify("getIt")) + if(this.receptionList[0].id == 563) { + sessionStorage.setItem('accountVoucherThree', JSON.stringify("getIt")) + } } this.showManage() }else if (this.$store.state.system.id == '62,3' && this.popText === '密码器'){ diff --git a/src/pages/manage/list/personal/callDeposits/accountClosed.vue b/src/pages/manage/list/personal/callDeposits/accountClosed.vue index 6a35669..bbc2933 100644 --- a/src/pages/manage/list/personal/callDeposits/accountClosed.vue +++ b/src/pages/manage/list/personal/callDeposits/accountClosed.vue @@ -408,30 +408,6 @@ export default{ submitForm() { if(!this.form.idNumber) { messageIdCard() - // let projectId = sessionStorage.getItem('projectId') - // let startTime = sessionStorage.getItem('startTime') - // let formList = [ - // { - // "answerId":'392', - // "emptyOne": "", - // "emptyTwo": "", - // "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,38,289,392,13", - // "type": "" - // } - // ] - // let params= { - // parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,38,289,392', - // lcJudgmentRuleReq:formList, - // projectId:+projectId, - // startTime:startTime, - // } - // addOperation(params).then((data)=>{ - // this.$message({ - // message: '提交成功', - // type: 'success' - // }); - // }).catch((error)=>{ - // }) return } if(!this.form.voucherNumber) { diff --git a/src/store/modules/system.js b/src/store/modules/system.js index bb2e545..01d2c4d 100644 --- a/src/store/modules/system.js +++ b/src/store/modules/system.js @@ -4,6 +4,7 @@ /* 所有物品名字 */ const allGoods = { + 563: {name:'二类银行卡',src:require('@/assets/img/goods/bankCard.png'),id:563}, 16: {name:'银行卡',src:require('@/assets/img/goods/bankCard.png'),id:16}, 428: {name:'定期存单',src:require('@/assets/img/seal/paid.png'),id:428}, 439: {name:'预留印鉴卡',src:require('@/assets/img/seal/paid.png'),id:439},