From 936c01060eea0924b88ca5c35d221a972a6aba7d Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期一, 05 十月 2026 10:47:22 +0800
Subject: [PATCH] 检查单列表调整
---
src/api/ecg/doctor/index.ts | 37 ++++++++++++++++++++++++++++++++++++-
1 files changed, 36 insertions(+), 1 deletions(-)
diff --git a/src/api/ecg/doctor/index.ts b/src/api/ecg/doctor/index.ts
index c936d0f..2eec85e 100644
--- a/src/api/ecg/doctor/index.ts
+++ b/src/api/ecg/doctor/index.ts
@@ -19,7 +19,7 @@
roomId: number // 璇婂缂栧彿
bedNo: string // 璇婄枟搴婄紪鍙�
patId: string // 鎮h�呯紪鍙�
- checkType: number // 妫�鏌ョ被鍨�
+ checkType: number // 妫�鏌ラ」鐩�
jumpFlag?: number // 鎻掗槦鏍囪
roomId_operator: number | null
bedNo_operator: string | null
@@ -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