From 8ce35ee72e52f51f93e61d2dec6084c3cfd397b6 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期三, 18 十二月 2024 15:31:36 +0800 Subject: [PATCH] 设备查询完善 --- src/api/ecg/doctor/index.ts | 46 ++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 38 insertions(+), 8 deletions(-) diff --git a/src/api/ecg/doctor/index.ts b/src/api/ecg/doctor/index.ts index 040377d..fd515d5 100644 --- a/src/api/ecg/doctor/index.ts +++ b/src/api/ecg/doctor/index.ts @@ -4,13 +4,18 @@ roomId: number | null // 璇婂缂栧彿 roomName: string | null bedNo: string | null // 璇婄枟搴婄紪鍙� + checkTypes: number[] | null + opType: number | null } export interface PatientVO { roomId: number // 璇婂缂栧彿 bedNo: string // 璇婄枟搴婄紪鍙� patId: string // 鎮h�呯紪鍙� + checkType: number // 妫�鏌ョ被鍨� jumpFlag: number // 鎻掗槦鏍囪 + roomId_operator: number + bedNo_operator: string } export interface PatientStatisticVO { @@ -69,19 +74,29 @@ return await request.get({ url: `/ecg/doctor/pass-next-patient`, params }) }, + // 瑁呮満杩囧彿锛屽彇涓嬩竴浣嶆偅鑰� + passInstallNextPatient: async (params: RoomBedVO) => { + return await request.get({ url: `/ecg/doctor/pass-install-next-patient`, params }) + }, + // 閲嶅彨 - callAgainPatient: async (params: RoomBedVO) => { + callPatientAgain: 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 }) + // 閲嶅彨 瀹夎 + callInstallingPatientAgain: async (params: RoomBedVO) => { + return await request.get({ url: `/ecg/doctor/call-install-again`, params }) }, - // 鍙� 宸查鐢� 鎮h�呭垪琛� - getReceivedPatientList: async (params: RoomBedVO) => { - return await request.get({ url: `/ecg/doctor/get-received-patient-list`, params }) + // 鍙� 甯歌妫�鏌ャ�侀鐢� 鎮h�呭垪琛� + getToBeCheckedPatientList: async (params: RoomBedVO) => { + return await request.get({ url: `/ecg/doctor/get-to-be-checked-list`, params }) + }, + + // 鍙� [寰呰鏈篯 鎮h�呭垪琛� + getToBeInstalledPatientList: async (params: RoomBedVO) => { + return await request.get({ url: `/ecg/doctor/get-to-be-installed-list`, params }) }, // 鍙栨偅鑰呯粺璁� @@ -99,12 +114,27 @@ return await request.get({ url: `/ecg/doctor/get-dev-install-statistic`, params }) }, + // 杩囧彿 [鎺掗槦涓璢 鎮h�� + passWaitingPatient: async (params: PatientVO) => { + return await request.get({ url: `/ecg/doctor/pass-waiting-patient`, params }) + }, + + // 鍙洖 [杩囧彿-鎺掗槦涓璢 鎮h�� + recallPassWaitingPatient: async (params: PatientVO) => { + return await request.get({ url: `/ecg/doctor/recall-pass-waiting-patient`, params }) + }, + // 鍙洖杩囧彿鎮h�� recallPatient: async (params: PatientVO) => { return await request.get({ url: `/ecg/doctor/recall-patient`, params }) }, - // 鍙洖杩囧彿鎮h�� + // 鍙洖 瀹夎杩囧彿 鎮h�� + recallInstallPatient: async (params: PatientVO) => { + return await request.get({ url: `/ecg/doctor/recall-install-patient`, params }) + }, + + // 鍔犳�ユ偅鑰� patientJump: async (params: PatientVO) => { return await request.get({ url: `/ecg/doctor/patient-jump`, params }) } -- Gitblit v1.9.3