|
|
|
@ -388,7 +388,8 @@ export default { |
|
|
|
|
itemkey:'', |
|
|
|
|
judgePoints:false,//判断是否点了编辑 |
|
|
|
|
configVisible:false, |
|
|
|
|
SelectedObj:[] |
|
|
|
|
SelectedObj:[], |
|
|
|
|
counts:0, |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
mounted() { |
|
|
|
@ -403,6 +404,7 @@ export default { |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
getInfoData(lcId) { // 获取判分点详细信息 |
|
|
|
|
this.counts = 0 |
|
|
|
|
this.$get(`${this.api.queryJudgmentPointDetails}?lcId=${lcId}`).then(res => { |
|
|
|
|
if (res.status === 200) { |
|
|
|
|
let {judgmentPoint, judgmentRuleList} = res; |
|
|
|
@ -438,6 +440,7 @@ export default { |
|
|
|
|
this.SelectedObj = SelectedObj |
|
|
|
|
}, |
|
|
|
|
handleConfirm(){ |
|
|
|
|
this.counts = this.counts+1 |
|
|
|
|
let list = [] |
|
|
|
|
if (this.SelectedObj.checkedNodes.length > 0){ |
|
|
|
|
for (var i=0;i<this.SelectedObj.checkedNodes.length;i++){ |
|
|
|
@ -590,7 +593,9 @@ export default { |
|
|
|
|
if (data.subjectId) { // 是否有题目id |
|
|
|
|
this.currentNodeData = data; |
|
|
|
|
this.$refs[`tree-${index}`].setCheckedNodes([data]); |
|
|
|
|
if(this.counts > 0){ |
|
|
|
|
this.getSubjectData(data.subjectId, index); |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
row.type = null; |
|
|
|
|
this.currentNodeData = {}; |
|
|
|
|