瀏覽代碼

修改的时候没有疾病特征处理

zhangxc 6 年之前
父節點
當前提交
67d67f8562
共有 1 個文件被更改,包括 8 次插入6 次删除
  1. 8 6
      src/components/diagBase/AddDiagBase.vue

+ 8 - 6
src/components/diagBase/AddDiagBase.vue

@@ -183,7 +183,9 @@
                 this.titleText = '修改';
                 this.disName = data.disName
                 this.id = data.id
-                this.disFeatureList = data.disFeature
+                if(data.disFeature.length) {
+                    this.disFeatureList = data.disFeature
+                }   
                 if(data.disformula.length) {
                     this.disFormulaList = data.disformula
                 } 
@@ -676,16 +678,16 @@
             width: 8%;
         }
         .FeatureStand {
-            width: 20%;
+            width: 25%;
         }
         .FeatureRelate {
-            width: 20%;
+            width: 25%;
         }
         .FeatureResult {
             width: 20%;
         } 
         .FeatureOpera{
-            width: 20%;
+            width: 10%;
         } 
         .FormulaSort{
             width: 5%;
@@ -694,10 +696,10 @@
             width: 7%;
         } 
         .FormulaNumber{
-            width: 68%;
+            width: 78%;
         } 
         .FormulaOpera{
-            width: 20%;
+            width: 10%;
         }
         .btnOpera {
             width:16px;