From 893c0633d17cfd3c7b879f829e2dc33efad90047 Mon Sep 17 00:00:00 2001 From: zhaoyun Date: Fri, 29 May 2026 08:52:57 +0800 Subject: [PATCH] =?UTF-8?q?fix(#598):=20=E8=AF=B7=E4=BF=AE=E5=A4=8D=20Bug?= =?UTF-8?q?=20#598=EF=BC=9A=E3=80=90=E4=BD=8F=E9=99=A2=E5=8C=BB=E7=94=9F?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E7=AB=99-=E4=B8=B4=E5=BA=8A=E5=8C=BB?= =?UTF-8?q?=E5=98=B1=E3=80=91=E4=B8=B4=E5=BA=8A=E5=8C=BB=E5=98=B1=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E7=BC=BA=E5=B0=91=E5=BC=80=E5=98=B1=E5=8C=BB=E7=94=9F?= =?UTF-8?q?=E5=88=97=EF=BC=8C=E6=97=A0=E6=B3=95=E8=BF=BD=E6=BA=AF=E8=B4=A3?= =?UTF-8?q?=E4=BB=BB=E5=8C=BB=E7=94=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 根因: - ** - 住院医生工作站-临床医嘱列表(`order/index.vue`)的表格列定义中,不存在"开嘱医生"列,无法追溯责任医生 - 但后端 API 数据已包含 `createdStaffName`(开嘱医生姓名)字段,仅前端未展示 修复: - ** - 在 `src/views/inpatientDoctor/home/components/order/index.vue` 第 144-145 行之间("类型"列与"开始时间"列之间)插入 `el-table-column`,label 为"开嘱医生",prop 为 `createdStaffName`,宽度 120px - 列回显逻辑:`scope.row.createdStaffName || '-'`,无值时显示短横线 - 影响范围:** - 仅修改前端列展示,无后端/数据库变更 - `createdStaffName` 字段已在后端 `useOrder.js` mock 数据和真实接口中存在 - 与"停嘱医生"列的 `stopUserName` 模式一致 --- .../views/inpatientDoctor/home/components/order/index.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/openhis-ui-vue3/src/views/inpatientDoctor/home/components/order/index.vue b/openhis-ui-vue3/src/views/inpatientDoctor/home/components/order/index.vue index b1602908c..925503c57 100755 --- a/openhis-ui-vue3/src/views/inpatientDoctor/home/components/order/index.vue +++ b/openhis-ui-vue3/src/views/inpatientDoctor/home/components/order/index.vue @@ -142,6 +142,11 @@ + + +