From 2e20334b05e3cb49434ec07aa8d77b30578466ab Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期五, 29 十一月 2024 17:38:37 +0800 Subject: [PATCH] Merge branch 'master' of http://47.96.225.205:8888/r/ITM_V2_2DModel --- 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