From 6ab4b1e0b68e4c347110e37018fa005603f53904 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期二, 29 九月 2026 23:49:04 +0800
Subject: [PATCH] ai优化
---
src/api/ecg/doctor/index.ts | 35 +++++++++++++++++++++++++++++++++++
1 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/src/api/ecg/doctor/index.ts b/src/api/ecg/doctor/index.ts
index c936d0f..b6c70a7 100644
--- a/src/api/ecg/doctor/index.ts
+++ b/src/api/ecg/doctor/index.ts
@@ -145,6 +145,41 @@
patientJump: async (params: PatientVO) => {
return await request.get({ url: `/ecg/doctor/patient-jump`, params })
},
+
+ // ==================== 闇�姹�2锛氭挙閿�銆屽彨鍙� / 妫�鏌ュ畬鎴愩�� ====================
+
+ // 鎾ら攢妫�鏌ュ畬鎴愶細宸插氨璇�(40) 鈫� 鍊欒瘖涓�(20)銆傚繀椤诲甫 patId + checkType 绮剧‘瀹氫綅
+ undoFinishPatient: async (params: PatientVO) => {
+ return await request.get({ url: `/ecg/doctor/undo-finish-patient`, params })
+ },
+
+ // 鎾ら攢鍙彿锛氬氨璇婁腑(30) 鈫� 鍊欒瘖涓�(20)
+ undoCallPatient: async (params: { roomId: number | null; bedNo: string | null }) => {
+ return await request.get({ url: `/ecg/doctor/undo-call-patient`, params })
+ },
+
+ // 鍙栨湰宸ヤ綅浠婃棩鏈�杩戜竴浣嶅凡瀹屾垚鎮h�咃紙渚涙挙閿�鎻愮ず锛�
+ lastFinishedPatient: async (params: { roomId: number | null; bedNo: string | null }) => {
+ return await request.get({ url: `/ecg/doctor/last-finished-patient`, params })
+ },
+
+ // ==================== 闇�姹�3锛氬仠姝㈠�欒瘖寮�鍏� ====================
+
+ // 鍋滄鍊欒瘖锛氫笉鍐嶆柊澧炲�欒瘖鎮h�咃紙宸叉湁鍊欒瘖浠嶅彲鍙彿锛�
+ stopReady: async (params: { roomId: number | null; bedNo: string | null }) => {
+ return await request.get({ url: `/ecg/doctor/stop-ready`, params })
+ },
+
+ // 鎭㈠鍊欒瘖锛氶噸鏂板紑濮嬫帴鏀跺�欒瘖鎮h��
+ resumeReady: async (params: { roomId: number | null; bedNo: string | null }) => {
+ return await request.get({ url: `/ecg/doctor/resume-ready`, params })
+ },
+
+ // 鏌ヨ鍋滄鍊欒瘖鐘舵��
+ getStopReady: async (params: { roomId: number | null; bedNo: string | null }) => {
+ return await request.get({ url: `/ecg/doctor/get-stop-ready`, params })
+ },
+
// 涓嬭浇
yddownload: async (id: number | string) => {
return await request.get({ url: `/ecg/template/download/${id}` })
--
Gitblit v1.9.3