1
Surpriseplus
2022-09-19 7d5ddd06817383e6807fe9d0329c9bf7fa14ca03
1
已修改4个文件
233 ■■■■ 文件已修改
package.json 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/lang/en.js 102 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/lang/zh.js 120 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/navMenu.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
package.json
@@ -47,9 +47,6 @@
    "prettier": "^2.2.1",
    "vue-template-compiler": "^2.6.11"
  },
  "gitHooks": {
    "pre-commit": "lint-staged"
  },
  "lint-staged": {
    "*.{js,jsx,vue}": [
      "vue-cli-service lint",
src/assets/lang/en.js
@@ -1,84 +1,30 @@
const en = {
  common: {
    confirm: "confirm",
    choose: "please choose",
    emptydata: "No data",
    Distributionmap: "Distribution map",
    Selectdate: "Select date",
    name: "Name",
    high: "high",
    Medium: "Medium",
    low: "low",
    reName: "rename",
    edit: "edit",
    copy: "copy",
    delete: "delete",
    location: "location",
    coordinate: "coordinate",
    latLon: "Latitude and Longitude",
    pleaseEnter: "Please Enter...",
    confirm: 'confirm',
    choose: 'please choose',
    emptydata: 'No data',
    Distributionmap: 'Distribution map',
    Selectdate: 'Select date',
    name: 'Name',
    high: 'high',
    Medium: 'Medium',
    low: 'low',
    reName: 'rename',
    edit: 'edit',
    copy: 'copy',
    delete: 'delete',
    location: 'location',
    coordinate: 'coordinate',
    latLon: 'Latitude and Longitude',
    pleaseEnter: 'Please Enter...',
  },
  nav: {
    SerManage: "DUTY MANAGEMENT",
    digitalMap: "DIGITALMAP",
    PerManage: "MAN-MANAGEMENT",
    EquManage: "EQUIPMENT MANAGEMENT",
    NewsSite: "NEWS SITE",
    Logout: "Logout",
    Newtask: "Newtask",
    Tasklist: "Tasklist",
    Tasksummary: "Tasksummary",
    Distributionlist: "Distributionlist",
    MaterialManage: "Material management",
    LivingMaterials: "Living materials",
    EquipmentMaterials: "Equipment materials",
  },
  taskList: {
    Listregions: "List of regions",
    EnterAreaName: "Please enter the area name",
    taskTotal: "Total number of tasks statistics",
    Tasklevel: "Task risk level statistics",
    addTaskArea: "New task area",
    editTaskArea: "Edit task area",
    DegreeDanger: "Degree of danger",
    Introduction: "Introduction",
  },
  addTask: {
    newTask: "New task",
    Details: "Details",
    taskName: "Task name",
    taskId: "Task number",
    getTime: "Receiving time",
    taskcon: "Task content",
    resoucepai: "Resource allocation",
    lifesub: "Living matter",
    equisub: "Equipment material",
    people: "personnel",
    collmodel: "Collection template",
    doIssued: "Confirm to issue",
    storage: "Temporary storage",
  },
  electronicMap: {
    customMap: "Custom Map",
    mapAnalyse: "Map Analyse",
    mapPlotting: "Map Plotting",
    layerData: "Layer Data",
    peripheralQuery: "Peripheral query",
    text: "text",
    polyline: "Polyline",
    modelLibrary: "Model Library",
    polygon: "Polygon",
    militaryLibrary: "Military Standard Library",
    flattailarrow: "Flat tail arrow",
    dovetailarrow: "Dovetail arrow",
    assemblyPlace: "Assembly place",
    car: "car",
    rocketlauncher: "Rocket launcher",
    missile: "missile",
    rectangle: "Rounded Rectangle",
    sector: "sector",
    arched: "Arched",
    bezierarrow: "Bezier Arrow",
  synthesis: {
    //综合展示
    synthesis: 'Comprehensive Display',
    //专题地图
    themaic: 'Thematic Maps',
    //资料馆
    archive: 'Data Library',
  },
};
src/assets/lang/zh.js
@@ -1,98 +1,34 @@
const zh = {
  common: {
    confirm: "确认",
    choose: "请选择",
    emptydata: "暂无数据",
    name: "名称",
    Distributionmap: "配发地图",
    lon: "经度坐标",
    lat: "纬度坐标",
    Selectdate: "选择日期",
    high: "高",
    Medium: "中",
    low: "低",
    reName: "重命名",
    edit: "编辑",
    copy: "复制",
    delete: "删除",
    location: "地名",
    coordinate: "坐标",
    latLon: "经纬度",
    pleaseEnter: "请输入...",
    geocoding: "地理编码",
    reverseGeocoding: "逆地理编码",
    confirm: '确认',
    choose: '请选择',
    emptydata: '暂无数据',
    name: '名称',
    Distributionmap: '配发地图',
    lon: '经度坐标',
    lat: '纬度坐标',
    Selectdate: '选择日期',
    high: '高',
    Medium: '中',
    low: '低',
    reName: '重命名',
    edit: '编辑',
    copy: '复制',
    delete: '删除',
    location: '地名',
    coordinate: '坐标',
    latLon: '经纬度',
    pleaseEnter: '请输入...',
    geocoding: '地理编码',
    reverseGeocoding: '逆地理编码',
  },
  nav: {
    SerManage: "勤务管理",
    digitalMap: "电子地图",
    PerManage: "人员管理",
    EquManage: "装备管理",
    NewsSite: "新闻网站",
    Logout: "注销",
    Newtask: "新建任务",
    Tasklist: "任务清单",
    Tasksummary: "任务总结",
    taskStatistic: "任务统计",
    Distributionlist: "物资告警",
    MaterialManage: "生活物资管理",
    EquipManage: "装备物资管理",
    LivingMaterials: "生活物资",
    EquipmentMaterials: "装备物资",
    system: "系统管理",
    personmanage: "人员管理",
    equiplable: "标签库管理",
  },
  taskList: {
    Listregions: "地区列表",
    EnterAreaName: "请输入区域名称",
    taskTotal: "任务总数统计",
    Tasklevel: "任务危险度级别统计",
    addTaskArea: "新增任务区",
    editTaskArea: "编辑任务区",
    DegreeDanger: "危险程度",
    Introduction: "简介",
  },
  addTask: {
    newTask: "新建任务",
    taskLevel: "任务级别",
    Details: "详情",
    taskName: "任务名称",
    taskId: "任务编号",
    getTime: "接报时间",
    taskcon: "任务内容",
    resoucepai: "资源分配",
    lifesub: "物资",
    equisub: "装备",
    people: "人员",
    collmodel: "采集模板",
    doIssued: "确认下发",
    storage: "暂存",
  },
  electronicMap: {
    customMap: "自定义地图",
    mapAnalyse: "地图分析",
    mapPlotting: "地图标绘",
    layerData: "图层数据",
    peripheralQuery: "监控查询",
    text: "文本",
    polyline: "折线",
    modelLibrary: "模型库",
    polygon: "多边形",
    militaryLibrary: "军标库",
    flattailarrow: "平尾箭头",
    dovetailarrow: "燕尾箭头",
    flattail2arrow: "平尾双箭头",
    assemblyPlace: "集结地",
    car: "车辆",
    rocketlauncher: "火箭发射架",
    missile: "导弹",
    rectangle: "圆角矩形",
    sector: "扇形",
    arched: "弓形",
    bezierarrow: "贝塞尔箭头",
    mapImagery: "地图影像",
    pointposition: "点位",
    electronicFence: "电子围栏",
  synthesis: {
    //综合展示
    synthesis: '综合展示',
    //专题地图
    themaic: '专题地图',
    //资料馆
    archive: '资料馆',
  },
};
src/components/navMenu.vue
@@ -54,11 +54,11 @@
          </el-submenu>
          <el-submenu index="3" class="faSub">
            <template slot="title">
              <span>综合展示</span>
              <span>{{ $t("synthesis.synthesis") }}</span>
            </template>
            <el-menu-item index="Synthesis">综合展示</el-menu-item>
            <el-menu-item index="Thematic">专题地图</el-menu-item>
            <el-menu-item index="Archive">资料馆</el-menu-item>
            <el-menu-item index="Synthesis">{{ $t("synthesis.synthesis") }}</el-menu-item>
            <el-menu-item index="Thematic">{{ $t("synthesis.themaic") }}</el-menu-item>
            <el-menu-item index="Archive">{{ $t("synthesis.archive") }}</el-menu-item>
          </el-submenu>
          <!-- <el-submenu index="4" class="faSub">
            <template slot="title">数据质检</template>