data.js
2.82 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
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
}