lxl
2022-09-19 f43a73dae833d75fe0ab4f96ef8ef4604fa8c560
目录英文切换
已修改3个文件
176 ■■■■■ 文件已修改
src/assets/lang/en.js 41 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/lang/zh.js 41 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/navMenu.vue 94 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/lang/en.js
@@ -1,22 +1,35 @@
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',
    choose: 'choose',
    name: 'name',
    edit: 'edit',
    copy: 'copy',
    delete: 'delete',
    location: 'location',
    coordinate: 'coordinate',
    latLon: 'Latitude and Longitude',
    pleaseEnter: 'Please Enter...',
  },
  dataManage: {
    dataManage: "dataManage",
    catalogueManage: "catalogueManage",
    dataUpdata: "dataUpdata",
    metadataManage: "metadataManage",
    dataLoading: "dataLoading",
    SpatialData: "SpatialData",
    versionManage: "versionManage",
    dictionaryManage: "dictionaryManage",
    styleManage: "styleManage",
  },
  operatManage: {
    operatManage: "operatManage",
    userManagement: "userManagement",
    systemLayout: "systemLayout",
    menuSettings: "menuSettings",
    parameterConfiguration: "parameterConfiguration",
    rests: "rests",
    authorityManagement: "authorityManagement",
    safetyManagement: "safetyManagement",
    operationMonitoring: "operationMonitoring",
    systemMonitoring: "systemMonitoring",
    logLog: "logLog",
    operationLog: "operationLog",
  },
  synthesis: {
    //综合展示
src/assets/lang/zh.js
@@ -2,25 +2,34 @@
  common: {
    confirm: '确认',
    choose: '请选择',
    emptydata: '暂无数据',
    name: '名称',
    Distributionmap: '配发地图',
    lon: '经度坐标',
    lat: '纬度坐标',
    Selectdate: '选择日期',
    high: '高',
    Medium: '中',
    low: '低',
    reName: '重命名',
    edit: '编辑',
    copy: '复制',
    delete: '删除',
    location: '地名',
    coordinate: '坐标',
    latLon: '经纬度',
    pleaseEnter: '请输入...',
    geocoding: '地理编码',
    reverseGeocoding: '逆地理编码',
  },
  dataManage: {
    dataManage: "数据管理",
    catalogueManage: "目录管理",
    dataUpdata: "数据上传",
    metadataManage: "元数据管理",
    dataLoading: "数据入库",
    SpatialData: "空间数据管理",
    versionManage: "版本管理",
    dictionaryManage: "字典管理",
    styleManage: "样式管理",
  },
  operatManage: {
    operatManage: "运维管理",
    userManagement: "用户管理",
    systemLayout: "系统配置",
    menuSettings: "菜单设置",
    parameterConfiguration: "参数配置",
    rests: "其他",
    authorityManagement: "权限管理",
    safetyManagement: "安全管理",
    operationMonitoring: "运行监控",
    systemMonitoring: "系统监控",
    logLog: "登录日志",
    operationLog: "操作日志",
  },
  synthesis: {
    //综合展示
src/components/navMenu.vue
@@ -18,37 +18,73 @@
        >
          <el-submenu index="1" class="faSub">
            <template slot="title">
              <span>{{ $t("common.confirm") }}</span>
              <span>{{ $t("dataManage.dataManage") }}</span>
            </template>
            <el-menu-item index="catalogueManage">目录管理</el-menu-item>
            <el-menu-item index="dataUpdata">数据上传</el-menu-item>
            <el-menu-item index="metadataManage">元数据管理</el-menu-item>
            <el-menu-item index="dataLoading">数据入库</el-menu-item>
            <el-menu-item index="SpatialData">空间数据管理</el-menu-item>
            <el-menu-item index="versionManage">版本管理</el-menu-item>
            <el-menu-item index="dictionaryManage">字典管理</el-menu-item>
            <el-menu-item index="styleManage">样式管理</el-menu-item>
            <el-menu-item index="catalogueManage">{{
              $t("dataManage.catalogueManage")
            }}</el-menu-item>
            <el-menu-item index="dataUpdata">{{
              $t("dataManage.dataUpdata")
            }}</el-menu-item>
            <el-menu-item index="metadataManage">{{
              $t("dataManage.metadataManage")
            }}</el-menu-item>
            <el-menu-item index="dataLoading">{{
              $t("dataManage.dataLoading")
            }}</el-menu-item>
            <el-menu-item index="SpatialData">{{
              $t("dataManage.SpatialData")
            }}</el-menu-item>
            <el-menu-item index="versionManage">{{
              $t("dataManage.versionManage")
            }}</el-menu-item>
            <el-menu-item index="dictionaryManage">{{
              $t("dataManage.dictionaryManage")
            }}</el-menu-item>
            <el-menu-item index="styleManage">{{
              $t("dataManage.styleManage")
            }}</el-menu-item>
          </el-submenu>
          <el-submenu index="2" class="faSub">
            <template slot="title">
              <span>运维管理</span>
              <span>{{ $t("operatManage.operatManage") }}</span>
            </template>
            <el-menu-item index="userManagement">用户管理</el-menu-item>
            <el-menu-item index="userManagement">{{
              $t("operatManage.userManagement")
            }}</el-menu-item>
            <el-submenu index="2-2">
              <template slot="title">系统配置</template>
              <el-menu-item index="menuSettings">菜单设置</el-menu-item>
              <el-menu-item index="parameterConfiguration"
                >参数配置</el-menu-item
              >
              <el-menu-item index="rests">其他</el-menu-item>
              <template slot="title">{{
                $t("operatManage.systemLayout")
              }}</template>
              <el-menu-item index="menuSettings">{{
                $t("operatManage.menuSettings")
              }}</el-menu-item>
              <el-menu-item index="parameterConfiguration">{{
                $t("operatManage.parameterConfiguration")
              }}</el-menu-item>
              <el-menu-item index="rests">{{
                $t("operatManage.rests")
              }}</el-menu-item>
            </el-submenu>
            <el-menu-item index="authorityManagement">权限管理</el-menu-item>
            <el-menu-item index="safetyManagement">安全管理</el-menu-item>
            <el-menu-item index="authorityManagement">{{
              $t("operatManage.authorityManagement")
            }}</el-menu-item>
            <el-menu-item index="safetyManagement">{{
              $t("operatManage.safetyManagement")
            }}</el-menu-item>
            <el-submenu index="2-5">
              <template slot="title">运行监控</template>
              <el-menu-item index="systemMonitoring">系统监控</el-menu-item>
              <el-menu-item index="logLog">登录日志</el-menu-item>
              <el-menu-item index="operationLog">操作日志</el-menu-item>
              <template slot="title">{{
                $t("operatManage.operationMonitoring")
              }}</template>
              <el-menu-item index="systemMonitoring">{{
                $t("operatManage.systemMonitoring")
              }}</el-menu-item>
              <el-menu-item index="logLog">{{
                $t("operatManage.logLog")
              }}</el-menu-item>
              <el-menu-item index="operationLog">{{
                $t("operatManage.operationLog")
              }}</el-menu-item>
              <!-- <el-menu-item index="databaseMonitoring">数据库监控</el-menu-item> -->
            </el-submenu>
          </el-submenu>
@@ -56,9 +92,15 @@
            <template slot="title">
              <span>{{ $t("synthesis.synthesis") }}</span>
            </template>
            <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-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>