feat: Bug #597 - 住院医嘱增加备注字段

This commit is contained in:
2026-05-28 11:00:38 +08:00
parent 83d2e98b2b
commit fbdcd815bd
5 changed files with 28 additions and 0 deletions

View File

@@ -2033,6 +2033,9 @@ public class DoctorStationAdviceAppServiceImpl implements IDoctorStationAdviceAp
serviceRequest.setBasedOnTable(CommonConstants.TableName.MED_MEDICATION_REQUEST); serviceRequest.setBasedOnTable(CommonConstants.TableName.MED_MEDICATION_REQUEST);
} }
// 备注
serviceRequest.setRemark(adviceSaveDto.getRemark());
iServiceRequestService.saveOrUpdate(serviceRequest); iServiceRequestService.saveOrUpdate(serviceRequest);
// 保存时保存诊疗费用项 // 保存时保存诊疗费用项

View File

@@ -270,6 +270,11 @@ public class AdviceSaveDto {
*/ */
private String sourceBillNo; private String sourceBillNo;
/**
* 备注最长50字
*/
private String remark;
/** /**
* 设置默认值 * 设置默认值
*/ */

View File

@@ -238,4 +238,9 @@ public class RequestBaseDto {
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long patientId; private Long patientId;
/**
* 备注最长50字
*/
private String remark;
} }

View File

@@ -173,4 +173,9 @@ public class ServiceRequest extends HisBaseEntity {
*/ */
private Integer generateSourceEnum; private Integer generateSourceEnum;
/**
* 备注最长50字
*/
private String remark;
} }

View File

@@ -298,6 +298,16 @@
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="备注" align="center" prop="remark" width="150" show-overflow-tooltip>
<template #default="scope">
<span v-if="!scope.row.isEdit">
{{ scope.row.remark || '-' }}
</span>
<span v-else>
<el-input v-model="scope.row.remark" maxlength="50" placeholder="最多50字" />
</span>
</template>
</el-table-column>
<el-table-column label="诊断" align="center" prop="diagnosisName" width="150"> <el-table-column label="诊断" align="center" prop="diagnosisName" width="150">
<template #default="scope"> <template #default="scope">
<span v-if="!scope.row.isEdit"> <span v-if="!scope.row.isEdit">