From e89834c34e8f987cd59a167aa8c8369a731ef44c Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期五, 11 四月 2025 12:19:27 +0800
Subject: [PATCH] 根据检查类型 , 自动确费

---
 src/api/ecg/devmanage/index.ts |   23 ++++++++++++++++++++++-
 1 files changed, 22 insertions(+), 1 deletions(-)

diff --git a/src/api/ecg/devmanage/index.ts b/src/api/ecg/devmanage/index.ts
index 61c36dd..ed7380d 100644
--- a/src/api/ecg/devmanage/index.ts
+++ b/src/api/ecg/devmanage/index.ts
@@ -10,12 +10,28 @@
 // 璁惧 VO
 export interface DeviceVO {
   id: number // id
+  devCodeIntrinsic: string
+  devCodeHosp: string
+  devCodeDept: string
   devId: string // 璁惧缂栧彿
   category: string // 鍒嗙被鍚�
   brand: string // 鍝佺墝
   model: string // 鍨嬪彿
   purchaseDate: number // 閲囪喘鏃ユ湡
-  lost: number //閬楀け鏍囪
+  state: number //鐘舵��
+  comment: string // 澶囨敞
+}
+
+// 璁惧缁熻 VO
+export interface DeviceStatisticVO {
+  id: number  // id
+  devId: string  // 璁惧缂栧彿
+  category: string  // 鍒嗙被鍚�
+  brand: string  // 鍝佺墝
+  model: string  // 鍨嬪彿
+  purchaseDate: number // 閲囪喘鏃ユ湡
+  state: number // 鐘舵��
+  devCount: number // 缁熻鏁伴噺
 }
 
 export interface OptionsVO {
@@ -72,6 +88,11 @@
     return await request.get({ url: `/ecg/device/page`, params })
   },
 
+  // 璁惧缁熻
+  deviceStatistic: async (params: any) => {
+    return await request.get({ url: `/ecg/device/dev-statistic`, params })
+  },
+
   // 鏌ヨ璁惧璇︽儏
   getDevice: async (id: number) => {
     return await request.get({ url: `/ecg/device/get?id=` + id })

--
Gitblit v1.9.3