Răsfoiți Sursa

图标调整

zhangjie 1 an în urmă
părinte
comite
b773c60e0e

+ 0 - 0
src/assets/icons/icon-fill-data.svg → src/assets/icons/icon-fill-report.svg


+ 12 - 0
src/assets/icons/icon-report-device.svg

@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <title>icon-设备保障监控</title>
+    <g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+        <g id="42.01-数据驾驶舱" transform="translate(-96, -184)">
+            <g id="icon-设备保障监控" transform="translate(96, 184)">
+                <rect id="print-(Background)" opacity="0" x="0" y="0" width="20" height="20"></rect>
+                <path d="M4.9987793,4.99862671 L3.7487793,4.99862671 C3.05360131,4.99862671 2.4987793,5.5534488 2.4987793,6.24862671 L2.4987793,12.4986267 C2.4987793,13.1938052 3.05360131,13.7486267 3.7487793,13.7486267 L4.9987793,13.7486267 L4.9987793,17.4986267 L14.9987793,17.4986267 L14.9987793,13.7486267 L16.2487793,13.7486267 C16.9439578,13.7486267 17.4987793,13.1938052 17.4987793,12.4986267 L17.4987793,6.24862671 C17.4987793,5.5534488 16.9439578,4.99862671 16.2487793,4.99862671 L14.9987793,4.99862671 L14.9987793,2.49862671 L4.9987793,2.49862671 L4.9987793,4.99862671 Z M13.7487793,3.74862671 L6.2487793,3.74862671 L6.2487793,4.99862671 L13.7487793,4.99862671 L13.7487793,3.74862671 Z M3.7487793,12.4986267 L4.9987793,12.4986267 L4.9987793,9.99862671 L14.9987793,9.99862671 L14.9987793,12.4986267 L16.2487793,12.4986267 L16.2487793,6.24862671 L3.7487793,6.24862671 L3.7487793,12.4986267 Z M6.2487793,11.2486267 L13.7487793,11.2486267 L13.7487793,16.2486267 L6.2487793,16.2486267 L6.2487793,11.2486267 Z" id="print" fill="#262626"></path>
+            </g>
+        </g>
+    </g>
+</svg>

+ 16 - 0
src/assets/icons/icon-report-dispatch.svg

@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <title>icon-派单分析</title>
+    <g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+        <g id="42.01-数据驾驶舱" transform="translate(-96, -24)">
+            <g id="3.Navigation导航/4.Menu导航菜单/左侧导航选项/一级有图标/默认" transform="translate(80, 16)">
+                <g id="icon-派单分析" transform="translate(16, 8)">
+                <rect id="fullsreen-(Background)" opacity="0" x="0" y="0" width="16" height="16"></rect>
+                    <g id="编组" transform="translate(2.5, 2.5)" fill="#262626" fill-rule="nonzero">
+                        <path d="M13.2291667,0 C14.2071709,0 15,0.792829089 15,1.77083333 L15,7.51552582 C15,7.86070379 14.720178,8.14052582 14.375,8.14052582 C14.029822,8.14052582 13.75,7.86070379 13.75,7.51552582 L13.75,1.77083333 C13.75,1.48318503 13.516815,1.25 13.2291667,1.25 L1.77083333,1.25 C1.48318503,1.25 1.25,1.48318503 1.25,1.77083333 L1.25,13.2291667 C1.25,13.516815 1.48318503,13.75 1.77083333,13.75 L13.2291667,13.75 C13.5743446,13.75 13.8541667,14.029822 13.8541667,14.375 C13.8541667,14.720178 13.5743446,15 13.2291667,15 L1.77083333,15 C0.792829089,15 0,14.2071709 0,13.2291667 L0,1.77083333 C0,0.792829089 0.792829089,0 1.77083333,0 L13.2291667,0 Z M11.725,7.71611652 L14.6619275,10.6518028 C14.8181639,10.7052533 14.9395216,10.8339039 14.9828181,10.9945725 C15.0776638,11.1533733 15.077064,11.3534254 14.9807059,11.5115516 C14.9340664,11.6778864 14.8028864,11.8090664 14.6364003,11.8561685 C14.4889892,11.9456268 14.3049155,11.9521563 14.1520506,11.8752945 L5,11.875 L5,10.625 L12.866,10.6241165 L10.8411165,8.6 L11.725,7.71611652 Z M9.375,6 L9.375,7.25 L3.125,7.25 L3.125,6 L9.375,6 Z M11.875,3.125 L11.875,4.375 L3.125,4.375 L3.125,3.125 L11.875,3.125 Z" id="形状结合"></path>
+                    </g>
+                </g>
+            </g>
+        </g>
+    </g>
+</svg>

