xusl 1 سال پیش
والد
کامیت
e03dfb10e8

+ 32 - 31
ipfcst/ipfcst-console/src/main/frontend/layout/components/Sidebar/index.vue

@@ -94,35 +94,36 @@
               var routeChildren = routes[i].children
               for (var p = 0; p < routeChildren.length; p++) {
 
-                if (routeChildren[p].sign != sign) {
-                  if (routeChildren[p].path != 'systemuser') {
-                    if (routeChildren[p].path == 'powerPlanSD') {
-                      if (this.electricField.provinceEnum == 'E37') {
-                        routesR.push(routeChildren[p])
-                      }
-                    } else {
-                      if (routeChildren[p].path == 'feedbackFile') {
-                        if (this.electricField.provinceEnum == 'E46' || this.electricField.provinceEnum == 'E52') {
-                          routesR.push(routeChildren[p])
-                        }
-                      } else {
-                        if (routeChildren[p].meta.title == '上传上报文件') {
-                          if (this.fileUploadNodeShowSysValue == '1') {
-                            routesR.push(routeChildren[p])
-                          }
-                        } else {
-                          routesR.push(routeChildren[p])
-                        }
-                      }
-                    }
-                  }
-
-                  if (routeChildren[p].sign == 'admin') {
-                    routesR.push(routeChildren[p])
-                  }
-
-
-                }
+                // if (routeChildren[p].sign != sign) {
+                //   if (routeChildren[p].path != 'systemuser') {
+                //     if (routeChildren[p].path == 'powerPlanSD') {
+                //       if (this.electricField.provinceEnum == 'E37') {
+                //         routesR.push(routeChildren[p])
+                //       }
+                //     } else {
+                //       if (routeChildren[p].path == 'feedbackFile') {
+                //         if (this.electricField.provinceEnum == 'E46' || this.electricField.provinceEnum == 'E52') {
+                //           routesR.push(routeChildren[p])
+                //         }
+                //       } else {
+                //         if (routeChildren[p].meta.title == '上传上报文件') {
+                //           if (this.fileUploadNodeShowSysValue == '1') {
+                //             routesR.push(routeChildren[p])
+                //           }
+                //         } else {
+                //           routesR.push(routeChildren[p])
+                //         }
+                //       }
+                //     }
+                //   }
+                //
+                //   if (routeChildren[p].sign == 'admin') {
+                //     routesR.push(routeChildren[p])
+                //   }
+                //
+                //
+                // }
+                routesR.push(routeChildren[p])
               }
 
               if (routesR.length > 0) {
@@ -131,9 +132,9 @@
               }
             } else {
 
-              if (routes[i].sign != 'photovoltaic') {
+              // if (routes[i].sign != 'photovoltaic') {
                 routesResult.push(routes[i])
-              }
+              // }
 
             }
           }

+ 49 - 49
ipfcst/ipfcst-console/src/main/frontend/router/modules/console.js

@@ -89,13 +89,13 @@ const consoleRouter = {
       meta: { title: '检修计划', noCache: true },
       sign: 'currency'
     },
-    {
-      path: 'powerPlanSD',
-      component: () => import('@/views/console/powerPlanSD/index'),
-      name: 'powerPlanSD',
-      meta: { title: '山东发电计划', noCache: true },
-      sign: 'currency'
-    },
+    // {
+    //   path: 'powerPlanSD',
+    //   component: () => import('@/views/console/powerPlanSD/index'),
+    //   name: 'powerPlanSD',
+    //   meta: { title: '山东发电计划', noCache: true },
+    //   sign: 'currency'
+    // },
     // {
     //   path: 'consoleCenter',
     //     component: () => import('@/views/console/consoleCenter/index'),
@@ -116,41 +116,41 @@ const consoleRouter = {
       meta: { title: '系统告警', noCache: true },
       sign: 'currency'
     },
