From 4b0df650a1fe818218e7f8ac0c6ff8f0150371b6 Mon Sep 17 00:00:00 2001
From: “dzb” <2632970487@qq.com>
Date: 星期五, 04 十一月 2022 11:26:52 +0800
Subject: [PATCH] 修改后端接口后头像登录用户头像不显示问题

---
 src/views/layout/components/Main/index.vue |  131 +++++++++++++++++++++++++++++++++++++++----
 1 files changed, 118 insertions(+), 13 deletions(-)

diff --git a/src/views/layout/components/Main/index.vue b/src/views/layout/components/Main/index.vue
index 0436431..a4f4966 100644
--- a/src/views/layout/components/Main/index.vue
+++ b/src/views/layout/components/Main/index.vue
@@ -37,35 +37,139 @@
           children:[
             {
               id:2,
-              label:'閮ㄩ棬绠$悊',
-              link:'',
+              label:'鐢ㄦ埛绠$悊',
+              link:'/system/userSetting/user',
             },
             {
               id:3,
-              label:'璐︽埛绠$悊',
-              link:'',
+              label:'瑙掕壊绠$悊',
+              link:'/system/userSetting/role',
             },
             {
               id:4,
-              label:'瑙掕壊绠$悊',
-              link:'',
+              label:'閮ㄩ棬绠$悊',
+              link:'/system/userSetting/department',
             },
             {
               id:5,
-              label:'鏉冮檺绠$悊',
-              link:'',
+              label:'鍗″彛璁惧绠$悊',
+              link:'/system/device/bayonet',
             },
             {
               id:6,
-              label:'鏃ュ織绠$悊',
-              link:'',
+              label:'鐐逛綅绠$悊',
+              link:'/system/device/point',
             },
           ]
         },
         {
           id:7,
-          title:'杩愯惀绠$悊'
-        }
+          title:'杩愯惀绠$悊',
+          children:[
+            {
+              id:8,
+              label:'妗堜欢姹�',
+              link:'/operate/casepool/pool',
+            },
+            {
+              id:9,
+              label:'涓婃姤绠$悊',
+              link:'/operate/casepool/escalation',
+            },
+            {
+              id:10,
+              label:'璋冨害绠$悊',
+              link:'/operate/casepool/dispatch',
+            },
+            {
+              id:11,
+              label:'瀹℃牳绠$悊',
+              link:'/operate/management/myIndex',
+            },
+            {
+              id:13,
+              label:'鎴戠殑寰呭姙',
+              link:'/operate/myWait',
+            },
+            {
+              id:14,
+              label:'妗堝嵎鏌ヨ',
+              link:'/operate/viewEvent',
+            },
+             {
+              id:15,
+              label:'杞﹁締绠$悊',
+              link:'/operate/car/carIndex',
+            },
+             {
+              id:16,
+              label:'鍥剧墖绠$悊',
+              link:'/operate/images',
+            },
+             {
+              id:17,
+              label:'瑙嗛绠$悊',
+              link:'/operate/videoControl',
+            },
+            {
+              id:18,
+              label:'娑堟伅绠$悊',
+              link:'/operate/message/messageIndex',
+            },
+            {
+              id:19,
+              label:'鐭俊绠$悊',
+              link:'/operate/sms/smsIndex',
+            },
+             {
+              id:20,
+              label:'鏃ュ織绠$悊',
+              link:'/operate/log',
+            },
+          ]
+        },
+        {
+          id:21,
+          title:'瑙嗛宸℃煡',
+          children:[
+            {
+              id:22,
+              label:'瑙嗛宸℃煡',
+              link:'/video',
+            },
+          ]
+        },
+        {
+          id:23,
+          title:'鏅鸿兘宸℃煡',
+          children:[
+            {
+              id:24,
+              label:'棰勮鐮斿垽',
+              link:'/studyJudge',
+            },
+            {
+              id:25,
+              label:'杩濊妫�绱�',
+              link:'/illegalSearch',
+            },
+            {
+              id:26,
+              label:'瓒嬪娍鍒嗘瀽',
+              link:'/trendAnalysis',
+            },
+            {
+              id:27,
+              label:'杩濈珷缁熻',
+              link:'/trendAnalysis',
+            },
+            {
+              id:28,
+              label:'杩濇硶缁熻',
+              link:'/typeStatistics',
+            },
+          ]
+        },
       ]
     }
   },
@@ -76,9 +180,10 @@
   },
   methods:{
     handleJump(url){
+      const baseURL = '/home'
       console.log(url)
       // 璺敱璺宠浆
-      // this.$router.push({path:url})
+      this.$router.push({path:baseURL+url})
     }
   }
 };

--
Gitblit v1.8.0