| | |
| | | > |
| | | <el-submenu index="3" class="faSub"> |
| | | <template slot="title"> |
| | | <span>{{ $t("synthesis.synthesis") }}</span> |
| | | <span>{{ $t('synthesis.synthesis') }}</span> |
| | | </template> |
| | | <el-menu-item index="Synthesis">{{ |
| | | $t("synthesis.synthesis") |
| | | $t('synthesis.synthesis') |
| | | }}</el-menu-item> |
| | | <el-menu-item index="Thematic">{{ |
| | | $t("synthesis.themaic") |
| | | $t('synthesis.themaic') |
| | | }}</el-menu-item> |
| | | <el-menu-item index="Archive">{{ |
| | | $t("synthesis.archive") |
| | | $t('synthesis.archive') |
| | | }}</el-menu-item> |
| | | </el-submenu> |
| | | <el-submenu index="1" class="faSub"> |
| | | <template slot="title"> |
| | | <span>{{ $t("dataManage.dataManage") }}</span> |
| | | <span>{{ $t('dataManage.dataManage') }}</span> |
| | | </template> |
| | | <el-menu-item index="catalogueManage">{{ |
| | | $t("dataManage.catalogueManage") |
| | | $t('dataManage.catalogueManage') |
| | | }}</el-menu-item> |
| | | <el-menu-item index="dataUpdata">{{ |
| | | $t("dataManage.dataUpdata") |
| | | $t('dataManage.dataUpdata') |
| | | }}</el-menu-item> |
| | | <el-menu-item index="metadataManage">{{ |
| | | $t("dataManage.metadataManage") |
| | | $t('dataManage.metadataManage') |
| | | }}</el-menu-item> |
| | | <el-menu-item index="dataLoading">{{ |
| | | $t("dataManage.dataLoading") |
| | | $t('dataManage.dataLoading') |
| | | }}</el-menu-item> |
| | | <el-menu-item index="SpatialData">{{ |
| | | $t("dataManage.SpatialData") |
| | | $t('dataManage.SpatialData') |
| | | }}</el-menu-item> |
| | | <el-menu-item index="versionManage">{{ |
| | | $t("dataManage.versionManage") |
| | | $t('dataManage.versionManage') |
| | | }}</el-menu-item> |
| | | <el-menu-item index="dictionaryManage">{{ |
| | | $t("dataManage.dictionaryManage") |
| | | $t('dataManage.dictionaryManage') |
| | | }}</el-menu-item> |
| | | <el-menu-item index="styleManage">{{ |
| | | $t("dataManage.styleManage") |
| | | $t('dataManage.styleManage') |
| | | }}</el-menu-item> |
| | | </el-submenu> |
| | | <el-submenu index="2" class="faSub"> |
| | | <template slot="title"> |
| | | <span>{{ $t("operatManage.operatManage") }}</span> |
| | | <span>{{ $t('operatManage.operatManage') }}</span> |
| | | </template> |
| | | <el-submenu index="2-2"> |
| | | <template slot="title">{{ |
| | | $t("operatManage.systemLayout") |
| | | $t('operatManage.systemLayout') |
| | | }}</template> |
| | | <el-menu-item index="menuSettings">{{ |
| | | $t("operatManage.menuSettings") |
| | | $t('operatManage.menuSettings') |
| | | }}</el-menu-item> |
| | | <el-menu-item index="parameterConfiguration">{{ |
| | | $t("operatManage.parameterConfiguration") |
| | | $t('operatManage.parameterConfiguration') |
| | | }}</el-menu-item> |
| | | <el-menu-item index="rests">{{ |
| | | $t("operatManage.rests") |
| | | $t('operatManage.rests') |
| | | }}</el-menu-item> |
| | | </el-submenu> |
| | | <el-menu-item index="authorityManagement">{{ |
| | | $t("operatManage.authorityManagement") |
| | | $t('operatManage.authorityManagement') |
| | | }}</el-menu-item> |
| | | <el-menu-item index="safetyManagement">{{ |
| | | $t("operatManage.safetyManagement") |
| | | $t('operatManage.safetyManagement') |
| | | }}</el-menu-item> |
| | | <el-submenu index="2-5"> |
| | | <template slot="title">{{ |
| | | $t("operatManage.operationMonitoring") |
| | | $t('operatManage.operationMonitoring') |
| | | }}</template> |
| | | <el-menu-item index="eventlogManage">{{ |
| | | $t("operatManage.eventlogManage") |
| | | $t('operatManage.eventlogManage') |
| | | }}</el-menu-item> |
| | | <el-menu-item index="logLog">{{ |
| | | $t("operatManage.logLog") |
| | | $t('operatManage.logLog') |
| | | }}</el-menu-item> |
| | | <el-menu-item index="operationLog">{{ |
| | | $t("operatManage.operationLog") |
| | | $t('operatManage.operationLog') |
| | | }}</el-menu-item> |
| | | <el-menu-item index="databaseMonitoring">{{ |
| | | $t("operatManage.databaseMonitoring") |
| | | $t('operatManage.databaseMonitoring') |
| | | }}</el-menu-item> |
| | | <el-menu-item index="systemMonitoring">{{ |
| | | $t("operatManage.systemMonitoring") |
| | | $t('operatManage.systemMonitoring') |
| | | }}</el-menu-item> |
| | | <el-menu-item index="blackwhiteList" |
| | | >{{ $t("operatManage.blackwhiteList") }} |
| | | >{{ $t('operatManage.blackwhiteList') }} |
| | | </el-menu-item> |
| | | <el-menu-item index="tokentool">{{ |
| | | $t("operatManage.tokentool") |
| | | $t('operatManage.tokentool') |
| | | }}</el-menu-item> |
| | | </el-submenu> |
| | | </el-submenu> |
| | | |
| | | <el-submenu index="4" class="faSub"> |
| | | <template slot="title"> |
| | | <span>{{ $t("userManage.userManage") }}</span> |
| | | <span>{{ $t('userManage.userManage') }}</span> |
| | | </template> |
| | | <el-menu-item index="userInfoManage">{{ |
| | | $t("userManage.userInfoManage") |
| | | $t('userManage.userInfoManage') |
| | | }}</el-menu-item> |
| | | <el-menu-item index="orgManage">{{ |
| | | $t("userManage.orgManage") |
| | | $t('userManage.orgManage') |
| | | }}</el-menu-item> |
| | | <el-menu-item index="userAuditing">{{ |
| | | $t("userManage.userAuditing") |
| | | $t('userManage.userAuditing') |
| | | }}</el-menu-item> |
| | | <el-menu-item index="roleManage">{{ |
| | | $t("userManage.roleManage") |
| | | $t('userManage.roleManage') |
| | | }}</el-menu-item> |
| | | <el-menu-item index="groupManage">{{ |
| | | $t("userManage.groupManage") |
| | | $t('userManage.groupManage') |
| | | }}</el-menu-item> |
| | | <el-menu-item index="authorityManage">{{ |
| | | $t('userManage.authorityManage') |
| | | }}</el-menu-item> |
| | | </el-submenu> |
| | | <!-- <el-submenu index="5" class="faSub"> |
| | |
| | | |
| | | <script> |
| | | export default { |
| | | name: "navMenu", |
| | | name: 'navMenu', |
| | | //import引入的组件需要注入到对象中才能使用 |
| | | data() { |
| | | return { |
| | | lang: "en", |
| | | lang: 'en', |
| | | }; |
| | | }, |
| | | methods: { |
| | | handleOpen(key, keyPath) { |
| | | if ( |
| | | keyPath[1] != "dataLoading" && |
| | | keyPath[1] != "2-2" && |
| | | keyPath[1] != "2-5" |
| | | keyPath[1] != 'dataLoading' && |
| | | keyPath[1] != '2-2' && |
| | | keyPath[1] != '2-5' |
| | | ) |
| | | this.$router.push(keyPath[1]); |
| | | }, |
| | | handleClose(key, keyPath) { |
| | | if ( |
| | | keyPath[1] != "dataLoading" && |
| | | keyPath[1] != "2-5" && |
| | | keyPath[1] != "2-2" |
| | | keyPath[1] != 'dataLoading' && |
| | | keyPath[1] != '2-5' && |
| | | keyPath[1] != '2-2' |
| | | ) |
| | | this.$router.push(keyPath[1]); |
| | | }, |
| | | handleselect(index) { |
| | | if (index != null) { |
| | | this.$emit("shwoMapView", false); |
| | | this.$emit('shwoMapView', false); |
| | | } |
| | | }, |
| | | showChange() { |
| | | this.$emit("shwoMapView", true); |
| | | this.$emit('shwoMapView', true); |
| | | }, |
| | | switchLang() { |
| | | if (this.lang == "en") { |
| | | if (this.lang == 'en') { |
| | | this.$i18n.locale = this.lang; |
| | | this.lang = "zh"; |
| | | this.lang = 'zh'; |
| | | } else { |
| | | this.$i18n.locale = this.lang; |
| | | this.lang = "en"; |
| | | this.lang = 'en'; |
| | | } |
| | | }, |
| | | }, |