diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue index 84ba837..97e250e 100644 --- a/src/layout/components/Sidebar/index.vue +++ b/src/layout/components/Sidebar/index.vue @@ -1,10 +1,9 @@ diff --git a/src/router/index.js b/src/router/index.js index ecedeb2..b2f260b 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -29,7 +29,7 @@ export const constantRoutes = [ path: "/login", component: () => import("@/views/login/login.vue"), }, - + { path: "/daping", component: () => import("@/views/daping/daping.vue"), @@ -89,41 +89,95 @@ export const constantRoutes = [ affix: true, }, }] - }, + }, + { + path: "/index2", + component: Layout, + redirect: "/index2", + children: [ { path: "/index2", - component: Layout, - redirect: "/index2", - children: [ - { - path: "/index2", - component: () => import("@/views/index2.vue"), - name: "index2", - meta: { - title: "报警", - noCache: true, - affix: true, - }, - } - ], + component: () => import("@/views/index2.vue"), + name: "index2", + meta: { + title: "报警", + noCache: true, + affix: true, + }, + } + ], + }, + { + path: "/index3", + component: Layout, + redirect: "/index3", + children: [ + { + path: "/index3", + component: () => import("@/views/index3.vue"), + name: "index3", + meta: { + title: "报警", + noCache: true, + affix: true, }, - { - path: "/index3", - component: Layout, - redirect: "/index3", - children: [ - { - path: "/index3", - component: () => import("@/views/index3.vue"), - name: "index3", - meta: { - title: "报警", - noCache: true, - affix: true, - }, - } - - ], + } + + ], + }, + { + path: "/index4", + component: Layout, + redirect: "/index4", + children: [ + { + path: "/index4", + component: () => import("@/views/index4.vue"), + name: "index4", + meta: { + title: "报警", + noCache: true, + affix: true, + }, + } + + ], + }, + { + path: "/index5", + component: Layout, + redirect: "/index5", + children: [ + { + path: "/index5", + component: () => import("@/views/index5.vue"), + name: "index5", + meta: { + title: "报警", + noCache: true, + affix: true, + }, + } + + ], + }, + { + path: "/index6", + component: Layout, + redirect: "/index6", + children: [ + { + path: "/index6", + component: () => import("@/views/index6.vue"), + name: "index6", + meta: { + title: "报警", + noCache: true, + affix: true, + }, + } + + ], }, { path: "/monitor", diff --git a/src/views/index4.vue b/src/views/index4.vue new file mode 100644 index 0000000..565f1b0 --- /dev/null +++ b/src/views/index4.vue @@ -0,0 +1 @@ +231 \ No newline at end of file diff --git a/src/views/index5.vue b/src/views/index5.vue new file mode 100644 index 0000000..3c7e02a --- /dev/null +++ b/src/views/index5.vue @@ -0,0 +1,514 @@ + + + + + + diff --git a/src/views/index6.vue b/src/views/index6.vue new file mode 100644 index 0000000..3c7e02a --- /dev/null +++ b/src/views/index6.vue @@ -0,0 +1,514 @@ + + + + + +