Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
2024-05-14 09:37:30 +08:00
commit f5a9a6d6ed
2 changed files with 6 additions and 2 deletions

View File

@ -261,7 +261,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>
@ -450,7 +450,7 @@ export default {
}, },
// //
nurseclick(row) { nurseclick(row) {
this.form.departmentId = row.departmentCode; this.form.departmentId = row.id;
this.departmentName = row.departmentName; this.departmentName = row.departmentName;
this.form.diseaseTypeId = ''; this.form.diseaseTypeId = '';
this.diseaseTypeName = '请选择病种'; this.diseaseTypeName = '请选择病种';

View File

@ -687,6 +687,7 @@ export default {
}, },
/** 重置按钮操作 */ /** 重置按钮操作 */
resetQuery() { resetQuery() {
this.queryParams.diseaseTypeName=''
this.resetForm("queryForm"); this.resetForm("queryForm");
this.handleQuery(); this.handleQuery();
}, },
@ -724,6 +725,7 @@ export default {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
this.open = false; this.open = false;
this.getList(); this.getList();
this.departmentName=''
this.infolists() this.infolists()
}); });
} else { } else {
@ -731,6 +733,7 @@ export default {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.open = false; this.open = false;
this.getList(); this.getList();
this.departmentName=''
this.infolists() this.infolists()
}); });
@ -748,6 +751,7 @@ export default {
}) })
.then(() => { .then(() => {
this.getList(); this.getList();
this.departmentName=''
this.infolists() this.infolists()
this.$modal.msgSuccess("删除成功"); this.$modal.msgSuccess("删除成功");