소스 검색

术语命名bug

Luolei 6 년 전
부모
커밋
3e9a98a3c3
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      src/components/icss/AddMedicalName.vue

+ 3 - 1
src/components/icss/AddMedicalName.vue

@@ -188,6 +188,7 @@ import api from '@api/icss.js';
           }
         }
         this.tmpSynonymous = tmpAllwords
+        this.synonymous = tmpAllwords
       },
       toggleShow(num){
         let tmpShow = this.show
@@ -350,7 +351,7 @@ import api from '@api/icss.js';
         // 过滤同义词空数据
         let realData=[];
         if(this.id){//修改用暂存的列表
-          realData = this.tmpSynonymous.filter((item)=>{
+          realData = this.synonymous.filter((item)=>{
             return item.name;
           })
           let tmpArr = []
@@ -369,6 +370,7 @@ import api from '@api/icss.js';
             return item.name;
           })
         }
+        console.log(realData,787887)
         let detailList = [];
         detailList[0] = this.data;
         for(let i=0; i<realData.length; i++){