소스 검색

Merge remote-tracking branch 'origin/knowledgePlat' into test

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

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

@@ -178,7 +178,7 @@
                 }
                 const obj = this.ruleTermTypeList.find((it)=>it.code===val);
                 this.baseTypeList = obj.subMenuList;
-
+                this.subRuleMaxNum=obj.number;
             },
             'form.parConceptId':function(val){
                 if(this.checkFirstPlace) {
@@ -220,7 +220,7 @@
                 let arr=[];
                 data.map((it)=>{
                     if(!arr[it.groupType]){arr[it.groupType]=[];}
-                    if(it.subMaxOperator){
+                    if(it.subMaxOperator||it.subMinOperator){
                         it.dataType='1';
                     }else if(it.subEqValue){
                         it.dataType='2';

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

@@ -212,7 +212,7 @@
             this.conceptList=[{conceptName:this.groupData.subLibName||this.groupData.subConceptName,conceptId:this.groupData.subConceptId}];
             if(this.groupData.subLenCode){
                 this.baseTermTypeList=[{name:this.groupData.subLenName,code:this.groupData.subLenCode}];
-            };console.log(this.conceptList)
+            }
         },
         methods:{
             dataTypeChange(val){