wyq %!s(int64=4) %!d(string=hai) anos
pai
achega
b6fd4067e4
Modificáronse 1 ficheiros con 14 adicións e 7 borrados
  1. 14 7
      src/components/knowledgeExtra/AddDiagBase.vue

+ 14 - 7
src/components/knowledgeExtra/AddDiagBase.vue

@@ -664,10 +664,10 @@ export default {
           }
         }
       }
-      this.i = this.form.klDiagnoseTypeVO.slice(-1)[0].depart_id+1;
-      console.log(this.i)
+      this.i = this.form.klDiagnoseTypeVO.slice(-1)[0].depart_id + 1;
+      console.log(this.i);
     }
-  
+
     this.setRules();
   },
   computed: {
@@ -843,17 +843,17 @@ export default {
     addDiag(id) {
       let temp = this.getInitData();
       var i = -1;
-      console.log(id)
+      console.log(id);
       this.form.klDiagnoseTypeVO.forEach((item, inx) => {
         if (item.depart_id == id) {
           i = inx;
-          console.log(inx)
+          console.log(inx);
         }
       });
-      
+
       this.form.klDiagnoseTypeVO.splice(i + 1, 0, temp);
       this.setRules();
-      console.log(this.form.klDiagnoseTypeVO)
+      console.log(this.form.klDiagnoseTypeVO);
     },
     //复制依据
     copyDiag(id, inx) {
@@ -1617,5 +1617,12 @@ export default {
       margin: 15px 0;
     }
   }
+  .name {
+    font-size: 14px;
+
+    font-weight: 400;
+    color: #333333;
+    line-height: 20px;
+  }
 }
 </style>