From 803e4d0bb547f72edf801fa6c2071f0fc270d0c5 Mon Sep 17 00:00:00 2001 From: chenqi Date: Mon, 19 Jan 2026 22:36:04 +0800 Subject: [PATCH] =?UTF-8?q?refactor(inhospitalnursestation):=20=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E5=85=A5=E9=99=A2=E6=8A=A4=E5=A3=AB=E7=AB=99=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E7=9A=84=E6=95=B0=E6=8D=AE=E5=BA=93=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E6=80=A7=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将CTE查询重构为子查询以提高执行效率 - 为位置和医生查询添加LIMIT 1约束以减少数据量 - 移除不必要的GROUP BY子句以简化查询逻辑 - 在前端组件中实现异步数据加载和错误处理机制 - 使用可选链操作符处理空值情况避免报错 - 添加防抖机制解决单击双击冲突问题 - 优化患者列表和床位列表的并行加载逻辑 - 清理调试用的console.log语句并替换为有意义的信息 --- md/test.html | 10 -- .../ATDManageAppMapper.xml | 168 +++++++++--------- .../src/template/HospitalRecordForm.vue | 2 +- .../src/views/basicmanage/ward/index.vue | 2 +- .../home/components/patientListDialog.vue | 4 +- .../components/newfeeDetailQuery.vue | 2 +- .../inOut/components/bedAllocation.vue | 143 ++++++++++----- .../inOut/components/transferInDialog.vue | 2 +- .../inOut/components/transferOut.vue | 45 +++-- .../src/views/inpatientNurse/inOut/index.vue | 19 +- .../nursingstatistics/operationrecord.vue | 2 +- .../views/inpatientNurse/tprChart/index.vue | 2 +- .../medicationDetails.vue | 2 +- .../patientmanagement/index.vue | 2 +- 14 files changed, 234 insertions(+), 171 deletions(-) delete mode 100644 md/test.html diff --git a/md/test.html b/md/test.html deleted file mode 100644 index c7218294..00000000 --- a/md/test.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - 测试合并11111 - - - - - \ No newline at end of file diff --git a/openhis-server-new/openhis-application/src/main/resources/mapper/inhospitalnursestation/ATDManageAppMapper.xml b/openhis-server-new/openhis-application/src/main/resources/mapper/inhospitalnursestation/ATDManageAppMapper.xml index d14e1454..274ba3c1 100644 --- a/openhis-server-new/openhis-application/src/main/resources/mapper/inhospitalnursestation/ATDManageAppMapper.xml +++ b/openhis-server-new/openhis-application/src/main/resources/mapper/inhospitalnursestation/ATDManageAppMapper.xml @@ -224,27 +224,6 @@