From bdb7d978fb5b6dae2e9694cc2a9aa1a92296bc4c Mon Sep 17 00:00:00 2001 From: wangjian963 <15215920+aprilry@user.noreply.gitee.com> Date: Wed, 17 Jun 2026 11:06:45 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui):=20=E4=BF=AE=E5=A4=8D=E4=BD=8F=E9=99=A2?= =?UTF-8?q?=E5=8C=BB=E7=94=9F=E7=AB=99=E4=B8=8E=E6=8A=A4=E5=A3=AB=E7=AB=99?= =?UTF-8?q?=E4=B8=B4=E5=BA=8A=E5=8C=BB=E5=98=B1=E8=8B=A5=E5=B9=B2=E7=A8=B3?= =?UTF-8?q?=E5=AE=9A=E6=80=A7=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 医生站: - 修复类型切换后编辑表单残留、blur/click竞态致选中无效、批量保存缺patientId - 修复filterPrescriptionList.find过滤下展开失败、popover溢出、表格塌陷 - 提取resolveCategoryCode/getAdviceTableRef消除重复, 优化adviceTableRef类型 - 修复adviceBaseList keyField、选中残留、TS类型声明 护士站: - 校对: 新增已执行状态判定+退回拦截, 修复状态标签颜色不一致 - 执行: 修复长期医嘱dayTimes为空被静默丢弃 - 双模块: 新增keep-alive重激活刷新+患者列表自动加载 配置: - eslint.config.js 新增 @typescript-eslint/parser 支持Vue TS解析 --- healthlink-his-ui/eslint.config.js | 6 +- healthlink-his-ui/package.json | 1 + .../home/components/adviceBaseList.vue | 28 ++- .../home/components/order/index.vue | 169 +++++++++++------- .../components/prescriptionList.vue | 11 ++ .../medicalOrderExecution/index.vue | 28 ++- .../components/prescriptionList.vue | 24 ++- .../medicalOrderProofread/index.vue | 25 +++ 8 files changed, 211 insertions(+), 81 deletions(-) diff --git a/healthlink-his-ui/eslint.config.js b/healthlink-his-ui/eslint.config.js index 1361781dd..760c086f4 100755 --- a/healthlink-his-ui/eslint.config.js +++ b/healthlink-his-ui/eslint.config.js @@ -4,6 +4,7 @@ import { fileURLToPath } from "node:url"; import globals from "globals"; import pluginVue from "eslint-plugin-vue"; import parserVue from "vue-eslint-parser"; +import parserTs from "@typescript-eslint/parser"; import importPlugin, { createNodeResolver } from "eslint-plugin-import-x"; const __dirname = path.dirname(fileURLToPath(import.meta.url)); @@ -20,7 +21,7 @@ export default [ }, ...pluginVue.configs["flat/recommended"], - + { languageOptions: { globals: { @@ -30,6 +31,9 @@ export default [ parser: parserVue, ecmaVersion: "latest", sourceType: "module", + parserOptions: { + parser: parserTs, + }, }, plugins: { diff --git a/healthlink-his-ui/package.json b/healthlink-his-ui/package.json index 555adb5a4..9917217c1 100755 --- a/healthlink-his-ui/package.json +++ b/healthlink-his-ui/package.json @@ -72,6 +72,7 @@ "devDependencies": { "@playwright/test": "^1.60.0", "@types/node": "^25.0.1", + "@typescript-eslint/parser": "^8.61.1", "@vitejs/plugin-vue": "^5.2.4", "@vue/test-utils": "^2.4.6", "eslint": "^10.4.1", diff --git a/healthlink-his-ui/src/views/inpatientDoctor/home/components/adviceBaseList.vue b/healthlink-his-ui/src/views/inpatientDoctor/home/components/adviceBaseList.vue index f9a84666f..700cdd2ca 100755 --- a/healthlink-his-ui/src/views/inpatientDoctor/home/components/adviceBaseList.vue +++ b/healthlink-his-ui/src/views/inpatientDoctor/home/components/adviceBaseList.vue @@ -8,7 +8,7 @@ :table-height="400" :max-height="400" :loading="loading" - :row-config="{ keyField: 'patientId' }" + :row-config="{ keyField: 'adviceDefinitionId' }" @cell-click="handleRowClick" >