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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Search + + + + + + + Upload + + + + + + + + + + + + + + + + + + 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