diff --git a/public/static/config.js b/public/static/config.js index 587cf73..43da33f 100644 --- a/public/static/config.js +++ b/public/static/config.js @@ -14,5 +14,10 @@ window._CONFIG = { online: 'https://ibasemaps-api.arcgis.com/arcgis/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}?token=AAPK2b935e8bbf564ef581ca3c6fcaa5f2a71ZH84cPqqFvyz3KplFRHP8HyAwJJkh6cnpcQ-qkWh5aiyDQsGJbsXglGx0QM2cPm', offline: 'http://localhost:8001/map/{z}/{x}/{y}.jpg' + }, + // alarm模块alarm history配置 + VUE_APP_ALARM_HISTORY: { + refreshInterval: 30 * 1000, // 刷新间隔 + alarmTimeRange: 60 * 60 * 1000 // 告警时间范围 } } diff --git a/src/views/abnormalAlarm/alarmCenter/alarmHistory/index.vue b/src/views/abnormalAlarm/alarmCenter/alarmHistory/index.vue index fae8149..ea9d5c0 100644 --- a/src/views/abnormalAlarm/alarmCenter/alarmHistory/index.vue +++ b/src/views/abnormalAlarm/alarmCenter/alarmHistory/index.vue @@ -1,6 +1,6 @@