From 8191562f28c525373941af4638c30c8f8e74c245 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期三, 16 八月 2023 12:12:10 +0800
Subject: [PATCH] bug修复

---
 src/components/layout/components/appsidebar/index.vue |   46 ++++++++++++++++++++++++++++++++--------------
 1 files changed, 32 insertions(+), 14 deletions(-)

diff --git a/src/components/layout/components/appsidebar/index.vue b/src/components/layout/components/appsidebar/index.vue
index 8c38700..ddcb6f1 100644
--- a/src/components/layout/components/appsidebar/index.vue
+++ b/src/components/layout/components/appsidebar/index.vue
@@ -4,40 +4,58 @@
     <div class="box">
       <el-menu
         router
+        unique-opened
         :default-active="$route.path"
         class="el-menu-vertical-demo"
         @select="handleOpen"
         @close="handleClose"
-        background-color="#545c64"
-        text-color="#fff"
-        active-text-color="#ffd04b"
+        background-color="#314255"
+        text-color="#bfcbd9"
+        active-text-color="#fff"
       >
-        <el-submenu index="">
+        <el-submenu index="1">
           <template slot="title">
-            <i class="el-icon-location"></i>
+            <i class="el-icon-money icon"></i>
             <span>瀹㈡埛绠$悊</span>
           </template>
-          <el-menu-item index="/custom/salesLead">閿�鍞嚎绱�</el-menu-item>
-          <el-menu-item index="/custom/customManage">瀹㈡埛绠$悊</el-menu-item>
-          <el-menu-item index="/custom/contacts">鑱旂郴浜�</el-menu-item>
-          <el-menu-item index="/custom/followupRecords">璺熻繘璁板綍</el-menu-item>
+          <el-menu-item index="/client/salesLead">閿�鍞嚎绱�</el-menu-item>
+          <el-menu-item index="/client/clientManage">瀹㈡埛绠$悊</el-menu-item>
+          <el-menu-item index="/client/contacts">鑱旂郴浜�</el-menu-item>
+          <el-menu-item index="/client/followupRecords">璺熻繘璁板綍</el-menu-item>
         </el-submenu>
         <el-submenu index="2">
           <template slot="title">
-            <i class="el-icon-location"></i>
+            <i class="el-icon-phone-outline icon"></i>
             <span>閿�鍞鐞�</span>
           </template>
+          <el-menu-item index="/sales/salesOpportunity">閿�鍞満浼�</el-menu-item>
+          <el-menu-item index="/sales/quotation">鎶ヤ环鍗�</el-menu-item>
+          <el-menu-item index="/sales/masterOrder">閿�鍞�诲崟</el-menu-item>
+          <el-menu-item index="/sales/subOrder">閿�鍞瓙鍗�</el-menu-item>
+          <el-menu-item index="/sales/salesDetails">閿�鍞槑缁嗗崟</el-menu-item>
+          <el-menu-item index="/sales/salesReturn">閿�鍞��璐у崟</el-menu-item>
+          <el-menu-item index="/sales/refundForm">閿�鍞��娆惧崟</el-menu-item>
+          <el-menu-item index="/sales/contractManage">鍚堝悓绠$悊</el-menu-item>
+          <!-- <el-menu-item index="/sales/generatePlan">鐢熸垚璁″垝</el-menu-item> -->
         </el-submenu>
         <el-submenu index="3">
           <template slot="title">
-            <i class="el-icon-location"></i>
+            <i class="el-icon-service icon"></i>
             <span>鏈嶅姟绠$悊</span>
           </template>
           <el-menu-item index="/service/serviceContract">鏈嶅姟鍚堝悓</el-menu-item>
-          <el-menu-item index="/service/orderManage">宸ュ崟绠$悊</el-menu-item>
+          <el-menu-item index="/service/clientServiceOrder">瀹㈡埛鏈嶅姟鍗�</el-menu-item>
           <el-menu-item index="/service/serviceFollowup">鏈嶅姟鍥炶鍗�</el-menu-item>
-          <el-menu-item index="/service/serviceFeeManage">鏈嶅姟鏀惰垂绠$悊</el-menu-item>
+          <!-- <el-menu-item index="/service/serviceFeeManage">鏈嶅姟鏀惰垂绠$悊</el-menu-item> -->
         </el-submenu>
+        <!-- <el-submenu index="4">
+          <template slot="title">
+            <i class="el-icon-location"></i>
+            <span>鍚庡彴閰嶇疆</span>
+          </template>
+          <el-menu-item index="/backgroundConfig/memberManage">鎴愬憳绠$悊</el-menu-item>
+          <el-menu-item index="/backgroundConfig/rolePermssion">瑙掕壊鏉冮檺</el-menu-item>
+        </el-submenu> -->
       </el-menu>
     </div>
   </div>
@@ -65,7 +83,7 @@
       // console.log(this.$route.name)
     },
     handleOpen(index) {
-      console.log("aaa", index)
+      console.log(index)
     },
     handleClose() {}
   }

--
Gitblit v1.8.0