From 7c20fd15b7fbc2bd5756b39d5ab655cc849ffcc3 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期三, 16 七月 2025 22:39:23 +0800
Subject: [PATCH] 添加时间筛选

---
 src/views/layout/components/Main/index.vue |  205 +++++++++++++++++++++++++++------------------------
 1 files changed, 109 insertions(+), 96 deletions(-)

diff --git a/src/views/layout/components/Main/index.vue b/src/views/layout/components/Main/index.vue
index fbb21be..1ccf301 100644
--- a/src/views/layout/components/Main/index.vue
+++ b/src/views/layout/components/Main/index.vue
@@ -15,7 +15,7 @@
           </div>
         </div>
       </div>
-      <router-view v-else></router-view>
+      <router-view v-else :key="$route.fullpath"></router-view>
       <!-- 搴曢儴鍖哄煙 -->
       <!-- <MyFooter/> -->
     </div>
@@ -36,79 +36,6 @@
     return {
       navFlag: true,
       navList: [
-        {
-          id: 1,
-          title: '绯荤粺璁剧疆',
-          icon:'icon_xitongshezhi',
-          children: [
-            {
-              id: 2,
-              label: '鐢ㄦ埛绠$悊',
-              link: '/system/userSetting/user',
-              icon:'icon_yonghuguanli'
-            },
-            {
-              id: 3,
-              label: '瑙掕壊绠$悊',
-              link: '/system/userSetting/role',
-              icon: 'icon_jiaoseguanli'
-            },
-            {
-              id: 4,
-              label: '閮ㄩ棬绠$悊',
-              link: '/system/userSetting/department',
-              icon: 'icon_bumenguanli'
-            },
-            {
-              id: 5,
-              label: '鑷畾涔夎彍鍗�',
-              link: '/system/platform/mySetting',
-              icon: 'icon_zidinyicaidan'
-            },
-            {
-              id: 6,
-              label: 'logo绠$悊',
-              link: '/system/platform/portalSetting',
-              icon: 'icon_logoguanli'
-            },
-            {
-              id: 7,
-              label: '椹鹃┒鑸辩鐞�',
-              link: '/system/platform/cockpitManage',
-              icon: 'icon_jiashicangguanli'
-            },
-            {
-              id: 8,
-              label: '鍗″彛璁惧绠$悊',
-              link: '/system/device/bayonet',
-              icon: 'icon_kakoushebeiguanli'
-            },
-            {
-              id: 9,
-              label: '鐐逛綅绠$悊',
-              link: '/system/device/point',
-              icon: 'icon_dianweiguanli'
-            },
-            {
-              id: 10,
-              label: '缃戞牸绠$悊',
-              link: '/system/device/grid',
-              icon: 'icon_wanggeguanli'
-            },
-            {
-              id: 11,
-              label: '闊虫煴璁惧绠$悊',
-              link: '/system/device/loudspeaker',
-              icon: 'icon_yinzhushebeiguanli'
-            },
-            {
-              id: 12,
-              label: '鎵嬫寔璁惧绠$悊',
-              link: '/system/device/handheldTerminal',
-              icon: 'icon_shouchishebeiguanli'
-            },
-          ]
-        },
         {
           id: 13,
           title: '杩愯惀绠$悊',
@@ -256,25 +183,6 @@
           ]
         },
         {
-          id: 38,
-          title: '瀹℃牳绠$悊',
-          icon: 'icon_shenheguanli',
-          children: [
-            {
-              id: 39,
-              label: '瀹℃牳绠$悊',
-              link: '/operate/management/myIndex',
-              icon: 'icon_shenheguanlileft'
-            },
-            {
-              id: 40,
-              label: '鐭俊瀹℃牳绠$悊',
-              link: '/operate/management/managementMessage',
-              icon: 'icon_duanxinshenheguanli'
-            },
-          ]
-        },
-        {
           id: 41,
           title: '瑙嗛宸℃煡',
           icon: 'icon_shipingxuncha',
@@ -282,7 +190,13 @@
             {
               id: 42,
               label: '瑙嗛宸℃煡',
-              link: '/video',
+              link: '/video_0',
+              icon: 'icon_shipinxuncha'
+            },
+            {
+              id: 80,
+              label: '100璺棰戝贰鏌�',
+              link: '/video_1',
               icon: 'icon_shipinxuncha'
             },
           ]
@@ -295,7 +209,13 @@
             {
               id: 44,
               label: '棰勮鐮斿垽',
-              link: '/studyJudge',
+              link: '/studyJudge_0',
+              icon: 'icon_yujingyanpan'
+            },
+            {
+              id: 81,
+              label: '100璺璀︾爺鍒�',
+              link: '/studyJudge_1',
               icon: 'icon_yujingyanpan'
             },
             {
@@ -324,6 +244,98 @@
             },
           ]
         },
