修改所有页面父级ID

20240205
e 3 years ago
parent db4189ff4e
commit c46f5209bb
  1. 28
      src/pages/counter/list/index.vue
  2. 5
      src/pages/manage/list/personal/currentAccount/openAccount.vue

@ -1125,7 +1125,7 @@ export default {
let formList = [] let formList = []
let ruleReqs = sessionStorage.getItem('ruleReqs') let ruleReqs = sessionStorage.getItem('ruleReqs')
if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []} if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []}
for (var i=0;i<this.receptionList.length;i++){formList.push({"emptyOne": "18", "emptyTwo": this.passwordForm.passwordAgain, "operationIds": "287,282,"+this.receptionList[i].id,"type": "3"})} for (var i=0;i<this.receptionList.length;i++){formList.push({"emptyOne": "18", "emptyTwo": this.passwordForm.passwordAgain, "operationIds": "285,287,282,"+this.receptionList[i].id,"type": "3"})}
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) sessionStorage.setItem('ruleReqs', JSON.stringify(formList))
} }
if(this.passwordForm.password && this.passwordForm.passwordAgain){ if(this.passwordForm.password && this.passwordForm.passwordAgain){
@ -1149,9 +1149,9 @@ export default {
}else if (this.nbm == 1){ // }else if (this.nbm == 1){ //
let projectId = sessionStorage.getItem('projectId') let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime') let startTime = sessionStorage.getItem('startTime')
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id,"emptyOne": "", "emptyTwo": "", "operationIds": "287,4,"+this.receptionList[i].id,"type": ""})} for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id,"emptyOne": "", "emptyTwo": "", "operationIds": "285,287,4,"+this.receptionList[i].id,"type": ""})}
let params= { let params= {
parentId:'287,4', parentId:'285,287,4',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq:formList,
projectId:+projectId, projectId:+projectId,
startTime:startTime, startTime:startTime,
@ -1166,9 +1166,9 @@ export default {
}else if (this.nbm == 2){ // }else if (this.nbm == 2){ //
let projectId = sessionStorage.getItem('projectId') let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime') let startTime = sessionStorage.getItem('startTime')
for (var i=0;i<this.receptionList.length;i++){formList.push({ "answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "287,3,"+this.receptionList[i].id, "type": "" })} for (var i=0;i<this.receptionList.length;i++){formList.push({ "answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,3,"+this.receptionList[i].id, "type": "" })}
let params= { let params= {
parentId:'287,3', parentId:'285,287,3',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq:formList,
projectId:+projectId, projectId:+projectId,
startTime:startTime, startTime:startTime,
@ -1183,9 +1183,9 @@ export default {
}else if (this.nbm == 3){ // }else if (this.nbm == 3){ //
let projectId = sessionStorage.getItem('projectId') let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime') let startTime = sessionStorage.getItem('startTime')
for (var i=0;i<this.receptionList.length;i++){formList.push({ "answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "287,2,"+this.receptionList[i].id, "type": "" })} for (var i=0;i<this.receptionList.length;i++){formList.push({ "answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,2,"+this.receptionList[i].id, "type": "" })}
let params= { let params= {
parentId:'287,2', parentId:'285,287,2',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq:formList,
projectId:+projectId, projectId:+projectId,
startTime:startTime, startTime:startTime,
@ -1205,10 +1205,10 @@ export default {
"answerId":this.receptionList[i].id, "answerId":this.receptionList[i].id,
"emptyOne": "", "emptyOne": "",
"emptyTwo": "", "emptyTwo": "",
"operationIds": "287,1,"+this.receptionList[i].id, "operationIds": "285,287,1,"+this.receptionList[i].id,
"type": "" })} "type": "" })}
let params= { let params= {
parentId:'287,1', parentId:'285,287,1',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq:formList,
projectId:+projectId, projectId:+projectId,
startTime:startTime, startTime:startTime,
@ -1223,9 +1223,9 @@ export default {
}else if (this.nbm == 5){ // }else if (this.nbm == 5){ //
let projectId = sessionStorage.getItem('projectId') let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime') let startTime = sessionStorage.getItem('startTime')
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "287,8,"+this.receptionList[i].id,"type": ""})} for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,8,"+this.receptionList[i].id,"type": ""})}
let params= { let params= {
parentId:'287,8', parentId:'285,287,8',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq:formList,
projectId:+projectId, projectId:+projectId,
startTime:startTime, startTime:startTime,
@ -1240,9 +1240,9 @@ export default {
}else if (this.nbm == 6){ // }else if (this.nbm == 6){ //
let projectId = sessionStorage.getItem('projectId') let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime') let startTime = sessionStorage.getItem('startTime')
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "287,9,"+this.receptionList[i].id,"type": ""})} for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,9,"+this.receptionList[i].id,"type": ""})}
let params= { let params= {
parentId:'287,9', parentId:'285,287,9',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq:formList,
projectId:+projectId, projectId:+projectId,
startTime:startTime, startTime:startTime,
@ -1257,7 +1257,7 @@ export default {
}else if (this.nbm == 7){ // }else if (this.nbm == 7){ //
let projectId = sessionStorage.getItem('projectId') let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime') let startTime = sessionStorage.getItem('startTime')
for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "287,10,"+this.receptionList[i].id,"type": ""})} for (var i=0;i<this.receptionList.length;i++){formList.push({"answerId":this.receptionList[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,10,"+this.receptionList[i].id,"type": ""})}
let params= { let params= {
parentId:'0,10', parentId:'0,10',
lcJudgmentRuleReq:formList, lcJudgmentRuleReq:formList,

@ -393,7 +393,6 @@ export default {
let startTime = sessionStorage.getItem('startTime') let startTime = sessionStorage.getItem('startTime')
let accountVoucher = sessionStorage.getItem('accountVoucher') let accountVoucher = sessionStorage.getItem('accountVoucher')
let formExternalDataList = JSON.parse(accountVoucher); let formExternalDataList = JSON.parse(accountVoucher);
console.log(accountVoucher)
if (formExternalDataList){ if (formExternalDataList){
voucherNumber = formExternalDataList voucherNumber = formExternalDataList
}else{ }else{
@ -445,8 +444,6 @@ export default {
{"answerId":'275',"emptyOne": "17", "emptyTwo": paymentCodeTwo, "operationIds": "285,287,5,26,57,62,275", "type": "3"},// {"answerId":'275',"emptyOne": "17", "emptyTwo": paymentCodeTwo, "operationIds": "285,287,5,26,57,62,275", "type": "3"},//
) )
for (var i=0;i<voucherNumberTwo.length;i++){ for (var i=0;i<voucherNumberTwo.length;i++){
console.log('xxx---xxx')
console.log(voucherNumberTwo)
formLists.push({"answerId":voucherNumberTwo[i].id,"emptyOne": "", "emptyTwo": "", "operationIds": "285,287,5,26,57,62,273,"+voucherNumberTwo[i].id,"type": ""}) formLists.push({"answerId":voucherNumberTwo[i].id,"emptyOne": "", "emptyTwo": "", "operationIds": "285,287,5,26,57,62,273,"+voucherNumberTwo[i].id,"type": ""})
} }
}else if(this.formTwo == true){ }else if(this.formTwo == true){
@ -491,8 +488,6 @@ export default {
}).catch((error)=>{ }).catch((error)=>{
}) })
}else{ }else{
console.log(voucherNumber)
console.log(paymentCode)
this.$message.error('有必填项未填哦~'); this.$message.error('有必填项未填哦~');
} }
}, },

Loading…
Cancel
Save