fix(prescription): 解决处方列表中手术类型和其他医嘱类型的问题

- 更新 lodash.template 修复脚本以处理 assignWith 函数的自定义器参数
- 在多个处方组件中引入 drord_doctor_type 字典用于动态生成医嘱类型列表
- 修复手术类型(adviceType=6)的特殊处理逻辑,包括类型映射和字段过滤
- 调整后端医嘱保存服务中的类型分类逻辑,正确处理手术类型
- 更新数据库查询映射以支持手术类型的正确显示和数据传输
- 修复费用对话框和订单表单中的相关类型显示问题
This commit is contained in:
2026-04-01 18:24:24 +08:00
parent 6694ae52ba
commit ac1cd3afc8
16 changed files with 306 additions and 186 deletions

View File

@@ -9,7 +9,10 @@
"predev": "node utils/check.js dev && vdoing",
"prebuild": "node utils/check.js build && vdoing",
"updateTheme": "yarn remove vuepress-theme-vdoing && rm -rf node_modules && yarn && yarn add vuepress-theme-vdoing -D",
"editFm": "node utils/editFrontmatter.js"
"editFm": "node utils/editFrontmatter.js",
"fix-lodash": "node fix-lodash-manual.js",
"build:fixed": "npm run fix-lodash && npm run build",
"build:win:fixed": "npm run fix-lodash && npm run build:win"
},
"license": "MIT",
"engines": {
@@ -23,6 +26,7 @@
"inquirer": "^7.1.0",
"json2yaml": "^1.1.0",
"lodash": "^4.17.21",
"lodash.assignwith": "^4.2.0",
"vuepress": "1.9.9",
"vuepress-plugin-baidu-tongji": "^1.0.1",
"vuepress-plugin-demo-block": "^0.7.2",
@@ -33,5 +37,13 @@
"vuepress-theme-vdoing": "^1.12.9",
"yamljs": "^0.3.0"
},
"dependencies": {}
"dependencies": {},
"resolutions": {
"lodash": "^4.17.21",
"lodash.template": "^4.5.0"
},
"overrides": {
"lodash": "^4.17.21",
"lodash.template": "^4.5.0"
}
}