diff --git a/src/components/case/index.vue b/src/components/case/index.vue index a19014c..9fe057f 100644 --- a/src/components/case/index.vue +++ b/src/components/case/index.vue @@ -413,6 +413,8 @@ export default { this.gotuQueryVariable() // 加的 } + console.log('this.topicList---') + console.log(this.topicList) this.getQueryCaches() } }).catch((error)=>{ @@ -521,11 +523,11 @@ export default { // 和重新开始区别开,不再问是否再试一次 this.lockIt = false this.clearStore() - deleteCache().then((data)=>{ + // deleteCache().then((data)=>{ - }).catch(() => { + // }).catch(() => { - }) + // }) let params = { "projectId":this.projectId, @@ -550,9 +552,9 @@ export default { // location.href = 'http://124.71.12.62/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId // 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.155:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId + location.href = "http://192.168.31.155:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId } }).catch((error)=>{ }) diff --git a/src/pages/counter/list/index.vue b/src/pages/counter/list/index.vue index f251cdc..f6de870 100644 --- a/src/pages/counter/list/index.vue +++ b/src/pages/counter/list/index.vue @@ -1927,8 +1927,17 @@ export default { if(clickList.length===0) return this.setTipsOperate(`请选择物品后再确定!`) let projectId = sessionStorage.getItem('projectId') let startTime = sessionStorage.getItem('startTime') + const proofBox = JSON.parse(sessionStorage.getItem('proofBox')) let formList = [] - for (var i=0;i item.answerId === clickList[i]) === -1) { + formList.push({ "answerId":clickList[i], "emptyOne": "", "emptyTwo": "", "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,3,"+clickList[i], "type": "" }) + } + } + // const proofBox = sessionStorage.setItem('proofBox', JSON.stringify(formList)) let params= { parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,3', lcJudgmentRuleReq:formList, @@ -1944,6 +1953,7 @@ export default { } }) this.setTipsOperate('成功取出:' + tmp2.join(',')) + sessionStorage.setItem('proofBox', JSON.stringify([...formList])) }).catch((error)=>{ }) clickList = [] @@ -1954,7 +1964,15 @@ export default { let projectId = sessionStorage.getItem('projectId') let startTime = sessionStorage.getItem('startTime') let formList = [] - for (var i=0;i item.answerId === clickList[i]) === -1) { + formList.push({ "answerId":clickList[i], "emptyOne": "", "emptyTwo": "", "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,2,"+clickList[i], "type": "" }) + } + } let params= { parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,2', lcJudgmentRuleReq:formList, @@ -1970,6 +1988,7 @@ export default { tmp2.push(item.name) } }) + sessionStorage.setItem('proofImportantBox', JSON.stringify([...formList])) this.setTipsOperate('成功取出:' + tmp2.join(',')) // importanceArr }).catch((error)=>{ diff --git a/src/pages/manage/list/client/consumerClient.vue b/src/pages/manage/list/client/consumerClient.vue index 56983a5..7d111c1 100644 --- a/src/pages/manage/list/client/consumerClient.vue +++ b/src/pages/manage/list/client/consumerClient.vue @@ -243,6 +243,7 @@ export default { // this.form.mailbox = mailbox } this.getFormData() + }, mixins: [ TipsBefore ], mounted() { diff --git a/src/pages/manage/list/personal/currentAccount/withdrawal.vue b/src/pages/manage/list/personal/currentAccount/withdrawal.vue index 889a75a..8946f39 100644 --- a/src/pages/manage/list/personal/currentAccount/withdrawal.vue +++ b/src/pages/manage/list/personal/currentAccount/withdrawal.vue @@ -241,17 +241,18 @@ export default{ // formList.push({"answerId":85,"emptyOne": "", "emptyTwo": nomCurrentWithdrawalCards, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,57,64,85","type": ""})// 卡号 formList.push({"answerId":85,"emptyOne": "", "emptyTwo": this.form.cardNumber, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,57,64,85","type": ""}) // formList.push({"answerId":91,"emptyOne": "", "emptyTwo": nomCurrentWithdrawalPassword, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,57,64,91","type": ""}) - formList.push({"answerId":91,"emptyOne": "", "emptyTwo": this.form.drawPassword, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,57,64,91","type": "3"}) + formList.push({"answerId":91,"emptyOne": "17", "emptyTwo": this.form.drawPassword, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,57,64,91","type": "3"}) if (this.form.currency){formList.push({"answerId":'87', "emptyOne": "8", "emptyTwo": this.form.currency, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,57,64,87","type": "1"})}//币种 if (this.form.money){formList.push({"answerId":'89', "emptyOne": "14", "emptyTwo": this.form.money, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,57,64,89", "type": "3"})}//金额 if (this.form.remark){formList.push({"answerId":'93', "emptyOne": "16", "emptyTwo": this.form.remark, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,57,64,93", "type": "3"})}//摘要 formList.push( {"answerId":'86', "emptyOne": "7", "emptyTwo": this.form.userName, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,57,64,86", "type": "3"},//客户姓名 {"answerId":'88', "emptyOne": "9", "emptyTwo": this.form.goldLogo, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,57,64,88", "type": "1"},//钞汇标识 - {"answerId":'90', "emptyOne": "15", "emptyTwo": this.form.drawWay, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,57,64,90", "type": "1"},//支取方式 - {"answerId":'92', "emptyOne": "15", "emptyTwo": this.form.serviceCharge, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,57,64,92", "type": "3"},//手续费 + {"answerId":'90', "emptyOne": "13", "emptyTwo": this.form.drawWay, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,57,64,90", "type": "1"},//支取方式 + {"answerId":'92', "emptyOne": "46", "emptyTwo": this.form.serviceCharge, "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,57,64,92", "type": "3"},//手续费 // {"answerId":91,"emptyOne": "", "emptyTwo": "", "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,57,64,91","type": ""}// 密码框 ) + console.log(formList) let params= { parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,57,64', lcJudgmentRuleReq:formList, @@ -267,13 +268,13 @@ export default{ this.setNeedsModule(moduleName) }).catch((error)=>{ this.$message({ - message: '服务器繁忙哦,提交失败。', + message: '服务器繁忙,提交失败。', center: true, type: 'info' }); }) }else{ - this.setTipsOperate('有必填项未填哦~'); + this.setTipsOperate('有必填项未填~'); } }, popUp(text) { diff --git a/src/store/modules/system.js b/src/store/modules/system.js index f6c23ad..62985f0 100644 --- a/src/store/modules/system.js +++ b/src/store/modules/system.js @@ -213,7 +213,7 @@ const myInitState = { drawWay:18, interest: '0.1', balance: 666, - totalMoney: 9999999999, + totalMoney: '', } }, '业务三': { @@ -2298,7 +2298,21 @@ export default { } }, initState(state) { - state.businessSelect = { ...myInitState } + state.businessSelect = JSON.parse(JSON.stringify(myInitState)) + // state.businessSelect.splice(0, state.businessSelect.length, ...myInitState) + // function deepClone(obj){ + //   let objClone = Array.isArray(obj) ? [] : {}; // 先判断是不是数组 + //   if (obj && typeof obj === 'object') { // 确定是引用类型 + //     for(let key in obj){ + //       if (obj[key] && typeof obj[key] === 'object'){ // 判断是否有深层嵌套 + //         objClone[key] = deepClone(obj[key]); + //       }else{ + //         objClone[key] = obj[key] + //       } + //     } + //   } + //   return objClone; + // } console.log(state.businessSelect) state.businessKey = '' },