diff --git a/src/components/case/index.vue b/src/components/case/index.vue index cd67c02..319f473 100644 --- a/src/components/case/index.vue +++ b/src/components/case/index.vue @@ -629,12 +629,17 @@ export default { this.seconds = seconds; } }, - //重新开始 reload() { let token = sessionStorage.getItem('token') let cid = sessionStorage.getItem('cid') let systemId = sessionStorage.getItem('systemId') let projectId = sessionStorage.getItem('projectId') + sessionStorage.clear() + sessionStorage.setItem('token', token) + sessionStorage.setItem('cid', cid) + sessionStorage.setItem('systemId', systemId) + sessionStorage.setItem('projectId', projectId) + let formList = [] sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) sessionStorage.setItem('accountVoucher', JSON.stringify(formList)) @@ -658,13 +663,50 @@ export default { this.minutes = "00"; this.hour = "00"; this.grade = '00' + this.$router.push('/index/list') //线上 // location.href = 'http://www.huorantech.cn/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId //测试服 - location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId + // location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId //本地 // location.href = "http://192.168.31.254:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId }, + //重新开始 + // reload() { + // let token = sessionStorage.getItem('token') + // let cid = sessionStorage.getItem('cid') + // let systemId = sessionStorage.getItem('systemId') + // let projectId = sessionStorage.getItem('projectId') + // let formList = [] + // sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) + // sessionStorage.setItem('accountVoucher', JSON.stringify(formList)) + // sessionStorage.setItem('accountPasswordAll', '') + // let params = { + // "projectId":projectId, + // } + // this.selectProjects(params) + // this.popContainer = false + // this.sss = 1 + // this.startCountFn(); + // deleteCache().then((data)=>{ + + // }).catch(() => { + + // }) + // this.globalTimer = ""; + // this.countVal = ""; + // this.day = "00"; + // this.seconds = "00"; + // this.minutes = "00"; + // this.hour = "00"; + // this.grade = '00' + // //线上 + // // location.href = 'http://www.huorantech.cn/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId + // //测试服 + // location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId + // //本地 + // // location.href = "http://192.168.31.254:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId + // }, checkVer() { let data = { userId: this.userId, diff --git a/src/main.js b/src/main.js index 584953f..aecbd88 100644 --- a/src/main.js +++ b/src/main.js @@ -45,7 +45,7 @@ Vue.use(plugins); Vue.use(VueLazyload, { preLoad: 1.3, - loading: require('@/assets/img/loading.gif'), + // loading: require('@/assets/img/loading.gif'), attempt: 2 }) diff --git a/src/pages/counter/list/myConfig.js b/src/pages/counter/list/myConfig.js index a1cc420..26dcb43 100644 --- a/src/pages/counter/list/myConfig.js +++ b/src/pages/counter/list/myConfig.js @@ -107,6 +107,12 @@ const myConfig = { parentId: '0,5,26,60,193', isPassword: false }, + '203': { + nbm: 203, + name: 'nomCallDepositOpenPassword', + parentId: '0,5,26,60,193', + isPassword: true + }, '220': { nbm: 220, name: 'nomCallDepositClosedPassword', diff --git a/src/pages/manage/list/business/deposit.vue b/src/pages/manage/list/business/deposit.vue index 75f6e57..3163e23 100644 --- a/src/pages/manage/list/business/deposit.vue +++ b/src/pages/manage/list/business/deposit.vue @@ -135,25 +135,30 @@ export default { myTable2: { 242: { prop: 'currency', - type: '1' + type: '1', + "subjectId": 8, }, 243: { prop: 'currencyMark', - type: '1' + type: '1', + "subjectId": 9, }, 245: { prop: 'interestRate', // 3 - type: '3' + type: '3', + "subjectId": 29, }, 246: { prop: 'abstract', // 3 - type: '3' + type: '3', + "subjectId": 16, } }, myTable: { 241: { prop: 'customerName', // 3 - type: '3' + type: '3', + "subjectId": 7, }, 240: { prop: 'username', // 3 diff --git a/src/pages/manage/list/business/openAccount.vue b/src/pages/manage/list/business/openAccount.vue index 2ee0222..7e94c2b 100644 --- a/src/pages/manage/list/business/openAccount.vue +++ b/src/pages/manage/list/business/openAccount.vue @@ -220,53 +220,65 @@ export default { myTable2: { 228: { prop: 'customerNumber', // 3 - type: '3' + type: '3', + "subjectId": 6, }, 238: { prop: 'clientNumber', // 3 - type: '3' + type: '3', + "subjectId": 41, }, 239: { prop: 'foreignCurrencyBumber', // 3 - type: '3' + type: '3', + "subjectId": 42, } }, myTable: { 229: { prop: 'customerName', // 3 - type: '3' + type: '3', + "subjectId": 7, }, 231: { prop: 'accountNature', - type: '1' + type: '1', + "subjectId": 10, }, 230: { prop: 'accountType', - type: '1' + type: '1', + "subjectId": 12, }, 232: { prop: 'accountManagement', - type: '1' + type: '1', + "subjectId": 38, }, 233: { prop: 'currencyType', - type: '1' + type: '1', + "subjectId": 8, }, 234: { prop: 'currencyMark', - type: '1' + type: '1', + "subjectId": 9, }, 235: { prop: 'calculateWay', - type: '1' + type: '1', + "subjectId": 39, }, 236: { prop: 'outAccountWay', - type: '1' + type: '1', + "subjectId": 40, }, 237: { prop: 'withdrawingWay', - type: '1' + type: '1', + "subjectId": 13, } } } diff --git a/src/pages/manage/list/business/transfer.vue b/src/pages/manage/list/business/transfer.vue index fec3af8..7760c14 100644 --- a/src/pages/manage/list/business/transfer.vue +++ b/src/pages/manage/list/business/transfer.vue @@ -168,7 +168,8 @@ export default { }, 258: { prop: 'customerName', - type: '3' + type: '3', + "subjectId": 7, }, 259: { prop: 'certificateNum', @@ -184,13 +185,20 @@ export default { }, 267: { prop: 'money', - type: '3' + type: '3', + "subjectId": 14, + }, + 283: { + prop: 'abstract', + type: '3', + "subjectId": 16, } }, myTable2: { 260: { prop: 'certificateType', // 1 - type: '1' + type: '1', + "subjectId": 11, }, 261: { prop: 'signDate', @@ -198,15 +206,18 @@ export default { }, 262: { prop: 'currencyType', // 1 - type: '1' + type: '1', + "subjectId": 8, }, 263: { prop: 'currencyMark', // 1 - type: '1' + type: '1', + "subjectId": 9, }, 264: { prop: 'payWay', // 1 - type: '1' + type: '1', + "subjectId": 13, } } } diff --git a/src/pages/manage/list/business/withdrawal.vue b/src/pages/manage/list/business/withdrawal.vue index 8523733..00c91bf 100644 --- a/src/pages/manage/list/business/withdrawal.vue +++ b/src/pages/manage/list/business/withdrawal.vue @@ -150,7 +150,8 @@ export default { }, 248: { prop: 'customerName', - type: '3' + type: '3', + "subjectId": 7, }, 249: { prop: 'voucherNum', @@ -158,7 +159,8 @@ export default { }, 254: { prop: 'money', - type: '3' + type: '3', + "subjectId": 14, } }, myTable2: { @@ -168,23 +170,28 @@ export default { }, 251: { prop: 'currency', // 1 - type: '1' + type: '1', + "subjectId": 8, }, 252: { prop: 'currencyMark', // 1 - type: '1' + type: '1', + "subjectId": 9, }, 255: { prop: 'payWay', - type: '3' + type: '3', + "subjectId": 13, }, 253: { prop: 'certificateType', // 1 - type: '1' + type: '1', + "subjectId": 11, }, 256: { prop: 'abstract', - type: '3' + type: '3', + "subjectId": 16, } } diff --git a/src/pages/manage/list/cityWide/cityWideOut.vue b/src/pages/manage/list/cityWide/cityWideOut.vue index 6a1e1e3..ebfd9ed 100644 --- a/src/pages/manage/list/cityWide/cityWideOut.vue +++ b/src/pages/manage/list/cityWide/cityWideOut.vue @@ -160,6 +160,12 @@ export default { } ], }, + myTable2: { + // 非必填项配置 + }, + myTable: { + // 必填项配置 + }, visible:false } }, diff --git a/src/pages/manage/list/personal/callDeposits/accountClosed.vue b/src/pages/manage/list/personal/callDeposits/accountClosed.vue index 3e2f33f..3923657 100644 --- a/src/pages/manage/list/personal/callDeposits/accountClosed.vue +++ b/src/pages/manage/list/personal/callDeposits/accountClosed.vue @@ -141,39 +141,48 @@ export default{ 210: { prop: 'clientName',//证件类型 - type: '1' + type: '1', + "subjectId": 7, }, 212: { prop: 'currencyMark',//钞汇标识 - type: '1' + type: '1', + "subjectId": 9, }, 213: { prop: 'depositNumber',//定存编号 - type: '3' + type: '3', + "subjectId": 33, }, 214: { prop: 'capital',//本金 - type: '3' + type: '3', + "subjectId": 34, }, 215: { prop: 'interestRate',//利率 - type: '3' + type: '3', + "subjectId": 29, }, 216: { prop: 'depositDate',//存期 - type: '1' + type: '1', + "subjectId": 27, }, 217: { prop: 'interest',//利息 - type: '3' + type: '3', + "subjectId": 26, }, 218: { prop: 'totalMoney',//总金额 - type: '3' + type: '3', + "subjectId": 45, }, 219: { prop: 'breathDate',//起息日期 - type: '3' + type: '3', + "subjectId": 32, }, }, myTable2: { @@ -183,11 +192,13 @@ export default{ }, 211: { prop: 'currency',//币种 - type: '1' + type: '1', + "subjectId": 8, }, 207: { prop: 'certificateType', - type: '1' + type: '1', + "subjectId": 19, } }, } @@ -215,7 +226,8 @@ export default{ const nomCallDepositClosedPassword = sessionStorage.getItem('nomCallDepositClosedPassword') const cards = [ { - 220: nomCallDepositClosedPassword + 220: nomCallDepositClosedPassword, + "subjectId": 17, } ] autoPlay(parentId, this.form, this.myTable2, this.myTable, cards) diff --git a/src/pages/manage/list/personal/callDeposits/openAccount.vue b/src/pages/manage/list/personal/callDeposits/openAccount.vue index 7611836..ea80f6c 100644 --- a/src/pages/manage/list/personal/callDeposits/openAccount.vue +++ b/src/pages/manage/list/personal/callDeposits/openAccount.vue @@ -56,7 +56,7 @@ -
+

