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