From 6e0afaa5762765fad3e47b52f05df5553818b5ea Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Wed, 02 Apr 2025 18:11:18 +0800
Subject: [PATCH] Merge branch 'master' of http://139.196.74.78:10010/r/drone/command-center-dashboard

---
 src/api/home/index.js |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/src/api/home/index.js b/src/api/home/index.js
index 9d37dd9..b5af252 100644
--- a/src/api/home/index.js
+++ b/src/api/home/index.js
@@ -1,10 +1,11 @@
 import request from '@/axios';
 
 // 巡检总任务数量
-export const getTotalJobNum = () => {
+export const getTotalJobNum = (params) => {
   return request({
     url: '/drone-device-core/wayline/waylineJobInfo/totalJobNum',
     method: 'get',
+    params
   });
 };
 
@@ -98,3 +99,12 @@
   });
 };
 
+// 获取区域
+export const getRegion = (code) => {
+  return request({
+    url: '/blade-system/region/select',
+    method: 'get',
+    params:{code}
+  });
+};
+

--
Gitblit v1.9.3