|
@@ -2,485 +2,483 @@ import { createRouter, createWebHashHistory } from 'vue-router'
|
|
import Home from '../views/Home/Home.vue'
|
|
import Home from '../views/Home/Home.vue'
|
|
|
|
|
|
const routes = [{
|
|
const routes = [{
|
|
- path: '/',
|
|
+ path: '/',
|
|
- redirect: '/monitor/home'
|
|
+ redirect: '/monitor/home'
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/monitor/home',
|
|
+ path: '/monitor/home',
|
|
- name: 'Home',
|
|
+ name: 'Home',
|
|
- component: Home,
|
|
+ component: Home,
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/monitor/about',
|
|
+ path: '/monitor/about',
|
|
- name: 'About',
|
|
+ name: 'About',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/About.vue'),
|
|
+ import( '../views/About.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/monitor/demo',
|
|
+ path: '/monitor/demo',
|
|
- name: 'Demo',
|
|
+ name: 'Demo',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/Demo.vue'),
|
|
+ import( '../views/Demo.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/monitor/status',
|
|
+ path: '/monitor/status',
|
|
- name: 'Status',
|
|
+ name: 'Status',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/Status/Status.vue'),
|
|
+ import( '../views/Status/Status.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/monitor/agc',
|
|
+ path: '/monitor/agc',
|
|
- name: 'Agc',
|
|
+ name: 'Agc',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/Agc/Agc.vue'),
|
|
+ import( '../views/Agc/Agc.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/monitor/windsite',
|
|
+ path: '/monitor/windsite',
|
|
- name: 'WindSite',
|
|
+ name: 'WindSite',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/WindSite/WindSite.vue'),
|
|
+ import( '../views/WindSite/WindSite.vue'),
|
|
- children: [{
|
|
+ children: [{
|
|
- path: 'home/:wpId',
|
|
+ path: 'home/:wpId',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/WindSite/pages/Home/Home.vue'),
|
|
+ import( '../views/WindSite/pages/Home/Home.vue'),
|
|
- }, {
|
|
+ }, {
|
|
- path: 'draughtfanlist/:wpId',
|
|
+ path: 'draughtfanlist/:wpId',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/WindSite/pages/DraughtFanList.vue'),
|
|
+ import( '../views/WindSite/pages/DraughtFanList.vue'),
|
|
- }, {
|
|
+ }, {
|
|
- path: 'matrix/:wpId',
|
|
+ path: 'matrix/:wpId',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/WindSite/pages/Matrix.vue'),
|
|
+ import( '../views/WindSite/pages/Matrix.vue'),
|
|
- }, {
|
|
+ }, {
|
|
- path: 'lightmatrix/:wpId',
|
|
+ path: 'lightmatrix/:wpId',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/WindSite/pages/LightMatrix.vue'),
|
|
+ import( '../views/WindSite/pages/LightMatrix.vue'),
|
|
- }, {
|
|
+ }, {
|
|
- path: 'box/:wpId',
|
|
+ path: 'box/:wpId',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/WindSite/pages/Box.vue'),
|
|
+ import( '../views/WindSite/pages/Box.vue'),
|
|
- }, {
|
|
+ }, {
|
|
- path: 'info/:wpId/:wtId',
|
|
+ path: 'info/:wpId/:wtId',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/WindSite/pages/Info/Info.vue'),
|
|
+ import( '../views/WindSite/pages/Info/Info.vue'),
|
|
- }, {
|
|
+ }, {
|
|
- path: 'tower/:wpId',
|
|
+ path: 'tower/:wpId',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/WindSite/pages/Tower.vue'),
|
|
+ import( '../views/WindSite/pages/Tower.vue'),
|
|
- }, {
|
|
+ }, {
|
|
- path: 'inverter-info/:wpId',
|
|
+ path: 'inverter-info/:wpId',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/WindSite/pages/Inverter-Info.vue'),
|
|
+ import( '../views/WindSite/pages/Inverter-Info.vue'),
|
|
- }, {
|
|
+ }, {
|
|
- path: 'map/:wpId',
|
|
+ path: 'map/:wpId',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/WindSite/pages/Map.vue'),
|
|
+ import( '../views/WindSite/pages/Map.vue'),
|
|
- }, {
|
|
+ }, {
|
|
- path: 'map1/:wpId',
|
|
+ path: 'map1/:wpId',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/WindSite/pages/Map1.vue'),
|
|
+ import( '../views/WindSite/pages/Map1.vue'),
|
|
- },
|
|
+ },
|
|
- {
|
|
+ {
|
|
- path: 'boosterstation/:wpId',
|
|
+ path: 'boosterstation/:wpId',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/WindSite/pages/BoosterStation.vue'),
|
|
+ import( '../views/WindSite/pages/BoosterStation.vue'),
|
|
- },
|
|
+ },
|
|
- {
|
|
+ {
|
|
- path: "generalappearance/:wpId",
|
|
+ path: "generalappearance/:wpId",
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( "../views/WindSite/pages/GeneralAppearance.vue"),
|
|
+ import( "../views/WindSite/pages/GeneralAppearance.vue"),
|
|
- },
|
|
+ },
|
|
- ]
|
|
+ ]
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/monitor/lightmatrix',
|
|
+ path: '/monitor/lightmatrix',
|
|
- name: 'LightMatrix',
|
|
+ name: 'LightMatrix',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/LightMatrix/LightMatrix.vue'),
|
|
+ import( '../views/LightMatrix/LightMatrix.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/monitor/lightmatrix1',
|
|
+ path: '/monitor/lightmatrix1',
|
|
- name: 'LightMatrix1',
|
|
+ name: 'LightMatrix1',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/LightMatrix1/LightMatrix1.vue'),
|
|
+ import( '../views/LightMatrix1/LightMatrix1.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/monitor/lightmatrix2',
|
|
+ path: '/monitor/lightmatrix2',
|
|
- name: 'LightMatrix2',
|
|
+ name: 'LightMatrix2',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/LightMatrix2/LightMatrix2.vue'),
|
|
+ import( '../views/LightMatrix2/LightMatrix2.vue'),
|
|
- }, {
|
|
+}, {
|
|
- path: '/monitor/lightmatrix3',
|
|
+ path: '/monitor/lightmatrix3',
|
|
- name: 'LightMatrix3',
|
|
+ name: 'LightMatrix3',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/LightMatrix3/LightMatrix3.vue'),
|
|
+ import( '../views/LightMatrix3/LightMatrix3.vue'),
|
|
- }, {
|
|
+}, {
|
|
- path: '/decision/decision1',
|
|
+ path: '/decision/decision1',
|
|
- name: 'decision1',
|
|
+ name: 'decision1',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/Decision/Decision1.vue'),
|
|
+ import( '../views/Decision/Decision1.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/decision/decision1Mx',
|
|
+ path: '/decision/decision1Mx',
|
|
- name: 'decision1Mx',
|
|
+ name: 'decision1Mx',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/Decision/Decision1Mx.vue'),
|
|
+ import( '../views/Decision/Decision1Mx.vue'),
|
|
- },
|
|
+},
|
|
|
|
|
|
- {
|
|
+{
|
|
- path: '/decision/decision2',
|
|
+ path: '/decision/decision2',
|
|
- name: 'decision2',
|
|
+ name: 'decision2',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/Decision/Decision2.vue'),
|
|
+ import( '../views/Decision/Decision2.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/decision/decision2Cndb',
|
|
+ path: '/decision/decision2Cndb',
|
|
- name: 'decision2Cndb',
|
|
+ name: 'decision2Cndb',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/Decision/Decision2Cndb.vue'),
|
|
+ import( '../views/Decision/Decision2Cndb.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/decision/decision2Cjdb',
|
|
+ path: '/decision/decision2Cjdb',
|
|
- name: 'decision2Cjdb',
|
|
+ name: 'decision2Cjdb',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/Decision/Decision2Cjdb.vue'),
|
|
+ import( '../views/Decision/Decision2Cjdb.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/decision/decision2Xmdb',
|
|
+ path: '/decision/decision2Xmdb',
|
|
- name: 'decision2Xmdb',
|
|
+ name: 'decision2Xmdb',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/Decision/Decision2Xmdb.vue'),
|
|
+ import( '../views/Decision/Decision2Xmdb.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/decision/decision2Xldb',
|
|
+ path: '/decision/decision2Xldb',
|
|
- name: 'decision2Xldb',
|
|
+ name: 'decision2Xldb',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/Decision/Decision2Xldb.vue'),
|
|
+ import( '../views/Decision/Decision2Xldb.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/decision/decision3',
|
|
+ path: '/decision/decision3',
|
|
- name: 'decision3',
|
|
+ name: 'decision3',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/Decision/Decision3.vue'),
|
|
+ import( '../views/Decision/Decision3.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/decision/decision4',
|
|
+ path: '/decision/decision4',
|
|
- name: 'decision4',
|
|
+ name: 'decision4',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/Decision/Decision4.vue'),
|
|
+ import( '../views/Decision/Decision4.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/decision/decision4czzl',
|
|
+ path: '/decision/decision4czzl',
|
|
- name: 'decision4czzl',
|
|
+ name: 'decision4czzl',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/Decision/Decision4Czzl.vue'),
|
|
+ import( '../views/Decision/Decision4Czzl.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/health',
|
|
+ path: '/health',
|
|
- name: 'health',
|
|
+ name: 'health',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ('../views/HealthControl/Health.vue'),
|
|
+ import('../views/HealthControl/Health.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/health/healthDay',
|
|
+ path: '/health/healthDay',
|
|
- name: 'healthDay',
|
|
+ name: 'healthDay',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ('../views/HealthControl/HealthDay.vue'),
|
|
+ import('../views/HealthControl/HealthDay.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/health/healthMonth',
|
|
+ path: '/health/healthMonth',
|
|
- name: 'healthMonth',
|
|
+ name: 'healthMonth',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ('../views/HealthControl/HealthMonth.vue'),
|
|
+ import('../views/HealthControl/HealthMonth.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/health/healthYear',
|
|
+ path: '/health/healthYear',
|
|
- name: 'healthYear',
|
|
+ name: 'healthYear',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ('../views/HealthControl/HealthYear.vue'),
|
|
+ import('../views/HealthControl/HealthYear.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/health/health1',
|
|
+ path: '/health/health1',
|
|
- name: 'health1',
|
|
+ name: 'health1',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ('../views/HealthControl/Health1.vue'),
|
|
+ import('../views/HealthControl/Health1.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/health/health2',
|
|
+ path: '/health/health2',
|
|
- name: 'health2',
|
|
+ name: 'health2',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ('../views/HealthControl/Health2.vue'),
|
|
+ import('../views/HealthControl/Health2.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/health/health3/:wpId',
|
|
+ path: '/health/health3/:wpId',
|
|
- name: 'health3',
|
|
+ name: 'health3',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ('../views/HealthControl/Health3.vue'),
|
|
+ import('../views/HealthControl/Health3.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/health/health4',
|
|
+ path: '/health/health4',
|
|
- name: 'health4',
|
|
+ name: 'health4',
|
|
- children: [{
|
|
+ children: [{
|
|
- path: "/health/health0/:wpId/:wtId",
|
|
+ path: "/health/health0/:wpId/:wtId",
|
|
- name: "health0",
|
|
+ name: "health0",
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ("../views/HealthControl/Health0.vue"),
|
|
+ import("../views/HealthControl/Health0.vue"),
|
|
- }, {
|
|
+ }, {
|
|
- path: "/health/health10/:wtId",
|
|
+ path: "/health/health10/:wtId",
|
|
- name: "health10",
|
|
+ name: "health10",
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( "../views/HealthControl/Health10.vue"),
|
|
+ import( "../views/HealthControl/Health10.vue"),
|
|
- }, {
|
|
+ }, {
|
|
- path: 'healthLineChart/:wtId',
|
|
+ path: 'healthLineChart/:wtId',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/HealthControl/healthLineChart.vue'),
|
|
+ import( '../views/HealthControl/healthLineChart.vue'),
|
|
- },
|
|
+ },
|
|
- {
|
|
+ {
|
|
- path: 'healthLineChart2/:wtId',
|
|
+ path: 'healthLineChart2/:wtId',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( '../views/HealthControl/healthLineChart2.vue'),
|
|
+ import( '../views/HealthControl/healthLineChart2.vue'),
|
|
- }
|
|
+ }
|
|
- ],
|
|
+ ],
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ('../views/HealthControl/Health4.vue'),
|
|
+ import('../views/HealthControl/Health4.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/health/health5/',
|
|
+ path: '/health/health5/',
|
|
- name: 'health5',
|
|
+ name: 'health5',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ('../views/HealthControl/Health5.vue'),
|
|
+ import('../views/HealthControl/Health5.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/health/health6',
|
|
+ path: '/health/health6',
|
|
- name: 'health6',
|
|
+ name: 'health6',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ('../views/HealthControl/Health6.vue'),
|
|
+ import('../views/HealthControl/Health6.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/cutAnalyse',
|
|
+ path: '/cutAnalyse',
|
|
- name: 'cutAnalyse',
|
|
+ name: 'cutAnalyse',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ('../views/cutAnalyse/index.vue'),
|
|
+ import('../views/cutAnalyse/index.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/cutAnalyse',
|
|
+ path: '/cutAnalyse',
|
|
- name: 'cutAnalyse',
|
|
+ name: 'cutAnalyse',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ('../views/cutAnalyse/index.vue'),
|
|
+ import('../views/cutAnalyse/index.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/wtSaturability',
|
|
+ path: '/wtSaturability',
|
|
- name: 'wtSaturability',
|
|
+ name: 'wtSaturability',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ('../views/wtSaturability/index.vue'),
|
|
+ import('../views/wtSaturability/index.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/windAnalysis',
|
|
+ path: '/windAnalysis',
|
|
- name: 'windAnalysis',
|
|
+ name: 'windAnalysis',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ('../views/windAnalysis/index.vue'),
|
|
+ import('../views/windAnalysis/index.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/powerRank',
|
|
+ path: '/powerRank',
|
|
- name: 'powerRank',
|
|
+ name: 'powerRank',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ('../views/powerRank/index.vue'),
|
|
+ import('../views/powerRank/index.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/totalPowerRank',
|
|
+ path: '/totalPowerRank',
|
|
- name: 'totalPowerRank',
|
|
+ name: 'totalPowerRank',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ('../views/totalPowerRank/index.vue'),
|
|
+ import('../views/totalPowerRank/index.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/warningRank',
|
|
+ path: '/warningRank',
|
|
- name: 'warningRank',
|
|
+ name: 'warningRank',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ('../views/warningRank/index.vue'),
|
|
+ import('../views/warningRank/index.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/realSearch',
|
|
+ path: '/realSearch',
|
|
- name: 'realSearch',
|
|
+ name: 'realSearch',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ('../views/realSearch/index.vue'),
|
|
+ import('../views/realSearch/index.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/singleAnalysis',
|
|
+ path: '/singleAnalysis',
|
|
- name: 'singleAnalysis',
|
|
+ name: 'singleAnalysis',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ('../views/singleAnalysis/index.vue'),
|
|
+ import('../views/singleAnalysis/index.vue'),
|
|
- },
|
|
+},
|
|
-
|
|
+{
|
|
-
|
|
+ path: '/performanceAnalysis',
|
|
-
|
|
+ name: 'performanceAnalysis',
|
|
-
|
|
+ component: () => import('../views/performanceAnalysis/index.vue'),
|
|
-
|
|
+},
|
|
-
|
|
+{
|
|
-
|
|
+ path: "/performanceAnalysis/detail/:wpId/:wtId",
|
|
-
|
|
+ name: "performanceAnalysisDetail",
|
|
-
|
|
+ component: () => import( "../views/NewPages/dj1.vue"),
|
|
-
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/historySearch',
|
|
+ path: '/historySearch',
|
|
- name: 'historySearch',
|
|
+ name: 'historySearch',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ('../views/historySearch/index.vue'),
|
|
+ import('../views/historySearch/index.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/knowledge',
|
|
+ path: '/knowledge',
|
|
- name: 'knowledge1',
|
|
+ name: 'knowledge1',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ('../views/Knowledge/Knowledge1.vue'),
|
|
+ import('../views/Knowledge/Knowledge1.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/knowledge2',
|
|
+ path: '/knowledge2',
|
|
- name: 'knowledge2',
|
|
+ name: 'knowledge2',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ('../views/Knowledge/Knowledge2.vue'),
|
|
+ import('../views/Knowledge/Knowledge2.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/knowledge3',
|
|
+ path: '/knowledge3',
|
|
- name: 'knowledge3',
|
|
+ name: 'knowledge3',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ('../views/Knowledge/Knowledge3.vue'),
|
|
+ import('../views/Knowledge/Knowledge3.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/knowledge4',
|
|
+ path: '/knowledge4',
|
|
- name: 'knowledge4',
|
|
+ name: 'knowledge4',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ('../views/Knowledge/Knowledge4.vue'),
|
|
+ import('../views/Knowledge/Knowledge4.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/knowledge5',
|
|
+ path: '/knowledge5',
|
|
- name: 'knowledge5',
|
|
+ name: 'knowledge5',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ('../views/Knowledge/Knowledge5.vue'),
|
|
+ import('../views/Knowledge/Knowledge5.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/knowledge6',
|
|
+ path: '/knowledge6',
|
|
- name: 'knowledge6',
|
|
+ name: 'knowledge6',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ('../views/Knowledge/Knowledge6.vue'),
|
|
+ import('../views/Knowledge/Knowledge6.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: '/knowledge7',
|
|
+ path: '/knowledge7',
|
|
- name: 'knowledge7',
|
|
+ name: 'knowledge7',
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ('../views/Knowledge/Knowledge7.vue'),
|
|
+ import('../views/Knowledge/Knowledge7.vue'),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: "/health/health8",
|
|
+ path: "/health/health8",
|
|
- name: "health8",
|
|
+ name: "health8",
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( "../views/HealthControl/Health8.vue"),
|
|
+ import( "../views/HealthControl/Health8.vue"),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: "/monitor/sandtable",
|
|
+ path: "/monitor/sandtable",
|
|
- name: "sandtable",
|
|
+ name: "sandtable",
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( "../views/SandTable/SandTable.vue"),
|
|
+ import( "../views/SandTable/SandTable.vue"),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: "/new/dj1",
|
|
+ path: "/new/pf1",
|
|
- name: "dj1",
|
|
+ name: "pf1",
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( "../views/NewPages/dj1.vue"),
|
|
+ import( "../views/NewPages/power-forecast-1.vue"),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: "/new/pf1",
|
|
+ path: "/new/fs",
|
|
- name: "pf1",
|
|
+ name: "fs",
|
|
- component: () =>
|
|
+ component: () =>
|
|
- import ( "../views/NewPages/power-forecast-1.vue"),
|
|
+ import( "../views/NewPages/forecast-system.vue"),
|
|
- },
|
|
+},
|
|
- {
|
|
+{
|
|
- path: "/new/fs",
|
|
+ path: '/new/ztfx',
|
|
- name: "fs",
|
|
+ name: 'ztfx',
|
|
- component: () =>
|
|
+ component: () => import( '../views/NewPages/ztfx.vue'),
|
|
- import ( "../views/NewPages/forecast-system.vue"),
|
|
+},
|
|
- },
|
|
+{
|
|
- {
|
|
+ path: '/new/fdlyl',
|
|
- path: '/new/ztfx',
|
|
+ name: 'fdlyl',
|
|
- name: 'ztfx',
|
|
+ component: () => import( '../views/NewPages/fdlyl.vue'),
|
|
- component: () =>
|
|
+},
|
|
- import ( '../views/NewPages/ztfx.vue'),
|
|
+{
|
|
- },
|
|
+ path: '/new/intelligentalarmcenter',
|
|
- {
|
|
+ name: 'intelligentalarmcenter',
|
|
- path: '/new/intelligentalarmcenter',
|
|
+ component: () =>
|
|
- name: 'intelligentalarmcenter',
|
|
+ import( '../views/NewPages/intelligent-alarm-center.vue'),
|
|
- component: () =>
|
|
+},
|
|
- import ( '../views/NewPages/intelligent-alarm-center.vue'),
|
|
+{
|
|
- },
|
|
+ path: '/new/personnel',
|
|
- {
|
|
+ name: 'personnel',
|
|
- path: '/new/personnel',
|
|
+ component: () =>
|
|
- name: 'personnel',
|
|
+ import( '../views/NewPages/personnel.vue'),
|
|
- component: () =>
|
|
+},
|
|
- import ( '../views/NewPages/personnel.vue'),
|
|
+{
|
|
- },
|
|
+ path: '/new/znzhfx/:wtId/:year/:month',
|
|
- {
|
|
+ name: 'znzhfx',
|
|
- path: '/new/znzhfx',
|
|
+ component: () =>
|
|
- name: 'znzhfx',
|
|
+ import( '../views/NewPages/znzhfx.vue'),
|
|
- component: () =>
|
|
+},
|
|
- import ( '../views/NewPages/znzhfx.vue'),
|
|
+{
|
|
- },
|
|
+ path: '/new/alarmcenter',
|
|
- {
|
|
+ name: 'alarmcenter',
|
|
- path: '/new/alarmcenter',
|
|
+ component: () =>
|
|
- name: 'alarmcenter',
|
|
+ import( '../views/NewPages/alarm-center.vue'),
|
|
- component: () =>
|
|
+},
|
|
- import ( '../views/NewPages/alarm-center.vue'),
|
|
+{
|
|
- },
|
|
+ path: '/new/knowledgebase',
|
|
- {
|
|
+ name: 'knowledgebase',
|
|
- path: '/new/knowledgebase',
|
|
+ component: () =>
|
|
- name: 'knowledgebase',
|
|
+ import( '../views/NewPages/knowledge-base.vue'),
|
|
- component: () =>
|
|
+},
|
|
- import ( '../views/NewPages/knowledge-base.vue'),
|
|
+{
|
|
- },
|
|
+ path: "/new/dj",
|
|
- {
|
|
+ name: "dj",
|
|
- path: "/new/dj",
|
|
+ component: () =>
|
|
- name: "dj",
|
|
+ import( "../views/NewPages/dj.vue"),
|
|
- component: () =>
|
|
+},
|
|
- import ( "../views/NewPages/dj.vue"),
|
|
+{
|
|
- },
|
|
+ path: "/new/dj2",
|
|
- {
|
|
+ name: "dj2",
|
|
- path: "/new/dj2",
|
|
+ component: () =>
|
|
- name: "dj2",
|
|
+ import( "../views/NewPages/dj2.vue"),
|
|
- component: () =>
|
|
+},
|
|
- import ( "../views/NewPages/dj2.vue"),
|
|
+{
|
|
- },
|
|
+ path: "/new/dialog",
|
|
- {
|
|
+ name: "dialog",
|
|
- path: "/new/dialog",
|
|
+ component: () =>
|
|
- name: "dialog",
|
|
+ import( "../views/NewPages/dialogs.vue"),
|
|
- component: () =>
|
|
+},
|
|
- import ( "../views/NewPages/dialogs.vue"),
|
|
+{
|
|
- },
|
|
+ path: '/fwjsl',
|
|
- {
|
|
+ name: 'fwjsl',
|
|
- path: '/fwjsl',
|
|
+ component: () =>
|
|
- name: 'fwjsl',
|
|
+ import('../views/Decision/slgl/fwjsl.vue')
|
|
- component: () =>
|
|
+},
|
|
- import ('../views/Decision/slgl/fwjsl.vue')
|
|
+
|
|
- },
|
|
+{
|
|
-
|
|
+ path: '/ztzhl',
|
|
- {
|
|
+ name: 'ztzhl',
|
|
- path: '/ztzhl',
|
|
+ component: () =>
|
|
- name: 'ztzhl',
|
|
+ import('../views/Decision/slgl/ztzhl.vue')
|
|
- component: () =>
|
|
+},
|
|
- import ('../views/Decision/slgl/ztzhl.vue')
|
|
+
|
|
- },
|
|
+{
|
|
-
|
|
+ path: '/xqjsl',
|
|
- {
|
|
+ name: 'xqjsl',
|
|
- path: '/xqjsl',
|
|
+ component: () =>
|
|
- name: 'xqjsl',
|
|
+ import('../views/Decision/slgl/xqjsl.vue')
|
|
- component: () =>
|
|
+}
|
|
- import ('../views/Decision/slgl/xqjsl.vue')
|
|
|
|
- }
|
|
|
|
]
|
|
]
|
|
const router = createRouter({
|
|
const router = createRouter({
|
|
- history: createWebHashHistory(),
|
|
+ history: createWebHashHistory(),
|
|
- base: '/zhfx/',
|
|
+ base: '/zhfx/',
|
|
- routes
|
|
+ routes
|
|
})
|
|
})
|
|
|
|
|
|
router.beforeEach((to, from, next) => {
|
|
router.beforeEach((to, from, next) => {
|
|
- next()
|
|
+ next()
|
|
})
|
|
})
|
|
|
|
|
|
export default router
|
|
export default router
|