-    {
-      path: 'manualInterventionData',
-      component: () => import('@/views/console/manualInterventionData/index'),
-      name: 'ManualInterventionData',
-      meta: { title: '人工干预设置', noCache: true },
-      sign: 'currency'
-    },
-    {
-      path: 'manualInterventionQuery',
-      component: () => import('@/views/console/manualInterventionQuery/index'),
-      name: 'ManualInterventionQuery',
-      meta: { title: '人工干预数据查询', noCache: true },
-      sign: 'currency'
-    },
-    {
-      path: 'dataLimitation',
-      component: () => import('@/views/console/dataLimitation/index'),
-      name: 'DataLimitation',
-      meta: { title: '上报数据限制', noCache: true },
-      sign: 'currency'
-    },
-    {
-      path: 'dataLimitationLog',
-      component: () => import('@/views/console/dataLimitationLog/index'),
-      name: 'DataLimitationLog',
-      meta: { title: '上报数据操作记录', noCache: true },
-      sign: 'currency'
-    },
-    {
-      path: 'communicationEquipment',
-      component: () => import('@/views/console/communicationEquipment/index'),
-      name: 'CommunicationEquipment',
-      meta: { title: '通信设备', noCache: true },
-      sign: 'currency'
-    },
+    // {
+    //   path: 'manualInterventionData',
+    //   component: () => import('@/views/console/manualInterventionData/index'),
+    //   name: 'ManualInterventionData',
+    //   meta: { title: '人工干预设置', noCache: true },
+    //   sign: 'currency'
+    // },
+    // {
+    //   path: 'manualInterventionQuery',
+    //   component: () => import('@/views/console/manualInterventionQuery/index'),
+    //   name: 'ManualInterventionQuery',
+    //   meta: { title: '人工干预数据查询', noCache: true },
+    //   sign: 'currency'
+    // },
+    // {
+    //   path: 'dataLimitation',
+    //   component: () => import('@/views/console/dataLimitation/index'),
+    //   name: 'DataLimitation',
+    //   meta: { title: '上报数据限制', noCache: true },
+    //   sign: 'currency'
+    // },
+    // {
+    //   path: 'dataLimitationLog',
+    //   component: () => import('@/views/console/dataLimitationLog/index'),
+    //   name: 'DataLimitationLog',
+    //   meta: { title: '上报数据操作记录', noCache: true },
+    //   sign: 'currency'
+    // },
+    // {
+    //   path: 'communicationEquipment',
+    //   component: () => import('@/views/console/communicationEquipment/index'),
+    //   name: 'CommunicationEquipment',
+    //   meta: { title: '通信设备', noCache: true },
+    //   sign: 'currency'
+    // },
     {
       path: 'fileAnalysisRecord',
       component: () => import('@/views/console/FileAnalysisRecord/index'),
@@ -158,13 +158,13 @@ const consoleRouter = {
       meta: { title: '文件解析记录', noCache: true },
       sign: 'currency'
     },
-    {
-      path: 'QREnvironmentData',
-      component: () => import('@/views/console/QREnvironmentData/index'),
-      name: 'QREnvironmentData',
-      meta: { title: '二维码数据回传', noCache: true },
-      sign: 'currency'
-    }
+    // {
+    //   path: 'QREnvironmentData',
+    //   component: () => import('@/views/console/QREnvironmentData/index'),
+    //   name: 'QREnvironmentData',
+    //   meta: { title: '二维码数据回传', noCache: true },
+    //   sign: 'currency'
+    // }
     // {
     //   path: 'uploadFileChannel',
     //     component: () => import('@/views/console/UploadFileChannel/index'),

+ 14 - 14
ipfcst/ipfcst-console/src/main/frontend/router/modules/uploadFile.js

@@ -26,20 +26,20 @@ const uploadRouter = {
       meta: { title: '文件上报查询', noCache: true },
       sign: 'currency'
     },
-    {
-      path: 'uploadFile',
-      component: () => import('@/views/uploadFile/uploadFile'),
-      name: 'uploadFile',
-      meta: { title: '上传上报文件', noCache: true },
-      sign: 'currency'
-    },
-    {
-      path: 'feedbackFile',
-      component: () => import('@/views/uploadFile/feedbackFile'),
-      name: 'feedbackFile',
-      meta: { title: '反馈文件日志查询', noCache: true },
-      sign: 'feedback'
-    }
+    // {
+    //   path: 'uploadFile',
+    //   component: () => import('@/views/uploadFile/uploadFile'),
+    //   name: 'uploadFile',
+    //   meta: { title: '上传上报文件', noCache: true },
+    //   sign: 'currency'
+    // },
+    // {
+    //   path: 'feedbackFile',
+    //   component: () => import('@/views/uploadFile/feedbackFile'),
+    //   name: 'feedbackFile',
+    //   meta: { title: '反馈文件日志查询', noCache: true },
+    //   sign: 'feedback'
+    // }
   ]
 }
 

