初次提交
This commit is contained in:
152
src/router/modules/system.js
Normal file
152
src/router/modules/system.js
Normal file
@ -0,0 +1,152 @@
|
||||
/** When your routing table is too long, you can split it into small modules**/
|
||||
|
||||
import Layout from '@/layout'
|
||||
|
||||
const systemRouter = {
|
||||
path: '/system',
|
||||
component: Layout,
|
||||
redirect: 'noRedirect',
|
||||
name: 'System',
|
||||
meta: {
|
||||
title: 'system',
|
||||
icon: 'el-icon-s-tools'
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'dictionary',
|
||||
component: () => import('@/views/system/dictionary/index.vue'),
|
||||
name: 'dictionary',
|
||||
meta: { title: 'dictionary' }
|
||||
},
|
||||
{
|
||||
path: 'role',
|
||||
component: () => import('@/views/system/role/index.vue'),
|
||||
name: 'role',
|
||||
meta: { title: 'role' }
|
||||
},
|
||||
{
|
||||
path: 'menu',
|
||||
component: () => import('@/views/system/menu/index.vue'),
|
||||
name: 'menu',
|
||||
meta: { title: 'menu' }
|
||||
},
|
||||
{
|
||||
path: 'user',
|
||||
component: () => import('@/views/system/user/index.vue'),
|
||||
name: 'user',
|
||||
meta: { title: 'user' }
|
||||
},
|
||||
{
|
||||
path: 'org',
|
||||
component: () => import('@/views/system/org/index.vue'),
|
||||
name: 'org',
|
||||
meta: { title: 'org' }
|
||||
},
|
||||
{
|
||||
path: 'log',
|
||||
component: () => import('@/views/system/log/index.vue'),
|
||||
name: 'log',
|
||||
meta: { title: 'log' }
|
||||
},
|
||||
{
|
||||
path: 'post',
|
||||
component: () => import('@/views/system/post/index.vue'),
|
||||
name: 'post',
|
||||
meta: { title: '岗位' }
|
||||
},
|
||||
{
|
||||
path: 'department',
|
||||
component: () => import('@/views/system/department/index.vue'),
|
||||
name: 'department',
|
||||
meta: { title: '电站管理' }
|
||||
},
|
||||
{
|
||||
path: 'equipment',
|
||||
component: () => import('@/views/system/equipment/index.vue'),
|
||||
name: 'equipment',
|
||||
meta: { title: '设备管理' }
|
||||
},
|
||||
{
|
||||
path: 'alarm-configuration',
|
||||
component: () => import('@/views/system/alarm-configuration/index.vue'),
|
||||
name: 'alarm-configuration',
|
||||
meta: { title: '告警配置' }
|
||||
},
|
||||
{
|
||||
path: 'ems-equipment',
|
||||
component: () => import('@/views/system/ems-equipment/index.vue'),
|
||||
name: 'ems-equipment',
|
||||
meta: { title: 'EMS设备' }
|
||||
},
|
||||
{
|
||||
path: 'ems-model',
|
||||
component: () => import('@/views/system/ems-model/index.vue'),
|
||||
name: 'ems-model',
|
||||
meta: { title: 'EMS模型' }
|
||||
},
|
||||
{
|
||||
path: 'equipment-model-relevancy',
|
||||
component: () => import('@/views/system/equipment-model-relevancy/index.vue'),
|
||||
name: 'equipment-model-relevancy',
|
||||
meta: { title: '模型-设备关联管理' }
|
||||
},
|
||||
|
||||
{
|
||||
path: 'equip-model',
|
||||
component: () => import('@/views/system/equip-model/index.vue'),
|
||||
name: 'equip-model',
|
||||
meta: { title: '设备模型管理' }
|
||||
},
|
||||
{
|
||||
path: 'station-role',
|
||||
component: () => import('@/views/system/station-role/index.vue'),
|
||||
name: 'station-role',
|
||||
meta: { title: '电站角色管理' }
|
||||
},
|
||||
{
|
||||
path: 'model-type',
|
||||
component: () => import('@/views/system/model-type/index.vue'),
|
||||
name: 'model-type',
|
||||
meta: { title: '模型类型配置' }
|
||||
},
|
||||
{
|
||||
path: 'virtual-device-col',
|
||||
component: () => import('@/views/system/virtual-device-col/index.vue'),
|
||||
name: 'virtual-device-col',
|
||||
meta: { title: '虚拟设备点表配置' }
|
||||
},
|
||||
{
|
||||
path: 'synchronize-virtual-configuration',
|
||||
component: () => import('@/views/system/synchronize-virtual-configuration/index.vue'),
|
||||
name: 'synchronize-virtual-configuration',
|
||||
meta: { title: '同步虚拟配置' }
|
||||
},
|
||||
{
|
||||
path: 'offset-setting',
|
||||
component: () => import('@/views/system/offset-setting/index.vue'),
|
||||
name: 'offset-setting',
|
||||
meta: { title: '偏移量设置' }
|
||||
},
|
||||
{
|
||||
path: 'device-upgrade',
|
||||
component: () => import('@/views/system/device-upgrade/index.vue'),
|
||||
name: 'device-upgrade',
|
||||
meta: { title: '设备升级' }
|
||||
},
|
||||
{
|
||||
path: 'sms-configuration',
|
||||
component: () => import('@/views/system/sms-configuration/index.vue'),
|
||||
name: 'sms-configuration',
|
||||
meta: { title: '短信配置' }
|
||||
},
|
||||
{
|
||||
path: 'site-configuration',
|
||||
component: () => import('@/views/system/site-configuration/index.vue'),
|
||||
name: 'site-configuration',
|
||||
meta: { title: '一键同步' }
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
|
||||
export default systemRouter
|
||||
Reference in New Issue
Block a user