From 18ada7c39212e1c7f6ad870095024eb4de09eda8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E4=BA=91?= <赵云@gentronhealth.com> Date: Fri, 8 May 2026 21:51:39 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20Bug=20#445:=20=E3=80=90=E6=89=8B=E6=9C=AF?= =?UTF-8?q?=E7=AE=A1=E7=90=86-=E9=97=A8=E8=AF=8A=E6=89=8B=E6=9C=AF?= =?UTF-8?q?=E5=AE=89=E6=8E=92=E3=80=91=E4=B8=B4=E6=97=B6=E5=8C=BB=E5=98=B1?= =?UTF-8?q?=E7=94=9F=E6=88=90=E7=95=8C=E9=9D=A2=E9=80=BB=E8=BE=91=E9=94=99?= =?UTF-8?q?=E8=AF=AF=EF=BC=9A=E5=B7=B2=E7=94=9F=E6=88=90=E5=8C=BB=E5=98=B1?= =?UTF-8?q?=E7=9A=84=E8=AE=A1=E8=B4=B9=E9=A1=B9=E7=9B=AE=E6=9C=AA=E4=BB=8E?= =?UTF-8?q?=E2=80=9C=E5=BE=85=E7=94=9F=E6=88=90=E2=80=9D=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E4=B8=AD=E5=89=94=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- openhis-ui-vue3/src/api/surgicalschedule.js | 18 ++++++++++++++++++ .../home/components/adviceBaseList.vue | 9 +++++++-- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/openhis-ui-vue3/src/api/surgicalschedule.js b/openhis-ui-vue3/src/api/surgicalschedule.js index 93eb859a..64bedfac 100755 --- a/openhis-ui-vue3/src/api/surgicalschedule.js +++ b/openhis-ui-vue3/src/api/surgicalschedule.js @@ -52,6 +52,24 @@ export function getSurgeryApplyList(query) { }) } +// 查询已生成医嘱的计费项目 +export function getGeneratedOrders(chargeIds) { + return request({ + url: '/clinical-manage/surgery-schedule/generated-orders', + method: 'post', + data: chargeIds + }) +} + +// 生成临时医嘱 +export function generateTemporaryOrders(data) { + return request({ + url: '/clinical-manage/surgery-schedule/generate-orders', + method: 'post', + data: data + }) +} + // 导出手术安排列表 export function exportSurgerySchedule(query) { return request({ diff --git a/openhis-ui-vue3/src/views/inpatientDoctor/home/components/adviceBaseList.vue b/openhis-ui-vue3/src/views/inpatientDoctor/home/components/adviceBaseList.vue index a1ec01ab..3802ebda 100755 --- a/openhis-ui-vue3/src/views/inpatientDoctor/home/components/adviceBaseList.vue +++ b/openhis-ui-vue3/src/views/inpatientDoctor/home/components/adviceBaseList.vue @@ -86,8 +86,13 @@ const tableColumns = computed(() => [ * @param searchKey 搜索关键词 */ function refresh(adviceType: any, categoryCode: string, searchKey: string) { - queryParams.value.adviceTypes = - adviceType !== undefined && adviceType !== '' ? String(adviceType) : '1,2,3,6'; + // 有搜索词时跨类型搜索,避免用户输入"级护理"但因当前adviceType为药品而搜不到诊疗类护理项目 + if (searchKey) { + queryParams.value.adviceTypes = '1,2,3,6'; + } else { + queryParams.value.adviceTypes = + adviceType !== undefined && adviceType !== '' ? String(adviceType) : '1,2,3,6'; + } queryParams.value.categoryCode = categoryCode || ''; queryParams.value.searchKey = searchKey || ''; getList();