zqq:侧边栏调整
This commit is contained in:
parent
479388ff69
commit
40fd907fcd
|
@ -49,19 +49,21 @@
|
||||||
</template>
|
</template>
|
||||||
</el-popover>
|
</el-popover>
|
||||||
</div>
|
</div>
|
||||||
<el-dropdown :show-timeout="70" :hide-timeout="50" trigger="click" @command="onLanguageChange">
|
<el-dropdown :show-timeout="70"
|
||||||
|
:hide-timeout="50"
|
||||||
|
trigger="click"
|
||||||
|
@command="onLanguageChange">
|
||||||
<div class="layout-navbars-breadcrumb-user-icon">
|
<div class="layout-navbars-breadcrumb-user-icon">
|
||||||
<i
|
<i class="iconfont"
|
||||||
class="iconfont"
|
:class="state.disabledI18n === 'en' ? 'icon-fuhao-zhongwen' : 'icon-fuhao-yingwen'"></i>
|
||||||
:class="state.disabledI18n === 'en' ? 'icon-fuhao-zhongwen' : 'icon-fuhao-yingwen'"
|
|
||||||
|
|
||||||
></i>
|
|
||||||
</div>
|
</div>
|
||||||
<template #dropdown>
|
<template #dropdown>
|
||||||
<el-dropdown-menu>
|
<el-dropdown-menu>
|
||||||
<el-dropdown-item command="zh-cn" :disabled="state.disabledI18n === 'zh-cn'">English</el-dropdown-item>
|
<el-dropdown-item command="zh-cn"
|
||||||
<el-dropdown-item command="en" :disabled="state.disabledI18n === 'en'">简体中文</el-dropdown-item>
|
:disabled="state.disabledI18n === 'zh-cn'">English</el-dropdown-item>
|
||||||
<!-- <el-dropdown-item command="zh-tw" :disabled="state.disabledI18n === 'zh-tw'">繁體中文</el-dropdown-item> -->
|
<el-dropdown-item command="en"
|
||||||
|
:disabled="state.disabledI18n === 'en'">简体中文</el-dropdown-item>
|
||||||
|
<!-- <el-dropdown-item command="zh-cn" :disabled="state.disabledI18n === 'zh-cn'">简体中文</el-dropdown-item> -->
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</template>
|
</template>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
|
|
|
@ -77,22 +77,6 @@ export const dynamicRoutes = [
|
||||||
zh: '用户响应管理',
|
zh: '用户响应管理',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
path: '/responseManagement/administrator',
|
|
||||||
name: 'administrator-management',
|
|
||||||
component: () => import('/@/views/responseManagement/administrator/index.vue'),
|
|
||||||
meta: {
|
|
||||||
title: 'Administrator management',
|
|
||||||
isLink: '',
|
|
||||||
isHide: false,
|
|
||||||
isKeepAlive: true,
|
|
||||||
isAffix: false,
|
|
||||||
isIframe: false,
|
|
||||||
roles: ['admin'],
|
|
||||||
// icon: 'ele-ColdDrink',
|
|
||||||
zh: '管理员管理',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
path: '/responseManagement/dataUpload',
|
path: '/responseManagement/dataUpload',
|
||||||
name: 'data-upload-management',
|
name: 'data-upload-management',
|
||||||
|
@ -211,6 +195,22 @@ export const dynamicRoutes = [
|
||||||
zh: '普通管理员管理',
|
zh: '普通管理员管理',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/systemManagement/chief',
|
||||||
|
name: 'chiefManagement',
|
||||||
|
component: () => import('/@/views/systemManagement/chief/index.vue'),
|
||||||
|
meta: {
|
||||||
|
title: 'Chief Administrator management',
|
||||||
|
isLink: '',
|
||||||
|
isHide: false,
|
||||||
|
isKeepAlive: true,
|
||||||
|
isAffix: false,
|
||||||
|
isIframe: false,
|
||||||
|
roles: ['admin'],
|
||||||
|
// icon: 'ele-ColdDrink',
|
||||||
|
zh: '主要管理员管理',
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/systemManagement/dictionary',
|
path: '/systemManagement/dictionary',
|
||||||
name: 'dictionaryManagement',
|
name: 'dictionaryManagement',
|
||||||
|
@ -383,7 +383,7 @@ export const dynamicRoutes = [
|
||||||
isIframe: false,
|
isIframe: false,
|
||||||
roles: ['admin'],
|
roles: ['admin'],
|
||||||
// icon: 'iconfont icon-xitongshezhi',
|
// icon: 'iconfont icon-xitongshezhi',
|
||||||
zh:"系统设置"
|
zh: '系统设置',
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
// {
|
// {
|
||||||
|
|
|
@ -147,8 +147,8 @@ export const useThemeConfig = defineStore('themeConfig', {
|
||||||
globalViceTitle: 'vueNextAdmin',
|
globalViceTitle: 'vueNextAdmin',
|
||||||
// 网站副标题(登录页顶部文字)
|
// 网站副标题(登录页顶部文字)
|
||||||
globalViceTitleMsg: '专注、免费、开源、维护、解疑',
|
globalViceTitleMsg: '专注、免费、开源、维护、解疑',
|
||||||
// 默认初始语言,可选值"<zh-cn|en|zh-tw>",默认 zh-cn
|
// 默认初始语言,可选值"<zh-cn|en|zh-tw>",默认 en
|
||||||
globalI18n: 'zh-cn',
|
globalI18n: 'en',
|
||||||
// 默认全局组件大小,可选值"<large|'default'|small>",默认 'large'
|
// 默认全局组件大小,可选值"<large|'default'|small>",默认 'large'
|
||||||
globalComponentSize: 'large',
|
globalComponentSize: 'large',
|
||||||
},
|
},
|
||||||
|
|
|
@ -136,7 +136,7 @@
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { ref, reactive, onMounted } from 'vue';
|
import { ref, reactive, onMounted } from 'vue';
|
||||||
import { getRemoteSensingSourceData, getSelectionCondition } from "/@/api/remoteSensingSourceData/index.js";
|
import { getRemoteSensingSourceData, getSelectionCondition } from "/@/api/remoteSensingSourceData/remoteSensingSourceData.js";
|
||||||
|
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
tableData: {
|
tableData: {
|
||||||
|
@ -215,8 +215,8 @@ const searchDisasterType = () => {
|
||||||
state.options_disasterType = []
|
state.options_disasterType = []
|
||||||
for (let index = 0; index < res.length; index++) {
|
for (let index = 0; index < res.length; index++) {
|
||||||
let obj = {}
|
let obj = {}
|
||||||
obj.value = res[index].name
|
obj.value = res[index].dictValue
|
||||||
obj.label = res[index].name
|
obj.label = res[index].dictValue
|
||||||
state.options_disasterType.push(obj)
|
state.options_disasterType.push(obj)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue