diff --git a/src/api/common/index.ts b/src/api/common/index.ts index da54042..a391500 100644 --- a/src/api/common/index.ts +++ b/src/api/common/index.ts @@ -2,7 +2,7 @@ import { defHttp } from '@/utils/http/axios'; enum Api { getHangzhouRegions = '/air/stationInfo/getHangzhouRegions', - getStationList = '/air/deviceInfo/getStationList', + getStationList = '/air/stationInfo/getStationList', } export function getStationList() { diff --git a/src/views/checkManage/order/index.vue b/src/views/checkManage/order/index.vue index 7da6c78..ea3b186 100644 --- a/src/views/checkManage/order/index.vue +++ b/src/views/checkManage/order/index.vue @@ -5,7 +5,7 @@ 新增 - + diff --git a/src/views/station/device/api.ts b/src/views/station/device/api.ts index c3fbffd..8cd5204 100644 --- a/src/views/station/device/api.ts +++ b/src/views/station/device/api.ts @@ -4,7 +4,7 @@ import { defHttp } from '@/utils/http/axios'; enum Api { root = '/air/deviceInfo', list = '/air/deviceInfo/list', - getStationList = '/air/deviceInfo/getStationList', + getDeviceStationList = '/air/deviceInfo/getStationList', } export function list(params: any) { @@ -27,6 +27,6 @@ export function removeByIds(ids: IDS) { return defHttp.deleteWithMsg({ url: `${Api.root}/${ids.join(',')}` }); } -export function getStationList() { - return defHttp.get({ url: Api.getStationList }); +export function getDeviceStationList() { + return defHttp.get({ url: Api.getDeviceStationList }); } \ No newline at end of file diff --git a/src/views/station/device/index.vue b/src/views/station/device/index.vue index 5e4ebd2..2a26a00 100644 --- a/src/views/station/device/index.vue +++ b/src/views/station/device/index.vue @@ -20,9 +20,9 @@