diff --git a/xiuosiot-frontend/src/router/index.js b/xiuosiot-frontend/src/router/index.js index 6154f3b..13fa61b 100644 --- a/xiuosiot-frontend/src/router/index.js +++ b/xiuosiot-frontend/src/router/index.js @@ -75,6 +75,26 @@ export const constantRoutes = [ component: () => import('@/views/solution/qianjiang'), hidden: true }, + { + path: '/configuration/development', + component: () => import('@/views/configuration/development'), + hidden: true + }, + { + path: '/configuration/transferStation', + component: () => import('@/views/configuration/transferStation'), + hidden: true + }, + { + path: '/configuration/AiCity', + component: () => import('@/views/configuration/AiCity'), + hidden: true + }, + { + path: '/configuration/bridgeMachine', + component: () => import('@/views/configuration/bridgeMachine'), + hidden: true + }, { path: '/login', component: () => import('@/views/login/index'), @@ -176,37 +196,43 @@ export const constantRoutes = [ } ] }, + // { + // path: '/configuration', + // component: Layout, + // name: 'Configuration', + // meta: { title: '组态管理', icon: 'configuration' }, + // children: [ + // { + // path: 'development', + // name: 'Development', + // component: () => import('@/views/configuration/development'), + // meta: { title: '组态开发' } + // }, + // { + // path: 'transferStation', + // name: 'TransferStation', + // component: () => import('@/views/configuration/transferStation'), + // meta: { title: '变电站' } + // }, + // { + // path: 'aicity', + // name: 'AiCity', + // component: () => import('@/views/configuration/AiCity'), + // meta: { title: '智慧城市' } + // }, + // { + // path: 'bridgeMachine', + // name: 'BridgeMachine', + // component: () => import('@/views/configuration/bridgeMachine'), + // meta: { title: '大方架桥机' } + // } + // ] + // }, { - path: '/configuration', + path: '/configureApp', component: Layout, - name: 'Configuration', - meta: { title: '组态管理', icon: 'configuration' }, - children: [ - { - path: 'development', - name: 'Development', - component: () => import('@/views/configuration/development'), - meta: { title: '组态开发' } - }, - { - path: 'transferStation', - name: 'TransferStation', - component: () => import('@/views/configuration/transferStation'), - meta: { title: '变电站' } - }, - { - path: 'aicity', - name: 'AiCity', - component: () => import('@/views/configuration/AiCity'), - meta: { title: '智慧城市' } - }, - { - path: 'bridgeMachine', - name: 'BridgeMachine', - component: () => import('@/views/configuration/bridgeMachine'), - meta: { title: '大方架桥机' } - } - ] + name: 'configureApp', + meta: { title: '组态应用', icon: 'configuration', disabled: true } }, { path: '/log', diff --git a/xiuosiot-frontend/src/views/components/Cover/index.vue b/xiuosiot-frontend/src/views/components/Cover/index.vue index 9dbe229..00b7410 100644 --- a/xiuosiot-frontend/src/views/components/Cover/index.vue +++ b/xiuosiot-frontend/src/views/components/Cover/index.vue @@ -48,6 +48,28 @@ +