+ 12 - 0
src/assets/icons/icon-report-project.svg

@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <title>icon-项目进度监控</title>
+    <g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+        <g id="42.01-数据驾驶舱" transform="translate(-96, -144)">
+            <g id="icon-项目进度监控" transform="translate(96, 144)">
+                <rect id="fullsreen-(Background)" opacity="0" x="0" y="0" width="16" height="16"></rect>
+                <path d="M17.5,2.5 L17.5,3.75 L15,3.75 L15,6.25 C15,7.74401515 14.3447368,9.08498538 13.3059259,10.0011951 C14.3447368,10.9150146 15,12.2559849 15,13.75 L15,16.25 L17.5,16.25 L17.5,17.5 L2.5,17.5 L2.5,16.25 L5,16.25 L5,13.75 C5,12.2559849 5.65526321,10.9150146 6.69407409,9.99880485 C5.65526321,9.08498538 5,7.74401515 5,6.25 L5,3.75 L2.5,3.75 L2.5,2.5 L17.5,2.5 Z M6.249,3.75 L6.25,6.25 C6.25,7.34179126 6.71748279,8.35457996 7.51968883,9.06026327 L8.58521053,9.99757967 L7.52090421,10.9362759 C6.71752638,11.6448386 6.25,12.6581974 6.25,13.75 L6.25,16.25 L13.75,16.25 L13.75,13.75 C13.75,12.7421927 13.3516715,11.8017012 12.6594334,11.1079345 L12.4803112,10.9397367 L11.4147895,10.0024203 L12.4790958,9.06372411 C13.2824736,8.35516143 13.75,7.34180262 13.75,6.25 L13.75,3.75 L6.249,3.75 Z M11.875,13.75 L11.875,15 L8.125,15 L8.125,13.75 L11.875,13.75 Z" id="形状结合" fill="#262626"></path>
+            </g>
+        </g>
+    </g>
+</svg>

+ 12 - 0
src/assets/icons/icon-report-quality.svg

@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <title>icon-质量监控分析</title>
+    <g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+        <g id="42.01-数据驾驶舱" transform="translate(-96, -224)">
+            <g id="icon-质量监控分析" transform="translate(96, 224)">
+                <rect id="secured-(Background)" opacity="0" x="0" y="0" width="20" height="20"></rect>
+                <path d="M13.7054956,7.94224262 L12.8216034,7.05836773 L9.23674345,10.643295 L7.1783179,8.58487248 L6.29443526,9.46875691 L9.23675299,12.4110699 L13.7054956,7.94224262 Z M3.125,11.2500578 C3.125,13.0205953 4.05394033,14.6613109 5.57214528,15.572269 L9.99974072,18.2289302 L14.4278467,15.5721962 C15.9460855,14.6612966 16.8750966,13.0205917 16.8750966,11.2500626 L16.8750966,2.5 L3.125,2.5 L3.125,11.2500578 Z M4.37503085,3.75 L15.6250918,3.75 L15.6250596,11.2500578 C15.6250596,12.5815046 14.9264693,13.8153183 13.7847507,14.5003164 L9.99976933,16.7711937 L6.21528327,14.5004141 C5.07357433,13.8153625 4.375,12.5815237 4.375,11.2500626 L4.37503085,3.75 Z" id="secured" fill="#262626"></path>
+            </g>
+        </g>
+    </g>
+</svg>

+ 14 - 0
src/assets/icons/icon-report-unit.svg

