diff --git a/openhis-ui-vue3/src/views/inpatientDoctor/home/components/applicationShow/testApplication.vue b/openhis-ui-vue3/src/views/inpatientDoctor/home/components/applicationShow/testApplication.vue index c7d8611e0..039151979 100755 --- a/openhis-ui-vue3/src/views/inpatientDoctor/home/components/applicationShow/testApplication.vue +++ b/openhis-ui-vue3/src/views/inpatientDoctor/home/components/applicationShow/testApplication.vue @@ -285,6 +285,9 @@ const labelMap = { otherDiagnosis: '其他诊断', relatedResult: '相关结果', attention: '注意事项', + applicationType: '申请类型', + specimenName: '标本类型', + executeTime: '执行时间', }; /** @@ -311,8 +314,8 @@ const parsePriorityCode = (descJson) => { if (!descJson) return '-'; try { const obj = JSON.parse(descJson); - // priorityCode: 0-普通, 1-急 - return obj.priorityCode === 1 ? '急' : '普通'; + // applicationType: 0-普通, 1-急诊 + return obj.applicationType === 1 ? '急' : '普通'; } catch (e) { console.error('解析 descJson 失败:', e); return '-'; @@ -391,6 +394,9 @@ const handleViewDetail = async (row) => { try { const obj = JSON.parse(row.descJson); obj.targetDepartment = recursionFun(obj.targetDepartment); + // 转换申请类型编码为可读文本 + if (obj.applicationType === 0) obj.applicationType = '普通'; + else if (obj.applicationType === 1) obj.applicationType = '急诊'; descJsonData.value = obj; } catch (e) { console.error('解析 descJson 失败:', e);