修复药师菜单缺少「审核签署身份」;处方笺天数栏剂数顶替时单位改为天
- 顶部用户菜单与「已开处方」页会同时请求 esignConfig,请求库会取消先发出的同名请求, 菜单因此把审核签署判为未启用、不再重试。该只读配置请求改为不参与重复取消 - 药房联 / 处方联「天数」栏在未填用药天数、以剂数顶替时,由「14剂」改为「14 天」(管理后台与桌面端一致) - 重新构建管理后台 Co-Authored-By: Claude Opus 5 (1M context) <[EMAIL]>
This commit is contained in:
co-authored by
Claude Opus 5 (1M context)
parent
dfe5768cd2
commit
b8f66e2b00
@@ -480,7 +480,8 @@ export interface PrescriptionEsignDoctorStatus {
|
||||
}
|
||||
|
||||
export function prescriptionEsignConfig(): Promise<PrescriptionEsignConfig> {
|
||||
return request.get({ url: '/tcm.prescription/esignConfig' })
|
||||
// 顶部用户菜单与处方页会同时读取;默认的重复请求取消会让先发出的一方失败(如药师菜单丢失「审核签署身份」)。
|
||||
return request.get({ url: '/tcm.prescription/esignConfig' }, { ignoreCancelToken: true })
|
||||
}
|
||||
|
||||
export function prescriptionEsignSetConfig(params: { enabled: boolean }): Promise<PrescriptionEsignConfig> {
|
||||
|
||||
@@ -317,7 +317,8 @@ const daysText = computed(() => {
|
||||
}
|
||||
const dose = props.data?.dose_count
|
||||
if (dose != null && String(dose).trim() !== '') {
|
||||
return `${dose}剂`
|
||||
// 笺面该栏为「天数」,未填用药天数时以剂数顶替,单位统一显示为天。
|
||||
return `${dose} 天`
|
||||
}
|
||||
return '—'
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user