mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-27 18:59:26 +08:00
修改菜单+权限+图表渲染
This commit is contained in:
@@ -48,7 +48,7 @@ import Alarm from '@/components/Home/Alarm.vue'
|
||||
import Map from '@/components/Home/Map.vue'
|
||||
import { getReq, postReq } from '@/request/api'
|
||||
import { getRunDays, getDateDaysAgo } from '@/utils/dealWithData'
|
||||
|
||||
import { markRaw } from 'vue';
|
||||
export default {
|
||||
name: 'Home',
|
||||
components: { Map },
|
||||
@@ -62,38 +62,38 @@ export default {
|
||||
{
|
||||
title: '运行状况',
|
||||
class: 'online-status',
|
||||
componentId: onLine,
|
||||
componentId:markRaw(onLine),
|
||||
infoKey: 'onLineTotal'
|
||||
},
|
||||
{
|
||||
title: '运行分析',
|
||||
class: 'stats-cards',
|
||||
componentId: Operational,
|
||||
componentId:markRaw( Operational),
|
||||
infoKey: ''
|
||||
},
|
||||
{
|
||||
title: '储能设备',
|
||||
class: 'energy-status',
|
||||
componentId: Energy,
|
||||
componentId:markRaw( Energy),
|
||||
infoKey: 'energy'
|
||||
},
|
||||
{
|
||||
title: '充电设备',
|
||||
class: 'charge-analysis',
|
||||
componentId: Charge,
|
||||
componentId:markRaw( Charge),
|
||||
infoKey: 'charge'
|
||||
},
|
||||
|
||||
{
|
||||
title: '光伏设备',
|
||||
class: 'work-order',
|
||||
componentId: Pv,
|
||||
componentId:markRaw( Pv),
|
||||
infoKey: 'pv'
|
||||
},
|
||||
{
|
||||
title: '告警信息',
|
||||
class: 'alarm-stats',
|
||||
componentId: Alarm,
|
||||
componentId: markRaw(Alarm),
|
||||
infoKey: 'alarm'
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user