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