+        {
+          id: 38,
+          title: '瀹℃牳绠$悊',
+          icon: 'icon_shenheguanli',
+          children: [
+            {
+              id: 39,
+              label: '瀹℃牳绠$悊',
+              link: '/operate/management/myIndex',
+              icon: 'icon_shenheguanlileft'
+            },
+            {
+              id: 40,
+              label: '鐭俊瀹℃牳绠$悊',
+              link: '/operate/management/managementMessage',
+              icon: 'icon_duanxinshenheguanli'
+            },
+          ]
+        },
+        {
+          id: 1,
+          title: '绯荤粺璁剧疆',
+          icon:'icon_xitongshezhi',
+          children: [
+            {
+              id: 2,
+              label: '鐢ㄦ埛绠$悊',
+              link: '/system/userSetting/user',
+              icon:'icon_yonghuguanli'
+            },
+            {
+              id: 3,
+              label: '瑙掕壊绠$悊',
+              link: '/system/userSetting/role',
+              icon: 'icon_jiaoseguanli'
+            },
+            {
+              id: 4,
+              label: '閮ㄩ棬绠$悊',
+              link: '/system/userSetting/department',
+              icon: 'icon_bumenguanli'
+            },
+            {
+              id: 5,
+              label: '鑷畾涔夎彍鍗�',
+              link: '/system/platform/mySetting',
+              icon: 'icon_zidinyicaidan'
+            },
+            {
+              id: 6,
+              label: 'logo绠$悊',
+              link: '/system/platform/portalSetting',
+              icon: 'icon_logoguanli'
+            },
+            {
+              id: 7,
+              label: '椹鹃┒鑸辩鐞�',
+              link: '/system/platform/cockpitManage',
+              icon: 'icon_jiashicangguanli'
+            },
+            {
+              id: 8,
+              label: '鍗″彛璁惧绠$悊',
+              link: '/system/device/bayonet',
+              icon: 'icon_kakoushebeiguanli'
+            },
+            {
+              id: 9,
+              label: '鐐逛綅绠$悊',
+              link: '/system/device/point',
+              icon: 'icon_dianweiguanli'
+            },
+            {
+              id: 10,
+              label: '缃戞牸绠$悊',
+              link: '/system/device/grid',
+              icon: 'icon_wanggeguanli'
+            },
+            {
+              id: 11,
+              label: '闊虫煴璁惧绠$悊',
+              link: '/system/device/loudspeaker',
+              icon: 'icon_yinzhushebeiguanli'
+            },
+            {
+              id: 12,
+              label: '鎵嬫寔璁惧绠$悊',
+              link: '/system/device/handheldTerminal',
+              icon: 'icon_shouchishebeiguanli'
+            },
+          ]
+        }
       ]
     }
   },
@@ -349,9 +361,10 @@
   min-width: 1024px;
   padding: 0;
   .content {
-    padding: 11px;
+    padding: 5px;
     height: 100%;
     background-color: #F5F9FA;
+    overflow: auto;
     .page-nav {
       padding: 40px 100px;
       text-align: left;

--
Gitblit v1.8.0