diff --git a/src/components/videoPlayer/index.vue b/src/components/videoPlayer/index.vue index e86977c..b34b4c7 100644 --- a/src/components/videoPlayer/index.vue +++ b/src/components/videoPlayer/index.vue @@ -48,7 +48,7 @@ export default { ], poster: "", // 封面地址 width: document.documentElement.clientWidth, - notSupportedMessage: "加载中......", //允许覆盖Video.js无法播放媒体源时显示的默认信息。 + notSupportedMessage: this.$t('share.loading')+"......", //允许覆盖Video.js无法播放媒体源时显示的默认信息。 controlBar: { timeDivider: true, // 当前时间和持续时间的分隔符 durationDisplay: true, // 显示持续时间 diff --git a/src/lang/en/index.js b/src/lang/en/index.js index 3fdf4df..76fb46e 100644 --- a/src/lang/en/index.js +++ b/src/lang/en/index.js @@ -51,6 +51,7 @@ export default { content:'content', Yes:'Yes', No:'No', + loading:"loading" }, administration:administration, entry:entry, diff --git a/src/lang/en/point/site_management.json b/src/lang/en/point/site_management.json index 20506ff..1336ac4 100644 --- a/src/lang/en/point/site_management.json +++ b/src/lang/en/point/site_management.json @@ -17,11 +17,27 @@ "DiscriminantBenchmarkImage": "Discriminant benchmark image", "ClickOnTheLeftSide": "Please select the left click to view the monitoring point or monitoring device", "tabsOne": "Video equipment preset point", - "tabsTwo":"monitoring equipment", - "BindVisibleLightMonitoringPoints":"Bind visible light monitoring points", - "BindThermalImagingMonitoringPoints":"Bind thermal imaging monitoring points", - "BindMonitoringDevices":"Bind monitoring devices", - "EquipmentName":"Equipment name", - "EquipmentCode":"Equipment code", - "Unbind":"Unbind" + "tabsTwo": "monitoring equipment", + "BindVisibleLightMonitoringPoints": "Bind visible light monitoring points", + "BindThermalImagingMonitoringPoints": "Bind thermal imaging monitoring points", + "BindMonitoringDevices": "Bind monitoring devices", + "EquipmentName": "Equipment name", + "EquipmentCode": "Equipment code", + "Unbind": "Unbind", + "AddMonitoringPoints": "Add monitoring points", + "ModifyMonitoringPoints": "Modify monitoring points", + "MonitoringPointName": "Monitoring point name", + "coordinate": "coordinate", + "coordinateXPrompt": "(Recommended minimum value of -20, maximum value of 20)", + "coordinateYPrompt": "(Suggestion 66)", + "coordinateZPrompt": "(Recommended minimum value -6, maximum value 20)", + "upload":"Robot offline point file upload", + "uploadMsg": "Drag the file here, or click upload", + "PTZ":"PTZ", + "PleaseSelectAPresetPoint":"Please select a preset point", + "ActionType":"Action Type", + "RecordingDuration":"Recording duration (seconds)", + "NumberOfPhotosTaken":"Number of photos taken", + "PhotoInterval":"Photo interval (seconds)", + "SelectInspectionEquipment":"Select inspection equipment" } \ No newline at end of file diff --git a/src/lang/zh/index.js b/src/lang/zh/index.js index 4dfcc45..9481015 100644 --- a/src/lang/zh/index.js +++ b/src/lang/zh/index.js @@ -49,6 +49,7 @@ export default { content:'内容', Yes:'是', No:'否', + loading:"加载中" }, administration:administration, diff --git a/src/lang/zh/point/site_management.json b/src/lang/zh/point/site_management.json index 00803c2..9d84a93 100644 --- a/src/lang/zh/point/site_management.json +++ b/src/lang/zh/point/site_management.json @@ -1,27 +1,43 @@ { - "PleaseEnterTheContent":"请输入内容", - "prompt":"提示", - "promptMsg":"一个监控对象(区域、主设备),最多支持绑定16个不同摄像头;一个监控对象(区域、主设备),最多添加200个监控点位;一个监控点位绑定监控点不超过9个预置位(无论是否同一监控点)", - "RobotPointUpload":"机器人点位上传", - "MonitoringPointLocation":"监控点位", - "PointName":"点位名称", - "MonitoringContent":"监控内容", - "purpose":"用途", - "MonitoringNumber":"监控编号", - "MonitoringPointNumber":"监控点位编号", - "InspectionType":"巡检类型", - "ImportantLevel":"重要等级", - "3DCoordinates":"三维坐标", - "ReportIdentificationType":"上报识别类型", - "IntelligentRecognitionType":"智能识别类型", - "DiscriminantBenchmarkImage":"判别基准图片", - "ClickOnTheLeftSide":"请选中左点位查看监控点或监测设备", - "tabsOne":"视频设备预置点", - "tabsTwo":"监测设备", - "BindVisibleLightMonitoringPoints":"绑定可见光监测点", - "BindThermalImagingMonitoringPoints":"绑定热成像监控点", - "BindMonitoringDevices":"绑定监测设备", - "EquipmentName":"设备名称", - "EquipmentCode":"设备编码", - "Unbind":"解绑" + "PleaseEnterTheContent": "请输入内容", + "prompt": "提示", + "promptMsg": "一个监控对象(区域、主设备),最多支持绑定16个不同摄像头;一个监控对象(区域、主设备),最多添加200个监控点位;一个监控点位绑定监控点不超过9个预置位(无论是否同一监控点)", + "RobotPointUpload": "机器人点位上传", + "MonitoringPointLocation": "监控点位", + "PointName": "点位名称", + "MonitoringContent": "监控内容", + "purpose": "用途", + "MonitoringNumber": "监控编号", + "MonitoringPointNumber": "监控点位编号", + "InspectionType": "巡检类型", + "ImportantLevel": "重要等级", + "3DCoordinates": "三维坐标", + "ReportIdentificationType": "上报识别类型", + "IntelligentRecognitionType": "智能识别类型", + "DiscriminantBenchmarkImage": "判别基准图片", + "ClickOnTheLeftSide": "请选中左点位查看监控点或监测设备", + "tabsOne": "视频设备预置点", + "tabsTwo": "监测设备", + "BindVisibleLightMonitoringPoints": "绑定可见光监测点", + "BindThermalImagingMonitoringPoints": "绑定热成像监控点", + "BindMonitoringDevices": "绑定监测设备", + "EquipmentName": "设备名称", + "EquipmentCode": "设备编码", + "Unbind": "解绑", + "AddMonitoringPoints": "添加监控点位", + "ModifyMonitoringPoints": "修改监控点位", + "MonitoringPointName": "监控点位名称", + "coordinate": "坐标", + "coordinateXPrompt": "(建议最小值-20,最大值20)", + "coordinateYPrompt": "(建议66)", + "coordinateZPrompt": "(建议最小值-6,最大值20)", + "upload":"机器人离线点位文件上传", + "uploadMsg": "将文件拖到此处,或点击上传", + "PTZ":"云台", + "PleaseSelectAPresetPoint":"请选择预置点", + "ActionType":"动作类型", + "RecordingDuration":"录像时长(秒)", + "NumberOfPhotosTaken":"拍照次数", + "PhotoInterval":"拍照间隔(秒)", + "SelectInspectionEquipment":"选择巡检设备" } \ No newline at end of file diff --git a/src/views/point/site_management.vue b/src/views/point/site_management.vue index a7b66a8..28f6751 100644 --- a/src/views/point/site_management.vue +++ b/src/views/point/site_management.vue @@ -198,25 +198,39 @@ -
- {{ $t('site_management.BindVisibleLightMonitoringPoints') }} + {{ + $t("site_management.BindVisibleLightMonitoringPoints") + }} - {{ $t('site_management.BindThermalImagingMonitoringPoints') }}{{ + $t("site_management.BindThermalImagingMonitoringPoints") + }}
- {{ $t('site_management.BindMonitoringDevices') }} + {{ + $t("site_management.BindMonitoringDevices") + }} - - - + + + + + @@ -236,29 +250,61 @@ - - + + - - + + - + - + - - - + + + - - + + - + - (建议最小值-20,最大值20) + {{ $t("site_management.coordinateXPrompt") }} - + - (建议66) + {{ $t("site_management.coordinateYPrompt") }} - + - (建议最小值-6,最大值20) + {{ $t("site_management.coordinateZPrompt") }} - 取 消 - 确 定 + {{ + $t("share.cancel") + }} + {{ + $t("share.confirm") + }} @@ -337,7 +398,9 @@
-
云台
+
+ {{ $t("site_management.PTZ") }} +
@@ -376,14 +439,19 @@
- +
- +
@@ -394,20 +462,36 @@ style="width: 100%" @header-click="clickFun" > - + - + - + - + @@ -415,32 +499,55 @@ - - - - + + + - - + + - - + + - - + + - 搜索{{ $t("share.search") }} - 重置 + {{ + $t("share.reset") + }} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -544,7 +738,7 @@ -
将文件拖到此处,或点击上传
+
+ {{ $t("site_management.uploadMsg") }} +