清缓存和sbjectId

20240205
luoJunYong.123 3 years ago
parent ce77476f04
commit 9a5a43e6ad
  1. 46
      src/components/case/index.vue
  2. 2
      src/main.js
  3. 6
      src/pages/counter/list/myConfig.js
  4. 15
      src/pages/manage/list/business/deposit.vue
  5. 36
      src/pages/manage/list/business/openAccount.vue
  6. 23
      src/pages/manage/list/business/transfer.vue
  7. 21
      src/pages/manage/list/business/withdrawal.vue
  8. 6
      src/pages/manage/list/cityWide/cityWideOut.vue
  9. 36
      src/pages/manage/list/personal/callDeposits/accountClosed.vue
  10. 33
      src/pages/manage/list/personal/callDeposits/openAccount.vue
  11. 6
      src/pages/manage/list/personal/currentAccount/accountCancellation.vue
  12. 3
      src/pages/manage/list/personal/currentAccount/openAccount.vue
  13. 36
      src/pages/manage/list/personal/currentAccount/settle.vue
  14. 17
      src/pages/manage/list/personal/currentAccount/transferAccounts.vue
  15. 36
      src/pages/manage/list/personal/timeDeposit/deposit.vue
  16. 21
      src/pages/manage/list/personal/timeDeposit/openAccount.vue
  17. 30
      src/pages/manage/list/personal/timeDeposit/withdrawal.vue
  18. 36
      src/pages/manage/list/personal/usefulPhrases/accountClosed.vue
  19. 21
      src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue
  20. 30
      src/pages/manage/list/personal/usefulPhrases/openAccount.vue
  21. 24
      src/utils/utilFunction.js

@ -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,

@ -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
})

@ -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',

@ -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

@ -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,
}
}
}

@ -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,
}
}
}

@ -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,
}
}

@ -160,6 +160,12 @@ export default {
}
],
},
myTable2: {
//
},
myTable: {
//
},
visible:false
}
},

@ -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)

@ -56,7 +56,7 @@
</el-select>
</el-form-item>
<el-form-item label="支取密码" required>
<div class="idCard" @click="popUp('密码器')">
<div class="idCard" @click="popUp2('密码器')">
<p>请输入密码</p>
</div>
</el-form-item>
@ -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)

@ -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 = [

@ -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<voucherNumber.length;i++){
formLists.push({"answerId":voucherNumber[i].id,"emptyOne": "", "emptyTwo": "", "operationIds": "0,5,26,57,62,75,"+voucherNumber[i].id,"type": ""})
}
let param= {
@ -439,6 +440,8 @@ export default {
{"answerId":'275',"emptyOne": "17", "emptyTwo": paymentCodeTwo, "operationIds": "0,5,26,57,62,275", "type": "3"},//
)
for (var i=0;i<voucherNumberTwo.length;i++){
console.log('xxx---xxx')
console.log(voucherNumberTwo)
formLists.push({"answerId":voucherNumberTwo[i].id,"emptyOne": "", "emptyTwo": "", "operationIds": "0,5,26,57,62,273,"+voucherNumberTwo[i].id,"type": ""})
}
}else if(this.formTwo == true){

@ -85,46 +85,45 @@ export default{
myTable2: {
105: {
prop: 'currency',
type: '1'
type: '1',
"subjectId": 8,
},
106: {
prop: 'goldLogo',
type: '1'
type: '1',
"subjectId": 9,
},
107: {
prop: 'money',
type: '1'
type: '1',
"subjectId": 14,
},
108: {
prop: 'interest',
type: '1'
type: '1',
"subjectId": 26,
},
109: {
prop: 'totalMoney',
type: '1'
},
110: {
prop: 'totalMoney',
type: '1'
},
112: {
prop: 'totalMoney',
type: '1'
prop: 'remark',
type: '3',
"subjectId": 16,
},
},
myTable: {
104: {
prop: 'userName',
type: '3'
type: '3',
"subjectId": 7,
},
110: {
prop: 'chargeWay',
type: '1'
},
112: {
prop: 'remark',
type: '3'
},
type: '1',
"subjectId": 13,
}
}
}
@ -155,7 +154,8 @@ export default{
103: nomCurrentSettleCard
},
{
111: nomCurrentSettlePassword
111: nomCurrentSettlePassword,
"subjectId": 17,
}
]
const parentId = '0,5,26,57,66'

@ -31,7 +31,7 @@
</el-select>
</el-form-item>
<el-form-item label="支取密码" required>
<div class="idCard" @click="popUp('密码器')">
<div class="idCard" @click="popUp2('密码器')">
<p>请输入密码</p>
</div>
</el-form-item>
@ -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

@ -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)

@ -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'

@ -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)

@ -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)

@ -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)

@ -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)

@ -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<cards.length; i++ ) {
let myKey = ''
let tmpJson = null
let subjectId = ''
for(const key in cards[i]) {
const tmpJson = JSON.stringify(cards[i][key])
formList.push({ "answerId": key + '', "emptyOne": '' + tmpIndex++, "emptyTwo": tmpJson, "operationIds": parentId + ',' + key, "type":5 })
if(key!=='subjectId') {
myKey = key
tmpJson = JSON.stringify(cards[i][key])
}else {
subjectId = cards[i]['subjectId']
}
}
formList.push({ "answerId": myKey + '', "emptyOne": '' + subjectId, "emptyTwo": tmpJson, "operationIds": parentId + ',' + myKey, "type":5 })
}
console.log(formList)
let params= {
parentId,
lcJudgmentRuleReq:formList,

Loading…
Cancel
Save