zqq:添加侧边菜单栏

This commit is contained in:
qqGroup0 2023-04-07 11:07:27 +08:00
parent 91cc91ab33
commit 490aac5af2
4 changed files with 170 additions and 12 deletions

View File

@ -41,7 +41,7 @@ export const dynamicRoutes = [
isIframe: false, isIframe: false,
roles: ['admin', 'chief'], roles: ['admin', 'chief'],
// icon: 'iconfont icon-shouye', // icon: 'iconfont icon-shouye',
zh:"控制台" zh: '控制台',
}, },
}, },
{ {
@ -58,7 +58,7 @@ export const dynamicRoutes = [
isIframe: false, isIframe: false,
roles: ['admin'], roles: ['admin'],
// icon: 'iconfont icon-xitongshezhi', // icon: 'iconfont icon-xitongshezhi',
zh:"响应管理" zh: '响应管理',
}, },
children: [ children: [
{ {
@ -74,7 +74,7 @@ export const dynamicRoutes = [
isIframe: false, isIframe: false,
roles: ['admin'], roles: ['admin'],
// icon: 'iconfont icon-caidan', // icon: 'iconfont icon-caidan',
zh:"用户响应管理" zh: '用户响应管理',
}, },
}, },
{ {
@ -90,7 +90,7 @@ export const dynamicRoutes = [
isIframe: false, isIframe: false,
roles: ['admin'], roles: ['admin'],
// icon: 'ele-ColdDrink', // icon: 'ele-ColdDrink',
zh:"管理员管理" zh: '管理员管理',
}, },
}, },
{ {
@ -106,7 +106,7 @@ export const dynamicRoutes = [
isIframe: false, isIframe: false,
roles: ['admin', 'chief'], roles: ['admin', 'chief'],
// icon: 'iconfont icon-icon-', // icon: 'iconfont icon-icon-',
zh:"数据上传管理" zh: '数据上传管理',
}, },
}, },
], ],
@ -125,7 +125,7 @@ export const dynamicRoutes = [
isIframe: false, isIframe: false,
roles: ['admin', 'chief'], roles: ['admin', 'chief'],
// icon: 'iconfont icon-xitongshezhi', // icon: 'iconfont icon-xitongshezhi',
zh:"数据服务" zh: '数据服务',
}, },
children: [ children: [
{ {
@ -141,7 +141,7 @@ export const dynamicRoutes = [
isIframe: false, isIframe: false,
roles: ['admin', 'chief'], roles: ['admin', 'chief'],
// icon: 'iconfont icon-caidan', // icon: 'iconfont icon-caidan',
zh:"多媒体数据" zh: '多媒体数据',
}, },
}, },
{ {
@ -157,7 +157,7 @@ export const dynamicRoutes = [
isIframe: false, isIframe: false,
roles: ['admin', 'chief'], roles: ['admin', 'chief'],
// icon: 'ele-ColdDrink', // icon: 'ele-ColdDrink',
zh:"遥感数据" zh: '遥感数据',
}, },
}, },
{ {
@ -173,11 +173,154 @@ export const dynamicRoutes = [
isIframe: false, isIframe: false,
roles: ['admin', 'chief'], roles: ['admin', 'chief'],
// icon: 'ele-ColdDrink', // icon: 'ele-ColdDrink',
zh:"其他数据服务" zh: '其他数据服务',
}, },
}, },
], ],
}, },
{
path: '/systemManagement',
name: 'systemManagement',
component: () => import('/@/views/systemManagement/administrator/index.vue'),
redirect: '/systemManagement/administrator',
meta: {
title: 'System management',
isLink: '',
isHide: false,
isKeepAlive: true,
isAffix: false,
isIframe: false,
roles: ['admin'],
// icon: 'iconfont icon-xitongshezhi',
zh: '系统管理',
},
children: [
{
path: '/systemManagement/administrator',
name: 'administratorManagement',
component: () => import('/@/views/systemManagement/administrator/index.vue'),
meta: {
title: 'Administrator management',
isLink: '',
isHide: false,
isKeepAlive: true,
isAffix: false,
isIframe: false,
roles: ['admin'],
// icon: 'iconfont icon-caidan',
zh: '普通管理员管理',
},
},
{
path: '/systemManagement/dictionary',
name: 'dictionaryManagement',
component: () => import('/@/views/systemManagement/dictionary/index.vue'),
meta: {
title: 'Dictionary management',
isLink: '',
isHide: false,
isKeepAlive: true,
isAffix: false,
isIframe: false,
roles: ['admin'],
// icon: 'ele-ColdDrink',
zh: '字典管理',
},
},
],
},
// path: '/system',
// name: 'system',
// component: () => import('/@/layout/routerView/parent.vue'),
// redirect: '/system/menu',
// meta: {
// title: '系统设置',
// isLink: '',
// isHide: false,
// isKeepAlive: true,
// isAffix: false,
// isIframe: false,
// roles: ['admin'],
// icon: 'iconfont icon-xitongshezhi',
// },
// 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/dic',
// name: 'systemDic',
// component: () => import('/@/views/system/dic/index.vue'),
// meta: {
// title: '字典管理',
// isLink: '',
// isHide: false,
// isKeepAlive: true,
// isAffix: false,
// isIframe: false,
// roles: ['admin'],
// icon: 'ele-SetUp',
// },
// },
// ],
// },
// { // {
// path: '/dataUploadAndRetrieval', // path: '/dataUploadAndRetrieval',
// name: 'dataUploadAndRetrieval', // name: 'dataUploadAndRetrieval',
@ -335,7 +478,7 @@ export const notFoundAndNoPower = [
meta: { meta: {
title: '页面找不到', title: '页面找不到',
isHide: true, isHide: true,
zh:"页面找不到" zh: '页面找不到',
}, },
}, },
{ {
@ -345,7 +488,7 @@ export const notFoundAndNoPower = [
meta: { meta: {
title: '页面无权限', title: '页面无权限',
isHide: true, isHide: true,
zh:"页面无权限" zh: '页面无权限',
}, },
}, },
]; ];
@ -363,7 +506,7 @@ export const staticRoutes = [
component: () => import('/@/views/login/index.vue'), component: () => import('/@/views/login/index.vue'),
meta: { meta: {
title: '登录', title: '登录',
zh:"登录" zh: '登录',
}, },
}, },
]; ];

View File

@ -0,0 +1,5 @@
<template>
<div>
<h3>普通管理员注册审核管理</h3>
</div>
</template>

View File

@ -0,0 +1,10 @@
<template>
<div>
<h3>
<ul>字典管理
<li>disaster type</li>
<li>...</li>
</ul>
</h3>
</div>
</template>

View File