From ec9a39d5217d1f867aa3c7030f4cbe2ff99ef118 Mon Sep 17 00:00:00 2001 From: wangxingyuan <2944009893@qq.com> Date: Tue, 25 Feb 2025 17:55:05 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E7=82=B9=E4=BD=8D=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lang/en/index.js | 2 + src/lang/en/point/site_management.json | 27 +++++ src/lang/zh/index.js | 4 +- src/lang/zh/point/site_management.json | 27 +++++ src/views/point/site_management.vue | 138 +++++++++++++++++-------- 5 files changed, 153 insertions(+), 45 deletions(-) create mode 100644 src/lang/en/point/site_management.json create mode 100644 src/lang/zh/point/site_management.json diff --git a/src/lang/en/index.js b/src/lang/en/index.js index feaef3f..3fdf4df 100644 --- a/src/lang/en/index.js +++ b/src/lang/en/index.js @@ -3,6 +3,7 @@ import administration from './administration.json' import entry from './equipment/entry.json'; import equipment from './equipment/equipment.json'; import equipment_type from './equipment/equipment_type.json'; +import site_management from './point/site_management.json'; export default { routerIl8n: { homePage: 'homePage' @@ -55,4 +56,5 @@ export default { entry:entry, equipment:equipment, equipment_type:equipment_type, + site_management:site_management, } \ No newline at end of file diff --git a/src/lang/en/point/site_management.json b/src/lang/en/point/site_management.json new file mode 100644 index 0000000..20506ff --- /dev/null +++ b/src/lang/en/point/site_management.json @@ -0,0 +1,27 @@ +{ + "PleaseEnterTheContent": "Please enter the content", + "prompt": "prompt", + "promptMsg": "A monitoring object (area, main device) supports binding up to 16 different cameras; One monitoring object (area, main device) can add up to 200 monitoring points; A monitoring point is bound to no more than 9 preset monitoring points (regardless of whether they are the same monitoring point or not)", + "RobotPointUpload": "Robot point upload", + "MonitoringPointLocation": "Monitoring point location", + "PointName": "Point name", + "MonitoringContent": "Monitoring content", + "purpose": "purpose", + "MonitoringNumber": "Monitoring Number", + "MonitoringPointNumber": "Monitoring point number", + "InspectionType": "Inspection type", + "ImportantLevel": "Important level", + "3DCoordinates": "3D coordinates", + "ReportIdentificationType": "Report identification type", + "IntelligentRecognitionType": "Intelligent recognition type", + "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" +} \ No newline at end of file diff --git a/src/lang/zh/index.js b/src/lang/zh/index.js index 4c4e76b..4dfcc45 100644 --- a/src/lang/zh/index.js +++ b/src/lang/zh/index.js @@ -2,6 +2,7 @@ import administration from './administration.json' import entry from './equipment/entry.json'; import equipment from './equipment/equipment.json'; import equipment_type from './equipment/equipment_type.json'; +import site_management from './point/site_management.json'; export default { routerIl8n: { homePage: '首页' @@ -53,5 +54,6 @@ export default { administration:administration, entry:entry, equipment:equipment, - equipment_type:equipment_type + equipment_type:equipment_type, + site_management:site_management, } \ No newline at end of file diff --git a/src/lang/zh/point/site_management.json b/src/lang/zh/point/site_management.json new file mode 100644 index 0000000..00803c2 --- /dev/null +++ b/src/lang/zh/point/site_management.json @@ -0,0 +1,27 @@ +{ + "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":"解绑" +} \ No newline at end of file diff --git a/src/views/point/site_management.vue b/src/views/point/site_management.vue index 320b364..a7b66a8 100644 --- a/src/views/point/site_management.vue +++ b/src/views/point/site_management.vue @@ -4,7 +4,10 @@
@@ -23,21 +26,28 @@
- 添加 - 删除 - 机器人点位上传 + {{ + $t("share.addTo") + }} + {{ $t("share.delete") }} + {{ + $t("site_management.RobotPointUpload") + }}
@@ -57,54 +67,81 @@ - + + + - - - - + + - + - + - + - + 修改{{ $t("share.new") }} 删除{{ $t("share.delete") }} @@ -145,29 +194,29 @@
-
请选中左点位查看监控点或监测设备
+
{{ $t("site_management.ClickOnTheLeftSide") }}
- -
- 绑定可见光监测点 +
+ {{ $t('site_management.BindVisibleLightMonitoringPoints') }} - 绑定热成像监控点{{ $t('site_management.BindThermalImagingMonitoringPoints') }}
- +
- 绑定监测设备 + {{ $t('site_management.BindMonitoringDevices') }} - - - - + + + + @@ -500,7 +549,7 @@ width="30%" :before-close="handleClose" > -
+