Browse Source

危急值默认选第一个

wyq 4 năm trước cách đây
mục cha
commit
33e3d318da
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      src/components/knowledgeExtra/AddNewRule.vue

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

@@ -301,7 +301,7 @@ export default {
           it => it.conceptId === this.form.parConceptId
         );
         if (this.firstPlace) {
-          this.firstPlace['checkedType'] = this.ruleTermCodeStr;
+          this.firstPlace['checkedType'] = this.ruleTermCodeStrs;
         }
       } else if (!this.form.parConceptId) {
         this.setInitGroupData();
@@ -406,7 +406,7 @@ export default {
         if (val && this.checkFirstPlace && this.conceptList) {
           this.firstPlace = this.conceptList.find(it => it.conceptId === val);
           if (this.firstPlace) {
-            this.firstPlace['checkedType'] = this.ruleTermCodeStr;
+            this.firstPlace['checkedType'] = this.ruleTermCodeStrs;
           }
         } else if (!val) {
           this.setInitGroupData();
@@ -753,7 +753,7 @@ export default {
       return false;
     },
     checkFirstPlace: function() {
-      return this.dict.indexOf(this.ruleTermCodeStr) > -1;
+      return this.dict.indexOf(this.ruleTermCodeStrs) > -1;
     }
   },
   components: { AddNewRuleTable }