From ebee36ca9a39b59d98da3613804791faa8dd2da6 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期六, 22 十一月 2025 16:20:52 +0800
Subject: [PATCH] 打印完善
---
src/api/ecg/doctor/index.ts | 32 +++++++++++++++++++++++---------
1 files changed, 23 insertions(+), 9 deletions(-)
diff --git a/src/api/ecg/doctor/index.ts b/src/api/ecg/doctor/index.ts
index fd515d5..c936d0f 100644
--- a/src/api/ecg/doctor/index.ts
+++ b/src/api/ecg/doctor/index.ts
@@ -1,5 +1,12 @@
import request from '@/config/axios'
+export interface RoomProfileVO {
+ roomId: number | null // 璇婂缂栧彿
+ roomName: string | null
+ bedNum: number | null // 璇婄枟搴婃暟閲�
+ callingScreenType: number | null // 鍙彿灞忕被鍨�
+}
+
export interface RoomBedVO {
roomId: number | null // 璇婂缂栧彿
roomName: string | null
@@ -13,17 +20,17 @@
bedNo: string // 璇婄枟搴婄紪鍙�
patId: string // 鎮h�呯紪鍙�
checkType: number // 妫�鏌ョ被鍨�
- jumpFlag: number // 鎻掗槦鏍囪
- roomId_operator: number
- bedNo_operator: string
+ jumpFlag?: number // 鎻掗槦鏍囪
+ roomId_operator: number | null
+ bedNo_operator: string | null
}
export interface PatientStatisticVO {
- finishedNum: number
- readyNum: number
- receivedNum: number
- passedNum: number
- queuingNum: number
+ finishedNum?: number
+ readyNum?: number
+ receivedNum?: number
+ passedNum?: number
+ queuingNum?: number
}
// 鍖荤敓 API
@@ -137,6 +144,13 @@
// 鍔犳�ユ偅鑰�
patientJump: async (params: PatientVO) => {
return await request.get({ url: `/ecg/doctor/patient-jump`, params })
- }
+ },
+ // 涓嬭浇
+ yddownload: async (id: number | string) => {
+ return await request.get({ url: `/ecg/template/download/${id}` })
+},
+ sgdownload: async (id: number | string) => {
+ return await request.get({ url: `/ecg/template/downloadesophagus/${id}` })
+}
}
--
Gitblit v1.9.3