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 } }) }