From b0ccd2d131b2e3df5d901385e38ed0077b8d0fbc Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Mon, 14 Apr 2025 12:31:31 +0800
Subject: [PATCH] feat:修改任务管理内容

---
 src/api/home/common.js |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/api/home/common.js b/src/api/home/common.js
index 367f845..0ebc986 100644
--- a/src/api/home/common.js
+++ b/src/api/home/common.js
@@ -1,19 +1,11 @@
 import request from '@/axios'
 
-// 字典查询 行业 算法 工单类型
-export const getDictionary = params => {
-	return request({
-		url: `/blade-system/dict-biz/listByCodes?code=${params}`,
-		method: 'get',
-	})
-}
-
 // 区域
 export const deptsByAreaCode = params => {
 	return request({
-		url: `/blade-system/dept/deptsByAreaCode`,
+		url: `/blade-system/dept/deptsByAreaCode?areaCode=${params}`,
 		method: 'get',
-		params,
+		params: {},
 	})
 }
 
@@ -25,3 +17,11 @@
 		params,
 	})
 }
+// 获取天气建议
+export const getDroneSuggest = params => {
+	return request({
+		url: `/drone-device-core/dp/home/getDroneSuggest`,
+		method: 'get',
+		params,
+	})
+}

--
Gitblit v1.9.3