|
@@ -250,12 +250,14 @@ import config from '@api/config.js';
|
|
return nodeListResult
|
|
return nodeListResult
|
|
},
|
|
},
|
|
searchConcept() {
|
|
searchConcept() {
|
|
|
|
+ if(!this.conceptText.trim()) {
|
|
|
|
+ return
|
|
|
|
+ }
|
|
let excludedConceptIds = [];
|
|
let excludedConceptIds = [];
|
|
if(this.list[0]) {
|
|
if(this.list[0]) {
|
|
excludedConceptIds.push(this.list[0].conceptId)
|
|
excludedConceptIds.push(this.list[0].conceptId)
|
|
this.excludedConceptIds = this.IteraNodeList(this.list[0].nodeList,excludedConceptIds, 2)
|
|
this.excludedConceptIds = this.IteraNodeList(this.list[0].nodeList,excludedConceptIds, 2)
|
|
}
|
|
}
|
|
-
|
|
|
|
const param = {
|
|
const param = {
|
|
"name": this.conceptText,
|
|
"name": this.conceptText,
|
|
"excludedConceptIds": this.excludedConceptIds,
|
|
"excludedConceptIds": this.excludedConceptIds,
|