index.js
628 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
const faultDevice = {
'ENABLE':{
color:'#377DFF',
name:'启用',
iconUrl:'/static/online.png'
},
'DISABLE':{
color:'#DE4437',
name:'停用',
iconUrl:'/static/baojing.png'
}
}
const schemeType = {
'INSPECTION':{
name:'巡检方案',
},
'MAINTENANCE':{
name:'保养方案',
}
}
const ledgerType = {
'FAULT':{
name:'故障',
color:'#DE4437',
iconUrl:'/static/danger.png'
},
'NORMAL':{
name:'正常',
color:'#377DFF',
iconUrl:'/static/online.png'
},
'SCRAP':{
name:'报废',
color:'#666666',
iconUrl:'/static/unonline.png'
}
}
export {
faultDevice,
schemeType,
ledgerType
}