inspectionPointLang.js
10.5 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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
export const messages = {
en: {
inspectionPoint: {
title: 'Inspection Point',
placeholder: {
inspectionName: 'Please enter inspection point name'
},
inspectionPoint: 'Inspection Point',
inspectionType: 'Inspection Type',
inspectionLocation: 'Inspection Location',
inspectionItem: 'Inspection Item',
qrCode: 'QR Code',
tabs: {
pointTaskDetail: 'Inspection Details',
pointRoute: 'Inspection Route',
pointPlan: 'Inspection Plan',
pointTask: 'Inspection Task'
}
},
pointTaskDetail: {
placeholder: {
planUserName: 'Please enter inspector',
inspectionStartTime: 'Actual inspection start time',
inspectionEndTime: 'Actual inspection end time'
},
table: {
taskDetailId: 'Task Detail ID',
inspectionName: 'Inspection Point Name',
inspectionPlanName: 'Inspection Plan Name',
routeName: 'Inspection Route Name',
planTime: 'Plan Time',
pointTime: 'Point Time',
inspectionTime: 'Actual Inspection Time',
inspectionState: 'Inspection State',
planUserName: 'Planned Inspector',
actUserName: 'Actual Inspector',
signTypeName: 'Sign-in Method',
taskStateName: 'Task Status',
stateName: 'Point Status',
description: 'Inspection Result',
photos: 'Inspection Photos',
createTime: 'Create Time'
},
fetchError: 'Failed to fetch inspection details'
},
pointRoute: {
fetchError: 'Failed to fetch inspection routes'
},
pointPlan: {
table: {
planName: 'Plan Name',
routeName: 'Route Name',
planPeriod: 'Plan Period',
signType: 'Sign-in Method',
dateRange: 'Date Range',
timeRange: 'Time Range',
beforeTime: 'Advance Time (minutes)',
creator: 'Creator',
createTime: 'Create Time',
staffs: 'Inspectors',
state: 'Status'
},
fetchError: 'Failed to fetch inspection plans'
},
pointTask: {
fetchError: 'Failed to fetch inspection tasks'
},
addInspectionPoint: {
title: 'Add Inspection Point',
placeholder: {
inspectionName: 'Required, enter inspection point name',
pointObjType: 'Required, select inspection type',
pointObjName: 'Required, enter inspection location',
itemId: 'Required, select inspection item',
nfcCode: 'Optional, enter NFC code',
lng: 'Optional, select longitude',
lat: 'Optional, select latitude',
remark: 'Optional, enter remarks'
},
inspectionName: 'Inspection Point Name',
pointObjType: 'Inspection Type',
pointObjName: 'Location',
machine: 'Equipment',
itemId: 'Inspection Item',
nfcCode: 'NFC Code',
lng: 'Longitude',
lat: 'Latitude',
remark: 'Remarks',
tip: {
addMachine: 'Please add equipment in the equipment ledger'
},
rules: {
inspectionName: 'Inspection point name is required',
inspectionNameMax: 'Inspection point name cannot exceed 100 characters',
pointObjType: 'Inspection type is required',
pointObjName: 'Location is required',
pointObjId: 'Equipment is required',
itemId: 'Inspection item is required',
remarkMax: 'Remarks cannot exceed 200 characters',
machineRequired: 'Please select equipment',
locationRequired: 'Please enter location'
},
saveSuccess: 'Inspection point added successfully',
saveFailed: 'Failed to add inspection point'
},
editInspectionPoint: {
title: 'Edit Inspection Point',
placeholder: {
inspectionName: 'Required, enter inspection point name',
pointObjType: 'Required, select inspection type',
pointObjName: 'Required, enter inspection location',
itemId: 'Required, select inspection item',
nfcCode: 'Optional, enter NFC code',
lng: 'Optional, select longitude',
lat: 'Optional, select latitude',
remark: 'Optional, enter remarks'
},
inspectionName: 'Inspection Point Name',
pointObjType: 'Inspection Type',
pointObjName: 'Location',
machine: 'Equipment',
itemId: 'Inspection Item',
nfcCode: 'NFC Code',
lng: 'Longitude',
lat: 'Latitude',
remark: 'Remarks',
rules: {
inspectionName: 'Inspection point name is required',
inspectionNameMax: 'Inspection point name cannot exceed 100 characters',
pointObjType: 'Inspection type is required',
pointObjName: 'Location is required',
pointObjId: 'Equipment is required',
itemId: 'Inspection item is required',
remarkMax: 'Remarks cannot exceed 200 characters',
machineRequired: 'Please select equipment',
locationRequired: 'Please enter location'
},
updateSuccess: 'Inspection point updated successfully',
updateFailed: 'Failed to update inspection point'
},
deleteInspectionPoint: {
title: 'Confirm Operation',
confirmText: 'Are you sure you want to delete this inspection point?',
deleteSuccess: 'Inspection point deleted successfully',
deleteFailed: 'Failed to delete inspection point'
},
inspectionPointQrCode: {
title: 'Inspection QR Code',
tip: 'Please take a screenshot and post it at the inspection point'
},
machineSelect2: {
placeholder: 'Please select equipment',
fetchError: 'Failed to fetch equipment list'
}
},
zh: {
inspectionPoint: {
title: '巡检点',
placeholder: {
inspectionName: '请输入巡检点名称'
},
inspectionPoint: '巡检点',
inspectionType: '巡检类型',
inspectionLocation: '巡检位置',
inspectionItem: '巡检项目',
qrCode: '二维码',
tabs: {
pointTaskDetail: '巡检明细',
pointRoute: '巡检路线',
pointPlan: '巡检计划',
pointTask: '巡检任务'
}
},
pointTaskDetail: {
placeholder: {
planUserName: '请输入巡检人',
inspectionStartTime: '实际巡检开始时间',
inspectionEndTime: '实际巡检结束时间'
},
table: {
taskDetailId: '任务详情ID',
inspectionName: '巡检点名称',
inspectionPlanName: '巡检计划名称',
routeName: '巡检路线名称',
planTime: '计划时间',
pointTime: '点位时间',
inspectionTime: '实际巡检时间',
inspectionState: '实际签到状态',
planUserName: '计划巡检人',
actUserName: '实际巡检人',
signTypeName: '巡检方式',
taskStateName: '任务状态',
stateName: '巡检点状态',
description: '巡检情况',
photos: '巡检照片',
createTime: '创建时间'
},
fetchError: '获取巡检明细失败'
},
pointRoute: {
fetchError: '获取巡检路线失败'
},
pointPlan: {
table: {
planName: '计划名称',
routeName: '计划路线',
planPeriod: '计划周期',
signType: '签到方式',
dateRange: '日期范围',
timeRange: '时间范围',
beforeTime: '任务提前(分钟)',
creator: '制定人',
createTime: '制定时间',
staffs: '巡检人',
state: '状态'
},
fetchError: '获取巡检计划失败'
},
pointTask: {
fetchError: '获取巡检任务失败'
},
addInspectionPoint: {
title: '添加巡检点',
placeholder: {
inspectionName: '必填,请填写巡检点名称',
pointObjType: '必填,请选择巡检类型',
pointObjName: '必填,请填写巡检位置',
itemId: '必填,请选择巡检项目',
nfcCode: '选填,请填写nfc编码',
lng: '选填,请选择经度',
lat: '选填,请选择纬度',
remark: '选填,请填写备注'
},
inspectionName: '巡检点名称',
pointObjType: '巡检类型',
pointObjName: '位置',
machine: '巡检设备',
itemId: '巡检项目',
nfcCode: 'nfc编码',
lng: '经度',
lat: '纬度',
remark: '备注',
tip: {
addMachine: '请到设备台账中添加设备'
},
rules: {
inspectionName: '巡检点名称不能为空',
inspectionNameMax: '巡检点名称不能超过100位',
pointObjType: '巡检类型不能为空',
pointObjName: '巡检位置不能为空',
pointObjId: '设备不能为空',
itemId: '巡检项目不能为空',
remarkMax: '备注信息不能超过200位',
machineRequired: '请选择巡检设备',
locationRequired: '请填写巡检位置'
},
saveSuccess: '巡检点添加成功',
saveFailed: '巡检点添加失败'
},
editInspectionPoint: {
title: '修改巡检点',
placeholder: {
inspectionName: '必填,请填写巡检点名称',
pointObjType: '必填,请选择巡检类型',
pointObjName: '必填,请填写巡检位置',
itemId: '必填,请选择巡检项目',
nfcCode: '选填,请填写nfc编码',
lng: '选填,请选择经度',
lat: '选填,请选择纬度',
remark: '选填,请填写备注'
},
inspectionName: '巡检点名称',
pointObjType: '巡检类型',
pointObjName: '位置',
machine: '巡检设备',
itemId: '巡检项目',
nfcCode: 'nfc编码',
lng: '经度',
lat: '纬度',
remark: '备注',
rules: {
inspectionName: '巡检点名称不能为空',
inspectionNameMax: '巡检点名称不能超过100位',
pointObjType: '巡检类型不能为空',
pointObjName: '巡检位置不能为空',
pointObjId: '设备不能为空',
itemId: '巡检项目不能为空',
remarkMax: '备注信息不能超过200位',
machineRequired: '请选择巡检设备',
locationRequired: '请填写巡检位置'
},
updateSuccess: '巡检点修改成功',
updateFailed: '巡检点修改失败'
},
deleteInspectionPoint: {
title: '请确认您的操作',
confirmText: '确定删除巡检点?',
deleteSuccess: '巡检点删除成功',
deleteFailed: '巡检点删除失败'
},
inspectionPointQrCode: {
title: '巡检二维码',
tip: '请截图贴在巡检点的地方'
},
machineSelect2: {
placeholder: '请选择设备',
fetchError: '获取设备列表失败'
}
}
}