From b848a5cbbcc80c994aaf6156c365ce725867ad57 Mon Sep 17 00:00:00 2001 From: “dzb” <2632970487@qq.com> Date: 星期四, 13 十月 2022 17:57:58 +0800 Subject: [PATCH] Merge branch 'master' of http://42.193.1.25:9521/r/sccg_ui --- src/views/layout/components/Menu/index.vue | 56 +++++++++++++++++++++++++++++++++++++++++++++++--------- 1 files changed, 47 insertions(+), 9 deletions(-) diff --git a/src/views/layout/components/Menu/index.vue b/src/views/layout/components/Menu/index.vue index 06a2df9..9dc05a4 100644 --- a/src/views/layout/components/Menu/index.vue +++ b/src/views/layout/components/Menu/index.vue @@ -86,17 +86,18 @@ <el-menu-item index="/home/operate/casepool/pool">妗堜欢姹�</el-menu-item> <el-menu-item index="/home/operate/casepool/escalation">涓婃姤绠$悊</el-menu-item> <el-menu-item index="/home/operate/casepool/dispatch">璋冨害绠$悊</el-menu-item> - <!-- <el-menu-item index="/home/operate/casepool">鍐嶅涔犵鐞�</el-menu-item> --> + <el-menu-item index="/home/operate/casepool/learn">鍐嶅涔犵鐞�</el-menu-item> <el-menu-item index="/home/operate/casepool/notDeal">鏆備笉澶勭悊</el-menu-item> </el-submenu> + <el-menu-item index="/home/operate/management">瀹℃牳绠$悊</el-menu-item> <el-menu-item index="/home/operate/myWait">鎴戠殑寰呭姙</el-menu-item> <el-submenu index="/home/operate/rectification" class="secondMenu"> <template slot="title"> <span class="secondSpan">涓撻」鏁存不</span> </template> - <el-menu-item index="/home/operate/rectification/taskList">浠诲姟鍒楄〃</el-menu-item> - <el-menu-item index="/home/operate/rectification/surveyList">鏅煡鍒楄〃</el-menu-item> - <el-menu-item index="/home/operate/rectification/renovationList">鏁存不鍒楄〃</el-menu-item> + <el-menu-item index="/home/operate/rectification/taskList">浠诲姟鍒楄〃</el-menu-item> + <el-menu-item index="/home/operate/rectification/surveyList">鏅煡鍒楄〃</el-menu-item> + <el-menu-item index="/home/operate/rectification/renovationList">鏁存不鍒楄〃</el-menu-item> </el-submenu> <el-menu-item index="/home/operate/lawEnforcement">宸℃煡鎵ф硶</el-menu-item> <el-menu-item index="/home/operate/dasds">妗堝嵎鏌ヨ</el-menu-item> @@ -108,10 +109,23 @@ <el-menu-item index="/home/operate/fivepack/shop">搴楅摵绠$悊</el-menu-item> </el-submenu> <el-menu-item index="/home/operate/dasdas">绠楁硶妯″瀷绠$悊</el-menu-item> - <el-menu-item index="/home/operate/dasdas">杞﹁締绠$悊</el-menu-item> + <el-submenu index="/home/operate/car" class="secondMenu"> + <template slot="title"> + <span class="secondSpan">杞﹁締绠$悊</span> + </template> + <el-menu-item index="/home/operate/car/carIndex">杞﹁締绠$悊</el-menu-item> + <el-menu-item index="/home/operate/car/lawTrajectory">杞ㄨ抗鍒嗘瀽(鎵ф硶杞�)</el-menu-item> + <el-menu-item index="/home/operate/car/soilTrajectory">杞ㄨ抗鍒嗘瀽(娓e湡杞�)</el-menu-item> + </el-submenu> <el-menu-item index="/home/operate">鍥剧墖绠$悊</el-menu-item> <el-menu-item index="/home/operate">瑙嗛绠$悊</el-menu-item> - <el-menu-item index="/home/operate">娑堟伅绠$悊</el-menu-item> + <el-submenu index="/home/operate/message" class="secondMenu"> + <template slot="title"> + <span class="secondSpan">娑堟伅绠$悊</span> + </template> + <el-menu-item index="/home/operate/message/messageIndex">娑堟伅绠$悊</el-menu-item> + <el-menu-item index="/home/operate/message/mycontrol">鏍忕洰绠$悊</el-menu-item> + </el-submenu> <el-menu-item index="/home/operate">鐭俊绠$悊</el-menu-item> <el-menu-item index="/home/operate">鏃ュ織绠$悊</el-menu-item> </el-submenu> @@ -189,7 +203,27 @@ <script> export default { + data(){ + return{ + } + }, + created(){ + // this.getMenuList(); + }, + methods:{ + // 鑾峰彇鑿滃崟鍒楄〃 + getMenuList(){ + let arr; + this.$axios({ + method:'get', + url:'sccg/system/portal/menu/search_myself' + }) + .then(res=>{ + console.log(res); + }) + } + } }; </script> @@ -230,9 +264,11 @@ .firstMenu { background: #07162e; text-align: left; - &:hover>.el-submenu__title{ + + &:hover>.el-submenu__title { background-color: #092c4a; } + &:hover .fisrtSpan { color: #22d3eb; } @@ -259,18 +295,20 @@ } .secondMenu { - &:hover>.el-submenu__title{ + &:hover>.el-submenu__title { background-color: #092c4a; } + &:hover .secondSpan { color: #22d3eb; } } .thirdMenu { - &:hover>.el-submenu__title{ + &:hover>.el-submenu__title { background-color: #092c4a; } + &:hover .thirdSpan { color: #22d3eb; } -- Gitblit v1.8.0