|
|
|
@ -438,14 +438,14 @@ export default { |
|
|
|
|
}, |
|
|
|
|
handleConfirm(){ |
|
|
|
|
let list = [] |
|
|
|
|
if (this.formData.lcJudgmentRuleList.length){ |
|
|
|
|
for (var j = 0;j<this.formData.lcJudgmentRuleList.length;j++){ |
|
|
|
|
list.push(this.formData.lcJudgmentRuleList[j]); |
|
|
|
|
} |
|
|
|
|
for (var i=0;i<list.length;i++){ |
|
|
|
|
list[i].id = list[i].operationIds |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
// if (this.formData.lcJudgmentRuleList.length){ |
|
|
|
|
// for (var j = 0;j<this.formData.lcJudgmentRuleList.length;j++){ |
|
|
|
|
// list.push(this.formData.lcJudgmentRuleList[j]); |
|
|
|
|
// } |
|
|
|
|
// for (var i=0;i<list.length;i++){ |
|
|
|
|
// list[i].id = list[i].operationIds |
|
|
|
|
// } |
|
|
|
|
// } |
|
|
|
|
if (this.SelectedObj.checkedNodes.length > 0){ |
|
|
|
|
for (var i=0;i<this.SelectedObj.checkedNodes.length;i++){ |
|
|
|
|
if(this.SelectedObj.checkedNodes[i].children.length > 0){ |
|
|
|
@ -485,8 +485,6 @@ export default { |
|
|
|
|
item.operationIds = item.id |
|
|
|
|
item.type = null |
|
|
|
|
} |
|
|
|
|
console.log(item.operationIds) |
|
|
|
|
console.log(item.type) |
|
|
|
|
//题目类型(1选择 2判断 3填空 4问答 5指标结果) |
|
|
|
|
if (item.type == 1 || item.type == 2) { |
|
|
|
|
obj.subjectId = Number(item.emptyOne); |
|
|
|
|