From 40fd907fcdbbc8ecd1499cc5d2cba99898ed0e71 Mon Sep 17 00:00:00 2001 From: qqGroup0 <253114712@qq.com> Date: Tue, 11 Apr 2023 22:34:38 +0800 Subject: [PATCH] =?UTF-8?q?zqq:=E4=BE=A7=E8=BE=B9=E6=A0=8F=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../{index.js => remoteSensingSourceData.js} | 0 src/layout/navBars/breadcrumb/user.vue | 58 +++---- src/router/route.js | 154 +++++++++--------- src/stores/themeConfig.js | 4 +- .../components/retrievalCondition.vue | 6 +- .../chief}/index.vue | 0 6 files changed, 112 insertions(+), 110 deletions(-) rename src/api/remoteSensingSourceData/{index.js => remoteSensingSourceData.js} (100%) rename src/views/{responseManagement/administrator => systemManagement/chief}/index.vue (100%) diff --git a/src/api/remoteSensingSourceData/index.js b/src/api/remoteSensingSourceData/remoteSensingSourceData.js similarity index 100% rename from src/api/remoteSensingSourceData/index.js rename to src/api/remoteSensingSourceData/remoteSensingSourceData.js diff --git a/src/layout/navBars/breadcrumb/user.vue b/src/layout/navBars/breadcrumb/user.vue index 3a36db5..857379f 100644 --- a/src/layout/navBars/breadcrumb/user.vue +++ b/src/layout/navBars/breadcrumb/user.vue @@ -49,29 +49,31 @@ - -
- -
- -
+ +
+ +
+ +
- + @@ -94,7 +96,7 @@ - + @@ -115,16 +117,16 @@ import other from '/@/utils/other'; // 引入组件 const UserNews = defineAsyncComponent(() => import('/@/layout/navBars/breadcrumb/userNews.vue')); const Search = defineAsyncComponent(() => import('/@/layout/navBars/breadcrumb/search.vue')); -const useTranslateStore=useTranslate() +const useTranslateStore = useTranslate() const onLanguageChange = (lang) => { - if(lang=="en"){ - state.disabledI18n="en" - useTranslateStore.translate_control=0 - } - else{ - state.disabledI18n="zh-cn" - useTranslateStore.translate_control=1 - } + if (lang == "en") { + state.disabledI18n = "en" + useTranslateStore.translate_control = 0 + } + else { + state.disabledI18n = "zh-cn" + useTranslateStore.translate_control = 1 + } }; // 定义变量内容 const router = useRouter(); @@ -138,7 +140,7 @@ const state = reactive({ isScreenfull: false, disabledSize: 'large', setIntervalId: null, - disabledI18n:"en", + disabledI18n: "en", }); // 设置分割样式 diff --git a/src/router/route.js b/src/router/route.js index a02d202..04e032f 100644 --- a/src/router/route.js +++ b/src/router/route.js @@ -77,22 +77,6 @@ export const dynamicRoutes = [ 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', name: 'data-upload-management', @@ -211,6 +195,22 @@ export const dynamicRoutes = [ 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', name: 'dictionaryManagement', @@ -383,69 +383,69 @@ export const dynamicRoutes = [ isIframe: false, roles: ['admin'], // icon: 'iconfont icon-xitongshezhi', - zh:"系统设置" + zh: '系统设置', }, children: [ - // { - // path: '/system/menu', - // name: 'systemMenu', - // component: () => import('/@/views/system/menu/index.vue'), - // meta: { - // title: '菜单管理', - // isLink: '', - // isHide: false, - // isKeepAlive: true, - // isAffix: false, - // isIframe: false, - // roles: ['admin'], - // icon: 'iconfont icon-caidan', - // }, - // }, - // { - // path: '/system/role', - // name: 'systemRole', - // component: () => import('/@/views/system/role/index.vue'), - // meta: { - // title: '角色管理', - // isLink: '', - // isHide: false, - // isKeepAlive: true, - // isAffix: false, - // isIframe: false, - // roles: ['admin'], - // icon: 'ele-ColdDrink', - // }, - // }, - // { - // path: '/system/user', - // name: 'systemUser', - // component: () => import('/@/views/system/user/index.vue'), - // meta: { - // title: '用户管理', - // isLink: '', - // isHide: false, - // isKeepAlive: true, - // isAffix: false, - // isIframe: false, - // roles: ['admin'], - // icon: 'iconfont icon-icon-', - // }, - // }, - // { - // path: '/system/dept', - // name: 'systemDept', - // component: () => import('/@/views/system/dept/index.vue'), - // meta: { - // title: '部门管理', - // isLink: '', - // isHide: false, - // isKeepAlive: true, - // isAffix: false, - // isIframe: false, - // roles: ['admin'], - // icon: 'ele-OfficeBuilding', - // }, - // }, + // { + // path: '/system/menu', + // name: 'systemMenu', + // component: () => import('/@/views/system/menu/index.vue'), + // meta: { + // title: '菜单管理', + // isLink: '', + // isHide: false, + // isKeepAlive: true, + // isAffix: false, + // isIframe: false, + // roles: ['admin'], + // icon: 'iconfont icon-caidan', + // }, + // }, + // { + // path: '/system/role', + // name: 'systemRole', + // component: () => import('/@/views/system/role/index.vue'), + // meta: { + // title: '角色管理', + // isLink: '', + // isHide: false, + // isKeepAlive: true, + // isAffix: false, + // isIframe: false, + // roles: ['admin'], + // icon: 'ele-ColdDrink', + // }, + // }, + // { + // path: '/system/user', + // name: 'systemUser', + // component: () => import('/@/views/system/user/index.vue'), + // meta: { + // title: '用户管理', + // isLink: '', + // isHide: false, + // isKeepAlive: true, + // isAffix: false, + // isIframe: false, + // roles: ['admin'], + // icon: 'iconfont icon-icon-', + // }, + // }, + // { + // path: '/system/dept', + // name: 'systemDept', + // component: () => import('/@/views/system/dept/index.vue'), + // meta: { + // title: '部门管理', + // isLink: '', + // isHide: false, + // isKeepAlive: true, + // isAffix: false, + // isIframe: false, + // roles: ['admin'], + // icon: 'ele-OfficeBuilding', + // }, + // }, { path: '/system/dic', name: 'systemDic', diff --git a/src/stores/themeConfig.js b/src/stores/themeConfig.js index 7778706..60d5833 100644 --- a/src/stores/themeConfig.js +++ b/src/stores/themeConfig.js @@ -147,8 +147,8 @@ export const useThemeConfig = defineStore('themeConfig', { globalViceTitle: 'vueNextAdmin', // 网站副标题(登录页顶部文字) globalViceTitleMsg: '专注、免费、开源、维护、解疑', - // 默认初始语言,可选值"",默认 zh-cn - globalI18n: 'zh-cn', + // 默认初始语言,可选值"",默认 en + globalI18n: 'en', // 默认全局组件大小,可选值"",默认 'large' globalComponentSize: 'large', }, diff --git a/src/views/dataService/remoteSensingData/components/retrievalCondition.vue b/src/views/dataService/remoteSensingData/components/retrievalCondition.vue index f2f6d62..d221d06 100644 --- a/src/views/dataService/remoteSensingData/components/retrievalCondition.vue +++ b/src/views/dataService/remoteSensingData/components/retrievalCondition.vue @@ -136,7 +136,7 @@