@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <title>icon-服务单元分析</title>
+    <g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+        <g id="42.01-数据驾驶舱" transform="translate(-96, -64)">
+            <g id="3.Navigation导航/4.Menu导航菜单/左侧导航选项/一级有图标/默认备份-16" transform="translate(80, 56)">
+                <g id="icon-服务单元分析" transform="translate(16, 8)">
+                    <rect id="server-(Background)" opacity="0" x="0" y="0" width="20" height="20"></rect>
+                    <path d="M5,6.5625 L5,5.3125 L8.75,5.3125 L8.75,6.5625 L5,6.5625 Z M2.50030518,2.5 L17.5003052,2.5 C17.8454173,2.5 18.1252122,2.77971875 18.1253052,3.1248305 L18.1264925,8.74985218 C18.1266618,9.09509659 17.8467369,9.37502205 17.5014925,9.37502205 L2.50149243,9.37502205 C2.15638068,9.37502205 1.87658564,9.09530342 1.87649202,8.75019133 L1.87530518,3.1251698 C1.87530518,2.77992561 2.15506099,2.5 2.50030518,2.5 Z M3.12547475,3.75 L16.8754745,3.75 L16.8763232,8.12502205 L3.12632248,8.12502205 L3.12547475,3.75 Z M8.7501353,14.6875 L8.7501353,13.4375 L5.0001356,13.4375 L5.0001356,14.6875 L8.7501353,14.6875 Z M2.50166148,10.6250173 L17.5016618,10.6250173 C17.8468394,10.6250173 18.1266618,10.9048396 18.1266618,11.2500173 L18.1266618,16.875 C18.1266618,17.2201777 17.8468394,17.5 17.5016618,17.5 L2.50166193,17.5 C2.15648398,17.5 1.87666151,17.2201777 1.87666151,16.875 L1.87666151,11.2500173 C1.87666151,10.904839 2.15648357,10.6250173 2.50166148,10.6250173 Z M3.12666148,11.8750173 L16.8766618,11.8750173 L16.8766618,16.25 L3.12666148,16.25 L3.12666148,11.8750173 Z" id="server" fill="#262626"></path>
+                </g>
+            </g>
+        </g>
+    </g>
+</svg>

+ 12 - 0
src/assets/icons/icon-report-warning.svg

@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <title>icon-SOP预警监控</title>
+    <g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+        <g id="42.01-数据驾驶舱" transform="translate(-96, -104)">
+            <g id="icon-SOP预警监控" transform="translate(96, 104)">
+                <rect id="fullsreen-(Background)" opacity="0" x="0" y="0" width="16" height="16"></rect>
+                <path d="M10,2.5 C13.1066017,2.5 15.625,5.01839828 15.625,8.125 L15.625,16.25 L17.5,16.25 L17.5,17.5 L2.5,17.5 L2.5,16.25 L4.375,16.25 L4.375,8.125 C4.375,5.01839828 6.89339828,2.5 10,2.5 Z M10,3.75 C7.58375422,3.75 5.625,5.70875422 5.625,8.125 L5.625,16.25 L14.375,16.25 L14.375,8.125 C14.375,5.78929575 12.544653,3.88109194 10.240044,3.75647358 L10,3.75 Z M9.71273372,6.7465917 L10.8282444,7.31062713 L10.5462267,7.86838246 L9.75637051,9.42761475 L12.2818594,9.42779541 L11.8140925,10.3383801 L10.5381526,12.8222058 L10.2525679,13.3781432 L9.14069313,12.8069737 L9.42627787,12.2510364 L10.2326205,10.6776147 L7.725,10.6777954 L8.18361518,9.7707777 L9.43071601,7.30434703 L9.71273372,6.7465917 Z" id="形状结合" fill="#262626"></path>
+            </g>
+        </g>
+    </g>
+</svg>

+ 12 - 0
src/assets/icons/icon-time.svg

