From f7ac77c7cc193502aff7e2a70f636253ada12386 Mon Sep 17 00:00:00 2001
From: 陶杰 <1378534974@qq.com>
Date: 星期二, 19 十一月 2024 10:14:52 +0800
Subject: [PATCH] 1.区域页面
---
src/api/area.js | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 48 insertions(+), 0 deletions(-)
diff --git a/src/api/area.js b/src/api/area.js
index 6e005c1..a5c93fb 100644
--- a/src/api/area.js
+++ b/src/api/area.js
@@ -149,4 +149,52 @@
'areaCode': code
}
})
+}
+
+export function getSwitchCabinetInfo() {
+ return request({
+ url: '/api/services/app/SwitchDevice/GetSwitchCabinetInfo',
+ method: 'get',
+ params: {
+
+ }
+ })
+}
+
+/**
+ *
+ * @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