+ 2 - 2
ipfcst/ipfcst-reportquery/src/main/frontend/router/index.js

@@ -68,8 +68,8 @@ export const constantRoutes = [
   contrastQueryRouter,
   // contrastRealTimeQuery,
   statisticsQueryRouter,
-  qrCodeQuery,
-  exportConfigQuery,
+  // qrCodeQuery,
+  // exportConfigQuery,
 
   // 404 page must be placed at the end !!!
   { path: '*', redirect: '/404',sign: 'currency', hidden: true }

+ 7 - 7
ipfcst/ipfcst-reportquery/src/main/frontend/router/modules/contrastQuery.js

@@ -19,13 +19,13 @@ const contrastQueryRouter = {
       meta: { title: '上报数据查询', noCache: true },
       sign: 'currency'
     },
-    {
-      path: 'forecastPowerUltraShortTermHis',
-      component: () => import('@/views/historicalQuery/forecastPowerUltraShortTermHis'),
-      name: 'forecastPowerUltraShortTermHis',
-      meta: { title: '短期上报日查询', noCache: true },
-      sign: 'currency'
-    }
+    // {
+    //   path: 'forecastPowerUltraShortTermHis',
+    //   component: () => import('@/views/historicalQuery/forecastPowerUltraShortTermHis'),
+    //   name: 'forecastPowerUltraShortTermHis',
+    //   meta: { title: '短期上报日查询', noCache: true },
+    //   sign: 'currency'
+    // }
   ]
 }
 

+ 14 - 14
ipfcst/ipfcst-reportquery/src/main/frontend/router/modules/statisticsQuery.js

@@ -55,20 +55,20 @@ const statisticsQueryRouter = {
       sign: 'currency'
     },
 
-    {
-      path: 'throughtTheYearPower',
-      component: () => import('@/views/statisticsQuery/throughtTheYearPower'),
-      name: 'throughtTheYearPower',
-      meta: { title: '全年逐月发电量统计', noCache: true },
-      sign: 'currency'
-    },
-    {
-      path: 'integrationStatisticsQuery',
-      component: () => import('@/views/statisticsQuery/integrationStatistics'),
-      name: 'integrationStatistics',
-      meta: { title: '一体化统计查询', noCache: true },
-      sign: 'photovoltaic'
-    }
+    // {
+    //   path: 'throughtTheYearPower',
+    //   component: () => import('@/views/statisticsQuery/throughtTheYearPower'),
+    //   name: 'throughtTheYearPower',
+    //   meta: { title: '全年逐月发电量统计', noCache: true },
+    //   sign: 'currency'
+    // },
+    // {
+    //   path: 'integrationStatisticsQuery',
+    //   component: () => import('@/views/statisticsQuery/integrationStatistics'),
+    //   name: 'integrationStatistics',
+    //   meta: { title: '一体化统计查询', noCache: true },
+    //   sign: 'photovoltaic'
+    // }
   ]
 }