zqq:配置路由

This commit is contained in:
qqGroup0 2023-03-29 15:28:03 +08:00
parent 3249880b0f
commit 1f29266860
12 changed files with 223 additions and 2865 deletions

2877
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -33,7 +33,7 @@ export const dynamicRoutes = [
name: 'home',
component: () => import('/@/views/home/index.vue'),
meta: {
title: '首页',
title: 'Dashboard',
isLink: '',
isHide: false,
isKeepAlive: true,
@ -43,6 +43,165 @@ export const dynamicRoutes = [
icon: 'iconfont icon-shouye',
},
},
{
path: '/responseManagement',
name: 'responseManagement',
component: () => import('/@/views/responseManagement/responseManagement.vue'),
redirect: '/responseManagement/userResponse',
meta: {
title: 'Response management',
isLink: '',
isHide: false,
isKeepAlive: true,
isAffix: false,
isIframe: false,
roles: ['admin'],
icon: 'iconfont icon-xitongshezhi',
},
children: [
{
path: '/responseManagement/userResponse',
name: 'userResponseManagement',
component: () => import('/@/views/responseManagement/userResponse/index.vue'),
meta: {
title: 'User response management',
isLink: '',
isHide: false,
isKeepAlive: true,
isAffix: false,
isIframe: false,
roles: ['admin'],
icon: 'iconfont icon-caidan',
},
},
{
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',
},
},
{
path: '/responseManagement/dataUpload',
name: 'data-upload-management',
component: () => import('/@/views/responseManagement/dataUpload/index.vue'),
meta: {
title: 'Data upload management',
isLink: '',
isHide: false,
isKeepAlive: true,
isAffix: false,
isIframe: false,
roles: ['admin'],
icon: 'iconfont icon-icon-',
},
},
],
},
{
path: '/dataAcquisitionService',
name: 'dataAcquisitionService',
component: () => import('/@/views/dataAcquisitionService/multimediaData/index.vue'),
redirect: '/dataAcquisitionService/multimediaData',
meta: {
title: 'Data acquisition service',
isLink: '',
isHide: false,
isKeepAlive: true,
isAffix: false,
isIframe: false,
roles: ['admin'],
icon: 'iconfont icon-xitongshezhi',
},
children: [
{
path: '/dataAcquisitionService/multimediaData',
name: 'multimediaData',
component: () => import('/@/views/dataAcquisitionService/multimediaData/index.vue'),
meta: {
title: 'Multimedia data acquisition service',
isLink: '',
isHide: false,
isKeepAlive: true,
isAffix: false,
isIframe: false,
roles: ['admin'],
icon: 'iconfont icon-caidan',
},
},
{
path: '/dataAcquisitionService/remoteSensingData',
name: 'remoteSensingData',
component: () => import('/@/views/dataAcquisitionService/remoteSensingData/index.vue'),
meta: {
title: 'Remote sensing data acquisition service',
isLink: '',
isHide: false,
isKeepAlive: true,
isAffix: false,
isIframe: false,
roles: ['admin'],
icon: 'ele-ColdDrink',
},
},
],
},
{
path: '/dataUploadAndRetrieval',
name: 'dataUploadAndRetrieval',
component: () => import('/@/views/dataUploadAndRetrieval/dataUpload/index.vue'),
redirect: '/dataUploadAndRetrieval/data-upload',
meta: {
title: 'Data upload and retrieval',
isLink: '',
isHide: false,
isKeepAlive: true,
isAffix: false,
isIframe: false,
roles: ['admin'],
icon: 'iconfont icon-xitongshezhi',
},
children: [
{
path: '/dataUploadAndRetrieval/dataUpload',
name: 'dataUpload',
component: () => import('/@/views/dataUploadAndRetrieval/dataUpload/index.vue'),
meta: {
title: 'Data upload',
isLink: '',
isHide: false,
isKeepAlive: true,
isAffix: false,
isIframe: false,
roles: ['admin'],
icon: 'iconfont icon-caidan',
},
},
{
path: '/dataUploadAndRetrieval/dataRetrieval',
name: 'dataRetrieval',
component: () => import('/@/views/dataUploadAndRetrieval/dataRetrieval/index.vue'),
meta: {
title: 'Data retrieval',
isLink: '',
isHide: false,
isKeepAlive: true,
isAffix: false,
isIframe: false,
roles: ['admin'],
icon: 'ele-ColdDrink',
},
},
],
},
{
path: '/system',
name: 'system',

View File

@ -0,0 +1,5 @@
<template>
<div>
dataAcquisitionService
</div>
</template>

View File

@ -0,0 +1,5 @@
<template>
<div>
multimediaData
</div>
</template>

View File

@ -0,0 +1,5 @@
<template>
<div>
remoteSensingData
</div>
</template>

View File

@ -0,0 +1,5 @@
<template>
<div>
dataRetrieval
</div>
</template>

View File

@ -0,0 +1,5 @@
<template>
<div>
dataUpload
</div>
</template>

View File

@ -0,0 +1,5 @@
<template>
<div>
dataUploadAndRetrieval
</div>
</template>

View File

@ -0,0 +1,5 @@
<template>
<div>
administrator
</div>
</template>

View File

@ -0,0 +1,5 @@
<template>
<div>
dataUpload
</div>
</template>

View File

@ -0,0 +1,5 @@
<template>
<div>
responseManagement
</div>
</template>

View File

@ -0,0 +1,5 @@
<template>
<div>
userResponse
</div>
</template>