languageConfig.js
3.26 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
const lang = window.appConfig.languageConfig || 'zh';
//语言切换配置
window.$gl = (params) => {
const languageData = languageConfig[lang];
if (languageData && languageData[params]) {
return languageData[params];
}
return params;
};
// 语言配置
var languageConfig = {
"zh": {
"index": "序号",
"pageTitle": "中文标题",
"Developmentaddress": "开发地址",
"serverAddress": "服务器地址",
"kanbanLsit": "看板列表",
"TrayNumber": "托盘号",
"Start/TargetLocation": "起始/目标库位",
"Start/TargetPlatform": "起始/目标平台",
"taskType": "任务类型",
"taskStatus": "任务状态",
"managePlatform": "管理平台",
"Sortingboards": "分拣看板",
"Sortingboards2": "分拣看板",
"Sortingboards3": "分拣看板",
"Sortingboards4": "分拣看板",
"Sortingboards5": "分拣看板",
"Sortingboards6": "分拣看板",
"Sortingboards7": "分拣看板",
"KanbanName": "看板名称",
"KanbanName2": "看板名称2",
"KanbanName3": "看板名称3",
"KanbanName4": "看板名称4",
"KanbanName5": "看板名称5",
"KanbanName6": "看板名称6",
"KanbanName7": "看板名称7",
"day": "当天",
"that week": "当周",
"that month": "当月",
"warehousing": "入库",
"outbound": "出库",
"warehouse location usage status": "库位使用情况",
"RTS of S": "堆垛机实时状态",
"running state of stacking machine": "堆垛机运行状态",
"Stacker Task": "堆垛机任务",
"Production Information": "生产信息",
"alarm information": "报警信息"
},
"en": {
"index": "index",
"pageTitle": "english",
"Developmentaddress": "Developmentaddress",
"serverAddress": "serverAddress",
"kanbanLsit": "kanbanLsit",
"TrayNumber": "TrayNumberCode",
"Start/TargetLocation": "Start/Target Location",
"Start/TargetPlatform": "Start/Target Platform",
"taskType": "TaskType",
"taskStatus": "TaskStatus",
"managePlatform": "managePlatform",
"Sortingboards": "22222",
"Sortingboards2": "Sortingboards2",
"Sortingboards3": "Sortingboards3",
"Sortingboards4": "Sortingboards4",
"Sortingboards5": "Sortingboards5",
"Sortingboards6": "Sortingboards6",
"Sortingboards7": "Sortingboards7",
"KanbanName": "KanbanName",
"KanbanName2": "KanbanName2",
"KanbanName3": "KanbanName3",
"KanbanName4": "KanbanName4",
"KanbanName5": "KanbanName5",
"KanbanName6": "KanbanName6",
"KanbanName7": "KanbanName7",
"day": "day",
"that week": "that week",
"that month": "that month",
"warehousing": "warehousing",
"outbound": "outbound",
"warehouse location usage status": "Warehouse LocationUS",
"RTS of S": "RTS of S",
"running state of stacking machine": "RSSM",
"Stacker Task": "Stacker Task",
"Production Information": "Production Information",
"alarm information": "alarm information"
}
};