From de315fd34e94beea8fd716caf32bdb416d2cf90a Mon Sep 17 00:00:00 2001 From: qqGroup0 <253114712@qq.com> Date: Thu, 30 Mar 2023 18:10:53 +0800 Subject: [PATCH] =?UTF-8?q?zqq:=E6=9B=B4=E6=94=B9=E8=B7=AF=E7=94=B1?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/route.js | 329 +++++++++--------- .../index.vue | 0 .../multimediaData/index.vue | 0 src/views/dataService/otherData/index.vue | 266 ++++++++++++++ .../remoteSensingData/index.vue | 0 5 files changed, 438 insertions(+), 157 deletions(-) rename src/views/{dataAcquisitionService => dataService}/index.vue (100%) rename src/views/{dataAcquisitionService => dataService}/multimediaData/index.vue (100%) create mode 100644 src/views/dataService/otherData/index.vue rename src/views/{dataAcquisitionService => dataService}/remoteSensingData/index.vue (100%) diff --git a/src/router/route.js b/src/router/route.js index a01ab38..39e7615 100644 --- a/src/router/route.js +++ b/src/router/route.js @@ -39,7 +39,7 @@ export const dynamicRoutes = [ isKeepAlive: true, isAffix: true, isIframe: false, - roles: ['admin', 'common'], + roles: ['admin', 'chief'], icon: 'iconfont icon-shouye', }, }, @@ -100,201 +100,216 @@ export const dynamicRoutes = [ isKeepAlive: true, isAffix: false, isIframe: false, - roles: ['admin'], + roles: ['admin', 'chief'], icon: 'iconfont icon-icon-', }, }, ], }, { - path: '/dataAcquisitionService', - name: 'dataAcquisitionService', - component: () => import('/@/views/dataAcquisitionService/multimediaData/index.vue'), - redirect: '/dataAcquisitionService/multimediaData', + path: '/dataService', + name: 'dataService', + component: () => import('/@/views/dataService/multimediaData/index.vue'), + redirect: '/dataService/multimediaData', meta: { - title: 'Data acquisition service', + title: 'Data service', isLink: '', isHide: false, isKeepAlive: true, isAffix: false, isIframe: false, - roles: ['admin'], + roles: ['admin', 'chief'], icon: 'iconfont icon-xitongshezhi', }, children: [ { - path: '/dataAcquisitionService/multimediaData', + path: '/dataService/multimediaData', name: 'multimediaData', - component: () => import('/@/views/dataAcquisitionService/multimediaData/index.vue'), + component: () => import('/@/views/dataService/multimediaData/index.vue'), meta: { - title: 'Multimedia data acquisition service', + title: 'Multimedia data service', isLink: '', isHide: false, isKeepAlive: true, isAffix: false, isIframe: false, - roles: ['admin'], + roles: ['admin', 'chief'], icon: 'iconfont icon-caidan', }, }, { - path: '/dataAcquisitionService/remoteSensingData', + path: '/dataService/remoteSensingData', name: 'remoteSensingData', - component: () => import('/@/views/dataAcquisitionService/remoteSensingData/index.vue'), + component: () => import('/@/views/dataService/remoteSensingData/index.vue'), meta: { - title: 'Remote sensing data acquisition service', + title: 'Remote sensing data service', isLink: '', isHide: false, isKeepAlive: true, isAffix: false, isIframe: false, - roles: ['admin'], + roles: ['admin', 'chief'], + icon: 'ele-ColdDrink', + }, + }, + { + path: '/dataService/otherData', + name: 'otherData', + component: () => import('/@/views/dataService/otherData/index.vue'), + meta: { + title: 'other data service', + isLink: '', + isHide: false, + isKeepAlive: true, + isAffix: false, + isIframe: false, + roles: ['admin', 'chief'], 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', - 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', + // 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', + // 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', + // }, + // }, + // ], + // }, ], }, ]; diff --git a/src/views/dataAcquisitionService/index.vue b/src/views/dataService/index.vue similarity index 100% rename from src/views/dataAcquisitionService/index.vue rename to src/views/dataService/index.vue diff --git a/src/views/dataAcquisitionService/multimediaData/index.vue b/src/views/dataService/multimediaData/index.vue similarity index 100% rename from src/views/dataAcquisitionService/multimediaData/index.vue rename to src/views/dataService/multimediaData/index.vue diff --git a/src/views/dataService/otherData/index.vue b/src/views/dataService/otherData/index.vue new file mode 100644 index 0000000..b606d3c --- /dev/null +++ b/src/views/dataService/otherData/index.vue @@ -0,0 +1,266 @@ + + + + + diff --git a/src/views/dataAcquisitionService/remoteSensingData/index.vue b/src/views/dataService/remoteSensingData/index.vue similarity index 100% rename from src/views/dataAcquisitionService/remoteSensingData/index.vue rename to src/views/dataService/remoteSensingData/index.vue