From 0c24112327778616cd4e5ce2d98a6a4f9afa9782 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Mon, 07 Apr 2025 15:34:03 +0800
Subject: [PATCH] feat: 历史任务里面地图

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

diff --git a/src/api/home/common.js b/src/api/home/common.js
index 367f845..73d5b78 100644
--- a/src/api/home/common.js
+++ b/src/api/home/common.js
@@ -3,7 +3,7 @@
 // 字典查询 行业 算法 工单类型
 export const getDictionary = params => {
 	return request({
-		url: `/blade-system/dict-biz/listByCodes?code=${params}`,
+		url: `/blade-system/dict-biz/listByCodes?codes=${params}`,
 		method: 'get',
 	})
 }
@@ -11,9 +11,9 @@
 // 区域
 export const deptsByAreaCode = params => {
 	return request({
-		url: `/blade-system/dept/deptsByAreaCode`,
+		url: `/blade-system/dept/deptsByAreaCode?areaCode=${params}`,
 		method: 'get',
-		params,
+		params: {},
 	})
 }
 

--
Gitblit v1.9.3