feat: Bug #597 - 住院医嘱增加备注字段
This commit is contained in:
@@ -2033,6 +2033,9 @@ public class DoctorStationAdviceAppServiceImpl implements IDoctorStationAdviceAp
|
||||
serviceRequest.setBasedOnTable(CommonConstants.TableName.MED_MEDICATION_REQUEST);
|
||||
}
|
||||
|
||||
// 备注
|
||||
serviceRequest.setRemark(adviceSaveDto.getRemark());
|
||||
|
||||
iServiceRequestService.saveOrUpdate(serviceRequest);
|
||||
|
||||
// 保存时保存诊疗费用项
|
||||
|
||||
@@ -270,6 +270,11 @@ public class AdviceSaveDto {
|
||||
*/
|
||||
private String sourceBillNo;
|
||||
|
||||
/**
|
||||
* 备注(最长50字)
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 设置默认值
|
||||
*/
|
||||
|
||||
@@ -238,4 +238,9 @@ public class RequestBaseDto {
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long patientId;
|
||||
|
||||
/**
|
||||
* 备注(最长50字)
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
}
|
||||
|
||||
@@ -173,4 +173,9 @@ public class ServiceRequest extends HisBaseEntity {
|
||||
*/
|
||||
private Integer generateSourceEnum;
|
||||
|
||||
/**
|
||||
* 备注(最长50字)
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
}
|
||||
|
||||
@@ -298,6 +298,16 @@
|
||||
</span>
|
||||
</template>
|
||||
</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">
|
||||
<template #default="scope">
|
||||
<span v-if="!scope.row.isEdit">
|
||||
|
||||
Reference in New Issue
Block a user