国际化
This commit is contained in:
@@ -3,8 +3,8 @@ export const queryStation = () => {
|
||||
let res = {
|
||||
message: 'ok',
|
||||
data: [
|
||||
{station_code: 'B1', station_name: 'B1', x: '10', Y: '10', angle: '90'},
|
||||
{station_code: 'B2', station_name: 'B2', x: '10', Y: '10', angle: '90'},
|
||||
{station_code: 'B1', station_name: 'Starting position on the first floor Starting position on the first floor', x: '10', Y: '10', angle: '90'},
|
||||
{station_code: 'B2', station_name: '一楼起点位置一楼起点位置一楼起点位置', x: '10', Y: '10', angle: '90'},
|
||||
{station_code: 'B3', station_name: 'B3', x: '10', Y: '10', angle: '90'},
|
||||
{station_code: 'B4', station_name: 'B4', x: '10', Y: '10', angle: '90'},
|
||||
{station_code: 'B5', station_name: 'B5', x: '10', Y: '10', angle: '90'},
|
||||
@@ -134,3 +134,62 @@ export const getMappingStatus = () => {
|
||||
}
|
||||
return res
|
||||
}
|
||||
export const queryErrorDataByCode = (code) => {
|
||||
let res = {
|
||||
"error_id": "1",
|
||||
"error_name": "导航定位失败",
|
||||
"zh_error_name": '导航定位失败',
|
||||
"en_error_name": '导航定位error',
|
||||
"error_code": "1",
|
||||
"error_category": 1,
|
||||
"error_description": "出现了定位切换失败",
|
||||
"zh_error_description": null,
|
||||
"en_error_description": null,
|
||||
"error_type": 1,
|
||||
"graphicDescription": [
|
||||
{
|
||||
"error_handling_id": "1",
|
||||
"error_code": "1",
|
||||
"error_handling_type": 1,
|
||||
"error_handling_title": "出现了定位切换失败",
|
||||
"zh_error_handling_title": '出现了定位切换失败',
|
||||
"en_error_handling_title": '出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error',
|
||||
"error_handling_seq": 1,
|
||||
"error_handling_addre": null
|
||||
},
|
||||
{
|
||||
"error_handling_id": "2",
|
||||
"error_code": "1",
|
||||
"error_handling_type": 1,
|
||||
"error_handling_title": "解决定位",
|
||||
"zh_error_handling_title": null,
|
||||
"en_error_handling_title": '出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error',
|
||||
"error_handling_seq": 2,
|
||||
"error_handling_addre": null
|
||||
},
|
||||
{
|
||||
"error_handling_id": "3",
|
||||
"error_code": "1",
|
||||
"error_handling_type": 1,
|
||||
"error_handling_title": "解决定位",
|
||||
"zh_error_handling_title": null,
|
||||
"en_error_handling_title": '出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error出现了定位切换失败error',
|
||||
"error_handling_seq": 2,
|
||||
"error_handling_addre": null
|
||||
}
|
||||
],
|
||||
"videoDescription": [
|
||||
{
|
||||
"error_handling_id": "3",
|
||||
"error_code": "1",
|
||||
"error_handling_type": 2,
|
||||
"error_handling_title": "大苏打",
|
||||
"zh_error_handling_title": null,
|
||||
"en_error_handling_title": null,
|
||||
"error_handling_seq": 1,
|
||||
"error_handling_addre": null
|
||||
}
|
||||
]
|
||||
}
|
||||
return res
|
||||
}
|
||||
Reference in New Issue
Block a user