|
|
@@ -43,6 +43,8 @@ import { getDvrRecorderBadge } from '@/api/iot/dvrRecorder.js'
|
|
|
import { getVideoDiagnosisBadge } from '@/api/iot/videoDiagnosis.js'
|
|
|
import { getBadge as getAlarmCenterBadge } from '@/api/iot/alarmCenter.js'
|
|
|
import { getFireWarningBadge,getEnvMonitorBadge } from '@/api/iot/sensorAlarm.js'
|
|
|
+import { getSmartOprationPageBadge } from '@/api/iot/videoDiagnosis.js'
|
|
|
+
|
|
|
|
|
|
export default {
|
|
|
name: 'menus',
|
|
|
@@ -66,12 +68,14 @@ export default {
|
|
|
getMenu().then(res => {
|
|
|
this.menuList = res.data
|
|
|
this.$refs.Scroll.refresh()
|
|
|
- this.getBadge('/iot/donghuan', getDonghuanBadge)
|
|
|
- this.getBadge('/iot/dvrDisk', getDvrRecorderBadge)
|
|
|
- this.getBadge('/iot/videoDiagnosis', getVideoDiagnosisBadge)
|
|
|
- this.getBadge('/iot/alarmCenter', getAlarmCenterBadge)
|
|
|
+ // this.getBadge('/iot/donghuan', getDonghuanBadge)
|
|
|
+ // this.getBadge('/iot/dvrDisk', getDvrRecorderBadge)
|
|
|
+ // this.getBadge('/iot/videoDiagnosis', getVideoDiagnosisBadge)
|
|
|
+ // this.getBadge('/iot/alarmCenter', getAlarmCenterBadge)
|
|
|
this.getBadge('/iot/fireWarning', getFireWarningBadge)
|
|
|
this.getBadge('/iot/envMonitor', getEnvMonitorBadge)
|
|
|
+ this.getBadge('/iot/smartopration', getSmartOprationPageBadge)
|
|
|
+
|
|
|
})
|
|
|
},
|
|
|
getBadge(url, method) {
|