From a10b7cf22ded46329e965e5ffea4c840dfa9abfa Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Tue, 01 Apr 2025 13:31:30 +0800
Subject: [PATCH] 增加巡检列为列表
---
src/api/home/index.js | 35 +++++++++++++++++++++++++++++++++++
1 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/src/api/home/index.js b/src/api/home/index.js
index 5e14779..ca53b90 100644
--- a/src/api/home/index.js
+++ b/src/api/home/index.js
@@ -62,3 +62,38 @@
method: 'get',
});
};
+
+// 历史巡检任务列表
+export const getBeforeJob = (data) => {
+ return request({
+ url: 'drone-device-core/wayline/waylineJobInfo/beforeJob',
+ method: 'post',
+ data
+ });
+};
+// 当前巡检任务列表
+export const getTodayJob = (data) => {
+ return request({
+ url: 'drone-device-core/wayline/waylineJobInfo/todayJob',
+ method: 'post',
+ data
+ });
+};
+
+// 巡检任务详情 柱状图
+export const jobNumBar = (data) => {
+ return request({
+ url: 'drone-device-core/wayline/waylineJobInfo/jobNumBar',
+ method: 'post',
+ data
+ });
+};
+// 巡检任务详情 饼图
+export const industryJobNumPieChart = (data) => {
+ return request({
+ url: '/drone-device-core/wayline/waylineJobInfo/industryJobNumPieChart',
+ method: 'post',
+ data
+ });
+};
+
--
Gitblit v1.9.3