From 8cfa6fe05e0c1594777d064abd8d82a706904096 Mon Sep 17 00:00:00 2001 From: wangjian963 <15215920+aprilry@user.noreply.gitee.com> Date: Tue, 16 Jun 2026 11:52:11 +0800 Subject: [PATCH] =?UTF-8?q?=20=20fix(=E9=97=A8=E8=AF=8A=E5=8C=BB=E7=94=9F?= =?UTF-8?q?=E7=AB=99-=E5=8C=BB=E5=98=B1=E5=88=97=E8=A1=A8):=20vxe-table=20?= =?UTF-8?q?v4=E9=80=82=E9=85=8D=E5=8F=8A=E7=BC=96=E8=BE=91=E5=8C=BAUI?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - @select → @checkbox-change,适配新事件签名 - 新增 collapseAllExpanded() 使用 setRowExpand/clearRowExpand 兼容 v4 expand - setNewRow/setValue 保持行引用不变,原地更新数据 - 所有医嘱类型编辑模板新增"取消"按钮 - 内联布局样式抽取为 .edit-form-row 类,四种医嘱类型布局统一 - 列宽、间距、备注框宽度等样式微调 - requiredProps 空安全检查、handleBlur 修复、ref 名称修复 --- .../components/prescription/orderBindInfo.vue | 2 +- .../prescription/prescriptionlist.vue | 433 ++++++++++-------- .../prescription/refundListDialog.vue | 5 +- .../components/prescription/skinTestInfo.vue | 4 +- 4 files changed, 243 insertions(+), 201 deletions(-) diff --git a/healthlink-his-ui/src/views/doctorstation/components/prescription/orderBindInfo.vue b/healthlink-his-ui/src/views/doctorstation/components/prescription/orderBindInfo.vue index 04bae00c5..f0e1cb1c5 100755 --- a/healthlink-his-ui/src/views/doctorstation/components/prescription/orderBindInfo.vue +++ b/healthlink-his-ui/src/views/doctorstation/components/prescription/orderBindInfo.vue @@ -184,7 +184,7 @@ const handleDeleteRow = (row) => { // 提交处理 const handleSubmit = () => { - const selectedRows = consumableTableRef.value.getSelectionRows(); + const selectedRows = consumableTableRef.value.getCheckboxRecords(); // 保存到本地存储 localStorage.setItem('doctor' + userStore.id.toString(), dontShowAgain.value); if (selectedRows.length === 0) { diff --git a/healthlink-his-ui/src/views/doctorstation/components/prescription/prescriptionlist.vue b/healthlink-his-ui/src/views/doctorstation/components/prescription/prescriptionlist.vue index 82b86cdd3..4bd66e3c7 100755 --- a/healthlink-his-ui/src/views/doctorstation/components/prescription/prescriptionlist.vue +++ b/healthlink-his-ui/src/views/doctorstation/components/prescription/prescriptionlist.vue @@ -314,7 +314,7 @@ border @cell-click="clickRow" @cell-dblclick="clickRowDb" - @select="handleSelectionChange" + @checkbox-change="handleSelectionChange" > @@ -1161,19 +1133,21 @@ title="单次剂量" align="center" field="" - width="120" + width="160" >