From 7530519aecf3d1b5e663cf89cb80c3b772b5d703 Mon Sep 17 00:00:00 2001
From: 陶杰 <1378534974@qq.com>
Date: 星期三, 20 十一月 2024 17:46:26 +0800
Subject: [PATCH] 1.画板布局
---
src/api/area.js | 38 ++++++++++++++++++++++++++++++++++++++
1 files changed, 38 insertions(+), 0 deletions(-)
diff --git a/src/api/area.js b/src/api/area.js
index 798df58..a5c93fb 100644
--- a/src/api/area.js
+++ b/src/api/area.js
@@ -159,4 +159,42 @@
}
})
+}
+
+/**
+ *
+ * @returns 获取所有交换机柜列表
+ */
+export function getSwitchBord() {
+ return request({
+ url: '/api/services/app/SwitchDevice/GetSwitchBord',
+ method: 'get',
+ params: {
+
+ }
+ })
+}
+
+/**
+ * 获取所有区域列表
+ */
+export function getAreaCode() {
+ return request({
+ url: '/api/services/app/SwitchDevice/GetAreaCode',
+ method: 'get',
+ params: {
+
+ }
+ })
+}
+
+
+export function AssignSwitch(dto) {
+ return request({
+ url: '/api/services/app/SwitchDevice/AssignSwitch',
+ method: 'post',
+ data: {
+ ...dto
+ }
+ })
}
\ No newline at end of file
--
Gitblit v1.9.3