Browse Source

菜单图标更换,去掉三级菜单图标

wsy 3 years ago
parent
commit
cf4daf57aa

File diff suppressed because it is too large
+ 11 - 0
src/assets/icon/svg/menu/专家知识.svg


File diff suppressed because it is too large
+ 11 - 0
src/assets/icon/svg/menu/健康管理.svg


File diff suppressed because it is too large
+ 11 - 0
src/assets/icon/svg/menu/全生命周期.svg


File diff suppressed because it is too large
+ 13 - 0
src/assets/icon/svg/menu/原始数据查询.svg


+ 12 - 0
src/assets/icon/svg/menu/可靠性分析.svg

@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="126px" height="110px" viewBox="0 0 126 110" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <!-- Generator: Sketch 55.2 (78181) - https://sketchapp.com -->
+    <title>可靠性分析</title>
+    <desc>Created with Sketch.</desc>
+    <g id="页面1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" opacity="0.85">
+        <g id="可靠性分析" transform="translate(0.000000, -1.000000)" fill="#2347FA" fill-rule="nonzero">
+            <path d="M124.9,105.3 L65.7,2.7 C64.4,0.4 61.1,0.4 59.8,2.7 L0.5,105.3 C-0.8,107.6 0.8,110.4 3.5,110.4 L122,110.4 C124.6,110.4 126.2,107.6 124.9,105.3 Z M83.1,68.9 C83.1,80.1 74.2,89.1 63,89.3 C51.5,89.5 42.2,79.9 42.2,68.3 L42.2,68.1 C42.2,60.4 46.6,53.4 53.6,50.4 C68.7,43.8 83.1,54.7 83.1,68.9 C83.1,68.9 83.1,68.9 83.1,68.9 Z" id="形状"></path>
+            <polygon id="路径" points="59.6 71.9 54.5 66.8 52 69.4 59.6 77 73.4 63.3 70.8 60.7"></polygon>
+        </g>
+    </g>
+</svg>

File diff suppressed because it is too large
+ 11 - 0
src/assets/icon/svg/menu/安全管控.svg


File diff suppressed because it is too large
+ 12 - 0
src/assets/icon/svg/menu/报表管理.svg


File diff suppressed because it is too large
+ 11 - 0
src/assets/icon/svg/menu/报表首页.svg


File diff suppressed because it is too large
+ 12 - 0
src/assets/icon/svg/menu/故障诊断.svg


File diff suppressed because it is too large
+ 11 - 0
src/assets/icon/svg/menu/智慧检修.svg


File diff suppressed because it is too large
+ 11 - 0
src/assets/icon/svg/menu/智能报表.svg


File diff suppressed because it is too large
+ 11 - 0
src/assets/icon/svg/menu/沙盘.svg


File diff suppressed because it is too large
+ 11 - 0
src/assets/icon/svg/menu/等级评估.svg


+ 12 - 0
src/assets/icon/svg/menu/统计分析.svg

@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="160px" height="160px" viewBox="0 0 160 160" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <!-- Generator: Sketch 55.2 (78181) - https://sketchapp.com -->
+    <title>统计分析</title>
+    <desc>Created with Sketch.</desc>
+    <g id="页面1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+        <g id="统计分析" transform="translate(0.000000, -0.156250)" fill="#2C2C2C" fill-rule="nonzero">
+            <path d="M75,10.15625 L75,87.74125 L149.955,87.74125 C148.59,127.97125 115.555,160.15625 75,160.15625 C33.58,160.15625 0,126.57625 0,85.15625 C0,43.73625 33.58,10.15625 75,10.15625 Z" id="路径"></path>
+            <path d="M85,0.15625 C126.42,0.15625 160,33.73625 160,75.15625 C160,76.02125 159.985,76.88625 159.955,77.74625 L85,77.74625 L85,0.15625 Z" id="路径"></path>
+        </g>
+    </g>
+</svg>

File diff suppressed because it is too large
+ 12 - 0
src/assets/icon/svg/menu/能效分析.svg


File diff suppressed because it is too large
+ 14 - 0
src/assets/icon/svg/menu/自定制报表管理.svg


File diff suppressed because it is too large
+ 11 - 0
src/assets/icon/svg/menu/预警记录.svg


+ 14 - 0
src/assets/icon/svg/menu/风光资源分析.svg

@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="130px" height="134px" viewBox="0 0 130 134" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <!-- Generator: Sketch 55.2 (78181) - https://sketchapp.com -->
+    <title>风光资源分析</title>
+    <desc>Created with Sketch.</desc>
+    <g id="页面1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+        <g id="风光资源分析" fill="#B9B9B9" fill-rule="nonzero">
+            <path d="M125.4,76.4 L4.6,76.4 C2,76.4 0,79 0,82.1 C0,85.3 2.1,87.8 4.6,87.8 L125.4,87.8 C128,87.8 130,85.2 130,82.1 C130.1,78.9 128,76.4 125.4,76.4 Z" id="路径"></path>
+            <path d="M117.3,99.1 L12.7,99.1 C10.1,99.1 8.1,101.7 8.1,104.8 C8.1,108 10.2,110.5 12.7,110.5 L117.3,110.5 C119.9,110.5 121.9,107.9 121.9,104.8 C122,101.7 119.9,99.1 117.3,99.1 Z" id="路径"></path>
+            <path d="M99.2,121.9 L30.8,121.9 C28.2,121.9 26.2,124.5 26.2,127.6 C26.2,130.8 28.3,133.3 30.8,133.3 L99.2,133.3 C101.8,133.3 103.8,130.7 103.8,127.6 C103.9,124.4 101.8,121.9 99.2,121.9 Z" id="路径"></path>
+            <path d="M65,0 C29.1,0 0,29.1 0,65 L130,65 C130,29.1 100.9,0 65,0 Z" id="路径"></path>
+        </g>
+    </g>
+</svg>

