From 938e49241fdf5a02d5c461a5ceaa11679d712f55 Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期一, 25 十一月 2024 15:03:55 +0800
Subject: [PATCH] fix: 从无到有,从有到无
---
src/api/area.js | 28 ++++++++++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/src/api/area.js b/src/api/area.js
index a5c93fb..1a00ea9 100644
--- a/src/api/area.js
+++ b/src/api/area.js
@@ -175,6 +175,21 @@
})
}
+
+/**
+ *
+ * @returns 获取所有交换机列表
+ */
+export function getAllSwitch() {
+ return request({
+ url: '/api/services/app/SwitchDevice/GetAllSwitch',
+ method: 'get',
+ params: {
+
+ }
+ })
+}
+
/**
* 获取所有区域列表
*/
@@ -197,4 +212,17 @@
...dto
}
})
+}
+
+/**
+ * 根据区域查找背景图和当前数量
+ */
+export function getAreaModuleBycode(code) {
+ return request({
+ url: '/api/services/app/SwitchDevice/GetAreaModuleBycode',
+ method: 'get',
+ params: {
+ 'areaCode': code
+ }
+ })
}
\ No newline at end of file
--
Gitblit v1.9.3