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 @@