From 3a8d7ebd8475106965081c1dde022ea3642e9d93 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Mon, 14 Apr 2025 17:56:28 +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