浏览代码

危急值默认选第一个

wyq 4 年之前
父节点
当前提交
33e3d318da
共有 1 个文件被更改,包括 3 次插入3 次删除
  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 }