From 920e530b68c0f4dba434281ce94c9814e9937db3 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期二, 22 七月 2025 16:36:18 +0800 Subject: [PATCH] 11 --- src/api/ecg/appointment/index.ts | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/api/ecg/appointment/index.ts b/src/api/ecg/appointment/index.ts index fbb1e29..51975ee 100644 --- a/src/api/ecg/appointment/index.ts +++ b/src/api/ecg/appointment/index.ts @@ -4,8 +4,9 @@ export interface AppointmentVO { id: number, applyNo: string // 棰勭害鐢宠缂栧彿 - episodeId: number //灏辫瘖娴佹按鍙� + episodeId: string //灏辫瘖娴佹按鍙� patSrc: number + tolerance:number// 鏄惁鑰愯嵂 patId: string // 鎮h�呯紪鍙� patName: string // 鎮h�呭鍚� patGender: number // 鎮h�呮�у埆 @@ -30,8 +31,8 @@ // 棰勭害 API export const AppointmentApi = { // 鏌ヨ棰勭害鍒嗛〉 - getAppointmentPage: async (params: any) => { - return await request.get({ url: `/ecg/appointment/page`, params }) + getAppointmentPage: async (data: any) => { + return await request.post({ url: `/ecg/appointment/page`, data }) }, // 鏌ヨ棰勭害璇︽儏 @@ -58,6 +59,10 @@ createAppointment: async (data: AppointmentVO) => { return await request.post({ url: `/ecg/appointment/create`, data }) }, + // 鐘舵�佹洿鏂� + alterAppointment: async (data: AppointmentVO) => { + return await request.post({ url: `/ecg/appointment/updateStatus`, data }) + }, // 淇敼棰勭害 updateAppointment: async (data: AppointmentVO) => { -- Gitblit v1.9.3