From 2b3277dffa7afccba13ab281bf0a3e8c0b9cbc3f Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Thu, 10 Apr 2025 15:18:11 +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