zhouna 4 년 전
부모
커밋
e92009e0f7
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      src/components/knowledgeExtra/SubConditions.vue

+ 4 - 4
src/components/knowledgeExtra/SubConditions.vue

@@ -183,13 +183,13 @@
             },
             'firstPlace':function(val){
                 if(!val)return;
-                /*const str=localStorage.getItem("zskDicts");
+                const str=localStorage.getItem("zskDicts");
                 const arr=str.split(",");
-                arr*/
-                const sub = this.baseTypes.find((it)=>it.firstPlace===1);
+                //arr
+                const sub = this.baseTypes.find((it)=>it.ruleType===3);
                 this.groupData.subType=sub.type;
                 this.baseTermTypeList =sub.subMenuList;
-                this.groupData.subLenCode=this.baseTermTypeList.find((it)=>it.firstPlace===1).code;
+                this.groupData.subLenCode=this.baseTermTypeList.find((it)=>it.ruleType===3).code;
                 this.conceptList=[val];
                 this.groupData.subDescription=val.conceptName;
                 this.groupData.subConceptId = val.conceptId;