From 95b420df909117faee61ced5ab9484bb89831ed6 Mon Sep 17 00:00:00 2001 From: yangzongjia Date: Wed, 14 Jun 2023 09:36:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=A6=96=E9=A1=B5=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/Sidebar/index.vue | 275 +++++++------ src/router/index.js | 120 ++++-- src/views/index4.vue | 1 + src/views/index5.vue | 514 ++++++++++++++++++++++++ src/views/index6.vue | 514 ++++++++++++++++++++++++ 5 files changed, 1258 insertions(+), 166 deletions(-) create mode 100644 src/views/index4.vue create mode 100644 src/views/index5.vue create mode 100644 src/views/index6.vue 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 @@ + + + + + +