|
@@ -9,7 +9,15 @@ export const constantRoutes = [
|
|
|
},
|
|
|
];
|
|
|
export const asyncRoutes = [
|
|
|
- { path: "/", redirect: "/home" },
|
|
|
+ {
|
|
|
+ path: "/",
|
|
|
+ redirect: "/home",
|
|
|
+ meta: {
|
|
|
+ title: "首页",
|
|
|
+ icon: "",
|
|
|
+ permissions: ["jn_sy"],
|
|
|
+ },
|
|
|
+ },
|
|
|
{
|
|
|
path: "/home", // 驾驶舱
|
|
|
name: "home",
|
|
@@ -1627,209 +1635,209 @@ export const asyncRoutes = [
|
|
|
],
|
|
|
},
|
|
|
//发电能力分析
|
|
|
-// {
|
|
|
-// path: "/powerGenerating",
|
|
|
-// name: "powerGenerating",
|
|
|
-// meta: {
|
|
|
-// title: "发电能力分析",
|
|
|
-// icon: "",
|
|
|
-// permissions: ["jn_zhbb"],
|
|
|
-// },
|
|
|
-// // component: () => import("@/views/report/index copy.vue"),
|
|
|
-// component: () => import("@/views/powerGenerating"),
|
|
|
-// children: [
|
|
|
-// {
|
|
|
-// path: "dataFilter",
|
|
|
-// name: "dataFilter",
|
|
|
-// meta: {
|
|
|
-// title: "数据准备",
|
|
|
-// icon: "svg-prepare",
|
|
|
-// permissions: ["jn_dlbb"],
|
|
|
-// },
|
|
|
-// component: () => import("@/views/powerGenerating/dataFilter"),
|
|
|
-// children: [
|
|
|
-// {
|
|
|
-// path: "prepare",
|
|
|
-// name: "prepare",
|
|
|
-// component: () =>
|
|
|
-// import("@/views/powerGenerating/dataFilter/prepare"),
|
|
|
-// meta: {
|
|
|
-// title: "风电数据准备",
|
|
|
-// icon: "",
|
|
|
-// permissions: ["jn_dlbb_dmb"],
|
|
|
-// },
|
|
|
-// },
|
|
|
-// {
|
|
|
-// path: "process",
|
|
|
-// name: "process",
|
|
|
-// component: () =>
|
|
|
-// import("@/views/powerGenerating/dataFilter/process"),
|
|
|
-// meta: {
|
|
|
-// title: "风电数据处理",
|
|
|
-// icon: "",
|
|
|
-// permissions: ["jn_dlbb_dmb"],
|
|
|
-// },
|
|
|
-// },
|
|
|
-// {
|
|
|
-// path: "lightPrepare",
|
|
|
-// name: "lightPrepare",
|
|
|
-// component: () =>
|
|
|
-// import("@/views/powerGenerating/dataFilter/lightPrepare"),
|
|
|
-// meta: {
|
|
|
-// title: "光伏数据准备",
|
|
|
-// icon: "",
|
|
|
-// permissions: ["jn_dlbb_dmb"],
|
|
|
-// },
|
|
|
-// },
|
|
|
-// ],
|
|
|
-// },
|
|
|
-// {
|
|
|
-// path: "windAnalyse",
|
|
|
-// name: "windAnalyse",
|
|
|
-// meta: {
|
|
|
-// title: "风电分析",
|
|
|
-// icon: "svg-wind-site",
|
|
|
-// permissions: ["jn_dlbb"],
|
|
|
-// },
|
|
|
-// component: () => import("@/views/powerGenerating/windAnalyse"),
|
|
|
-// children: [
|
|
|
-// {
|
|
|
-// path: "combine",
|
|
|
-// name: "combine",
|
|
|
-// component: () =>
|
|
|
-// import("@/views/powerGenerating/windAnalyse/combine"),
|
|
|
-// meta: {
|
|
|
-// title: "功率曲线拟合分析",
|
|
|
-// icon: "",
|
|
|
-// permissions: ["jn_dlbb_dmb"],
|
|
|
-// },
|
|
|
-// },
|
|
|
-// {
|
|
|
-// path: "rateAnalysis",
|
|
|
-// name: "rateAnalysis",
|
|
|
-// component: () =>
|
|
|
-// import("@/views/powerGenerating/windAnalyse/rateAnalysis"),
|
|
|
-// meta: {
|
|
|
-// title: "对风偏差分析",
|
|
|
-// icon: "",
|
|
|
-// permissions: ["jn_dlbb_dmb"],
|
|
|
-// },
|
|
|
-// },
|
|
|
-// {
|
|
|
-// path: "lineAnalysis",
|
|
|
-// name: "lineAnalysis",
|
|
|
-// component: () =>
|
|
|
-// import("@/views/powerGenerating/windAnalyse/lineAnalysis"),
|
|
|
-// meta: {
|
|
|
-// title: "曲线偏差率分析",
|
|
|
-// icon: "",
|
|
|
-// permissions: ["jn_dlbb_dmb"],
|
|
|
-// },
|
|
|
-// },
|
|
|
-// {
|
|
|
-// path: "hotAnalysis",
|
|
|
-// name: "hotAnalysis",
|
|
|
-// component: () =>
|
|
|
-// import("@/views/powerGenerating/windAnalyse/hotAnalysis"),
|
|
|
-// meta: {
|
|
|
-// title: "温度与功率分析",
|
|
|
-// icon: "",
|
|
|
-// permissions: ["jn_dlbb_dmb"],
|
|
|
-// },
|
|
|
-// },
|
|
|
-// {
|
|
|
-// path: "loseAnalysis",
|
|
|
-// name: "loseAnalysis",
|
|
|
-// component: () =>
|
|
|
-// import("@/views/powerGenerating/windAnalyse/loseAnalysis"),
|
|
|
-// meta: {
|
|
|
-// title: "损失电量分析",
|
|
|
-// icon: "",
|
|
|
-// permissions: ["jn_dlbb_dmb"],
|
|
|
-// },
|
|
|
-// },
|
|
|
-// {
|
|
|
-// path: "posAnalysis",
|
|
|
-// name: "posAnalysis",
|
|
|
-// component: () =>
|
|
|
-// import("@/views/powerGenerating/windAnalyse/posAnalysis"),
|
|
|
-// meta: {
|
|
|
-// title: "微观选址分析",
|
|
|
-// icon: "",
|
|
|
-// permissions: ["jn_dlbb_dmb"],
|
|
|
-// },
|
|
|
-// },
|
|
|
-// {
|
|
|
-// path: "spaceAnalysis",
|
|
|
-// name: "spaceAnalysis",
|
|
|
-// component: () =>
|
|
|
-// import("@/views/powerGenerating/windAnalyse/spaceAnalysis"),
|
|
|
-// meta: {
|
|
|
-// title: "毛容量分析",
|
|
|
-// icon: "",
|
|
|
-// permissions: ["jn_dlbb_dmb"],
|
|
|
-// },
|
|
|
-// },
|
|
|
-// {
|
|
|
-// path: "angleAnalysis",
|
|
|
-// name: "angleAnalysis",
|
|
|
-// component: () =>
|
|
|
-// import("@/views/powerGenerating/windAnalyse/angleAnalysis"),
|
|
|
-// meta: {
|
|
|
-// title: "桨距角分析",
|
|
|
-// icon: "",
|
|
|
-// permissions: ["jn_dlbb_dmb"],
|
|
|
-// },
|
|
|
-// },
|
|
|
-// {
|
|
|
-// path: "agcAnalysis",
|
|
|
-// name: "agcAnalysis",
|
|
|
-// component: () =>
|
|
|
-// import("@/views/powerGenerating/windAnalyse/agcAnalysis"),
|
|
|
-// meta: {
|
|
|
-// title: "AGC曲线偏差分析",
|
|
|
-// icon: "",
|
|
|
-// permissions: ["jn_dlbb_dmb"],
|
|
|
-// },
|
|
|
-// },
|
|
|
-// ],
|
|
|
-// },
|
|
|
-// {
|
|
|
-// path: "lightAnalyse",
|
|
|
-// name: "lightAnalyse",
|
|
|
-// meta: {
|
|
|
-// title: "光伏分析",
|
|
|
-// icon: "svg-photovoltaic",
|
|
|
-// permissions: ["jn_dlbb"],
|
|
|
-// },
|
|
|
-// component: () => import("@/views/powerGenerating/lightAnalyse"),
|
|
|
-// children: [
|
|
|
-// {
|
|
|
-// path: "glAnalysis",
|
|
|
-// name: "glAnalysis",
|
|
|
-// component: () =>
|
|
|
-// import("@/views/powerGenerating/lightAnalyse/glAnalysis"),
|
|
|
-// meta: {
|
|
|
-// title: "功率曲线分析",
|
|
|
-// icon: "",
|
|
|
-// permissions: ["jn_dlbb_dmb"],
|
|
|
-// },
|
|
|
-// },
|
|
|
-// {
|
|
|
-// path: "glHotAnalysis",
|
|
|
-// name: "glHotAnalysis",
|
|
|
-// component: () =>
|
|
|
-// import("@/views/powerGenerating/lightAnalyse/glHotAnalysis"),
|
|
|
-// meta: {
|
|
|
-// title: "功率光照曲线分析",
|
|
|
-// icon: "",
|
|
|
-// permissions: ["jn_dlbb_dmb"],
|
|
|
-// },
|
|
|
-// },
|
|
|
-// ],
|
|
|
-// },
|
|
|
-// ],
|
|
|
-// },
|
|
|
+ // {
|
|
|
+ // path: "/powerGenerating",
|
|
|
+ // name: "powerGenerating",
|
|
|
+ // meta: {
|
|
|
+ // title: "发电能力分析",
|
|
|
+ // icon: "",
|
|
|
+ // permissions: ["jn_zhbb"],
|
|
|
+ // },
|
|
|
+ // // component: () => import("@/views/report/index copy.vue"),
|
|
|
+ // component: () => import("@/views/powerGenerating"),
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: "dataFilter",
|
|
|
+ // name: "dataFilter",
|
|
|
+ // meta: {
|
|
|
+ // title: "数据准备",
|
|
|
+ // icon: "svg-prepare",
|
|
|
+ // permissions: ["jn_dlbb"],
|
|
|
+ // },
|
|
|
+ // component: () => import("@/views/powerGenerating/dataFilter"),
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: "prepare",
|
|
|
+ // name: "prepare",
|
|
|
+ // component: () =>
|
|
|
+ // import("@/views/powerGenerating/dataFilter/prepare"),
|
|
|
+ // meta: {
|
|
|
+ // title: "风电数据准备",
|
|
|
+ // icon: "",
|
|
|
+ // permissions: ["jn_dlbb_dmb"],
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: "process",
|
|
|
+ // name: "process",
|
|
|
+ // component: () =>
|
|
|
+ // import("@/views/powerGenerating/dataFilter/process"),
|
|
|
+ // meta: {
|
|
|
+ // title: "风电数据处理",
|
|
|
+ // icon: "",
|
|
|
+ // permissions: ["jn_dlbb_dmb"],
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: "lightPrepare",
|
|
|
+ // name: "lightPrepare",
|
|
|
+ // component: () =>
|
|
|
+ // import("@/views/powerGenerating/dataFilter/lightPrepare"),
|
|
|
+ // meta: {
|
|
|
+ // title: "光伏数据准备",
|
|
|
+ // icon: "",
|
|
|
+ // permissions: ["jn_dlbb_dmb"],
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // ],
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: "windAnalyse",
|
|
|
+ // name: "windAnalyse",
|
|
|
+ // meta: {
|
|
|
+ // title: "风电分析",
|
|
|
+ // icon: "svg-wind-site",
|
|
|
+ // permissions: ["jn_dlbb"],
|
|
|
+ // },
|
|
|
+ // component: () => import("@/views/powerGenerating/windAnalyse"),
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: "combine",
|
|
|
+ // name: "combine",
|
|
|
+ // component: () =>
|
|
|
+ // import("@/views/powerGenerating/windAnalyse/combine"),
|
|
|
+ // meta: {
|
|
|
+ // title: "功率曲线拟合分析",
|
|
|
+ // icon: "",
|
|
|
+ // permissions: ["jn_dlbb_dmb"],
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: "rateAnalysis",
|
|
|
+ // name: "rateAnalysis",
|
|
|
+ // component: () =>
|
|
|
+ // import("@/views/powerGenerating/windAnalyse/rateAnalysis"),
|
|
|
+ // meta: {
|
|
|
+ // title: "对风偏差分析",
|
|
|
+ // icon: "",
|
|
|
+ // permissions: ["jn_dlbb_dmb"],
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: "lineAnalysis",
|
|
|
+ // name: "lineAnalysis",
|
|
|
+ // component: () =>
|
|
|
+ // import("@/views/powerGenerating/windAnalyse/lineAnalysis"),
|
|
|
+ // meta: {
|
|
|
+ // title: "曲线偏差率分析",
|
|
|
+ // icon: "",
|
|
|
+ // permissions: ["jn_dlbb_dmb"],
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: "hotAnalysis",
|
|
|
+ // name: "hotAnalysis",
|
|
|
+ // component: () =>
|
|
|
+ // import("@/views/powerGenerating/windAnalyse/hotAnalysis"),
|
|
|
+ // meta: {
|
|
|
+ // title: "温度与功率分析",
|
|
|
+ // icon: "",
|
|
|
+ // permissions: ["jn_dlbb_dmb"],
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: "loseAnalysis",
|
|
|
+ // name: "loseAnalysis",
|
|
|
+ // component: () =>
|
|
|
+ // import("@/views/powerGenerating/windAnalyse/loseAnalysis"),
|
|
|
+ // meta: {
|
|
|
+ // title: "损失电量分析",
|
|
|
+ // icon: "",
|
|
|
+ // permissions: ["jn_dlbb_dmb"],
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: "posAnalysis",
|
|
|
+ // name: "posAnalysis",
|
|
|
+ // component: () =>
|
|
|
+ // import("@/views/powerGenerating/windAnalyse/posAnalysis"),
|
|
|
+ // meta: {
|
|
|
+ // title: "微观选址分析",
|
|
|
+ // icon: "",
|
|
|
+ // permissions: ["jn_dlbb_dmb"],
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: "spaceAnalysis",
|
|
|
+ // name: "spaceAnalysis",
|
|
|
+ // component: () =>
|
|
|
+ // import("@/views/powerGenerating/windAnalyse/spaceAnalysis"),
|
|
|
+ // meta: {
|
|
|
+ // title: "毛容量分析",
|
|
|
+ // icon: "",
|
|
|
+ // permissions: ["jn_dlbb_dmb"],
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: "angleAnalysis",
|
|
|
+ // name: "angleAnalysis",
|
|
|
+ // component: () =>
|
|
|
+ // import("@/views/powerGenerating/windAnalyse/angleAnalysis"),
|
|
|
+ // meta: {
|
|
|
+ // title: "桨距角分析",
|
|
|
+ // icon: "",
|
|
|
+ // permissions: ["jn_dlbb_dmb"],
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: "agcAnalysis",
|
|
|
+ // name: "agcAnalysis",
|
|
|
+ // component: () =>
|
|
|
+ // import("@/views/powerGenerating/windAnalyse/agcAnalysis"),
|
|
|
+ // meta: {
|
|
|
+ // title: "AGC曲线偏差分析",
|
|
|
+ // icon: "",
|
|
|
+ // permissions: ["jn_dlbb_dmb"],
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // ],
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: "lightAnalyse",
|
|
|
+ // name: "lightAnalyse",
|
|
|
+ // meta: {
|
|
|
+ // title: "光伏分析",
|
|
|
+ // icon: "svg-photovoltaic",
|
|
|
+ // permissions: ["jn_dlbb"],
|
|
|
+ // },
|
|
|
+ // component: () => import("@/views/powerGenerating/lightAnalyse"),
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: "glAnalysis",
|
|
|
+ // name: "glAnalysis",
|
|
|
+ // component: () =>
|
|
|
+ // import("@/views/powerGenerating/lightAnalyse/glAnalysis"),
|
|
|
+ // meta: {
|
|
|
+ // title: "功率曲线分析",
|
|
|
+ // icon: "",
|
|
|
+ // permissions: ["jn_dlbb_dmb"],
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: "glHotAnalysis",
|
|
|
+ // name: "glHotAnalysis",
|
|
|
+ // component: () =>
|
|
|
+ // import("@/views/powerGenerating/lightAnalyse/glHotAnalysis"),
|
|
|
+ // meta: {
|
|
|
+ // title: "功率光照曲线分析",
|
|
|
+ // icon: "",
|
|
|
+ // permissions: ["jn_dlbb_dmb"],
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // ],
|
|
|
+ // },
|
|
|
+ // ],
|
|
|
+ // },
|
|
|
// 智能报表
|
|
|
{
|
|
|
path: "/report",
|