|
@@ -8,94 +8,94 @@
|
|
|
import { createRouter, createWebHashHistory } from 'vue-router'
|
|
|
|
|
|
const routes = [
|
|
|
- {
|
|
|
- path: '/login',
|
|
|
- name: 'login',
|
|
|
- meta: {
|
|
|
- title: '登录',
|
|
|
+ {
|
|
|
+ path: '/login',
|
|
|
+ name: 'login',
|
|
|
+ meta: {
|
|
|
+ title: '登录',
|
|
|
+ },
|
|
|
+ component: () => import('../views/login/index.vue')
|
|
|
},
|
|
|
- component: () => import('../views/login/index.vue')
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/',
|
|
|
- redirect: '/login'
|
|
|
+ {
|
|
|
+ path: '/',
|
|
|
+ redirect: '/login'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/home',
|
|
|
+ name: 'homePage',
|
|
|
+ meta: {
|
|
|
+ title: '首页',
|
|
|
+ },
|
|
|
+ component: () =>
|
|
|
+ import(
|
|
|
+ '../views/home/index.vue'
|
|
|
+ ),
|
|
|
},
|
|
|
{
|
|
|
- path: '/home',
|
|
|
- name: 'homePage',
|
|
|
+ path: '/404',
|
|
|
+ component: () => import('../views/error/404.vue')
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/:catchAll(.*)',
|
|
|
+ redirect: '/404'
|
|
|
+ },
|
|
|
+ //功率预测相关页面
|
|
|
+ {
|
|
|
+ path: '/powerPrediction/index',
|
|
|
+ name: 'powerPredictionIndex',
|
|
|
meta: {
|
|
|
- title: '首页',
|
|
|
+ title: '概要',
|
|
|
},
|
|
|
component: () =>
|
|
|
import(
|
|
|
- '../views/home/index.vue'
|
|
|
+ '../views/powerPrediction/homePageNoMap.vue'
|
|
|
),
|
|
|
},
|
|
|
- {
|
|
|
- path: '/404',
|
|
|
- component: () => import('../views/error/404.vue')
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/:catchAll(.*)',
|
|
|
- redirect: '/404'
|
|
|
- },
|
|
|
- //功率预测相关页面
|
|
|
- {
|
|
|
- path: '/powerPrediction/index',
|
|
|
- name: 'powerPredictionIndex',
|
|
|
- meta: {
|
|
|
- title: '概要',
|
|
|
- },
|
|
|
- component: () =>
|
|
|
- import(
|
|
|
- '../views/powerPrediction/homePageNoMap.vue'
|
|
|
- ),
|
|
|
-},
|
|
|
-{
|
|
|
- path: '/powerPrediction/panoramicPower',
|
|
|
- name: 'panoramicPower',
|
|
|
- meta: {
|
|
|
- title: '全景功率',
|
|
|
+ {
|
|
|
+ path: '/powerPrediction/panoramicPower',
|
|
|
+ name: 'panoramicPower',
|
|
|
+ meta: {
|
|
|
+ title: '全景功率',
|
|
|
+ },
|
|
|
+ component: () =>
|
|
|
+ import(
|
|
|
+ '../views/powerPrediction/panoramicPower.vue'
|
|
|
+ ),
|
|
|
},
|
|
|
- component: () =>
|
|
|
- import(
|
|
|
- '../views/powerPrediction/panoramicPower.vue'
|
|
|
- ),
|
|
|
-},
|
|
|
-{
|
|
|
- path: '/powerPrediction/power',
|
|
|
- name: 'powerPre',
|
|
|
- meta: {
|
|
|
- title: '功率预测',
|
|
|
+ {
|
|
|
+ path: '/powerPrediction/power',
|
|
|
+ name: 'powerPre',
|
|
|
+ meta: {
|
|
|
+ title: '功率预测',
|
|
|
+ },
|
|
|
+ component: () =>
|
|
|
+ import(
|
|
|
+ '../views/powerPrediction/powerPredictionPage.vue'
|
|
|
+ ),
|
|
|
},
|
|
|
- component: () =>
|
|
|
- import(
|
|
|
- '../views/powerPrediction/powerPredictionPage.vue'
|
|
|
- ),
|
|
|
-},
|
|
|
-{
|
|
|
- path: '/powerPrediction/batteryDiviner',
|
|
|
- name: 'batteryDiviner',
|
|
|
- meta: {
|
|
|
- title: '电量预测',
|
|
|
+ {
|
|
|
+ path: '/powerPrediction/batteryDiviner',
|
|
|
+ name: 'batteryDiviner',
|
|
|
+ meta: {
|
|
|
+ title: '电量预测',
|
|
|
+ },
|
|
|
+ component: () =>
|
|
|
+ import(
|
|
|
+ '../views/powerPrediction/batteryDivinerPage.vue'
|
|
|
+ ),
|
|
|
},
|
|
|
- component: () =>
|
|
|
- import(
|
|
|
- '../views/powerPrediction/batteryDivinerPage.vue'
|
|
|
- ),
|
|
|
-},
|
|
|
-{
|
|
|
- path: '/powerPrediction/weather',
|
|
|
- name: 'weatherPage',
|
|
|
- meta: {
|
|
|
- title: '天气预报',
|
|
|
+ {
|
|
|
+ path: '/powerPrediction/weather',
|
|
|
+ name: 'weatherPage',
|
|
|
+ meta: {
|
|
|
+ title: '天气预报',
|
|
|
+ },
|
|
|
+ component: () =>
|
|
|
+ import(
|
|
|
+ '../views/powerPrediction/weatherPage.vue'
|
|
|
+ ),
|
|
|
},
|
|
|
- component: () =>
|
|
|
- import(
|
|
|
- '../views/powerPrediction/weatherPage.vue'
|
|
|
- ),
|
|
|
-},
|
|
|
-{
|
|
|
+ {
|
|
|
path: '/powerPrediction/statisticalSummary',
|
|
|
name: 'statisticalSummary',
|
|
|
meta: {
|
|
@@ -106,100 +106,117 @@ const routes = [
|
|
|
'../views/powerPrediction/statisticalSummaryPage.vue'
|
|
|
),
|
|
|
},
|
|
|
-//发电能力分析
|
|
|
-{
|
|
|
- path: "/generatingCap/dataFilter/prepare",
|
|
|
- name: "dataFilterPrepare",
|
|
|
- meta: {
|
|
|
- title: "风电数据准备",
|
|
|
+ //智能报表
|
|
|
+ {
|
|
|
+ path: "/intelligentReport/reporting",
|
|
|
+ name: "intelligentReportreporting",
|
|
|
+ meta: {
|
|
|
+ title: "报表上报",
|
|
|
+ },
|
|
|
+ component: () => import("../views/intelligentReporting/reporting/index.vue"),
|
|
|
},
|
|
|
- component: () => import("../views/generatingCapacity/dataFilter/prepare/index.vue"),
|
|
|
-},
|
|
|
-{
|
|
|
- path: "/generatingCap/dataFilter/process",
|
|
|
- name: "dataFilterProcess",
|
|
|
- meta: {
|
|
|
- title: "风电数据处理",
|
|
|
+ {
|
|
|
+ path: "/intelligentReport/scriptgeneration",
|
|
|
+ name: "intelligentReportscriptgeneration",
|
|
|
+ meta: {
|
|
|
+ title: "报表脚本",
|
|
|
+ },
|
|
|
+ component: () => import("../views/intelligentReporting/scriptgeneration/index.vue"),
|
|
|
},
|
|
|
- component: () => import("../views/generatingCapacity/dataFilter/process/index.vue"),
|
|
|
-},
|
|
|
-{
|
|
|
- path: "/generatingCap/dataAnalysis/combine",
|
|
|
- name: "dataAnalysisCombine",
|
|
|
- meta: {
|
|
|
- title: "功率曲线拟合分析",
|
|
|
+ //发电能力分析
|
|
|
+ {
|
|
|
+ path: "/generatingCap/dataFilter/prepare",
|
|
|
+ name: "dataFilterPrepare",
|
|
|
+ meta: {
|
|
|
+ title: "风电数据准备",
|
|
|
+ },
|
|
|
+ component: () => import("../views/generatingCapacity/dataFilter/prepare/index.vue"),
|
|
|
},
|
|
|
- component: () => import("../views/generatingCapacity/dataAnalysis/combine/index.vue"),
|
|
|
-},
|
|
|
-{
|
|
|
- path: "/generatingCap/dataAnalysis/rateAnalysis",
|
|
|
- name: "dataAnalysisRateAnalysis",
|
|
|
- meta: {
|
|
|
- title: "对风偏差分析",
|
|
|
+ {
|
|
|
+ path: "/generatingCap/dataFilter/process",
|
|
|
+ name: "dataFilterProcess",
|
|
|
+ meta: {
|
|
|
+ title: "风电数据处理",
|
|
|
+ },
|
|
|
+ component: () => import("../views/generatingCapacity/dataFilter/process/index.vue"),
|
|
|
},
|
|
|
- component: () => import("../views/generatingCapacity/dataAnalysis/rateAnalysis/index.vue"),
|
|
|
-},
|
|
|
-{
|
|
|
- path: "/generatingCap/dataAnalysis/lineAnalysis",
|
|
|
- name: "dataAnalysisLineAnalysis",
|
|
|
- meta: {
|
|
|
- title: "曲线偏差率分析",
|
|
|
+ {
|
|
|
+ path: "/generatingCap/dataAnalysis/combine",
|
|
|
+ name: "dataAnalysisCombine",
|
|
|
+ meta: {
|
|
|
+ title: "功率曲线拟合分析",
|
|
|
+ },
|
|
|
+ component: () => import("../views/generatingCapacity/dataAnalysis/combine/index.vue"),
|
|
|
},
|
|
|
- component: () => import("../views/generatingCapacity/dataAnalysis/lineAnalysis/index.vue"),
|
|
|
-},
|
|
|
-{
|
|
|
- path: "/generatingCap/dataAnalysis/hotAnalysis",
|
|
|
- name: "dataAnalysisthotAnalysis",
|
|
|
- meta: {
|
|
|
- title: "温度与功率分析",
|
|
|
+ {
|
|
|
+ path: "/generatingCap/dataAnalysis/rateAnalysis",
|
|
|
+ name: "dataAnalysisRateAnalysis",
|
|
|
+ meta: {
|
|
|
+ title: "对风偏差分析",
|
|
|
+ },
|
|
|
+ component: () => import("../views/generatingCapacity/dataAnalysis/rateAnalysis/index.vue"),
|
|
|
},
|
|
|
- component: () => import("../views/generatingCapacity/dataAnalysis/hotAnalysis/index.vue"),
|
|
|
-},
|
|
|
-{
|
|
|
- path: "/generatingCap/dataAnalysis/windAnalysis",
|
|
|
- name: "dataAnalysisWindAnalysis",
|
|
|
- meta: {
|
|
|
- title: "损失电量分析",
|
|
|
+ {
|
|
|
+ path: "/generatingCap/dataAnalysis/lineAnalysis",
|
|
|
+ name: "dataAnalysisLineAnalysis",
|
|
|
+ meta: {
|
|
|
+ title: "曲线偏差率分析",
|
|
|
+ },
|
|
|
+ component: () => import("../views/generatingCapacity/dataAnalysis/lineAnalysis/index.vue"),
|
|
|
},
|
|
|
- component: () =>
|
|
|
- import("../views/generatingCapacity/dataAnalysis/windAnalysis/index.vue"),
|
|
|
-},
|
|
|
-{
|
|
|
- path: "/generatingCap/dataAnalysis/posAnalysis",
|
|
|
- name: "dataAnalysisPosAnalysis",
|
|
|
- meta: {
|
|
|
- title: "微观选址分析",
|
|
|
+ {
|
|
|
+ path: "/generatingCap/dataAnalysis/hotAnalysis",
|
|
|
+ name: "dataAnalysisthotAnalysis",
|
|
|
+ meta: {
|
|
|
+ title: "温度与功率分析",
|
|
|
+ },
|
|
|
+ component: () => import("../views/generatingCapacity/dataAnalysis/hotAnalysis/index.vue"),
|
|
|
},
|
|
|
- component: () =>
|
|
|
- import("../views/generatingCapacity/dataAnalysis/posAnalysis/index.vue"),
|
|
|
-},
|
|
|
-{
|
|
|
- path: "/generatingCap/dataAnalysis/spaceAnalysis",
|
|
|
- name: "dataAnalysisspaceAnalysis",
|
|
|
- meta: {
|
|
|
- title: "毛容量分析",
|
|
|
+ {
|
|
|
+ path: "/generatingCap/dataAnalysis/windAnalysis",
|
|
|
+ name: "dataAnalysisWindAnalysis",
|
|
|
+ meta: {
|
|
|
+ title: "损失电量分析",
|
|
|
+ },
|
|
|
+ component: () =>
|
|
|
+ import("../views/generatingCapacity/dataAnalysis/windAnalysis/index.vue"),
|
|
|
},
|
|
|
- component: () =>
|
|
|
- import("../views/generatingCapacity/dataAnalysis/spaceAnalysis/index.vue"),
|
|
|
-},
|
|
|
-{
|
|
|
- path: "/generatingCap/dataAnalysis/angleAnalysis",
|
|
|
- name: "dataAnalysisAngleAnalysis",
|
|
|
- meta: {
|
|
|
- title: "浆距角分析",
|
|
|
+ {
|
|
|
+ path: "/generatingCap/dataAnalysis/posAnalysis",
|
|
|
+ name: "dataAnalysisPosAnalysis",
|
|
|
+ meta: {
|
|
|
+ title: "微观选址分析",
|
|
|
+ },
|
|
|
+ component: () =>
|
|
|
+ import("../views/generatingCapacity/dataAnalysis/posAnalysis/index.vue"),
|
|
|
},
|
|
|
- component: () =>
|
|
|
- import("../views/generatingCapacity/dataAnalysis/angleAnalysis/index.vue"),
|
|
|
-},
|
|
|
-{
|
|
|
- path: "/generatingCap/dataAnalysis/agcAnalysis",
|
|
|
- name: "dataAnalysisAgcAnalysis",
|
|
|
- meta: {
|
|
|
- title: "AGC曲线偏差分析",
|
|
|
+ {
|
|
|
+ path: "/generatingCap/dataAnalysis/spaceAnalysis",
|
|
|
+ name: "dataAnalysisspaceAnalysis",
|
|
|
+ meta: {
|
|
|
+ title: "毛容量分析",
|
|
|
+ },
|
|
|
+ component: () =>
|
|
|
+ import("../views/generatingCapacity/dataAnalysis/spaceAnalysis/index.vue"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: "/generatingCap/dataAnalysis/angleAnalysis",
|
|
|
+ name: "dataAnalysisAngleAnalysis",
|
|
|
+ meta: {
|
|
|
+ title: "浆距角分析",
|
|
|
+ },
|
|
|
+ component: () =>
|
|
|
+ import("../views/generatingCapacity/dataAnalysis/angleAnalysis/index.vue"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: "/generatingCap/dataAnalysis/agcAnalysis",
|
|
|
+ name: "dataAnalysisAgcAnalysis",
|
|
|
+ meta: {
|
|
|
+ title: "AGC曲线偏差分析",
|
|
|
+ },
|
|
|
+ component: () =>
|
|
|
+ import("../views/generatingCapacity/dataAnalysis/agcAnalysis/index.vue"),
|
|
|
},
|
|
|
- component: () =>
|
|
|
- import("../views/generatingCapacity/dataAnalysis/agcAnalysis/index.vue"),
|
|
|
- },
|
|
|
]
|
|
|
|
|
|
const router = createRouter({
|