From e54cd52d2621189e9a192e2fe47ecc241cfc69fd Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期六, 12 十月 2024 11:42:18 +0800 Subject: [PATCH] 装机界面 step 1 --- src/api/ecg/doctor/index.ts | 25 +++++++++++++++++++++++-- 1 files changed, 23 insertions(+), 2 deletions(-) diff --git a/src/api/ecg/doctor/index.ts b/src/api/ecg/doctor/index.ts index 4143a4b..74f9894 100644 --- a/src/api/ecg/doctor/index.ts +++ b/src/api/ecg/doctor/index.ts @@ -2,6 +2,7 @@ export interface RoomBedVO { roomId: number | null // 璇婂缂栧彿 + roomName: string | null bedNo: string | null // 璇婄枟搴婄紪鍙� } @@ -47,9 +48,19 @@ return await request.get({ url: `/ecg/doctor/bed-doctor-get`, params }) }, - // 鐪嬪畬锛屽彇涓嬩竴浣嶆偅鑰� + // 甯歌鍙彿锛屽彇涓嬩竴浣嶆偅鑰� finishNextPatient: async (params: RoomBedVO) => { return await request.get({ url: `/ecg/doctor/finish-next-patient`, params }) + }, + + // 棰嗙敤鍙彿锛屽彇涓嬩竴浣嶆偅鑰� + finishReceiveNextPatient: async (params: RoomBedVO) => { + return await request.get({ url: `/ecg/doctor/finish-receive-next-patient`, params }) + }, + + // 瑁呮満鍙彿锛屽彇涓嬩竴浣嶆偅鑰� + finishInstallNextPatient: async (params: RoomBedVO) => { + return await request.get({ url: `/ecg/doctor/finish-install-next-patient`, params }) }, // 杩囧彿锛屽彇涓嬩竴浣嶆偅鑰� @@ -57,11 +68,21 @@ return await request.get({ url: `/ecg/doctor/pass-next-patient`, params }) }, - // 鍙栧垵濮嬫偅鑰呭垪琛� + // 閲嶅彨 + callAgainPatient: async (params: RoomBedVO) => { + return await request.get({ url: `/ecg/doctor/call-again`, params }) + }, + + // 鍙� 甯歌妫�鏌ャ�侀鐢� 鎮h�呭垪琛� getPatientList: async (params: RoomBedVO) => { return await request.get({ url: `/ecg/doctor/get-patient-list`, params }) }, + // 鍙� 宸查鐢� 鎮h�呭垪琛� + getReceivedPatientList: async (params: RoomBedVO) => { + return await request.get({ url: `/ecg/doctor/get-received-patient-list`, params }) + }, + // 鍙栨偅鑰呯粺璁� getPatientStatistic: async (params: RoomBedVO) => { return await request.get({ url: `/ecg/doctor/get-patient-statistic`, params }) -- Gitblit v1.9.3