|
@@ -3,27 +3,31 @@ import Home from '../views/Home/Home.vue'
|
|
|
|
|
|
const routes = [
|
|
const routes = [
|
|
{
|
|
{
|
|
- path: '/', // 驾驶舱
|
|
|
|
|
|
+ path: '/',
|
|
|
|
+ redirect: '/monitor/home'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: '/monitor/home', // 驾驶舱
|
|
name: 'Home',
|
|
name: 'Home',
|
|
component: Home,
|
|
component: Home,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- path: '/about',
|
|
|
|
|
|
+ path: '/monitor/about',
|
|
name: 'About',
|
|
name: 'About',
|
|
component: () => import(/* webpackChunkName: "about" */ '../views/About.vue'),
|
|
component: () => import(/* webpackChunkName: "about" */ '../views/About.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- path: '/status', // 状态监视
|
|
|
|
|
|
+ path: '/monitor/status', // 状态监视
|
|
name: 'Status',
|
|
name: 'Status',
|
|
component: () => import(/* webpackChunkName: "status" */ '../views/Status/Status.vue'),
|
|
component: () => import(/* webpackChunkName: "status" */ '../views/Status/Status.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- path: '/agc', // AGC 监视
|
|
|
|
|
|
+ path: '/monitor/agc', // AGC 监视
|
|
name: 'Agc',
|
|
name: 'Agc',
|
|
component: () => import(/* webpackChunkName: "agc" */ '../views/Agc/Agc.vue'),
|
|
component: () => import(/* webpackChunkName: "agc" */ '../views/Agc/Agc.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- path: '/windsite',
|
|
|
|
|
|
+ path: '/monitor/windsite',
|
|
name: 'WindSite',
|
|
name: 'WindSite',
|
|
component: () => import(/* webpackChunkName: "windsite" */ '../views/WindSite/WindSite.vue'),
|
|
component: () => import(/* webpackChunkName: "windsite" */ '../views/WindSite/WindSite.vue'),
|
|
children: [{
|
|
children: [{
|
|
@@ -59,75 +63,75 @@ const routes = [
|
|
}]
|
|
}]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- path: '/lightmatrix', // 光伏明细矩阵
|
|
|
|
|
|
+ path: '/monitor/lightmatrix', // 光伏明细矩阵
|
|
name: 'LightMatrix',
|
|
name: 'LightMatrix',
|
|
component: () => import(/* webpackChunkName: "lightmatrix" */ '../views/LightMatrix/LightMatrix.vue'),
|
|
component: () => import(/* webpackChunkName: "lightmatrix" */ '../views/LightMatrix/LightMatrix.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- path: '/lightmatrix1', // 基础矩阵
|
|
|
|
|
|
+ path: '/monitor/lightmatrix1', // 基础矩阵
|
|
name: 'LightMatrix1',
|
|
name: 'LightMatrix1',
|
|
component: () => import(/* webpackChunkName: "lightmatrix1" */ '../views/LightMatrix1/LightMatrix1.vue'),
|
|
component: () => import(/* webpackChunkName: "lightmatrix1" */ '../views/LightMatrix1/LightMatrix1.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- path: '/lightmatrix2', // 欠发矩阵
|
|
|
|
|
|
+ path: '/monitor/lightmatrix2', // 欠发矩阵
|
|
name: 'LightMatrix2',
|
|
name: 'LightMatrix2',
|
|
component: () => import(/* webpackChunkName: "lightmatrix2" */ '../views/LightMatrix2/LightMatrix2.vue'),
|
|
component: () => import(/* webpackChunkName: "lightmatrix2" */ '../views/LightMatrix2/LightMatrix2.vue'),
|
|
}, {
|
|
}, {
|
|
- path: '/lightmatrix3', // 明细矩阵
|
|
|
|
|
|
+ path: '/monitor/lightmatrix3', // 明细矩阵
|
|
name: 'LightMatrix3',
|
|
name: 'LightMatrix3',
|
|
component: () => import(/* webpackChunkName: "lightmatrix3" */ '../views/LightMatrix3/LightMatrix3.vue'),
|
|
component: () => import(/* webpackChunkName: "lightmatrix3" */ '../views/LightMatrix3/LightMatrix3.vue'),
|
|
}, {
|
|
}, {
|
|
- path: '/decision1',
|
|
|
|
|
|
+ path: '/decision/decision1',
|
|
name: 'decision1',
|
|
name: 'decision1',
|
|
component: () => import(/* webpackChunkName: "lightmatrix3" */ '../views/Decision/Decision1.vue'),
|
|
component: () => import(/* webpackChunkName: "lightmatrix3" */ '../views/Decision/Decision1.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- path: '/decision2',
|
|
|
|
|
|
+ path: '/decision/decision2',
|
|
name: 'decision2',
|
|
name: 'decision2',
|
|
component: () => import(/* webpackChunkName: "lightmatrix3" */ '../views/Decision/Decision2.vue'),
|
|
component: () => import(/* webpackChunkName: "lightmatrix3" */ '../views/Decision/Decision2.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- path: '/decision3',
|
|
|
|
|
|
+ path: '/decision/decision3',
|
|
name: 'decision3',
|
|
name: 'decision3',
|
|
component: () => import(/* webpackChunkName: "lightmatrix3" */ '../views/Decision/Decision3.vue'),
|
|
component: () => import(/* webpackChunkName: "lightmatrix3" */ '../views/Decision/Decision3.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- path: '/decision4',
|
|
|
|
|
|
+ path: '/decision/decision4',
|
|
name: 'decision4',
|
|
name: 'decision4',
|
|
component: () => import(/* webpackChunkName: "lightmatrix3" */ '../views/Decision/Decision4.vue'),
|
|
component: () => import(/* webpackChunkName: "lightmatrix3" */ '../views/Decision/Decision4.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- path: '/health1',
|
|
|
|
|
|
+ path: '/health/health1',
|
|
name: 'health1',
|
|
name: 'health1',
|
|
component: () => import('../views/HealthControl/Health1.vue'),
|
|
component: () => import('../views/HealthControl/Health1.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- path: '/health2',
|
|
|
|
|
|
+ path: '/health/health2',
|
|
name: 'health2',
|
|
name: 'health2',
|
|
component: () => import('../views/HealthControl/Health2.vue'),
|
|
component: () => import('../views/HealthControl/Health2.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- path: '/health3',
|
|
|
|
|
|
+ path: '/health/health3',
|
|
name: 'health3',
|
|
name: 'health3',
|
|
component: () => import('../views/HealthControl/Health3.vue'),
|
|
component: () => import('../views/HealthControl/Health3.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- path: '/health4',
|
|
|
|
|
|
+ path: '/health/health4',
|
|
name: 'health4',
|
|
name: 'health4',
|
|
component: () => import('../views/HealthControl/Health4.vue'),
|
|
component: () => import('../views/HealthControl/Health4.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- path: '/health5',
|
|
|
|
|
|
+ path: '/health/health5',
|
|
name: 'health5',
|
|
name: 'health5',
|
|
component: () => import('../views/HealthControl/Health5.vue'),
|
|
component: () => import('../views/HealthControl/Health5.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- path: '/health6',
|
|
|
|
|
|
+ path: '/health/health6',
|
|
name: 'health6',
|
|
name: 'health6',
|
|
component: () => import('../views/HealthControl/Health6.vue'),
|
|
component: () => import('../views/HealthControl/Health6.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- path: '/health7',
|
|
|
|
|
|
+ path: '/health/health7',
|
|
name: 'health7',
|
|
name: 'health7',
|
|
component: () => import('../views/HealthControl/Health7.vue'),
|
|
component: () => import('../views/HealthControl/Health7.vue'),
|
|
},
|
|
},
|