From 888bc41f22b18b6ab05f248266a2c36d046ff717 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Tue, 01 Apr 2025 13:37:45 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
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 889838d..7d5b8fd 100644
--- a/src/api/home/index.js
+++ b/src/api/home/index.js
@@ -63,3 +63,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