From 2b98925a0c57e8fa901f51619c641af8c86382f6 Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期五, 29 十一月 2024 12:23:06 +0800
Subject: [PATCH] fix:1129 修改名称+code参数不传
---
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