data.js 2.82 KB
const basicGridList = [{
		event: 'openCamera',
		icon: '/static/camer.png',
		text: 'homePage.cameraManagement'
	},
	{
		event: 'openConfiguration',
		icon: '/static/status.png',
		text: 'homePage.configuration'
	},
	{
		event: 'visualBoard',
		icon: '/static/visual-board.png',
		text: 'homePage.bulletinBoard'
	},
	{
		event: 'largeScreen',
		icon: '/static/visual-newBoard.png',
		text: 'homePage.largeScreen'
	}
]

const basicStatistics = [{
		text: 'homePage.deviceStatistics',
		key: 'device',
		icon: '/static/device-total.png',
		leftParam: 'ONLINE',
		centerParam: 'OFFLINE',
		rightParam: 'INACTIVE',
		value: {
			leftValue: 0,
			centerValue: 0,
			rightValue: 0
		},
		label: {
			leftText: "homePage.deviceLabel.onLine",
			centerText: "homePage.deviceLabel.offLine",
			rightText: "homePage.deviceLabel.beActivated"
		}
	},
	{
		text: 'homePage.alarmStatistics',
		key: 'alarm',
		icon: '/static/alert.png',
		leftParam: ['ACTIVE_UNACK'],
		centerParam: 'CLEARED_ACK',
		rightParam: 'CLEARED_UNACK',
		value: {
			leftValue: 0,
			centerValue: 0,
			rightValue: 0
		},
		label: {
			leftText: "homePage.alarmLabel.untreated",
			centerText: "homePage.alarmLabel.processed",
			rightText: "homePage.alarmLabel.falseAlarm"
		}
	},
]

const menuList = [{
		text: '设备基础信息管理',
		icon: '/static/sbjcgl.png',
		children: [{
				url: '/pages/deviceManagement/ledger/ledger',
				icon: '/static/sbtz.png',
				text: '设备台账',
				width:'33.333%'
			},
			{
				url: '/pages/deviceManagement/faultCause/faultCause',
				icon: '/static/gzyygl.png',
				text: '故障原因管理',
				width:'33.333%'
			},
			{
				url: '/pages/deviceManagement/inspectionPlan/inspectionPlan',
				icon: '/static/xjbyfa.png',
				text: '巡检/保养方案',
				width:'33.333%'
			},
		]
	},
	{
		text: '设备报修维修',
		icon: '/static/sbbxwx.png',
		children: [{
				url: '/pages/deviceRepair/repairWorkOrder/repairWorkOrder',
				icon: '/static/wxgd.png',
				text: '维修工单',
				width:'25%'
			},
			{
				url: '/pages/deviceRepair/repairRecord/repairRecord',
				icon: '/static/wxjl.png',
				text: '维修记录',
				width:'25%'
			},
		]
	},
	{
		text: '设备巡检保养',
		icon: '/static/sbxjby.png',
		children: [{
				url: '/pages/deviceInspect/maintenancePlan/maintenancePlan',
				icon: '/static/byjh.png',
				text: '保养计划',
				width:'25%'
			},
			{
				url: '/pages/deviceInspect/maintenanceRecord/maintenanceRecord',
				icon: '/static/byjl.png',
				text: '保养记录',
				width:'25%'
			},
			{
				url: '/pages/deviceInspect/patrolPlan/patrolPlan',
				icon: '/static/xjjh.png',
				text: '巡检计划',
				width:'25%'
			},
			{
				url: '/pages/deviceInspect/patrolRecord/patrolRecord',
				icon: '/static/xjjl.png',
				text: '巡检记录',
				width:'25%'
			}
		]
	}
]


export {
	basicGridList,
	basicStatistics,
	menuList
}