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 7d05e440..4dacba25 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 @@ -227,6 +227,47 @@ + + + + + + + + + + + + + + + + + + + + + @@ -428,6 +469,11 @@ const buildItemNames = (row) => { const labelMap = { categoryType: '项目类别', targetDepartment: '发往科室', + urgencyLevel: '紧急程度', + allergyHistory: '过敏史', + examinationPurpose: '检查目的', + medicalHistorySummary: '病史摘要', + expectedExaminationTime: '期望检查时间', symptom: '症状', sign: '体征', clinicalDiagnosis: '临床诊断', @@ -493,6 +539,11 @@ const handleViewDetail = (row) => { const deptName = recursionFun(obj.targetDepartment); obj.targetDepartment = deptName || obj.targetDepartment; } + // 紧急程度转换为显示文本 + const urgencyMap = { routine: '普通', emergency: '急诊' }; + if (obj.urgencyLevel) { + obj.urgencyLevel = urgencyMap[obj.urgencyLevel] || obj.urgencyLevel; + } descJsonData.value = obj; } catch (e) { console.error('解析 descJson 失败:', e); @@ -514,6 +565,12 @@ const handleEdit = (row) => { if (row.descJson) { try { const desc = JSON.parse(row.descJson); + form.targetDepartment = desc.targetDepartment || ''; + form.urgencyLevel = desc.urgencyLevel || ''; + form.allergyHistory = desc.allergyHistory || ''; + form.examinationPurpose = desc.examinationPurpose || ''; + form.medicalHistorySummary = desc.medicalHistorySummary || ''; + form.expectedExaminationTime = desc.expectedExaminationTime || ''; form.clinicalDiagnosis = desc.clinicalDiagnosis || ''; form.attention = desc.attention || ''; form.symptom = desc.symptom || ''; @@ -544,6 +601,12 @@ const handleSaveEdit = async () => { name: editForm.value.name, organizationId: editDetail.value.inHospitalOrgId || patientInfo.value?.inHospitalOrgId, descJson: JSON.stringify({ + targetDepartment: editForm.value.targetDepartment, + urgencyLevel: editForm.value.urgencyLevel, + allergyHistory: editForm.value.allergyHistory, + examinationPurpose: editForm.value.examinationPurpose, + medicalHistorySummary: editForm.value.medicalHistorySummary, + expectedExaminationTime: editForm.value.expectedExaminationTime, clinicalDiagnosis: editForm.value.clinicalDiagnosis, attention: editForm.value.attention, symptom: editForm.value.symptom, diff --git a/openhis-ui-vue3/src/views/inpatientDoctor/home/components/order/applicationForm/medicalExaminations.vue b/openhis-ui-vue3/src/views/inpatientDoctor/home/components/order/applicationForm/medicalExaminations.vue index 54207971..d742b51a 100755 --- a/openhis-ui-vue3/src/views/inpatientDoctor/home/components/order/applicationForm/medicalExaminations.vue +++ b/openhis-ui-vue3/src/views/inpatientDoctor/home/components/order/applicationForm/medicalExaminations.vue @@ -42,6 +42,40 @@ /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -145,6 +179,11 @@ const transferValue = ref([]); const form = reactive({ // categoryType: '', // 项目类别 targetDepartment: '', // 发往科室 + urgencyLevel: '', // 紧急程度 + allergyHistory: '', // 过敏史 + examinationPurpose: '', // 检查目的 + medicalHistorySummary: '', // 病史摘要 + expectedExaminationTime: '', // 期望检查时间 symptom: '', // 症状 sign: '', // 体征 clinicalDiagnosis: '', // 临床诊断