@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <title>icon-时间</title>
+    <g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+        <g id="42.01-数据驾驶舱" transform="translate(-1078, -20)">
+            <g id="icon-时间" transform="translate(1078, 20)">
+                <rect id="time-(Background)" opacity="0" x="0" y="0" width="16" height="16"></rect>
+                <path d="M7.5,8.3889246 L10.0002441,11 L10.7073517,10.2928925 L8.5,7.97471142 L8.5,4 L7.5,4 L7.5,8.3889246 Z M8,15 C4.13400674,15 1,11.8659935 1,8 C1,4.13400674 4.13400674,1 8,1 C11.8659935,1 15,4.13400674 15,8 C15,11.8659935 11.8659935,15 8,15 Z" id="time" fill="#BFBFBF"></path>
+            </g>
+        </g>
+    </g>
+</svg>

+ 0 - 12
src/assets/icons/icon-质量监控分析.svg

@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<svg width="17.5px" height="17.5px" viewBox="0 0 17.5 17.5" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
-    <title>icon-质量监控分析</title>
-    <g id="项目质量管理" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
-        <g id="24.01-项目质量管理" transform="translate(-97.25, -65.25)">
-            <g id="icon-质量监控分析" transform="translate(96, 64)">
-                <rect id="chart-pie-(Background)" opacity="0" x="0" y="0" width="20" height="20"></rect>
-                <path d="M10,18.75 C5.16750842,18.75 1.25,14.8324919 1.25,10 C1.25,5.16750842 5.16750842,1.25 10,1.25 C14.8324919,1.25 18.75,5.16750842 18.75,10 C18.75,14.8324919 14.8324919,18.75 10,18.75 Z M10,17.5 C5.85786432,17.5 2.5,14.1421354 2.5,10 C2.5,6.06833518 5.52529335,2.84326538 9.375,2.52567112 L9.375,10.625 L17.4743295,10.625 C17.1567357,14.4747066 13.9316642,17.5 10,17.5 Z M10.625,9.375 L10.625,2.52567112 C14.2686236,2.8262639 17.1737361,5.73137671 17.4743295,9.375 L10.625,9.375 Z" id="chart-pie" fill="#262626"></path>
-            </g>
-        </g>
-    </g>
-</svg>

+ 5 - 0
src/components/global/report-header/index.vue

@@ -12,6 +12,10 @@
     <div class="right-box flex h-full items-center">
       <img class="time-icon" src="../../../assets//imgs/time.png" />
       <p>{{ timeText }} &nbsp; {{ getCurrentWeek() }}</p>
+      <t-button variant="outline" class="m-l-16px">
+        <template #icon><Fullscreen2Icon /></template>
+        全屏
+      </t-button>
     </div>
   </div>
 </template>
@@ -21,6 +25,7 @@ import { useIntervalFn } from '@vueuse/core';
 import { dateFormat } from '@/utils/tool';
 import { useVModel } from '@vueuse/core';
 import CustomDatePicker from '../custom-date-picker';
+import { Fullscreen2Icon } from 'tdesign-icons-vue-next';
 const emit = defineEmits(['update:dateRange', 'timeChange']);
 const timeChange = (value) => {
   emit('timeChange', value);

+ 5 - 5
src/router/modules/report.js

@@ -6,7 +6,7 @@ export default {
     sort: 9,
     isModule: true,
     alias: 'test',
-    icon: 'work',
+    icon: 'report',
   },
   children: [
     {
@@ -17,7 +17,7 @@ export default {
         title: '派单分析',
         sort: 1,
         alias: 'test1',
-        icon: 'notice',
+        icon: 'report-dispatch',
       },
     },
     {
@@ -28,7 +28,7 @@ export default {
         title: '服务单元分析',
         sort: 2,
         alias: 'test2',
-        icon: 'notice',
+        icon: 'report-unit',
       },
     },
     {
@@ -39,7 +39,7 @@ export default {
         title: 'SOP预警监控',
         sort: 3,
         alias: 'test3',
-        icon: 'notice',
+        icon: 'report-warning',
       },
     },
     {
@@ -50,7 +50,7 @@ export default {
         title: '项目进度监控',
         sort: 3,
         alias: 'test4',
-        icon: 'notice',
+        icon: 'report-project',
       },
     },
   ],