zhouna 4 年之前
父節點
當前提交
32dc34e682
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/components/knowledgeExtra/SubConditions.vue

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

@@ -183,10 +183,10 @@
             },
             'firstPlace':function(val){
                 if(!val)return;
-                const sub = this.baseTypes.find((it)=>it.firstPlace===1);
+                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;