diff --git a/.env.development b/.env.development index ca48b3f..1ed68cb 100644 --- a/.env.development +++ b/.env.development @@ -3,8 +3,8 @@ ENV = 'development' # 接口地址 # 许镇-本地服地址 -VUE_APP_BASE_API = 'http://192.168.99.63:15000' -# VUE_APP_BASE_API = 'http://192.168.99.101:15000' +# VUE_APP_BASE_API = 'http://192.168.99.63:15000' +VUE_APP_BASE_API = 'http://192.168.99.101:15000' VUE_APP_WEBRTCSTREAMER_API = '127.0.0.1:8000' # 是否启用 babel-plugin-dynamic-import-node插件 diff --git a/src/api/assetDevice/index.js b/src/api/assetDevice/index.js index 0b4ec9d..795f083 100644 --- a/src/api/assetDevice/index.js +++ b/src/api/assetDevice/index.js @@ -96,6 +96,15 @@ export function FetchRealtimeAlarms(params) { }) } +// 历史报警信息 +export function FetchInitAlarmsLog(params) { + return request({ + url: 'api/warehouse/initAlarmsLog', + method: 'get', + params + }) +} + export default { FetchFondsWarehouseTree, FetchWarehouseTree, @@ -108,5 +117,6 @@ export default { FetchDevicePasswordById, FetchDeviceAllByWarehouseId, FetchWarehouseMonitoring, - FetchRealtimeAlarms + FetchRealtimeAlarms, + FetchInitAlarmsLog } diff --git a/src/views/assetManage/monitor/index.vue b/src/views/assetManage/monitor/index.vue index 1fced43..0b00ecf 100644 --- a/src/views/assetManage/monitor/index.vue +++ b/src/views/assetManage/monitor/index.vue @@ -78,7 +78,7 @@