|
@@ -605,7 +605,7 @@ export default {
|
|
this.excludedConceptIds.splice(index, 1);
|
|
this.excludedConceptIds.splice(index, 1);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
- this.leftList = this.form.concepts
|
|
|
|
|
|
+ this.leftList = this.form.concepts;
|
|
} else {
|
|
} else {
|
|
this.leftList.forEach((item, index) => {
|
|
this.leftList.forEach((item, index) => {
|
|
if (item.conceptId == row.conceptId) {
|
|
if (item.conceptId == row.conceptId) {
|
|
@@ -663,8 +663,8 @@ export default {
|
|
if (res.data.code == '0') {
|
|
if (res.data.code == '0') {
|
|
const data = res.data.data;
|
|
const data = res.data.data;
|
|
let text = '';
|
|
let text = '';
|
|
- if (data.unMatchList.length > 0 || data.disableList.length > 0 ) {
|
|
|
|
- let arr = data.unMatchList.concat(data.disableList)
|
|
|
|
|
|
+ if (data.unMatchList.length > 0 || data.disableList.length > 0) {
|
|
|
|
+ let arr = data.unMatchList.concat(data.disableList);
|
|
arr.forEach(it => {
|
|
arr.forEach(it => {
|
|
text += it.conceptLibName + '\n';
|
|
text += it.conceptLibName + '\n';
|
|
});
|
|
});
|
|
@@ -675,7 +675,10 @@ export default {
|
|
}
|
|
}
|
|
if (data.matchList.length > 0) {
|
|
if (data.matchList.length > 0) {
|
|
this.processing(data.matchList);
|
|
this.processing(data.matchList);
|
|
- if (data.unMatchList.length == 0 && data.disableList.length == 0) {
|
|
|
|
|
|
+ if (
|
|
|
|
+ data.unMatchList.length == 0 &&
|
|
|
|
+ data.disableList.length == 0
|
|
|
|
+ ) {
|
|
this.dialogVisible = false;
|
|
this.dialogVisible = false;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -692,6 +695,7 @@ export default {
|
|
this.conceptText = '';
|
|
this.conceptText = '';
|
|
this.ruleTermTypeList = [];
|
|
this.ruleTermTypeList = [];
|
|
this.form.concepts = [];
|
|
this.form.concepts = [];
|
|
|
|
+ this.leftList = [];
|
|
this.getTreeSearchList();
|
|
this.getTreeSearchList();
|
|
}
|
|
}
|
|
},
|
|
},
|