From 999afe35bdb3a456400c715ee13f9eef1e2aa2a0 Mon Sep 17 00:00:00 2001
From: rain <1679827795@qq.com>
Date: Mon, 14 Apr 2025 09:52:34 +0800
Subject: [PATCH] 工单系统页面优化
---
src/api/tickets/ticket.js | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/src/api/tickets/ticket.js b/src/api/tickets/ticket.js
index 2ed3753..5661674 100644
--- a/src/api/tickets/ticket.js
+++ b/src/api/tickets/ticket.js
@@ -71,3 +71,19 @@
},
});
};
+
+// 新增接口:获取状态统计数据
+export const getstatusCount = () => {
+ return request({
+ url: '/drone-device-core/jobEvent/getstatusCount',
+ method: 'get',
+ });
+};
+
+export const getStepInfo = (eventNum) => {
+ return request({
+ url: '/drone-device-core/jobEvent/getStepInfo',
+ method: 'get',
+ params: { eventNum }
+ });
+};
--
Gitblit v1.9.3