diff --git a/src/pages/counter/list/index.vue b/src/pages/counter/list/index.vue index 205ee21..becb28c 100644 --- a/src/pages/counter/list/index.vue +++ b/src/pages/counter/list/index.vue @@ -196,6 +196,7 @@ import Sortable from 'sortablejs' import manage from '../../manage/index'; import { addOperation, getOperation } from '@/api/http'; import backButton from '@/components/backButton' +import { myConfig } from './myConfig.js' export default { name: 'index', @@ -469,7 +470,7 @@ export default { }else if (this.$store.state.system.id == '67,1'){ this.nbm = 67 let param= { - parentId: '0,5,26,57,67,101' + parentId: '0,5,26,57,67,113' } getOperation(param).then((data)=> { console.log(data) @@ -484,6 +485,7 @@ export default { } }else{ let nomCurrentCancellCard1 = sessionStorage.getItem('nomCurrentCancellCard1') + console.log(nomCurrentCancellCard1) this.receptionList = JSON.parse(nomCurrentCancellCard1); if(this.receptionList == null){ this.receptionList = [] @@ -491,32 +493,8 @@ export default { } }).catch((error)=>{ }) - }else if (this.$store.state.system.id == '67,2'){ - this.nbm = 67 - let param= { - parentId: '0,5,26,57,67,115' - } - getOperation(param).then((data)=> { - console.log(data) - if (data.data.status == 200) { - var list = data.data.judgmentRuleReqs - for(var j=0;j{ - }) - }else{ + } + else{ let dataList = JSON.parse(sessionStorage.getItem('dataList')); if (dataList){ this.receptionList = [] @@ -608,6 +586,76 @@ export default { } }).catch((error)=>{ }) + }else if (this.$store.state.system.id == '67,2'){ + this.nbm = 67 + let param= { + parentId: '0,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]){ + const { nbm, parentId, name } = myConfig[this.$store.state.system.id] + console.log(nbm) + console.log(sessionStorage.getItem(name)) + this.nbm = nbm + let param= { + parentId + } + getOperation(param).then((data)=> { + console.log(data) + + if (data.data.status == 200) { + let tmpName = sessionStorage.getItem(name) + console.log(tmpName) + 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){ @@ -973,6 +1021,17 @@ export default { sessionStorage.setItem('nomCurrentCancellCard2', JSON.stringify(this.receptionList)) } + }else if (myConfig[this.$store.state.system.id]){ // myConfig[this.$store.state.system.id] + + const { nbm, name } = myConfig[this.$store.state.system.id] + console.log(nbm) + this.nbm = nbm + this.goodsShelfTotalData = this.auditGoodsShelf + if (this.receptionList.length >0){ + sessionStorage.setItem(name, JSON.stringify(this.receptionList)) + console.log(sessionStorage.getItem(name)) + } + }else if (this.$store.state.system.id == '67,3'){ this.nbm = 67 if (this.passwordForm.passwordAgain){ diff --git a/src/pages/counter/list/myConfig.js b/src/pages/counter/list/myConfig.js new file mode 100644 index 0000000..35846a5 --- /dev/null +++ b/src/pages/counter/list/myConfig.js @@ -0,0 +1,21 @@ +const myConfig = { + '118,1': { + nbm: 118, + name: 'nomtimeOpenAccount1', + parentId: '0,5,26,58,118' + }, + '118,2': { + nbm: 118, + name: 'nomtimeOpenAccount2', + parentId: '0,5,26,58,118' + }, + '131': { + nbm: 131, + name: 'nomtimeDeposit1', + parentId: '0,5,26,58,119' + } +} + +export { + myConfig +} \ No newline at end of file diff --git a/src/pages/manage/list/business/deposit.vue b/src/pages/manage/list/business/deposit.vue index 90e718f..75f6e57 100644 --- a/src/pages/manage/list/business/deposit.vue +++ b/src/pages/manage/list/business/deposit.vue @@ -186,7 +186,7 @@ export default { this.visible = true; let formList = []; const parentId = '0,5,27,225' - autoPlay(parentId, this.form, this.myTable2, this.myTable, projectId, startTime) + autoPlay(parentId, this.form, this.myTable2, this.myTable) }, this.$refs)); }, ismoney: ismoney, diff --git a/src/pages/manage/list/business/openAccount.vue b/src/pages/manage/list/business/openAccount.vue index fdf3e9d..2ee0222 100644 --- a/src/pages/manage/list/business/openAccount.vue +++ b/src/pages/manage/list/business/openAccount.vue @@ -284,13 +284,13 @@ export default { autoPlay2(parentId, this.form, this.myTable2, this.myTable) }, submitForm(){ - let projectId = sessionStorage.getItem('projectId') - let startTime = sessionStorage.getItem('startTime') + // let projectId = sessionStorage.getItem('projectId') + // let startTime = sessionStorage.getItem('startTime') this.$refs.form.validate(myValidate(() => { // 验证通过逻辑写在这 this.visible = true; const parentId = '0,5,27,224' - autoPlay(parentId, this.form, this.myTable2, this.myTable, projectId, startTime) + autoPlay(parentId, this.form, this.myTable2, this.myTable) }, this.$refs)); }, checkHanzi: checkHanzi, diff --git a/src/pages/manage/list/business/transfer.vue b/src/pages/manage/list/business/transfer.vue index ca129b2..fec3af8 100644 --- a/src/pages/manage/list/business/transfer.vue +++ b/src/pages/manage/list/business/transfer.vue @@ -230,7 +230,7 @@ export default { // 验证通过逻辑写在这 this.visible = true; const parentId = '0,5,27,227' - autoPlay(parentId, this.form, this.myTable2, this.myTable, projectId, startTime) + autoPlay(parentId, this.form, this.myTable2, this.myTable) }, this.$refs)); }, ismoney: ismoney, diff --git a/src/pages/manage/list/business/withdrawal.vue b/src/pages/manage/list/business/withdrawal.vue index 9b9e8c6..8523733 100644 --- a/src/pages/manage/list/business/withdrawal.vue +++ b/src/pages/manage/list/business/withdrawal.vue @@ -207,7 +207,6 @@ export default { // 验证通过逻辑写在这 this.visible = true; const parentId = '0,5,27,226' - autoPlay(parentId, this.form, this.myTable2, this.myTable, projectId, startTime) autoPlay(parentId, this.form, this.myTable2, this.myTable) // let tmpIndex = 100; // for(const key in this.myTable2) { diff --git a/src/pages/manage/list/personal/currentAccount/accountCancellation.vue b/src/pages/manage/list/personal/currentAccount/accountCancellation.vue index 3235c9a..8b3f170 100644 --- a/src/pages/manage/list/personal/currentAccount/accountCancellation.vue +++ b/src/pages/manage/list/personal/currentAccount/accountCancellation.vue @@ -10,7 +10,7 @@ - + @@ -25,7 +25,7 @@ -
+

请刷身份证

@@ -37,7 +37,7 @@