data.js
995 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
const basicGridList = [{
		event: 'openCamera',
		icon: '/static/camer.png',
		text: '摄像头管理'
	},
	{
		event: 'openConfiguration',
		icon: '/static/status.png',
		text: '组态'
	},
	{
		event: 'visualBoard',
		icon: '/static/visual-board.png',
		text: '看板'
	},
]
const basicStatistics = [{
		text: '设备统计',
		key: 'device',
		icon: '/static/device-total.png',
		leftParam: 'ONLINE',
		centerParam: 'OFFLINE',
		rightParam: 'INACTIVE',
		value: {
			leftValue: 0,
			centerValue: 0,
			rightValue: 0
		},
		label: {
			leftText: "在线",
			centerText: "离线",
			rightText: "待激活"
		}
	},
	{
		text: '告警统计',
		key: 'alarm',
		icon: '/static/alert.png',
		leftParam: ['ACTIVE_UNACK'],
		centerParam: 'CLEARED_ACK',
		rightParam: 'CLEARED_UNACK',
		value: {
			leftValue: 0,
			centerValue: 0,
			rightValue: 0
		},
		label: {
			leftText: "未处理",
			centerText: "已处理",
			rightText: "误报"
		}
	},
]
export {
	basicGridList,
	basicStatistics
}