陶杰
2024-11-19 f7ac77c7cc193502aff7e2a70f636253ada12386
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
    }
  })
}