Przeglądaj źródła

添加诊断依据bug

zhouna 4 lat temu
rodzic
commit
fc300389b2
1 zmienionych plików z 17 dodań i 14 usunięć
  1. 17 14
      src/components/knowledgeExtra/DiagBaseGroup.vue

+ 17 - 14
src/components/knowledgeExtra/DiagBaseGroup.vue

@@ -62,21 +62,24 @@
             },
             addRule(){
                 let temp={
-                    subDescription:'',
-                    subConceptId:'',
-                    subType:'',
-                    subLenName:'',
-                    subLenCode:'',
-                    subLibName:'',
-                    subMaxOperator:'',
-                    subMaxUnit:'',
-                    subMaxValue:'',
-                    subMinOperator:'',
-                    subMinUnit:'',
-                    subMinValue:'',
-                    subEqValue:'',
-                    dataType:'',
+                    "basConceptId": '',
+                    "basDescription": "",
+                    "basLename": "",
+                    "basLibName": "",
+                    "basLibType": null,
+                    "basType": '',
+                    "eqOperator": "",
+                    "eqUnit": "",
+                    "eqValue": "",
+                    "maxOperator": "",
+                    "maxUnit": "",
+                    "maxVal": "",
+                    "minOperator": "",
+                    "minUnit": "",
+                    "minVal": "",
+                    "dataType":"",
                 };
+                //this.$set(this.data,'klDiagnoseDetail',[...this.data.klDiagnoseDetail,temp]);
                 this.data.klDiagnoseDetail.push(temp);
                 this.$emit("setRule");
             },