| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399 |
- import { createRouter, createWebHashHistory } from 'vue-router'
- const routes = [
- {
- path: '/dataFilter',
- redirect:'/dataFilter/prepare',
- name: 'dataFilter',
- meta: {
- title: '数据准备',
- icon: 'icon-Simple-matrix'
- },
- children: [
- {
- path: 'prepare',
- component: () => import('@/views/dataFilter/prepare/index'),
- name: 'dataFilterPrepare',
- meta: {
- title: '数据准备',
- icon: ''
- },
- },
- {
- path: 'process',
- component: () => import('@/views/dataFilter/process/index'),
- name: 'dataFilterProcess',
- meta: {
- title: '数据预处理',
- icon: ''
- },
- },
- ]
- },
- {
- path: '/dataAnalysis',
- redirect:'/dataAnalysis/combine',
- name: 'dataAnalysis',
- meta: {
- title: '数据分析',
- icon: 'icon-Simple-matrix'
- },
- children: [
- {
- path: 'combine',
- component: () => import('@/views/dataAnalysis/combine/index'),
- name: 'dataFilterCombine',
- meta: {
- title: '功率曲线拟合分析',
- icon: ''
- },
- },
- {
- path: 'rateAnalysis',
- component: () => import('@/views/dataAnalysis/rateAnalysis/index'),
- name: 'dataFilterRateAnalysis',
- meta: {
- title: '风资源分析',
- icon: ''
- },
- },
- {
- path: 'lineAnalysis',
- component: () => import('@/views/dataAnalysis/lineAnalysis/index'),
- name: 'dataFilterLineAnalysis',
- meta: {
- title: '曲线偏差率分析',
- icon: ''
- },
- },
- ]
- },
- // {
- // path: '/',
- // component: () => import('@/views/Home'),
- // name: 'Home',
- // meta: {
- // title: '首页',
- // icon: ''
- // }
- // },
- // {
- // path: '/stateMonitor',
- // redirect:'/stateMonitor/simpleMatrix',
- // component: () => import('@/views/stateMonitor'),
- // name: 'stateMonitor',
- // meta: {
- // title: '安全监控',
- // icon: ''
- // },
- // children:[
- // {
- // path: 'simpleMatrix',
- // component: () => import('@/views/stateMonitor/simpleMatrix'),
- // name: 'simpleMatrix',
- // meta: {
- // title: '基础矩阵',
- // icon: 'icon-Simple-matrix'
- // }
- // },
- // {
- // path: 'detailMatrix',
- // component: () => import('@/views/stateMonitor/detailMatrix'),
- // name: 'detailMatrix',
- // meta: {
- // title: '明细矩阵',
- // icon: 'icon-Detailed-matrix'
- // }
- // },
- // {
- // path: 'factoryMonitor',
- // redirect:'factoryMonitor/facHome',
- // component: () => import('@/views/stateMonitor/factoryMonitor'),
- // name: 'factoryMonitor',
- // meta: {
- // title: '厂站监视',
- // icon: 'icon-Single-station-surveillance'
- // },
- // children:[
- // {
- // path: 'facHome',
- // // redirect:'facHome/home',
- // component: () => import('@/views/stateMonitor/factoryMonitor/facHome'),
- // name: 'facHome',
- // meta: {
- // title: '首页',
- // icon: ''
- // },
- // children:[{
- // path: 'dataDetial',
- // component: () => import('@/views/stateMonitor/factoryMonitor/facHome/dataDetial'),
- // name: 'dataDetial',
- // meta: {
- // title: '',
- // icon: ''
- // },
- // },
- // {
- // path: 'home',
- // component: () => import('@/views/stateMonitor/factoryMonitor/facHome/home'),
- // name: 'home',
- // meta: {
- // title: '',
- // icon: ''
- // },
- // },
- // ]
- // },
- // {
- // path: 'windPowerPlant',
- // component: () => import('@/views/stateMonitor/factoryMonitor/windPowerPlant'),
- // name: 'windPowerPlant',
- // meta: {
- // title: '风电场站',
- // icon: ''
- // },
- // },
- // {
- // path: 'photovoltaic',
- // component: () => import('@/views/stateMonitor/factoryMonitor/photovoltaic'),
- // name: 'photovoltaic',
- // meta: {
- // title: '光伏场站',
- // icon: ''
- // },
- // }
- // ]
- // },
- // {
- // path: 'synthesizeTargetSystem',
- // component: () => import('@/views/stateMonitor/synthesizeTargetSystem'),
- // name: 'synthesizeTargetSystem',
- // meta: {
- // title: '综合指标',
- // icon: 'icon-Composite-indicator'
- // }
- // },
- // {
- // path: 'AGCMonitor',
- // component: () => import('@/views/stateMonitor/AGCMonitor'),
- // name: 'AGCMonitor',
- // meta: {
- // title: 'AGC监视',
- // icon: 'icon-Composite-indicator'
- // }
- // },
- // {
- // path: 'monitorState',
- // component: () => import('@/views/stateMonitor/monitorState'),
- // name: 'monitorState',
- // meta: {
- // title: '运行状态',
- // icon: 'icon-State-monitoring'
- // }
- // }
- // ]
- // },
- // {
- // path: '/economicsOperation',
- // redirect:'/economicsOperation/homePage',
- // component: () => import('@/views/economicsOperation'),
- // name: 'economicsOperation',
- // meta: {
- // title: '经济运行',
- // icon: ''
- // },
- // children: [
- // {
- // path: 'homePage',
- // component: () => import('@/views/economicsOperation/homePage'),
- // name: 'homePage',
- // meta: {
- // title: '首页',
- // icon: 'icon-Simple-matrix'
- // }
- // },
- // {
- // path: 'benchmarkingManagement',
- // redirect:'benchmarkingManagement/performanceRankingList',
- // component: () => import('@/views/economicsOperation/benchmarkingManagement'),
- // name: 'benchmarkingManagement',
- // meta: {
- // title: '对标管理',
- // icon: 'icon-Simple-matrix'
- // },
- // children: [
- // {
- // path: 'performanceRankingList',
- // component: () => import('@/views/economicsOperation/benchmarkingManagement/performanceRankingList'),
- // name: 'performanceRankingList',
- // meta: {
- // title: '风机绩效榜',
- // icon: ''
- // },
- // },
- // {
- // path: "/benchmarkingManagement/decision1Mx", //风机绩效榜明细
- // name: "benchmarkingManagement",
- // component: () =>
- // import( /* webpackChunkName: "decision1Mx" */ "@/views/economicsOperation/benchmarkingManagement/performanceRankingList/decision1Mx"),
- // },
- // {
- // path: 'loseRate',
- // component: () => import('@/views/economicsOperation/benchmarkingManagement/loseRate'),
- // name: 'loseRate',
- // meta: {
- // title: '五项损失率',
- // icon: ''
- // },
- // },
- // {
- // path: 'companyBenchmarking',
- // component: () => import('@/views/economicsOperation/benchmarkingManagement/companyBenchmarking'),
- // name: 'companyBenchmarking',
- // meta: {
- // title: '公司对标',
- // icon: ''
- // },
- // },
- // {
- // path: 'siteBenchmarking',
- // component: () => import('@/views/economicsOperation/benchmarkingManagement/siteBenchmarking'),
- // name: 'siteBenchmarking',
- // meta: {
- // title: '场内对标',
- // icon: ''
- // },
- // },
- // {
- // path: 'intervalBenchmarking',
- // component: () => import('@/views/economicsOperation/benchmarkingManagement/intervalBenchmarking'),
- // name: 'intervalBenchmarking',
- // meta: {
- // title: '场际对标',
- // icon: ''
- // },
- // },
- // {
- // path: 'projectBenchmarking',
- // component: () => import('@/views/economicsOperation/benchmarkingManagement/projectBenchmarking'),
- // name: 'projectBenchmarking',
- // meta: {
- // title: '项目对标',
- // icon: ''
- // },
- // },
- // {
- // path: 'wiringBenchmarking',
- // component: () => import('@/views/economicsOperation/benchmarkingManagement/wiringBenchmarking'),
- // name: 'wiringBenchmarking',
- // meta: {
- // title: '线路对标',
- // icon: ''
- // },
- // },{
- // path: 'standAloneBenchmarking',
- // component: () => import('@/views/economicsOperation/benchmarkingManagement/standAloneBenchmarking'),
- // name: 'standAloneBenchmarking',
- // meta: {
- // title: '单机对标',
- // icon: ''
- // },
- // }]
- // },
- // {
- // path: 'efficiency',
- // redirect:'efficiency/restorationEfficiency',
- // component: () => import('@/views/economicsOperation/efficiency'),
- // name: 'efficiency',
- // meta: {
- // title: '三率',
- // icon: 'icon-Simple-matrix'
- // },
- // children: [
- // {
- // path: 'restorationEfficiency',
- // component: () => import('@/views/economicsOperation/efficiency/restorationEfficiency'),
- // name: 'restorationEfficiency',
- // meta: {
- // title: '复位及时率',
- // icon: ''
- // },
- // },
- // {
- // path: 'consumeEfficiency',
- // component: () => import('@/views/economicsOperation/efficiency/consumeEfficiency'),
- // name: 'consumeEfficiency',
- // meta: {
- // title: '消缺及时率',
- // icon: ''
- // },
- // },
- // {
- // path: 'stateEfficiency',
- // component: () => import('@/views/economicsOperation/efficiency/stateEfficiency'),
- // name: 'stateEfficiency',
- // meta: {
- // title: '状态转换率',
- // icon: ''
- // },
- // }
- // ]
- // },
- // {
- // path: 'performanceAnalyse',
- // redirect:'performanceAnalyse/standAloneAnalyse',
- // component: () => import('@/views/economicsOperation/performanceAnalyse'),
- // name: 'performanceAnalyse',
- // meta: {
- // title: '性能分析',
- // icon: 'icon-Simple-matrix'
- // },
- // children: [
- // {
- // path: 'standAloneAnalyse',
- // component: () => import('@/views/economicsOperation/performanceAnalyse/standAloneAnalyse'),
- // name: 'standAloneAnalyse',
- // meta: {
- // title: '单机性能分析',
- // icon: ''
- // },
- // },
- // {
- // path: 'monthlyAnalysis',
- // component: () => import('@/views/economicsOperation/performanceAnalyse/monthlyAnalysis'),
- // name: 'monthlyAnalysis',
- // meta: {
- // title: '单机月度分析',
- // icon: ''
- // },
- // },
- // {
- // path: 'performanceAssess',
- // component: () => import('@/views/economicsOperation/performanceAnalyse/performanceAssess'),
- // name: 'performanceAssess',
- // meta: {
- // title: '性能等级评估',
- // icon: ''
- // },
- // },
- // {
- // path: 'cutInAndOutAnalysis',
- // component: () => import('@/views/economicsOperation/performanceAnalyse/cutInAndOutAnalysis'),
- // name: 'cutInAndOutAnalysis',
- // meta: {
- // title: '切入切出分析',
- // icon: ''
- // },
- // }
- // ]
- // }
- // ]
- // }
- ]
- const router = createRouter({
- history: createWebHashHistory(),
- routes
- })
- export default router
|