diff --git a/src/renderer/src/I18n/zh-CN.ts b/src/renderer/src/I18n/zh-CN.ts index f9d50f4..59dc626 100644 --- a/src/renderer/src/I18n/zh-CN.ts +++ b/src/renderer/src/I18n/zh-CN.ts @@ -91,7 +91,7 @@ export default { cutFill: "土方分析", globalContour: "全局等高线", contour: "等高线", - clear: "清除", + clearAnalysis: "清除", }, measure: { projectionArea: "投影面积", diff --git a/src/renderer/src/assets/i18n/lang/local_zh.js b/src/renderer/src/assets/i18n/lang/local_zh.js index 25e986d..b270dc0 100644 --- a/src/renderer/src/assets/i18n/lang/local_zh.js +++ b/src/renderer/src/assets/i18n/lang/local_zh.js @@ -1,335 +1,328 @@ // productName -let obj = require("../../../../../config/app_config"); -console.log(obj); +let obj = require('../../../../../config/app_config') +console.log(obj) module.exports = { title: { - name: obj.productName, //"实景三维数字孪生系统" + name: obj.productName //"实景三维数字孪生系统" }, login: { - signIn: "登录", + signIn: '登录' }, dashboard: { - langLable: "中文简体", + langLable: '中文简体' }, leftMenu: { firstMenu: { - measure: "测量库", - tool: "工具库", - effect: "特效库", - bigData: "大数据", - modelLibrary: "模型库", - situation: "方案库", - onlinePictureSource: "在线图源", - analysis: "分析库", - militaryMark: "军标库", - ersanwei: "二三维", - junbiao3d: "三维军标", + measure: '测量库', + tool: '工具库', + effect: '特效库', + bigData: '大数据', + modelLibrary: '模型库', + situation: '方案库', + onlinePictureSource: '在线图源', + analysis: '分析库', + militaryMark: '军标库', + ersanwei: '二三维', + junbiao3d: '三维军标' }, secondMenu: { //模型库 - imports: "导入", + imports: '导入', // 测量二级菜单 - projectionArea: "投影面积", - areaMeasure: "贴地面积", - distanceMeasure: "贴地距离", - heightMeasure: "垂直高度", - triangleMeasure: "空间三角", - coorMeasure: "坐标", - MeasureAngle: "夹角", - clearMeasure: "清除测量", - MeasureAzimuth: "方位角", - lopeDistanceMeasures: "坡度", - projectionDistanceMeasure: "投影距离", - clear: "清除", + projectionArea: '投影面积', + areaMeasure: '贴地面积', + distanceMeasure: '贴地距离', + heightMeasure: '垂直高度', + triangleMeasure: '空间三角', + coorMeasure: '坐标', + MeasureAngle: '夹角', + clearMeasure: '清除测量', + MeasureAzimuth: '方位角', + lopeDistanceMeasures: '坡度', + projectionDistanceMeasure: '投影距离', + clear: '清除', // 工具二级菜单 - BIMEdit: "BIM编辑", - goodsSearch: "物资统计", - goodsSearchPolgon: "多边形统计", - goodsSearchCircle: "圆形统计", - rangeQuery: "范围查询", - floodSimulation: "淹没模拟", - clearQuery: "清除查询", - destoryRecord: "结束录制", - graffiti: "涂鸦", - stopGraffiti: "结束涂鸦", - clearGraffiti: "清除涂鸦", - HDScreen: "屏幕截图", - HDScreenHD: "高清出图", - areaScreen: "范围截图", - coorLocation: "坐标定位", - perspective: "透视", - Intervisibility: "视线分析", - transform: "模型转换", - videoRecording: "视频录制", - routePlan: "路径规划", - tilesetClipping: "剖切", - clearTilesetClipping: "清除剖切", - pressModel: "模型压平", - terrainDig: "地形开挖", - splitScreen: "卷帘对比", + BIMEdit: 'BIM编辑', + goodsSearch: '物资统计', + goodsSearchPolgon: '多边形统计', + goodsSearchCircle: '圆形统计', + rangeQuery: '范围查询', + floodSimulation: '淹没模拟', + clearQuery: '清除查询', + destoryRecord: '结束录制', + graffiti: '涂鸦', + stopGraffiti: '结束涂鸦', + clearGraffiti: '清除涂鸦', + HDScreen: '屏幕截图', + HDScreenHD: '高清出图', + areaScreen: '范围截图', + coorLocation: '坐标定位', + perspective: '透视', + Intervisibility: '视线分析', + transform: '模型转换', + videoRecording: '视频录制', + routePlan: '路径规划', + tilesetClipping: '剖切', + clearTilesetClipping: '清除剖切', + pressModel: '模型压平', + terrainDig: '地形开挖', + splitScreen: '卷帘对比', - path: "飞行漫游", - annotationAggregation: "标注点聚合", - mouseLocation: "鼠标定位", - mouseOver: "结束定位", - importImg: "全景关联", - gdbImport: "gdb导入", - projConvert: "度分秒", - projectionConvert: "投影转换", - peopleRoomLink: "人房关联", + path: '飞行漫游', + annotationAggregation: '标注点聚合', + mouseLocation: '鼠标定位', + mouseOver: '结束定位', + importImg: '全景关联', + gdbImport: 'gdb导入', + projConvert: '度分秒', + projectionConvert: '投影转换', + peopleRoomLink: '人房关联', // 特效库二级菜单 - fire: "火焰", - smoke: "烟雾", - explosion: "爆炸", - waterSurface: "水面", - radarLightWave: "扩散光波", - diffusedLightWave: "雷达光波", - scanStereoscopic: "立体雷达", - electronicFence: "电子围墙", - entityWall: "实体墙", - multilateralBody: "多边体", - cube: "立方体", - trajectoryMotion: "轨迹运动", - clearTrajectoryMotion: "清除轨迹", - roadDraw: "道路绘制", - lineDraw: "线路绘制", - rain: "雨", - snow: "雪", - fog: "雾", - nightVision: "夜视", - skystarry: "星空", - illumination: "光照", - light: "光照", - heatMap: "热力图", - fountain: "喷泉", - waterL: "喷射水柱", - flyLine:"飞线", + fire: '火焰', + smoke: '烟雾', + explosion: '爆炸', + waterSurface: '水面', + radarLightWave: '扩散光波', + diffusedLightWave: '雷达光波', + scanStereoscopic: '立体雷达', + electronicFence: '电子围墙', + entityWall: '实体墙', + multilateralBody: '多边体', + cube: '立方体', + trajectoryMotion: '轨迹运动', + clearTrajectoryMotion: '清除轨迹', + roadDraw: '道路绘制', + lineDraw: '线路绘制', + rain: '雨', + snow: '雪', + fog: '雾', + nightVision: '夜视', + skystarry: '星空', + illumination: '光照', + light: '光照', + heatMap: '热力图', + fountain: '喷泉', + waterL: '喷射水柱', + flyLine: '飞线', // 分析二级菜单 - inundationAnalysis: "淹没分析", - visualFieldAnalysis: "视域分析", - visualFieldAnalysis2: "圆形视域", - profileAnalysis: "剖面分析", - cutFill: "土方分析", - slopeDirection: "坡度坡向", - contour: "等高线", - qcontour:'全局等高线', - pictureLocation: "照片定位", - importPanorama: "全景导入", - }, + inundationAnalysis: '淹没分析', + visualFieldAnalysis: '视域分析', + visualFieldAnalysis2: '圆形视域', + profileAnalysis: '剖面分析', + cutFill: '土方分析', + slopeDirection: '坡度坡向', + contour: '等高线', + qcontour: '全局等高线', + pictureLocation: '照片定位', + importPanorama: '全景导入', + clearAnalysis: '清除' + } }, bottomMenu: { - groundText: "贴地文字", - standText: "立体文字", - point: "点", - line: "线", - curve: "曲线", - panel: "面", - ellipse: "椭圆", - sector: "扇形", - circle: "圆", - attackArrow: "箭头", - pincerArrow: "双箭头", - assemble: "集结地", - rect: "矩形", - unLock: "锁定", - Lock: "解锁", + groundText: '贴地文字', + standText: '立体文字', + point: '点', + line: '线', + curve: '曲线', + panel: '面', + ellipse: '椭圆', + sector: '扇形', + circle: '圆', + attackArrow: '箭头', + pincerArrow: '双箭头', + assemble: '集结地', + rect: '矩形', + unLock: '锁定', + Lock: '解锁' }, headerTitles: { //顶部抬头以及系统设置页面文字汉语翻译 - systemTitle: "系统设置", - udp: "物理沙盘", - ConcurrencyControl: "并发量控制", - localIP: "本地IP", - localPort: "本地端口", - remoteIP: "远程IP", - remotePort: "远程端口", - weather: "天气", - week: [ - "星期日", - "星期一", - "星期二", - "星期三", - "星期四", - "星期五", - "星期六", - ], + systemTitle: '系统设置', + udp: '物理沙盘', + ConcurrencyControl: '并发量控制', + localIP: '本地IP', + localPort: '本地端口', + remoteIP: '远程IP', + remotePort: '远程端口', + weather: '天气', + week: ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'], equipment: { - title: "设备管理", - addEquipment: "添加设备", - downloadEquipment: "下载模板", - bulkImport: "批量导入", + title: '设备管理', + addEquipment: '添加设备', + downloadEquipment: '下载模板', + bulkImport: '批量导入' }, // 无人机 air: { - title: "无人机管理", - addAir: "添加无人机", - downloadAir: "下载模板", + title: '无人机管理', + addAir: '添加无人机', + downloadAir: '下载模板' }, // 0827 isc: { - title: "ISC平台", - url: "平台地址", - setInfo: "设置平台信息", - updateEquipment: "更新平台设备", + title: 'ISC平台', + url: '平台地址', + setInfo: '设置平台信息', + updateEquipment: '更新平台设备' }, iconTitle: { - reset: "默认视角", - fullScreen: "全屏", - set: "设置", - shrink: "退出全屏", - logout: "退出登录", - locate: "北斗定位", - air: "无人机", - excel: "Excel", + reset: '默认视角', + fullScreen: '全屏', + set: '设置', + shrink: '退出全屏', + logout: '退出登录', + locate: '北斗定位', + air: '无人机', + excel: 'Excel' }, - auth: "授权信息", - Engineering: "工程信息", - Hikang: "海康平台", - Version: "版本信息", - Theme: "系统设置", - Satellite: "卫星定位", + auth: '授权信息', + Engineering: '工程信息', + Hikang: '海康平台', + Version: '版本信息', + Theme: '系统设置', + Satellite: '卫星定位', searchWay: { - title: "搜索方式", + title: '搜索方式', searchWayList: { - poi: "离线搜索", - net: "在线搜索", - }, + poi: '离线搜索', + net: '在线搜索' + } }, - Service: "服务接入", - confirm: "确认", + Service: '服务接入', + confirm: '确认', auths: { - authType: "授权状态", - authTime: "授权时间", - authCode: "授权码", - upload: "授权导入", - authexpire: "授权过期", + authType: '授权状态', + authTime: '授权时间', + authCode: '授权码', + upload: '授权导入', + authexpire: '授权过期' }, service: { - offline: "离线服务", - official: "官方服务", - customize: "自定义", + offline: '离线服务', + official: '官方服务', + customize: '自定义', agreements: { - Agreement: "协议", - setAgreement: "协议设置", - port: "端口", - location: "地址", - }, + Agreement: '协议', + setAgreement: '协议设置', + port: '端口', + location: '地址' + } }, Engineerings: { - import: "路网导入", - cover: "覆盖", - increase: "增加", - importProject: "工程覆盖导入", - consolidated: "工程合并导入", - derive: "工程导出", - importPOI: "POI导入", + import: '路网导入', + cover: '覆盖', + increase: '增加', + importProject: '工程覆盖导入', + consolidated: '工程合并导入', + derive: '工程导出', + importPOI: 'POI导入' }, Hikangs: { - enable: "启用", + enable: '启用' }, versions: { - version_code: "版本号", - version_update: "检查更新", + version_code: '版本号', + version_update: '检查更新' }, systemSetting: { - setLanguage: "语言设置", - theme: "主题换肤", - defaultView: "设置默认视角", - defaultData: "添加在线数据", - management: "后台管理", - showCompass: "导航器", - showLatitudeLongitudeNetwork: "经纬网", - showFangliNet: "方里网", - showDistanceLegend: "比例尺", - showToolBar: "信息栏", - showFPS: "刷新率", - showMapX: "鹰眼图", - occlusion: "地形遮挡", - coordinateSystem: "系统坐标系", - sheetIndexStatusSwitch: "标准图幅", - switch: "切换", - battery: "电池信息", + setLanguage: '语言设置', + theme: '主题换肤', + defaultView: '设置默认视角', + defaultData: '添加在线数据', + management: '后台管理', + showCompass: '导航器', + showLatitudeLongitudeNetwork: '经纬网', + showFangliNet: '方里网', + showDistanceLegend: '比例尺', + showToolBar: '信息栏', + showFPS: '刷新率', + showMapX: '鹰眼图', + occlusion: '地形遮挡', + coordinateSystem: '系统坐标系', + sheetIndexStatusSwitch: '标准图幅', + switch: '切换', + battery: '电池信息', skinList: { - yingguangse: "荧光色", - gonganlan: "科技蓝", - hong: "烈日红", - }, + yingguangse: '荧光色', + gonganlan: '科技蓝', + hong: '烈日红' + } }, model: { - title: "模型管理", - createModelLibrary: "创建模型库", - selectModelLibrary: "选择模型库", - addModelType: "添加模型类型", - importModel: "导入模型", - updatePoster: "更换缩略图", - preview: "预览", - updateModel: "更换模型", - deleteModel: "删除", - editModel: "编辑", + title: '模型管理', + createModelLibrary: '创建模型库', + selectModelLibrary: '选择模型库', + addModelType: '添加模型类型', + importModel: '导入模型', + updatePoster: '更换缩略图', + preview: '预览', + updateModel: '更换模型', + deleteModel: '删除', + editModel: '编辑' }, graphLabel: { - title: "军标管理", - createGraphLabelLibrary: "创建军标库", - selectGraphLabelLibrary: "选择军标库", - addGraphLabelType: "添加军标类型", - importGraphLabel: "导入军标", - edit: "编辑", - delete: "删除", - importGraph: "导入军标", - addLine: "添加线", - addPanel: "添加面", - addCircle: "添加圆", + title: '军标管理', + createGraphLabelLibrary: '创建军标库', + selectGraphLabelLibrary: '选择军标库', + addGraphLabelType: '添加军标类型', + importGraphLabel: '导入军标', + edit: '编辑', + delete: '删除', + importGraph: '导入军标', + addLine: '添加线', + addPanel: '添加面', + addCircle: '添加圆' }, user: { - title: "用户管理", - deleteUser: "删除", - createUser: "创建用户", - importUser: "导入用户", - role: "权限管理", - deleteRole: "删除", - createRole: "创建角色", - depart: "部门管理", - createDepart: "创建部门", - deleteDepart: "删除部门", - editDepart: "修改部门", + title: '用户管理', + deleteUser: '删除', + createUser: '创建用户', + importUser: '导入用户', + role: '权限管理', + deleteRole: '删除', + createRole: '创建角色', + depart: '部门管理', + createDepart: '创建部门', + deleteDepart: '删除部门', + editDepart: '修改部门' }, terrain: { - terrainSetting: "地形设置", - }, + terrainSetting: '地形设置' + } }, rightMenu: { - addDirectory: "添加文件夹", - addResource: "添加地图数据", - pictureLocation: "带定位照片", - importPanorama: "带定位全景", - addBIM: "添加BIM", - edit: "编辑节点", - del: "删除节点", - setView: "设置视角", - resetView: "重置视角", - layerRaise: "图层上移", - layerLower: "图层下移", - layerToTop: "图层置顶", - layerToBottom: "图层置底", - tilesetClipping: "剖切", - addTrajectory: "轨迹运动", - addXlsx: "添加作战数据", - showAttr: "查看属性", - importHeader: "导入表头", - resetPerspective: "重置透视", + addDirectory: '添加文件夹', + addResource: '添加地图数据', + pictureLocation: '带定位照片', + importPanorama: '带定位全景', + addBIM: '添加BIM', + edit: '编辑节点', + del: '删除节点', + setView: '设置视角', + resetView: '重置视角', + layerRaise: '图层上移', + layerLower: '图层下移', + layerToTop: '图层置顶', + layerToBottom: '图层置底', + tilesetClipping: '剖切', + addTrajectory: '轨迹运动', + addXlsx: '添加作战数据', + showAttr: '查看属性', + importHeader: '导入表头', + resetPerspective: '重置透视' }, tree: { - title: "图层指挥舱", + title: '图层指挥舱', // title: "综合信息", - layer: "图层", - location: "地点", + layer: '图层', + location: '地点' }, btn: { - search: "搜索", - treePlaceholder: "关键词搜索", - selectPlaceholder: "请选择", - selectNoText: "无数据", - }, -}; + search: '搜索', + treePlaceholder: '关键词搜索', + selectPlaceholder: '请选择', + selectNoText: '无数据' + } +} diff --git a/src/renderer/src/assets/images/second/clearAnalysis.png b/src/renderer/src/assets/images/second/clearAnalysis.png new file mode 100644 index 0000000..8a08304 Binary files /dev/null and b/src/renderer/src/assets/images/second/clearAnalysis.png differ diff --git a/src/renderer/src/views/components/leftSide/leftSideFirst.vue b/src/renderer/src/views/components/leftSide/leftSideFirst.vue index dfc03ab..494a0df 100644 --- a/src/renderer/src/views/components/leftSide/leftSideFirst.vue +++ b/src/renderer/src/views/components/leftSide/leftSideFirst.vue @@ -97,7 +97,7 @@ const menuList: any = ref([ 'cutFill', 'contour', 'globalContour', - 'clear' + 'clearAnalysis' ] }, // 测量 diff --git a/src/renderer/src/views/components/leftSide/leftSideSecond.vue b/src/renderer/src/views/components/leftSide/leftSideSecond.vue index 8ef5113..44347af 100644 --- a/src/renderer/src/views/components/leftSide/leftSideSecond.vue +++ b/src/renderer/src/views/components/leftSide/leftSideSecond.vue @@ -205,7 +205,7 @@ const methodMap = { }) }, //分析清除 - clear() { + clearAnalysis() { YJ.Analysis.Clear() }, //----------------工具------------------