请输入密码

@@ -138,29 +138,35 @@ export default{ myTable: { 195: { prop: 'certificateType',//证件类型 - type: '1' + type: '1', + "subjectId": 19, }, 197: { prop: 'clientNumber',//客户号 - type: '3' + type: '3', + "subjectId": 6, }, }, myTable2: { 198: { prop: 'customerName',//客户姓名 - type: '3' + type: '3', + "subjectId": 7, }, 199: { prop: 'currency',//币种 - type: '1' + type: '1', + "subjectId": 8, }, 200: { prop: 'currencyMark',//钞汇标识 - type: '1' + type: '1', + "subjectId": 9, }, 201: { prop: 'voucherType',//凭证类型 - type: '1' + type: '1', + "subjectId": 11, }, 127: { prop: 'depositType',//存款类型 @@ -201,22 +207,31 @@ export default{ getFormData(){ const parentId = '0,5,26,60,193' const cards = { - 202: 'nomCallDepositOpen2' + 202: 'nomCallDepositOpen2', + 203: 'nomCallDepositOpenPassword' } autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards) }, popUp(text) { this.$store.commit('system/changePop',{show:true,text, id:'193,1'}) }, + popUp2(text) { + this.$store.commit('system/changePop',{show:true,text, id:'203'}) + }, submitForm() { this.$refs.form.validate(myValidate(() => { // 验证通过逻辑写在这 this.visible = true; const parentId = '0,5,26,60,193' const nomCallDepositOpen2 = sessionStorage.getItem('nomCallDepositOpen2') + const nomCallDepositOpenPassword = sessionStorage.getItem('nomCallDepositOpenPassword') const cards = [ { - 202: nomCallDepositOpen2 + 202: nomCallDepositOpen2, + }, + { + 203: nomCallDepositOpenPassword, + "subjectId": 17, } ] autoPlay(parentId, this.form, this.myTable2, this.myTable, cards) diff --git a/src/pages/manage/list/personal/currentAccount/accountCancellation.vue b/src/pages/manage/list/personal/currentAccount/accountCancellation.vue index 2411a7c..ecb84a1 100644 --- a/src/pages/manage/list/personal/currentAccount/accountCancellation.vue +++ b/src/pages/manage/list/personal/currentAccount/accountCancellation.vue @@ -59,7 +59,8 @@ export default{ myTable: { 114: { prop: 'userName', - type: '3' + type: '3', + "subjectId": 7, } } } @@ -97,7 +98,8 @@ export default{ 116: nomCurrentCancellCard2 }, { - 117: nomCurrentCancellPassword + 117: nomCurrentCancellPassword, + "subjectId": 17, } ] // const passwords = [ diff --git a/src/pages/manage/list/personal/currentAccount/openAccount.vue b/src/pages/manage/list/personal/currentAccount/openAccount.vue index 8f53913..a744a9b 100644 --- a/src/pages/manage/list/personal/currentAccount/openAccount.vue +++ b/src/pages/manage/list/personal/currentAccount/openAccount.vue @@ -416,6 +416,7 @@ export default { let paymentCodeThree = accountPasswordThree; if(this.form.userName && this.form.currency && this.form.goldLogo && this.form.accountType && this.form.drawWay && this.form.voucherType && voucherNumber.length && paymentCode){ for (var i=0;i -
+

请输入密码

@@ -105,7 +105,8 @@ export default{ }, 102: { prop: 'remark', - type: '1' + type: '1', + "subjectId": 16 } }, myTable: { @@ -115,11 +116,13 @@ export default{ }, 97: { prop: 'goldLogo', - type: '1' + type: '1', + "subjectId": 9, }, 98: { prop: 'money', - type: '3' + type: '3', + "subjectId": 14, }, } @@ -148,7 +151,8 @@ export default{ 94: nomCurrentTransferCard }, { - 99: nomCurrentTransferPassword + 99: nomCurrentTransferPassword, + "subjectId": 17, } ] const parentId = '0,5,26,57,65' @@ -158,6 +162,9 @@ export default{ popUp(text) { this.$store.commit('system/changePop',{show:true,text, id: 65}) }, + popUp2(text) { + this.$store.commit('system/changePop',{show:true,text, id: 99}) + }, ismoney: ismoney, checkHanzi: checkHanzi, checkName: checkName diff --git a/src/pages/manage/list/personal/timeDeposit/deposit.vue b/src/pages/manage/list/personal/timeDeposit/deposit.vue index 07510d5..e90c393 100644 --- a/src/pages/manage/list/personal/timeDeposit/deposit.vue +++ b/src/pages/manage/list/personal/timeDeposit/deposit.vue @@ -155,49 +155,60 @@ export default{ myTable: { 135: { prop: 'money',//金额 - type: '3' + type: '3', + "subjectId": 14, }, 139: { prop: 'withdrawingWay',//支取方式 - type: '1' + type: '1', + "subjectId": 28, }, 143: { prop: 'abstract',//摘要 - type: '3' + type: '3', + "subjectId": 16, }, }, myTable2: { 132: { prop: 'customerName',//客户姓名 - type: '3' + type: '3', + "subjectId": 7, }, 133: { prop: 'currency',//币种 - type: '1' + type: '1', + "subjectId": 8, }, 134: { prop: 'currencyMark',//钞汇标识 - type: '1' + type: '1', + "subjectId": 9, }, 136: { prop: 'depositTerm',//存期 - type: '1' + type: '1', + "subjectId": 27, }, 137: { prop: 'interestRate',//利率 - type: '3' + type: '3', + "subjectId": 29, }, 138: { prop: 'extendPeriod',//续存 - type: '1' + type: '1', + "subjectId": 28, }, 141: { prop: 'certificateDeposit',//存款类别 - type: '1' + type: '1', + "subjectId": 30, }, 142: { prop: 'valueDate',//起息日 - type: '3' + type: '3', + "subjectId": 32, }, }, } @@ -235,7 +246,8 @@ export default{ 131: nomtimeDeposit1 }, { - 140: nomtimeDepositlPassword + 140: nomtimeDepositlPassword, + "subjectId": 17, } ] autoPlay(parentId, this.form, this.myTable2, this.myTable, cards) diff --git a/src/pages/manage/list/personal/timeDeposit/openAccount.vue b/src/pages/manage/list/personal/timeDeposit/openAccount.vue index 67b9556..00bea8b 100644 --- a/src/pages/manage/list/personal/timeDeposit/openAccount.vue +++ b/src/pages/manage/list/personal/timeDeposit/openAccount.vue @@ -119,25 +119,30 @@ export default{ myTable: { 121: { prop: 'certificateType',//证件类型 - type: '1' + type: '1', + "subjectId": 19, }, 123: { prop: 'clientNumber',//客户号 - type: '3' + type: '3', + "subjectId": 6, }, }, myTable2: { 124: { prop: 'customerName',//客户姓名 - type: '3' + type: '3', + "subjectId": 7, }, 125: { prop: 'currency',//币种 - type: '1' + type: '1', + "subjectId": 8, }, 126: { prop: 'currencyMark',//钞汇标识 - type: '1' + type: '1', + "subjectId": 9, }, 127: { prop: 'voucherType',//凭证类型 @@ -145,7 +150,8 @@ export default{ }, 129: { prop: 'withdrawingWay',//支取方式 - type: '1' + type: '1', + "subjectId": 11, }, }, } @@ -191,7 +197,8 @@ export default{ 128: nomtimeOpenAccount2 }, { - 129: nomtimeOpenAccountPassword + 129: nomtimeOpenAccountPassword, + "subjectId": 17, } ] const parentId = '0,5,26,58,118' diff --git a/src/pages/manage/list/personal/timeDeposit/withdrawal.vue b/src/pages/manage/list/personal/timeDeposit/withdrawal.vue index 2b17ff5..c4571c5 100644 --- a/src/pages/manage/list/personal/timeDeposit/withdrawal.vue +++ b/src/pages/manage/list/personal/timeDeposit/withdrawal.vue @@ -97,41 +97,50 @@ export default{ myTable: { 146: { prop: 'currencyType',//币种 - type: '1' + type: '1', + "subjectId": 8, }, 147: { prop: 'currencyMark',//钞汇标识 - type: '1' + type: '1', + "subjectId": 9, }, 148: { prop: 'depositNumber',//定存编号 - type: '3' + type: '3', + "subjectId": 33, }, 149: { prop: 'capital',//本金 - type: '3' + type: '3', + "subjectId": 34, }, 150: { prop: 'withdrawAmount',//支取金额 - type: '3' + type: '3', + "subjectId": 35, }, 151: { prop: 'withdrawType',//支取类别 - type: '1' + type: '1', + "subjectId": 36, }, 153: { prop: 'withdrawWay',//支取方式 - type: '1' + type: '1', + "subjectId": 13, }, }, myTable2: { 145: { prop: 'customerName',//客户姓名 - type: '3' + type: '3', + "subjectId": 7, }, 152: { prop: 'interest',//利息 - type: '3' + type: '3', + "subjectId": 26, }, }, } @@ -167,7 +176,8 @@ export default{ 144: nomtimeDepositWithdrawal1 }, { - 154: nomtimeDepositWithdrawalPassword + 154: nomtimeDepositWithdrawalPassword, + "subjectId": 17, } ] autoPlay(parentId, this.form, this.myTable2, this.myTable, cards) diff --git a/src/pages/manage/list/personal/usefulPhrases/accountClosed.vue b/src/pages/manage/list/personal/usefulPhrases/accountClosed.vue index 9ba1528..93792e8 100644 --- a/src/pages/manage/list/personal/usefulPhrases/accountClosed.vue +++ b/src/pages/manage/list/personal/usefulPhrases/accountClosed.vue @@ -135,31 +135,38 @@ export default{ myTable: { 179: { prop: 'certificateType',//证件类型 - type: '1' + type: '1', + "subjectId": 19, }, 184: { prop: 'currencyMark',//钞汇标识 - type: '1' + type: '1', + "subjectId": 9, }, 185: { prop: 'depositNumber',//定存编号 - type: '3' + type: '3', + "subjectId": 33, }, 186: { prop: 'capital',//本金 - type: '3' + type: '3', + "subjectId": 34, }, 187: { prop: 'interestRate',//利率 - type: '3' + type: '3', + "subjectId": 29, }, 188: { prop: 'depositTerm',//存期 - type: '1' + type: '1', + "subjectId": 27, }, 189: { prop: 'interest',//利息 - type: '3' + type: '3', + "subjectId": 26, }, 190: { prop: 'totalMoney',//总金额 @@ -167,17 +174,20 @@ export default{ }, 191: { prop: 'signDate',//起息日期 - type: '3' + type: '3', + "subjectId": 32, }, }, myTable2: { 182: { prop: 'customerName',//客户姓名 - type: '3' + type: '3', + "subjectId": 7, }, 183: { prop: 'currency',//币种 - type: '1' + type: '1', + "subjectId": 8, }, }, } @@ -211,7 +221,11 @@ export default{ const cards = [ { 181: nomUsefulPhrasesClosed2, - 192: nomUsefulPhrasesClosedPassword + + }, + { + 192: nomUsefulPhrasesClosedPassword, + "subjectId": 32, } ] autoPlay(parentId, this.form, this.myTable2, this.myTable, cards) diff --git a/src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue b/src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue index 2172df7..a8ab557 100644 --- a/src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue +++ b/src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue @@ -87,29 +87,35 @@ export default{ myTable: { 175: { prop: 'moneyTarget',//钞汇标识 - type: '1' + type: '1', + "subjectId": 9, }, 173: { prop: 'depositNumber',//定存编号 - type: '3' + type: '3', + "subjectId": 33, }, 177: { prop: 'monthDeposit',//月存金额 - type: '3' + type: '3', + "subjectId": 31, }, }, myTable2: { 172: { prop: 'customerName',//客户姓名 - type: '3' + type: '3', + "subjectId": 7, }, 174: { prop: 'currency',//币种 - type: '1' + type: '1', + "subjectId": 8, }, 176: { prop: 'voucherType',//存期 - type: '1' + type: '1', + "subjectId": 27, }, }, } @@ -145,7 +151,8 @@ export default{ 171: nomUsefulPhrasesContinueCard, }, { - 178: nomUsefulPhrasesContinuePassword + 178: nomUsefulPhrasesContinuePassword, + "subjectId": 17, } ] autoPlay(parentId, this.form, this.myTable2, this.myTable) diff --git a/src/pages/manage/list/personal/usefulPhrases/openAccount.vue b/src/pages/manage/list/personal/usefulPhrases/openAccount.vue index 7ee2a4c..015c922 100644 --- a/src/pages/manage/list/personal/usefulPhrases/openAccount.vue +++ b/src/pages/manage/list/personal/usefulPhrases/openAccount.vue @@ -142,42 +142,51 @@ export default{ myTable2: { 158: { prop: 'certificateType',//证件类型 - type: '1' + type: '1', + "subjectId": 19, }, 169: { prop: 'customerManage',//客户经理 - type: '1' + type: '1', + "subjectId": 27, }, 160: { prop: 'clientNumber',//客户号 - type: '3' + type: '3', + "subjectId": 6, } }, myTable: { 161: { prop: 'customerName',//客户姓名 - type: '3' + type: '3', + "subjectId": 7, }, 162: { prop: 'currency',//币种 - type: '1' + type: '1', + "subjectId": 8, }, 163: { prop: 'currencyMark',//钞汇标识 - type: '1' + type: '1', + "subjectId": 9, }, 164: { prop: 'voucherType',//凭证类型 - type: '1' + type: '1', + "subjectId": 11, }, 168: { prop: 'monthDeposit',//月存金额 - type: '3' + type: '3', + "subjectId": 31, }, 170: { prop: 'customerManage',//续存标识 - type: '1' + type: '1', + "subjectId": 37, }, }, } @@ -216,7 +225,8 @@ export default{ 166: nomUsefulPhrasesOpenCard }, { - 167: nomUsefulPhrasesOpenPassword + 167: nomUsefulPhrasesOpenPassword, + "subjectId": 17, } ] autoPlay(parentId, this.form, this.myTable2, this.myTable, cards) diff --git a/src/utils/utilFunction.js b/src/utils/utilFunction.js index dc2ac84..96a6995 100644 --- a/src/utils/utilFunction.js +++ b/src/utils/utilFunction.js @@ -120,27 +120,35 @@ const autoPlay = (parentId, form, myTable2, myTable, cards=[]) => { let projectId = sessionStorage.getItem('projectId') let startTime = sessionStorage.getItem('startTime') let formList = []; - let tmpIndex = 100; + // let tmpIndex = 100; for(const key in myTable2) { - const { prop, type } = myTable2[key] + const { prop, type, subjectId='' } = myTable2[key] if(form[prop]){ - formList.push({ "answerId": key + '', "emptyOne": '' + tmpIndex++, "emptyTwo": form[prop], "operationIds": parentId + ',' + key, "type":type }) + formList.push({ "answerId": key + '', "emptyOne": '' + subjectId, "emptyTwo": form[prop], "operationIds": parentId + ',' + key, "type":type }) } } for(const key in myTable) { - const { prop, type } = myTable[key] - formList.push({ "answerId": key + '', "emptyOne": '' + tmpIndex++, "emptyTwo": form[prop], "operationIds": parentId + ',' + key, "type":type }) + const { prop, type, subjectId='' } = myTable[key] + formList.push({ "answerId": key + '', "emptyOne": '' + subjectId, "emptyTwo": form[prop], "operationIds": parentId + ',' + key, "type":type }) } for(let i=0; i