From a0faefbd34e0c5379ca87d109124763336b530b7 Mon Sep 17 00:00:00 2001 From: wangxingyuan <2944009893@qq.com> Date: Mon, 3 Mar 2025 11:23:28 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=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/components/Editor/index.vue | 3 +- src/lang/en/basedata/alg/alg.json | 6 + src/lang/en/basedata/alg/subtype.json | 13 + src/lang/en/basedata/bdconfig/algconvert.json | 13 + .../en/basedata/bdconfig/deviceconvert.json | 14 + src/lang/en/basedata/bdconfig/mainsystem.json | 18 + src/lang/en/basedata/eqpbook/channel.json | 16 + .../basedata/patrolpointmnt/patrolpoint.json | 20 + .../patrolpointmnt/patrolpointpreset.json | 18 + .../basedata/patrolpointmnt/patroltype.json | 11 + src/lang/en/basedata/station.json | 12 +- src/lang/en/index.js | 26 +- src/lang/index.js | 4 +- src/lang/zh/basedata/alg/alg.json | 6 + src/lang/zh/basedata/alg/subtype.json | 13 + src/lang/zh/basedata/bdconfig/algconvert.json | 13 + .../zh/basedata/bdconfig/deviceconvert.json | 14 + src/lang/zh/basedata/bdconfig/mainsystem.json | 18 + src/lang/zh/basedata/eqpbook/channel.json | 16 + .../basedata/patrolpointmnt/patrolpoint.json | 20 + .../patrolpointmnt/patrolpointpreset.json | 17 + .../basedata/patrolpointmnt/patroltype.json | 11 + src/lang/zh/basedata/station.json | 13 +- src/lang/zh/index.js | 26 +- src/layout/components/Sidebar/Logo.vue | 4 +- src/views/basedata/alg/index.vue | 65 +-- src/views/basedata/alg/subtype/index.vue | 97 ++-- .../basedata/bdconfig/algconvert/index.vue | 191 ++++++-- .../basedata/bdconfig/deviceconvert/index.vue | 431 ++++++++++++------ .../basedata/bdconfig/mainsystem/index.vue | 350 ++++++++++---- src/views/basedata/eqpbook/channel/index.vue | 315 +++++++++---- .../patrolpointmnt/patrolpoint/index.vue | 216 +++++---- .../patrolpointpreset/index.vue | 288 ++++++++---- .../patrolpointmnt/patroltype/index.vue | 208 ++++++--- src/views/basedata/station/index.vue | 112 ++--- src/views/login.vue | 3 + 36 files changed, 1805 insertions(+), 816 deletions(-) create mode 100644 src/lang/en/basedata/alg/alg.json create mode 100644 src/lang/en/basedata/alg/subtype.json create mode 100644 src/lang/en/basedata/bdconfig/algconvert.json create mode 100644 src/lang/en/basedata/bdconfig/deviceconvert.json create mode 100644 src/lang/en/basedata/bdconfig/mainsystem.json create mode 100644 src/lang/en/basedata/eqpbook/channel.json create mode 100644 src/lang/en/basedata/patrolpointmnt/patrolpoint.json create mode 100644 src/lang/en/basedata/patrolpointmnt/patrolpointpreset.json create mode 100644 src/lang/en/basedata/patrolpointmnt/patroltype.json create mode 100644 src/lang/zh/basedata/alg/alg.json create mode 100644 src/lang/zh/basedata/alg/subtype.json create mode 100644 src/lang/zh/basedata/bdconfig/algconvert.json create mode 100644 src/lang/zh/basedata/bdconfig/deviceconvert.json create mode 100644 src/lang/zh/basedata/bdconfig/mainsystem.json create mode 100644 src/lang/zh/basedata/eqpbook/channel.json create mode 100644 src/lang/zh/basedata/patrolpointmnt/patrolpoint.json create mode 100644 src/lang/zh/basedata/patrolpointmnt/patrolpointpreset.json create mode 100644 src/lang/zh/basedata/patrolpointmnt/patroltype.json diff --git a/src/components/Editor/index.vue b/src/components/Editor/index.vue index 9323e53..aad8ece 100644 --- a/src/components/Editor/index.vue +++ b/src/components/Editor/index.vue @@ -85,9 +85,10 @@ export default { ["link", "image", "video"] // 链接、图片、视频 ], }, - placeholder: "请输入内容", + placeholder: this.$t('EditorMsg.contentMsg'), readOnly: this.readOnly, }, + text:this.$t('EditorMsg.text') }; }, computed: { diff --git a/src/lang/en/basedata/alg/alg.json b/src/lang/en/basedata/alg/alg.json new file mode 100644 index 0000000..8a5a8e7 --- /dev/null +++ b/src/lang/en/basedata/alg/alg.json @@ -0,0 +1,6 @@ +{ + "AlgorithmName":"Algorithm name", + "AlgorithmID":"Algorithm ID", + "AddAlgorithm":"Add Algorithm", + "EditAlgorithm":"Edit Algorithm" +} \ No newline at end of file diff --git a/src/lang/en/basedata/alg/subtype.json b/src/lang/en/basedata/alg/subtype.json new file mode 100644 index 0000000..a42728e --- /dev/null +++ b/src/lang/en/basedata/alg/subtype.json @@ -0,0 +1,13 @@ +{ + "AlgorithmMethodTypeName": "Algorithm method type name", + "AlgorithmMethodTypeID": "Algorithm method type ID", + "AlgorithmMethodTypeEncoding": "Algorithm method type encoding", + "AlgorithmTypeName": "Algorithm type name", + "lowerLimitsOfNormal": "lower limits of normal", + "UpperLimitOfNormalRange": "Upper limit of normal range", + "MainTypeOfAlgorithm": "Main type of algorithm", + "UpperLimitLabel": "Upper limit label", + "LowerLimitIdentification": "Lower limit identification", + "AddAlgorithmAppendix": "Add Algorithm Appendix", + "EditAlgorithmAppendix": "Edit Algorithm Appendix" +} \ No newline at end of file diff --git a/src/lang/en/basedata/bdconfig/algconvert.json b/src/lang/en/basedata/bdconfig/algconvert.json new file mode 100644 index 0000000..fe697c9 --- /dev/null +++ b/src/lang/en/basedata/bdconfig/algconvert.json @@ -0,0 +1,13 @@ +{ + "mainSystem": "main system", + "algorithm": "algorithm", + "OriginalAlgorithmNumber": "Original algorithm number", + "LedgerID": "Ledger ID", + "MainSystemNumber": "Main system number", + "MainSystemName": "Main system name", + "ManufacturerNumber": "Manufacturer Number", + "ManufacturerName": "Manufacturer Name", + "AlgorithmNumber":"Algorithm number", + "AddBasicData-DeviceCorrespondence":"Add Basic Data - Device Correspondence", + "EditBasicData-DeviceCorrespondence":"Edit Basic Data - Device Correspondence" +} \ No newline at end of file diff --git a/src/lang/en/basedata/bdconfig/deviceconvert.json b/src/lang/en/basedata/bdconfig/deviceconvert.json new file mode 100644 index 0000000..8d40ad7 --- /dev/null +++ b/src/lang/en/basedata/bdconfig/deviceconvert.json @@ -0,0 +1,14 @@ +{ + "mainSystem": "main system", + "device": "device", + "OriginalEquipmentNumber": "Original equipment number", + "LedgerID": "Ledger ID", + "MainSystemNumber": "Main system number", + "MainSystemName": "Main system name", + "ManufacturerNumber": "Manufacturer Number", + "ManufacturerName": "Manufacturer Name", + "DeviceNumber": "Device Number", + "EquipmentHierarchy": "Equipment hierarchy", + "AddBasicData-DeviceCorrespondence": "Add Basic Data - Device Correspondence", + "EditBasicData-DeviceCorrespondence":"Edit Basic Data - Device Correspondence" +} \ No newline at end of file diff --git a/src/lang/en/basedata/bdconfig/mainsystem.json b/src/lang/en/basedata/bdconfig/mainsystem.json new file mode 100644 index 0000000..e251e37 --- /dev/null +++ b/src/lang/en/basedata/bdconfig/mainsystem.json @@ -0,0 +1,18 @@ +{ + "MainSystemNumber": "Main system number", + "MainSystemName": "Main system name", + "ManufacturerNumber": "Manufacturer number", + "ManufacturerName": "Manufacturer name", + "StartDateOfUse": "Start date of use", + "DeviceMapping": "Device Mapping", + "algorithmMapping": "algorithm mapping", + "SystemType": "System type", + "port": "port", + "user": "user", + "LedgerID": "Ledger ID", + "MainSystemType": "Main system type", + "ipAddress": "ip address", + "password": "password", + "AddBasicData-MainSystemConfiguration": "Add Basic Data - Main System Configuration", + "EditBasicData-MainSystemConfiguration": "Edit Basic Data - Main System Configuration" +} \ No newline at end of file diff --git a/src/lang/en/basedata/eqpbook/channel.json b/src/lang/en/basedata/eqpbook/channel.json new file mode 100644 index 0000000..6a45a6d --- /dev/null +++ b/src/lang/en/basedata/eqpbook/channel.json @@ -0,0 +1,16 @@ +{ + "ChannelCoding": "Channel coding", + "ChannelName": "Channel name", + "device": "device", + "ChannelType": "Channel Type", + "ChannelID": "Channel ID", + "EquipmentNumber": "Equipment number", + "user": "user", + "password": "password", + "state": "state", + "SpecificContentOfTheChannel": "Specific content of the channel", + "HOSTIP": "HOST IP", + "port":"port", + "AddDeviceChannel":"Add device channel", + "EditDeviceChannel":"Edit device channel" +} \ No newline at end of file diff --git a/src/lang/en/basedata/patrolpointmnt/patrolpoint.json b/src/lang/en/basedata/patrolpointmnt/patrolpoint.json new file mode 100644 index 0000000..93aadd0 --- /dev/null +++ b/src/lang/en/basedata/patrolpointmnt/patrolpoint.json @@ -0,0 +1,20 @@ +{ + "PointCode": "Point code", + "PointName": "Point name", + "index": "index", + "IntelligentRecognitionType": "Intelligent recognition type", + "InspectionContent": "Inspection content", + "purpose": "purpose", + "MainDeviceTypeID": "Main device type ID", + "MainDeviceID": "Main device ID", + "deviceID": "deviceID", + "deviceIDMsg": "Device ID, the main device ID or component ID of the actual configuration point", + "DeleteFlag": "Delete Flag", + "DeleteFlagMsg": "Delete flag, 0: normal; 2: Delete", + "AddInspectionPoints": "Add inspection points", + "EditInspectionPoints": "Edit inspection points", + "SetIntelligentRecognitionType": "Set intelligent recognition type", + "AlgorithmName": "Algorithm name", + "ThresholdUpperLimit": "Threshold Upper Limit", + "LowerThresholdLimit": "Lower Threshold Limit" +} \ No newline at end of file diff --git a/src/lang/en/basedata/patrolpointmnt/patrolpointpreset.json b/src/lang/en/basedata/patrolpointmnt/patrolpointpreset.json new file mode 100644 index 0000000..2f18b56 --- /dev/null +++ b/src/lang/en/basedata/patrolpointmnt/patrolpointpreset.json @@ -0,0 +1,18 @@ +{ + "PointCode": "Point code", + "InspectionEquipmentID": "Inspection equipment ID", + "ChannelNumber": "Channel number", + "PresetPointNumber": "Preset point number", + "PresetPointName": "Preset point name", + "PointID": "Point ID", + "ParentPointID": "Parent point ID", + "ParentPointCode": "Parent point code", + "ParentPointName": "Parent point name", + "PointName": "Point name", + "IntelligentRecognitionType": "Intelligent recognition type", + "InspectionContent":"Inspection content", + "purpose":"purpose", + "AddPresetInspectionPoints":"Add preset inspection points", + "EditInspectionPointPresetPositions":"Edit inspection point preset positions" + +} \ No newline at end of file diff --git a/src/lang/en/basedata/patrolpointmnt/patroltype.json b/src/lang/en/basedata/patrolpointmnt/patroltype.json new file mode 100644 index 0000000..da78357 --- /dev/null +++ b/src/lang/en/basedata/patrolpointmnt/patroltype.json @@ -0,0 +1,11 @@ +{ + "ParentDeviceTypeID": "Parent device type ID", + "InspectionTypeName": "Inspection type name", + "InspectionTypeCode": "Inspection type code", + "level": "level", + "InspectionTypeID": "Inspection type ID", + "notes": "notes", + "DeleteFlag": "Delete Flag", + "AddPresetInspectionPoints": "Add preset inspection points", + "EditInspectionPointPresetPositions": "Edit inspection point preset positions" +} \ No newline at end of file diff --git a/src/lang/en/basedata/station.json b/src/lang/en/basedata/station.json index 544b7b4..9d6086d 100644 --- a/src/lang/en/basedata/station.json +++ b/src/lang/en/basedata/station.json @@ -1,3 +1,13 @@ { - + "StationName": "Station name", + "StationID": "Station ID", + "StationNumber": "Station number", + "StationType": "Station type", + "StationDescription": "Station Description", + "EdgeNodeIdentificationID": "Edge Node Identification ID", + "VoltageLevelOfProductionStation": "Voltage level of production station", + "province": "province", + "city": "market", + "AddStationInformation": "Add station information", + "ModifyStationInformation": "Modify station information" } \ No newline at end of file diff --git a/src/lang/en/index.js b/src/lang/en/index.js index 54acd23..453cfb7 100644 --- a/src/lang/en/index.js +++ b/src/lang/en/index.js @@ -9,10 +9,21 @@ import area_management from './area/area_management.json'; import area from './area/area.json'; import job from './monitor/job.json'; import station from './basedata/station.json'; +import alg from './basedata/alg/alg.json'; +import subtype from './basedata/alg/subtype.json'; +import channel from './basedata/eqpbook/channel.json'; +import patrolpoint from './basedata/patrolpointmnt/patrolpoint.json'; +import patrolpointpreset from './basedata/patrolpointmnt/patrolpointpreset.json'; +import patroltype from './basedata/patrolpointmnt/patroltype.json'; +import mainsystem from './basedata/bdconfig/mainsystem.json'; +import algconvert from './basedata/bdconfig/algconvert.json'; +import deviceconvert from './basedata/bdconfig/deviceconvert.json'; + export default { routerIl8n: { homePage: 'homePage' }, + logName:"Smart patrols", navBar: { IndividualCenter: 'Individual center', LayoutSetting: 'Layout setting', @@ -60,6 +71,10 @@ export default { copy: "copy", save:"save" }, + EditorMsg:{ + contentMsg:"Please enter the content", + text:"text" + }, administration: administration, entry: entry, equipment: equipment, @@ -69,5 +84,14 @@ export default { area_management:area_management, area:area, job:job, - station:station + station:station, + alg:alg, + subtype:subtype, + channel:channel, + patrolpoint:patrolpoint, + patrolpointpreset:patrolpointpreset, + patroltype:patroltype, + mainsystem:mainsystem, + algconvert:algconvert, + deviceconvert:deviceconvert } \ No newline at end of file diff --git a/src/lang/index.js b/src/lang/index.js index 2a4742f..aa775e1 100644 --- a/src/lang/index.js +++ b/src/lang/index.js @@ -22,7 +22,9 @@ const messages = { const i18n = new VueI18n({ // 设置语言 选项 en | zh - locale: Cookies.get('language') || 'zh_CN', + // locale: Cookies.get('language') || 'zh_CN', + locale: localStorage.getItem('language') || 'zh_CN', + fallbackLocale: localStorage.getItem('language') || 'zh_CN', // 使用localStorage作为fallbackLocale // 设置文本内容 messages }) diff --git a/src/lang/zh/basedata/alg/alg.json b/src/lang/zh/basedata/alg/alg.json new file mode 100644 index 0000000..6fa8a59 --- /dev/null +++ b/src/lang/zh/basedata/alg/alg.json @@ -0,0 +1,6 @@ +{ + "AlgorithmName":"算法名称", + "AlgorithmID":"算法id", + "AddAlgorithm":"添加算法", + "EditAlgorithm":"编辑算法" +} \ No newline at end of file diff --git a/src/lang/zh/basedata/alg/subtype.json b/src/lang/zh/basedata/alg/subtype.json new file mode 100644 index 0000000..735fc20 --- /dev/null +++ b/src/lang/zh/basedata/alg/subtype.json @@ -0,0 +1,13 @@ +{ + "AlgorithmMethodTypeName":"算法子类型名称", + "AlgorithmMethodTypeID":"算法子类型id", + "AlgorithmMethodTypeEncoding":"算法子类型编码", + "AlgorithmTypeName":"算法类型名称", + "lowerLimitsOfNormal":"正常范围下限", + "UpperLimitOfNormalRange":"正常范围上限", + "MainTypeOfAlgorithm":"算法主类型", + "UpperLimitLabel":"上限标识", + "LowerLimitIdentification":"下限标识", + "AddAlgorithmAppendix":"添加算法附录", + "EditAlgorithmAppendix":"编辑算法附录" +} \ No newline at end of file diff --git a/src/lang/zh/basedata/bdconfig/algconvert.json b/src/lang/zh/basedata/bdconfig/algconvert.json new file mode 100644 index 0000000..1b09f77 --- /dev/null +++ b/src/lang/zh/basedata/bdconfig/algconvert.json @@ -0,0 +1,13 @@ +{ + "mainSystem": "主系统", + "algorithm": "算法", + "OriginalAlgorithmNumber": "原算法编号", + "LedgerID": "台账ID", + "MainSystemNumber": "主系统编号", + "MainSystemName": "主系统名称", + "ManufacturerNumber": "厂商编号", + "ManufacturerName": "厂商名称", + "AlgorithmNumber":"算法编号", + "AddBasicData-DeviceCorrespondence":"添加基本数据 - 设备对应", + "EditBasicData-DeviceCorrespondence":"编辑基本数据 - 设备对应" +} \ No newline at end of file diff --git a/src/lang/zh/basedata/bdconfig/deviceconvert.json b/src/lang/zh/basedata/bdconfig/deviceconvert.json new file mode 100644 index 0000000..7945288 --- /dev/null +++ b/src/lang/zh/basedata/bdconfig/deviceconvert.json @@ -0,0 +1,14 @@ +{ + "mainSystem": "主系统", + "device": "设备", + "OriginalEquipmentNumber": "原设备编号", + "LedgerID": "台账ID", + "MainSystemNumber": "主系统编号", + "MainSystemName": "主系统名称", + "ManufacturerNumber": "厂商编号", + "ManufacturerName": "厂商名称", + "DeviceNumber": "设备编号", + "EquipmentHierarchy": "设备层级", + "AddBasicData-DeviceCorrespondence": "添加基础数据-设备对应", + "EditBasicData-DeviceCorrespondence":"编辑基础数据-设备对应" +} \ No newline at end of file diff --git a/src/lang/zh/basedata/bdconfig/mainsystem.json b/src/lang/zh/basedata/bdconfig/mainsystem.json new file mode 100644 index 0000000..a3f3fa7 --- /dev/null +++ b/src/lang/zh/basedata/bdconfig/mainsystem.json @@ -0,0 +1,18 @@ +{ + "MainSystemNumber": "主系统编号", + "MainSystemName": "主系统名称", + "ManufacturerNumber": "厂家编号", + "ManufacturerName":"厂家名称", + "StartDateOfUse":"开始使用日期", + "DeviceMapping":"设备映射", + "algorithmMapping":"算法映射", + "SystemType":"系统类型", + "port":"端口", + "user":"用户", + "LedgerID":"台账ID", + "MainSystemType":"主系统类型", + "ipAddress":"ip地址", + "password":"密码", + "AddBasicData-MainSystemConfiguration":"添加基础数据-主系统配置", + "EditBasicData-MainSystemConfiguration":"编辑基础数据-主系统配置" +} \ No newline at end of file diff --git a/src/lang/zh/basedata/eqpbook/channel.json b/src/lang/zh/basedata/eqpbook/channel.json new file mode 100644 index 0000000..baf0396 --- /dev/null +++ b/src/lang/zh/basedata/eqpbook/channel.json @@ -0,0 +1,16 @@ +{ + "ChannelCoding":"通道编码", + "ChannelName":"通道名称", + "device":"设备", + "ChannelType":"通道类型", + "ChannelID":"通道ID", + "EquipmentNumber":"设备编号", + "user":"用户", + "password":"密码", + "state":"状态", + "SpecificContentOfTheChannel":"通道具体内容", + "HOSTIP":"主机IP", + "port":"端口", + "AddDeviceChannel":"添加设备通道", + "EditDeviceChannel":"编辑设备通道" +} \ No newline at end of file diff --git a/src/lang/zh/basedata/patrolpointmnt/patrolpoint.json b/src/lang/zh/basedata/patrolpointmnt/patrolpoint.json new file mode 100644 index 0000000..033be7b --- /dev/null +++ b/src/lang/zh/basedata/patrolpointmnt/patrolpoint.json @@ -0,0 +1,20 @@ +{ + "PointCode": "点位编码", + "PointName": "点位名称", + "index": "序号", + "IntelligentRecognitionType": "智能识别类型", + "InspectionContent": "巡检内容", + "purpose": "用途", + "MainDeviceTypeID": "主设备类型ID", + "MainDeviceID": "主设备id", + "deviceID":"设备id", + "deviceIDMsg":"设备id,真正配置点位的主设备id或者部件id", + "DeleteFlag":"删除标志", + "DeleteFlagMsg":"删除标志,0:正常,1:删除", + "AddInspectionPoints":"添加巡检点位", + "EditInspectionPoints":"编辑巡检点位", + "SetIntelligentRecognitionType":"设置智能识别类型", + "AlgorithmName":"算法名称", + "ThresholdUpperLimit":"阀值上限", + "LowerThresholdLimit":"阀值下限" +} \ No newline at end of file diff --git a/src/lang/zh/basedata/patrolpointmnt/patrolpointpreset.json b/src/lang/zh/basedata/patrolpointmnt/patrolpointpreset.json new file mode 100644 index 0000000..44c90d1 --- /dev/null +++ b/src/lang/zh/basedata/patrolpointmnt/patrolpointpreset.json @@ -0,0 +1,17 @@ +{ + "PointCode": "点位编码", + "InspectionEquipmentID": "巡检设备ID", + "ChannelNumber": "通道编号", + "PresetPointNumber": "预置点位编号", + "PresetPointName": "预置点位名称", + "PointID":"点位ID", + "ParentPointID":"父级点位ID", + "ParentPointCode":"父级点位Code", + "ParentPointName":"父级点位名称", + "PointName":"点位名称", + "IntelligentRecognitionType":"智能识别类型", + "InspectionContent":"巡检内容", + "purpose":"用途", + "AddPresetInspectionPoints":"添加巡检点预置位", + "EditInspectionPointPresetPositions":"编辑巡检点预置位" +} \ No newline at end of file diff --git a/src/lang/zh/basedata/patrolpointmnt/patroltype.json b/src/lang/zh/basedata/patrolpointmnt/patroltype.json new file mode 100644 index 0000000..e462afe --- /dev/null +++ b/src/lang/zh/basedata/patrolpointmnt/patroltype.json @@ -0,0 +1,11 @@ +{ + "ParentDeviceTypeID": "父类设备类型id", + "InspectionTypeName": "巡检类型名称", + "InspectionTypeCode": "巡检类型编码", + "level": "层级", + "InspectionTypeID": "巡检类型ID", + "notes": "备注", + "DeleteFlag": "删除标志", + "AddPresetInspectionPoints":"添加巡检点预置位", + "EditInspectionPointPresetPositions":"编辑巡检点预置位" +} \ No newline at end of file diff --git a/src/lang/zh/basedata/station.json b/src/lang/zh/basedata/station.json index 544b7b4..0eed756 100644 --- a/src/lang/zh/basedata/station.json +++ b/src/lang/zh/basedata/station.json @@ -1,3 +1,14 @@ { - + "StationName": "场站名称", + "StationID": "场站id", + "StationNumber": "场站编号", + "StationType": "场站类型", + "StationDescription":"场站描述", + "EdgeNodeIdentificationID":"边缘节点标识ID", + "VoltageLevelOfProductionStation":"产站电压等级", + "province":"省份", + "city":"地市", + "AddStationInformation":"添加场站信息", + "ModifyStationInformation":"修改场站信息" + } \ No newline at end of file diff --git a/src/lang/zh/index.js b/src/lang/zh/index.js index b7c65d0..43ee997 100644 --- a/src/lang/zh/index.js +++ b/src/lang/zh/index.js @@ -8,10 +8,20 @@ import area_management from './area/area_management.json'; import area from './area/area.json'; import job from './monitor/job.json'; import station from './basedata/station.json'; +import alg from './basedata/alg/alg.json'; +import subtype from './basedata/alg/subtype.json'; +import channel from './basedata/eqpbook/channel.json'; +import patrolpoint from './basedata/patrolpointmnt/patrolpoint.json'; +import patrolpointpreset from './basedata/patrolpointmnt/patrolpointpreset.json'; +import patroltype from './basedata/patrolpointmnt/patroltype.json'; +import mainsystem from './basedata/bdconfig/mainsystem.json'; +import algconvert from './basedata/bdconfig/algconvert.json'; +import deviceconvert from './basedata/bdconfig/deviceconvert.json'; export default { routerIl8n: { homePage: '首页' }, + logName:"智能巡视", navBar: { IndividualCenter: '个人中心', LayoutSetting: '布局设置', @@ -58,7 +68,10 @@ export default { copy:"复制", save:"保存" }, - + EditorMsg:{ + contentMsg:"请输入内容", + text:"文本" + }, administration:administration, entry:entry, equipment:equipment, @@ -68,5 +81,14 @@ export default { area_management:area_management, area:area, job:job, - station:station + station:station, + alg:alg, + subtype:subtype, + channel:channel, + patrolpoint:patrolpoint, + patrolpointpreset:patrolpointpreset, + patroltype:patroltype, + mainsystem:mainsystem, + algconvert:algconvert, + deviceconvert:deviceconvert } \ No newline at end of file diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue index 2774cc8..a810081 100644 --- a/src/layout/components/Sidebar/Logo.vue +++ b/src/layout/components/Sidebar/Logo.vue @@ -3,11 +3,11 @@ -

{{ title }}

+

{{ $t('logName') }}

-

{{ title }}

+

{{ $t('logName') }}

diff --git a/src/views/basedata/alg/index.vue b/src/views/basedata/alg/index.vue index df4967f..7e1400c 100644 --- a/src/views/basedata/alg/index.vue +++ b/src/views/basedata/alg/index.vue @@ -1,8 +1,8 @@