Browse Source

增加查询数据节点

xusl 3 years ago
parent
commit
075844ea57
1 changed files with 30 additions and 0 deletions
  1. 30 0
      ipfcst-console/src/main/frontend/router/modules/dataquery.js

+ 30 - 0
ipfcst-console/src/main/frontend/router/modules/dataquery.js

@@ -0,0 +1,30 @@
+/** When your routing table is too long, you can split it into small modules**/
+
+import Layout from '@/layout'
+
+const dataqueryRouter = {
+  path: '/dataquery',
+  component: Layout,
+  redirect: 'noRedirect',
+  name: 'dataquery',
+  meta: {
+    title: '数据查询',
+    icon: 'tree'
+  },
+  children: [
+    {
+      path: 'inverterStatusData',
+      component: () => import('@/views/dataquery/inverterStatusData'),
+      name: 'inverterStatusData',
+      meta: { title: '逆变器数据', noCache: true }
+    },
+    {
+      path: 'pvModuleModel',
+      component: () => import('@/views/dataquery/inverterStatusData'),
+      name: 'pvModuleModel',
+      meta: { title: '风机数据', noCache: true }
+    }
+  ]
+}
+
+export default dataqueryRouter