From 5a87c11f1d3d08fb0254e3592234198934bd0a6c Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期一, 30 九月 2024 02:58:27 +0800
Subject: [PATCH] 数据中心点位在线调整
---
src/api/platform/unit.js | 21 +++++++++++++++++++--
1 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/src/api/platform/unit.js b/src/api/platform/unit.js
index 6baf955..8b64005 100644
--- a/src/api/platform/unit.js
+++ b/src/api/platform/unit.js
@@ -4,8 +4,8 @@
export function listUnit(query) {
return request({
url: '/yw-unit/page',
- method: 'get',
- params: query
+ method: 'post',
+ data: query
})
}
@@ -42,3 +42,20 @@
method: 'delete'
})
}
+
+// 鑾峰彇杩愮淮鍗曚綅涓嬫媺鍒楄〃
+export function unitSelect() {
+ return request({
+ url: '/yw-unit/list',
+ method: 'get'
+ })
+}
+
+// 鑾峰彇杩愮淮鍗曚綅宸ュ崟缁熻鍒楄〃
+export function workList(params) {
+ return request({
+ url: '/yw-unit/work/list',
+ method: 'get',
+ params: params
+ })
+}
--
Gitblit v1.8.0