+ 19 - 19
src/views/layout/Menu.vue

@@ -22,7 +22,7 @@
       <li class="menu-item" v-for="(menu, index) of subMenu" @click="subclick(index)" :key="menu" :class="{ active: subIndex == index }">
         <router-link :to="menu.path">
           <div class="menu-icon svg-icon">
-            <SvgIcon :svgid="menu.icon"></SvgIcon>
+            <!-- <SvgIcon :svgid="menu.icon"></SvgIcon> -->
           </div>
           <div class="sub-menu-text" :class="subIndex == index ? 'green' : 'gray'">{{ menu.text }}</div>
         </router-link>
@@ -344,18 +344,18 @@ export default {
           data: [
             {
               text: "沙盘",
-              icon: "svg-wind-site",
+              icon: "svg-沙盘",
               // path: '/monitor/sandtable'
               path: "/health/sandtable",
             },
             {
               text: "等级评估",
-              icon: "svg-wind-site",
+              icon: "svg-等级评估",
               path: "/assess/index",
             },
             {
               text: "故障诊断",
-              icon: "svg-wind-site",
+              icon: "svg-故障诊断",
               path: "/malfunctionDiagnose",
               children: [
                 {
@@ -372,7 +372,7 @@ export default {
             },
             {
               text: "健康管理",
-              icon: "svg-wind-site",
+              icon: "svg-健康管理",
               path: "/health",
               children: [
                 {
@@ -409,12 +409,12 @@ export default {
             },
             {
               text: "全生命周期",
-              icon: "svg-wind-site",
+              icon: "svg-全生命周期",
               path: "/allLifeManage",
             },
             {
               text: "能效分析",
-              icon: "svg-wind-site",
+              icon: "svg-能效分析",
               path: "/powerCurve",
               children: [
                 {
@@ -447,7 +447,7 @@ export default {
             },
             {
               text: "可靠性分析",
-              icon: "svg-wind-site",
+              icon: "svg-可靠性分析",
               path: "/new/alarmcenter1",
               children: [
                 {
@@ -479,7 +479,7 @@ export default {
             },
             {
               text: "风光资源分析",
-              icon: "svg-wind-site",
+              icon: "svg-风光资源分析",
               path: "/windAnalysis",
               children: [
                 {
@@ -502,7 +502,7 @@ export default {
           data: [
             {
               text: "安全管控",
-              icon: "svg-matrix",
+              icon: "svg-安全管控",
               path: "/new/personnel",
               children: [
                 {
@@ -525,12 +525,12 @@ export default {
           data: [
             {
               text: "报表首页",
-              icon: "svg-wind-site",
+              icon: "svg-报表首页",
               path: "/znbb/reportPandect",
             },
             {
               text: "统计分析",
-              icon: "svg-matrix",
+              icon: "svg-统计分析",
               path: "/tjfx",
               children: [
                 {
@@ -547,7 +547,7 @@ export default {
             },
             {
               text: "报表管理",
-              icon: "svg-matrix",
+              icon: "svg-报表管理",
               path: "/bdzcx",
               children: [
                 {
@@ -566,12 +566,12 @@ export default {
                   path: "/xnyrb",
                 },
                 {
-                  text: "国电电力MISS日报(风电)",
+                  text: "国电MIS日报(风电)",
                   icon: "svg-matrix",
                   path: "/missfdrb",
                 },
                 {
-                  text: "国电电力MISS日报(光伏)",
+                  text: "国电MIS日报(光伏)",
                   icon: "svg-matrix",
                   path: "/missgfrb",
                 },
@@ -629,7 +629,7 @@ export default {
             },
             {
               text: "自定制报表管理",
-              icon: "svg-matrix",
+              icon: "svg-自定制报表管理",
               path: "/fdczzdy",
               children: [
                 {
@@ -662,7 +662,7 @@ export default {
           data: [
             {
               text: "原始数据查询",
-              icon: "svg-wind-site",
+              icon: "svg-原始数据查询",
               path: "/realSearch",
               children: [
                 {
@@ -679,7 +679,7 @@ export default {
             },
             {
               text: "预警记录",
-              icon: "svg-wind-site",
+              icon: "svg-预警记录",
               path: "/new/alarmcenter",
               children: [
                 {
@@ -722,7 +722,7 @@ export default {
             },
             {
               text: "专家知识",
-              icon: "svg-wind-site",
+              icon: "svg-专家知识",
               path: "/knowledge",
               children: [
                 {