This commit is contained in:
2024-05-08 17:11:47 +08:00
parent 5df22ee20a
commit 632f2a4ce2

View File

@ -395,7 +395,7 @@
<el-button <el-button
type="primary" type="primary"
style="width: 15px; height: 15px" style="width: 15px; height: 15px"
v-if="form.departmentId == scope.row.departmentCode" v-if="form.departmentId == scope.row.id"
circle circle
@click="nurseclick(scope.row)" @click="nurseclick(scope.row)"
></el-button> ></el-button>
@ -563,9 +563,8 @@ export default {
}, },
// //
nurseclick(row) { nurseclick(row) {
this.form.departmentId = row.departmentCode; this.form.departmentId = row.id;
this.form.departmentName = row.departmentName; this.form.departmentName = row.departmentName;
// console.log(this.departmentName, "0000");
this.innerVisibleshow = false; this.innerVisibleshow = false;
}, },
// //