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