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;