From 4292698bf9da6a946eefe2d3fc3b4c50c3c1c5d8 Mon Sep 17 00:00:00 2001 From: "luoJunYong.123" Date: Wed, 26 Jan 2022 17:34:07 +0800 Subject: [PATCH] =?UTF-8?q?100=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/counter/list/index.vue | 12 +- .../manage/list/client/corporateClient.vue | 6 +- .../personal/callDeposits/accountClosed.vue | 10 +- .../personal/callDeposits/openAccount.vue | 20 +- .../currentAccount/accountCancellation.vue | 4 +- .../list/personal/currentAccount/deposit.vue | 17 +- .../personal/currentAccount/openAccount.vue | 38 ++-- .../list/personal/currentAccount/settle.vue | 17 +- .../currentAccount/transferAccounts.vue | 10 +- .../personal/currentAccount/withdrawal.vue | 24 +-- .../list/personal/timeDeposit/deposit.vue | 45 ++--- .../list/personal/timeDeposit/openAccount.vue | 21 +- .../list/personal/timeDeposit/withdrawal.vue | 17 +- .../personal/usefulPhrases/accountClosed.vue | 11 +- .../usefulPhrases/continueDeposit.vue | 11 +- .../personal/usefulPhrases/openAccount.vue | 30 +-- src/store/modules/system.js | 184 +++++++++++------- src/utils/utilFunction.js | 11 +- test2.js | 0 19 files changed, 283 insertions(+), 205 deletions(-) create mode 100644 test2.js diff --git a/src/pages/counter/list/index.vue b/src/pages/counter/list/index.vue index 9c1f821..7cb8fe8 100644 --- a/src/pages/counter/list/index.vue +++ b/src/pages/counter/list/index.vue @@ -936,6 +936,7 @@ export default { cultureIn: 'system/cultureIn', // 传票栏 peopleSign: 'system/peopleSign', goodState: 'system/goodState', + getSelectList: 'system/getSelectList' }) }, watch: { @@ -1036,7 +1037,11 @@ export default { window.addEventListener("beforeunload",()=>{ sessionStorage.setItem('businessKey', this.$store.state.system.businessKey) // sessionStorage.setItem('businessSelect', JSON.stringify(this.$store.state.system.businessSelect)) - }) + }) + this.startPlay() + console.log('startPlay') + console.log(this.getSelectList) + // console.log(this.getSelectList.accountQualitySelectList) }, mounted(){ let that = this @@ -1149,6 +1154,7 @@ export default { }, methods: { ...mapMutations({ + startPlay: 'system/startPlay', replaceThingsGoods: 'system/replaceThingsGoods', replaceThings: 'system/replaceThings', setShowBusiness: 'system/setShowBusiness', @@ -1561,7 +1567,7 @@ export default { if (this.nbm == 0){ // 客户签字 let projectId = sessionStorage.getItem('projectId') let startTime = sessionStorage.getItem('startTime') - for (var i=0;i - + @@ -86,7 +86,7 @@ export default { idNumber: '', name: '', phone: '', - documentType: '统一社会信用代码证', + documentType: 82, companyName: '', registeredCapital: '', codeNumber: '', @@ -184,7 +184,7 @@ export default { else if (list[i].answerId == '50') {this.form.companyName = list[i].emptyTwo} //公司名称 else if (list[i].answerId == '51') {this.form.companyAddress = list[i].emptyTwo} //公司地址 else if (list[i].answerId == '52') {this.form.registeredCapital = list[i].emptyTwo} //注册资本 - else if (list[i].answerId == '53') {this.form.certificateType = list[i].emptyTwo} //法人证件类型 + else if (list[i].answerId == '53') {this.form.certificateType = +list[i].emptyTwo} //法人证件类型 // else if (list[i].answerId == '54') {sessionStorage.setItem('firmClientIdentity', list[i].emptyTwo)} //法人证件号码 else if (list[i].answerId == '54') { console.log('54id') diff --git a/src/pages/manage/list/personal/callDeposits/accountClosed.vue b/src/pages/manage/list/personal/callDeposits/accountClosed.vue index c093d76..10c6d3c 100644 --- a/src/pages/manage/list/personal/callDeposits/accountClosed.vue +++ b/src/pages/manage/list/personal/callDeposits/accountClosed.vue @@ -17,12 +17,13 @@ - CNY人民币 + - + + @@ -38,7 +39,7 @@ - + @@ -54,7 +55,7 @@ - + @@ -421,6 +422,7 @@ export default{ needsModule: 'system/needsModule', idCardNumber: 'system/idCardNumber', inMyWork: 'system/inMyWork', + getSelectList: 'system/getSelectList' }) } } diff --git a/src/pages/manage/list/personal/callDeposits/openAccount.vue b/src/pages/manage/list/personal/callDeposits/openAccount.vue index bbbd9d9..be0025f 100644 --- a/src/pages/manage/list/personal/callDeposits/openAccount.vue +++ b/src/pages/manage/list/personal/callDeposits/openAccount.vue @@ -6,7 +6,7 @@ - + @@ -14,18 +14,19 @@ - CNY人民币 + + - + - - + + @@ -46,7 +47,7 @@ - + @@ -59,7 +60,7 @@ - + @@ -106,14 +107,14 @@ export default{ form:{ // 必填项 // identityCard: '', // 身份证 - certificateType: '身份证', + certificateType: 83, idNumber: '', // 身份证号码 voucherNumber: '', // 凭证号码 drawPassword: '', // 支付密码 customerName: '', // 客户姓名 currency: 'CYN人民币', // 币种 currencyMark: '钞户', // 钞汇标识 - voucherType: '存单', // 凭证类型 + voucherType: 123, // 凭证类型 noticeType: '', // 通知类型 depositType: '', // '存款类别' money: '', // 金额 @@ -386,6 +387,7 @@ export default{ needsModule: 'system/needsModule', idCardNumber: 'system/idCardNumber', inMyWork: 'system/inMyWork', + getSelectList: 'system/getSelectList' }) } } diff --git a/src/pages/manage/list/personal/currentAccount/accountCancellation.vue b/src/pages/manage/list/personal/currentAccount/accountCancellation.vue index eee1a9c..55fb8cb 100644 --- a/src/pages/manage/list/personal/currentAccount/accountCancellation.vue +++ b/src/pages/manage/list/personal/currentAccount/accountCancellation.vue @@ -9,7 +9,7 @@ - + @@ -66,7 +66,7 @@ export default{ idNumberJudge: false, cardNumberJudge: false, form:{ - idType:'身份证', + idType:'', userName:'', cardNumber: '', // 卡号 drawPassword: '', diff --git a/src/pages/manage/list/personal/currentAccount/deposit.vue b/src/pages/manage/list/personal/currentAccount/deposit.vue index 9a78199..c1ef90b 100644 --- a/src/pages/manage/list/personal/currentAccount/deposit.vue +++ b/src/pages/manage/list/personal/currentAccount/deposit.vue @@ -14,8 +14,9 @@ - - CNY人民币 + + + @@ -27,8 +28,9 @@ - - + + + @@ -155,8 +157,8 @@ export default{ this.cardNumberJudge = true } //卡号 if (list[i].answerId == '79') {this.form.userName = list[i].emptyTwo} //客户姓名 - if (list[i].answerId == '80') {this.form.currency = list[i].emptyTwo} //币种 - if (list[i].answerId == '81') {this.form.goldLogo = list[i].emptyTwo} //钞汇标识 + if (list[i].answerId == '80') {this.form.currency = +list[i].emptyTwo} //币种 + if (list[i].answerId == '81') {this.form.goldLogo = +list[i].emptyTwo} //钞汇标识 if (list[i].answerId == '82') {this.form.money = list[i].emptyTwo} //金额 if (list[i].answerId == '83') {this.form.annualInterest = list[i].emptyTwo} //年利率 if (list[i].answerId == '84') {this.form.remark = list[i].emptyTwo} //摘要 @@ -240,7 +242,8 @@ export default{ dataFlow: 'system/dataFlow', dataFlowPassword: 'system/dataFlowPassword', needsModule: 'system/needsModule', - inMyWork: 'system/inMyWork' + inMyWork: 'system/inMyWork', + getSelectList: 'system/getSelectList' }) }, } diff --git a/src/pages/manage/list/personal/currentAccount/openAccount.vue b/src/pages/manage/list/personal/currentAccount/openAccount.vue index 61d9f80..b0be0a2 100644 --- a/src/pages/manage/list/personal/currentAccount/openAccount.vue +++ b/src/pages/manage/list/personal/currentAccount/openAccount.vue @@ -20,7 +20,7 @@ - + @@ -39,17 +39,17 @@ - + - + - + @@ -57,7 +57,7 @@ - + @@ -89,18 +89,18 @@ - - + + - - + + - - + + @@ -108,8 +108,8 @@ - - + + @@ -138,17 +138,17 @@ - - + + - - + + - + @@ -156,7 +156,7 @@ - + diff --git a/src/pages/manage/list/personal/currentAccount/settle.vue b/src/pages/manage/list/personal/currentAccount/settle.vue index b8dfdf1..17501e5 100644 --- a/src/pages/manage/list/personal/currentAccount/settle.vue +++ b/src/pages/manage/list/personal/currentAccount/settle.vue @@ -13,8 +13,9 @@ - - CNY人民币 + + + @@ -37,8 +38,8 @@ - - + + @@ -46,7 +47,7 @@ - + @@ -174,16 +175,17 @@ export default{ } }, created() { + console.log(this.getSelectList) if(this.inMyWork(moduleName)) { if(this.needsModule(moduleName) === '') { if(sessionStorage.getItem('nomCurrentSettleCard')) { this.cardNumberJudge = true - const { currency, userName, goldLogo, chargeWay, interest, voucherNumber, balance, totalMoney } = this.dataFlow + const { currency, userName, goldLogo, interest, voucherNumber, balance, totalMoney } = this.dataFlow this.form.cardNumber = voucherNumber this.form.currency = currency this.form.userName = userName this.form.goldLogo = goldLogo - this.form.chargeWay = chargeWay + this.form.chargeWay = 93 // 现金 数据流不行的 this.form.interest = interest this.form.balance = balance this.form.totalMoney = totalMoney @@ -294,6 +296,7 @@ export default{ needsModule: 'system/needsModule', idCardNumber: 'system/idCardNumber', inMyWork: 'system/inMyWork', + getSelectList: 'system/getSelectList' }), needAuth() { return this.form.balance > 50000 || this.totalMoney > 50000 diff --git a/src/pages/manage/list/personal/currentAccount/transferAccounts.vue b/src/pages/manage/list/personal/currentAccount/transferAccounts.vue index 85e1da6..884e4d2 100644 --- a/src/pages/manage/list/personal/currentAccount/transferAccounts.vue +++ b/src/pages/manage/list/personal/currentAccount/transferAccounts.vue @@ -13,8 +13,9 @@ - - CNY人民币 + + + @@ -29,8 +30,8 @@ - - + + @@ -303,6 +304,7 @@ export default{ needsModule: 'system/needsModule', idCardNumber: 'system/idCardNumber', inMyWork: 'system/inMyWork', + getSelectList: 'system/getSelectList' }), needAuth() { return this.form.money > 50000 diff --git a/src/pages/manage/list/personal/currentAccount/withdrawal.vue b/src/pages/manage/list/personal/currentAccount/withdrawal.vue index d5968c8..bde4dee 100644 --- a/src/pages/manage/list/personal/currentAccount/withdrawal.vue +++ b/src/pages/manage/list/personal/currentAccount/withdrawal.vue @@ -13,8 +13,9 @@ - - CNY人民币 + + + @@ -34,14 +35,14 @@ - - + + + - - - + + @@ -197,10 +198,10 @@ export default{ this.cardNumberJudge = true } //卡号 else if (list[i].answerId == '86') {this.form.userName = list[i].emptyTwo} //客户姓名 - else if (list[i].answerId == '87') {this.form.currency = list[i].emptyTwo} //币种 - else if (list[i].answerId == '88') {this.form.goldLogo = list[i].emptyTwo} //钞汇标识 + else if (list[i].answerId == '87') {this.form.currency = +list[i].emptyTwo} //币种 + else if (list[i].answerId == '88') {this.form.goldLogo = +list[i].emptyTwo} //钞汇标识 else if (list[i].answerId == '89') {this.form.money = list[i].emptyTwo} //金额 - else if (list[i].answerId == '90') {this.form.chargeWay = list[i].emptyTwo} //支取方式 + else if (list[i].answerId == '90') {this.form.chargeWay = +list[i].emptyTwo} //支取方式 // if (list[i].answerId == '91') {sessionStorage.setItem('nomCurrentWithdrawalPassword', list[i].emptyTwo)} //支取密码 else if (list[i].answerId == '91') { console.log(91) @@ -295,7 +296,8 @@ export default{ dataFlow: 'system/dataFlow', needsModule: 'system/needsModule', idCardNumber: 'system/idCardNumber', - inMyWork: 'system/inMyWork' + inMyWork: 'system/inMyWork', + getSelectList: 'system/getSelectList' }), needAuth() { return this.form.money > 50000 diff --git a/src/pages/manage/list/personal/timeDeposit/deposit.vue b/src/pages/manage/list/personal/timeDeposit/deposit.vue index 5c00d22..bfb19b0 100644 --- a/src/pages/manage/list/personal/timeDeposit/deposit.vue +++ b/src/pages/manage/list/personal/timeDeposit/deposit.vue @@ -13,8 +13,8 @@ - - CNY人民币 + + @@ -25,12 +25,12 @@ - + - + @@ -39,24 +39,24 @@ - - + + - - - - - - + + + + + + - 不续存 - 续存 + + @@ -113,14 +113,14 @@ export default{ currencyMark: '', // 钞汇标识 depositTerm: '', // 存期 extendPeriod: '', // 续存 - certificateDeposit: '现金', // 存款类别 + certificateDeposit: 92, // 存款类别 valueDate: '', // 起息日 voucherNumber: '', // 凭证号码 drawPassword: '', // 支付密码 // 非必填项 money: '', // 金额 interestRate: '', // 利率 - withdrawingWay: '密码', // 支取方式 + withdrawingWay: 18, // 支取方式 abstract: '' // 摘要 }, formName:{ @@ -388,21 +388,22 @@ export default{ needsModule: 'system/needsModule', idCardNumber: 'system/idCardNumber', inMyWork: 'system/inMyWork', + getSelectList: 'system/getSelectList' }) }, watch: { 'form.depositTerm'(newVal) { - if(newVal === '3个月') { + if(newVal === 84) { this.form.interestRate = 1.35 - }else if(newVal === '6个月') { + }else if(newVal === 85) { this.form.interestRate = 1.55 - }else if(newVal === '1年') { + }else if(newVal === 86) { this.form.interestRate = 1.75 - }else if(newVal === '2年') { + }else if(newVal === 87) { this.form.interestRate = 2.25 - }else if(newVal === '3年') { + }else if(newVal === 88) { this.form.interestRate = 2.75 - }else if(newVal === '5年') { + }else if(newVal === 89) { this.form.interestRate = 2.75 } } diff --git a/src/pages/manage/list/personal/timeDeposit/openAccount.vue b/src/pages/manage/list/personal/timeDeposit/openAccount.vue index 8aa8794..afab61d 100644 --- a/src/pages/manage/list/personal/timeDeposit/openAccount.vue +++ b/src/pages/manage/list/personal/timeDeposit/openAccount.vue @@ -6,25 +6,25 @@ - + - - CNY人民币 + + - + - + @@ -41,8 +41,8 @@ - - + + @@ -102,13 +102,13 @@ export default{ customerName: '', // 客户姓名 currency: '', // 币种 currencyMark: '', // 钞汇标识 - voucherType: '存单', // 凭证类型 + voucherType: 123, // 凭证类型 voucherNumber: '', // 凭证号码 drawPassword: '', // 支付密码 customerManage: '', // 客户经理 - withdrawingWay:'密码',//支取方式 + withdrawingWay:18,//支取方式 // 非必填项 - certificateType: '身份证', // 证件类型 + certificateType: 83, // 证件类型 clientNumber: '' // 客户号 }, formName: { @@ -365,6 +365,7 @@ export default{ needsModule: 'system/needsModule', idCardNumber: 'system/idCardNumber', inMyWork: 'system/inMyWork', + getSelectList: 'system/getSelectList' }) }, } diff --git a/src/pages/manage/list/personal/timeDeposit/withdrawal.vue b/src/pages/manage/list/personal/timeDeposit/withdrawal.vue index f7c3995..c75426d 100644 --- a/src/pages/manage/list/personal/timeDeposit/withdrawal.vue +++ b/src/pages/manage/list/personal/timeDeposit/withdrawal.vue @@ -13,8 +13,8 @@ - - CNY人民币 + + @@ -22,13 +22,13 @@ - 部分支取 - 全部支取并销户 + + - - + + @@ -37,8 +37,8 @@ - - + + @@ -427,6 +427,7 @@ export default{ needsModule: 'system/needsModule', idCardNumber: 'system/idCardNumber', inMyWork: 'system/inMyWork', + getSelectList: 'system/getSelectList' }), }, watch: { diff --git a/src/pages/manage/list/personal/usefulPhrases/accountClosed.vue b/src/pages/manage/list/personal/usefulPhrases/accountClosed.vue index 22f8b32..1702234 100644 --- a/src/pages/manage/list/personal/usefulPhrases/accountClosed.vue +++ b/src/pages/manage/list/personal/usefulPhrases/accountClosed.vue @@ -19,7 +19,7 @@ - CNY人民币 + @@ -58,7 +58,7 @@ - + @@ -66,9 +66,9 @@ - - - + + + @@ -403,6 +403,7 @@ export default{ needsModule: 'system/needsModule', idCardNumber: 'system/idCardNumber', inMyWork: 'system/inMyWork', + getSelectList: 'system/getSelectList' }) }, } diff --git a/src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue b/src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue index 3b17dba..ae82cfc 100644 --- a/src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue +++ b/src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue @@ -17,7 +17,7 @@ - + @@ -30,14 +30,14 @@ - CNY人民币 + - - - + + + @@ -282,6 +282,7 @@ export default{ needsModule: 'system/needsModule', idCardNumber: 'system/idCardNumber', inMyWork: 'system/inMyWork', + getSelectList: 'system/getSelectList' }) }, } diff --git a/src/pages/manage/list/personal/usefulPhrases/openAccount.vue b/src/pages/manage/list/personal/usefulPhrases/openAccount.vue index d7be1bb..1f2cf1b 100644 --- a/src/pages/manage/list/personal/usefulPhrases/openAccount.vue +++ b/src/pages/manage/list/personal/usefulPhrases/openAccount.vue @@ -6,20 +6,20 @@ - + - - CNY人民币 + + - + @@ -32,9 +32,9 @@ - - - + + + @@ -51,8 +51,8 @@ - - + + @@ -69,10 +69,10 @@ - - - - + + + +