护理站人员 修改

This commit is contained in:
shidongli 2022-11-15 09:44:08 +08:00
parent 8e0d352cb6
commit db2ed22234

View File

@ -362,7 +362,7 @@
/>
</el-form-item>
<el-button
<!-- <el-button
type="primary"
circle
plain
@ -378,7 +378,7 @@
plain
@click="deldisease(index)"
v-if="index != 0"
></el-button>
></el-button> -->
</div>
</el-form>
<div slot="footer" class="dialog-footer">
@ -1212,32 +1212,32 @@ export default {
this.form.nursename = row.nurseStationName;
},
//deldisease
deldisease(index) {
this.form.nurseStationPersonList.splice(index, 1);
console.log(this.form.nurseStationPersonList);
},
// deldisease(index) {
// this.form.nurseStationPersonList.splice(index, 1);
// console.log(this.form.nurseStationPersonList);
// },
adddisease() {
this.form.nurseStationId = null
var obj = {
nursePersonCode: "",
nursePersonCode: "",
nursePersonName: "",
nursePersonType: "",
phone: "",
address: "",
sex: "",
nurseStationId: "",
departmentName: "请选择所属科室",
// departname: "",
nurseStationName: "请选择所属护理站",
};
if (this.form.nurseStationPersonList.length == 5) {
this.$message.error("最多只能5条");
} else {
this.form.nurseStationPersonList.push(obj);
}
},
// adddisease() {
// this.form.nurseStationId = null
// var obj = {
// nursePersonCode: "",
// nursePersonCode: "",
// nursePersonName: "",
// nursePersonType: "",
// phone: "",
// address: "",
// sex: "",
// nurseStationId: "",
// departmentName: "",
// // departname: "",
// nurseStationName: "",
// };
// if (this.form.nurseStationPersonList.length == 5) {
// this.$message.error("5");
// } else {
// this.form.nurseStationPersonList.push(obj);
// }
// },
//
nurseclick(row) {
console.log(row);