From b1cb442f56ee40c4fe0cc51455cc61d26732b35d Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期二, 20 八月 2024 15:33:27 +0800
Subject: [PATCH] 看完一个患者功能
---
src/views/ecg/doctor/index.vue | 3 ++-
src/api/ecg/doctor/index.ts | 5 +++++
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/src/api/ecg/doctor/index.ts b/src/api/ecg/doctor/index.ts
index a3129f0..f6f9089 100644
--- a/src/api/ecg/doctor/index.ts
+++ b/src/api/ecg/doctor/index.ts
@@ -11,6 +11,11 @@
// 涓嬩竴浣嶆偅鑰�
nextPatient: async (params: RoomBedVO) => {
return await request.get({ url: `/ecg/doctor/nextpatient`, params })
+ },
+
+ // 鐪嬪畬鎮h��
+ finishPatient: async (params: RoomBedVO) => {
+ return await request.get({ url: `/ecg/doctor/finishpatient`, params })
}
}
diff --git a/src/views/ecg/doctor/index.vue b/src/views/ecg/doctor/index.vue
index d2fe88a..3189eb1 100644
--- a/src/views/ecg/doctor/index.vue
+++ b/src/views/ecg/doctor/index.vue
@@ -20,7 +20,8 @@
}
const finishPatient = async () => {
-
+ const data = await DoctorApi.finishPatient(roomBedVO)
+ list.value = data
}
/** 鍒濆鍖� **/
--
Gitblit v1.9.3