diff --git a/openhis-ui-vue3/src/views/inpatientDoctor/home/components/applicationShow/examineApplication.vue b/openhis-ui-vue3/src/views/inpatientDoctor/home/components/applicationShow/examineApplication.vue index aad3aeb97..fa675b9c8 100755 --- a/openhis-ui-vue3/src/views/inpatientDoctor/home/components/applicationShow/examineApplication.vue +++ b/openhis-ui-vue3/src/views/inpatientDoctor/home/components/applicationShow/examineApplication.vue @@ -137,7 +137,7 @@ @@ -270,6 +270,12 @@ const parseStatus = (status) => { const labelMap = { categoryType: '项目类别', targetDepartment: '发往科室', + urgencyLevel: '紧急程度', + allergyHistory: '过敏史', + examinationPurpose: '检查目的', + expectedExaminationTime: '期望检查时间', + medicalHistorySummary: '病史摘要', + allergyConfirmed: '过敏确认', symptom: '症状', sign: '体征', clinicalDiagnosis: '临床诊断', @@ -278,6 +284,17 @@ const labelMap = { attention: '注意事项', }; +// Fields that need value transformation before display +const transformField = (key, value) => { + if (key === 'urgencyLevel') { + return value === 'emergency' ? '急诊' : '普通'; + } + if (key === 'allergyConfirmed') { + return value === true || value === 'true' ? '已口头确认' : '未确认'; + } + return value; +}; + const isFieldMatched = (key) => { return key in labelMap; };