From bdbef0fbde20317d19bfc6d3473dabb10fb3fb3b Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Sat, 19 Apr 2025 15:41:21 +0800
Subject: [PATCH] feat: 修改任务事件概况的饼状图颜色
---
src/api/home/aggregation.js | 32 +++++++++++++++-----------------
1 files changed, 15 insertions(+), 17 deletions(-)
diff --git a/src/api/home/aggregation.js b/src/api/home/aggregation.js
index 293ea18..fd79d76 100644
--- a/src/api/home/aggregation.js
+++ b/src/api/home/aggregation.js
@@ -1,22 +1,20 @@
-import request from '@/axios';
+import request from '@/axios'
-// 机巢聚合
-export const getDeviceRegionCount = (params) => {
- return request({
- url: '/drone-device-core/manage/api/v1/devices/getDeviceRegionCount',
- method: 'get',
- params
- });
-};
+export const getDeviceRegionCount = params => {
+ return request({
+ url: '/drone-device-core/manage/api/v1/devices/getDeviceRegionCount',
+ method: 'get',
+ params,
+ })
+}
-// 机巢散点
-export const getDeviceRegion = (params) => {
- return request({
- url: '/drone-device-core/manage/api/v1/devices/getDeviceRegion',
- method: 'get',
- params
- });
-};
+export const getDeviceRegion = params => {
+ return request({
+ url: '/drone-device-core/manage/api/v1/devices/getDeviceRegion',
+ method: 'get',
+ params,
+ })
+}
// 事件聚合 和 事件散点
export const getMapEvents = (data) => {
--
Gitblit v1.9.3