From c1b71142df9caa0c17ebf64c8f79b1d14bda41db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E7=90=A6?= Date: Sat, 18 Jul 2026 17:08:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:=201.=20=E4=BC=98=E5=8C=96=E4=BA=86?= =?UTF-8?q?=E5=AE=A1=E6=96=B9pc=E7=9A=84=E6=95=88=E6=9E=9C=202.=20?= =?UTF-8?q?=E5=B0=B1=E8=AF=8A=E4=BA=BA=E4=BF=A1=E6=81=AF=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PrescriptionSourceContent.vue | 276 +++++++++++ .../WxUserPatientDetailModal.vue | 451 ++++++++++++++++++ .../wx-user-patient/WxUserPatientDrawer.vue | 8 +- .../wx-user-patient/WxUserPatientsModal.vue | 147 ++++++ .../src/components/wx-user-patient/api.ts | 25 + .../src/components/wx-user-patient/index.ts | 2 + .../order/prescription/components/source.vue | 291 +---------- .../business/order/prescription/index.vue | 109 ++--- .../components/cells/OrderUserInfoCell.vue | 115 +++-- .../business/order/product-order/index.vue | 52 +- .../src/views/business/user-patient/index.vue | 177 +++++++ .../components/AuditPrescriptionCardList.vue | 52 +- .../audit-prescription/components/source.vue | 291 +---------- .../pharmacist/audit-prescription/index.vue | 84 +++- .../src/views/system/system-config/index.vue | 30 +- 15 files changed, 1415 insertions(+), 695 deletions(-) create mode 100644 apps/web-antd/src/components/prescription-source/PrescriptionSourceContent.vue create mode 100644 apps/web-antd/src/components/wx-user-patient/WxUserPatientDetailModal.vue create mode 100644 apps/web-antd/src/components/wx-user-patient/WxUserPatientsModal.vue create mode 100644 apps/web-antd/src/views/business/user-patient/index.vue diff --git a/apps/web-antd/src/components/prescription-source/PrescriptionSourceContent.vue b/apps/web-antd/src/components/prescription-source/PrescriptionSourceContent.vue new file mode 100644 index 00000000..d4aa1cfd --- /dev/null +++ b/apps/web-antd/src/components/prescription-source/PrescriptionSourceContent.vue @@ -0,0 +1,276 @@ + + + + + diff --git a/apps/web-antd/src/components/wx-user-patient/WxUserPatientDetailModal.vue b/apps/web-antd/src/components/wx-user-patient/WxUserPatientDetailModal.vue new file mode 100644 index 00000000..6ad91007 --- /dev/null +++ b/apps/web-antd/src/components/wx-user-patient/WxUserPatientDetailModal.vue @@ -0,0 +1,451 @@ + + + diff --git a/apps/web-antd/src/components/wx-user-patient/WxUserPatientDrawer.vue b/apps/web-antd/src/components/wx-user-patient/WxUserPatientDrawer.vue index dccfd521..8761104c 100644 --- a/apps/web-antd/src/components/wx-user-patient/WxUserPatientDrawer.vue +++ b/apps/web-antd/src/components/wx-user-patient/WxUserPatientDrawer.vue @@ -300,13 +300,15 @@ const orderColumns = [ /> - + - diff --git a/apps/web-antd/src/components/wx-user-patient/WxUserPatientsModal.vue b/apps/web-antd/src/components/wx-user-patient/WxUserPatientsModal.vue new file mode 100644 index 00000000..379ca016 --- /dev/null +++ b/apps/web-antd/src/components/wx-user-patient/WxUserPatientsModal.vue @@ -0,0 +1,147 @@ + + + diff --git a/apps/web-antd/src/components/wx-user-patient/api.ts b/apps/web-antd/src/components/wx-user-patient/api.ts index 229c3263..17bf5576 100644 --- a/apps/web-antd/src/components/wx-user-patient/api.ts +++ b/apps/web-antd/src/components/wx-user-patient/api.ts @@ -5,6 +5,31 @@ import { requestClient } from '#/api/request'; const prefix = 'user-patient-profile/'; +/** 用户管理列表(微信用户 + 就诊人,旧接口) */ +export async function getUserPatientProfileListApi(params?: { + page?: number; + pageSize?: number; + keyword?: string; +}) { + return requestClient.get(`${prefix}list`, { params }); +} + +/** 会员管理:微信用户分页 */ +export async function getWxUserListApi(params?: { + page?: number; + pageSize?: number; + keyword?: string; +}) { + return requestClient.get(`${prefix}user-list`, { params }); +} + +/** 某微信用户下的就诊人列表 */ +export async function getPatientListByUserApi(userId: number) { + return requestClient.get(`${prefix}patient-list-by-user`, { + params: { user_id: userId }, + }); +} + /** 小程序用户 + 就诊人基础信息 */ export async function getUserPatientProfileDetailApi(upId: number) { return requestClient.get(`${prefix}detail`, { diff --git a/apps/web-antd/src/components/wx-user-patient/index.ts b/apps/web-antd/src/components/wx-user-patient/index.ts index 184ca52f..21fef6dd 100644 --- a/apps/web-antd/src/components/wx-user-patient/index.ts +++ b/apps/web-antd/src/components/wx-user-patient/index.ts @@ -3,6 +3,8 @@ */ export { default as WxUserPatientCell } from './WxUserPatientCell.vue'; export { default as WxUserPatientDrawer } from './WxUserPatientDrawer.vue'; +export { default as WxUserPatientDetailModal } from './WxUserPatientDetailModal.vue'; +export { default as WxUserPatientsModal } from './WxUserPatientsModal.vue'; export { default as VisitTypeTag } from './VisitTypeTag.vue'; export { default as PrescriptionExpireTime } from './PrescriptionExpireTime.vue'; export * from './api'; diff --git a/apps/web-antd/src/views/business/order/prescription/components/source.vue b/apps/web-antd/src/views/business/order/prescription/components/source.vue index 179dd0e6..d316bb80 100644 --- a/apps/web-antd/src/views/business/order/prescription/components/source.vue +++ b/apps/web-antd/src/views/business/order/prescription/components/source.vue @@ -1,81 +1,18 @@