|
|
|
@ -157,7 +157,6 @@ const autoPlay = (parentId, form, myTable2, myTable, cards=[]) => { |
|
|
|
|
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
|
|
|
|
@ -206,7 +205,8 @@ const autoPlay2 = (parentId=11, form, myTable2, myTable, cardArr, callback) => |
|
|
|
|
if(data.status == 200) { |
|
|
|
|
|
|
|
|
|
var list = data.data.judgmentRuleReqs |
|
|
|
|
const tmpObj = Object.assign(myTable, myTable2) |
|
|
|
|
// const tmpObj = Object.assign(myTable, myTable2) ...巨坑,把后面的属性给到前面了
|
|
|
|
|
const tmpObj = {...myTable, ...myTable2} |
|
|
|
|
for (var i = 0; i < list.length; i++) { |
|
|
|
|
const { answerId, emptyTwo } = list[i] |
|
|
|
|
if(!cardArr) { |
|
|
|
|