浏览代码

修改辅检层级维护检索bug(2362)

zhangxc 5 年之前
父节点
当前提交
03c2c6dbab
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/components/medicalTerm/AddAssistCheckMultRelation.vue

+ 3 - 1
src/components/medicalTerm/AddAssistCheckMultRelation.vue

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