From e62d2b8d59e0a287fbd76cce9ba050a1e6434a56 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Wed, 28 May 2025 10:14:46 +0800
Subject: [PATCH] Merge branch 'refs/heads/master' into feature/v2.0.0/后台管理适配

---
 src/views/wel/index.vue |   36 +++++++++++++++++-------------------
 1 files changed, 17 insertions(+), 19 deletions(-)

diff --git a/src/views/wel/index.vue b/src/views/wel/index.vue
index 933f3a9..8a78355 100644
--- a/src/views/wel/index.vue
+++ b/src/views/wel/index.vue
@@ -139,15 +139,14 @@
   getFlyList();
   getFlyTimeList();
 };
-const refresh=()=>{
-
-params.value.date_enum = 'CURRENT_YEAR';
-checked.value ='CURRENT_YEAR';
-dateSelect.value ='CURRENT_YEAR'
-    getTypeData();
+const refresh = () => {
+  params.value.date_enum = 'CURRENT_YEAR';
+  checked.value = 'CURRENT_YEAR';
+  dateSelect.value = 'CURRENT_YEAR';
+  getTypeData();
   getFlyList();
   getFlyTimeList();
-}
+};
 // 跳转
 const jumpshebei = () => {
   ElMessage.warning('加急开发中...');
@@ -181,8 +180,7 @@
 const getTypeData = () => {
   getJobEventByStatus(params.value).then(res => {
     const resList = res?.data?.data || [];
-    
-    
+
     resList.forEach(item => {
       eventTypeList.value.forEach(item1 => {
         if (item1.name === item.name) {
@@ -197,7 +195,6 @@
 // 飞行统计
 const getFlyList = () => {
   getFly(params.value).then(res => {
-  
     flyTypeList.value = flyTypeList.value.map(item => ({
       ...item,
       value: res.data.data[keyMapping[item.name]] || 0,
@@ -220,7 +217,7 @@
   const data = {
     total: {
       title: '总计',
-      
+
       figure: totalNum.toString(), // 动态计算总数
     },
     data: val.map(item => ({
@@ -539,8 +536,9 @@
           span {
             margin-right: 4px;
           }
-          img{
-          cursor: pointer;}
+          img {
+            cursor: pointer;
+          }
         }
         .arrow {
           cursor: pointer;
@@ -563,9 +561,9 @@
             line-height: 32px;
             cursor: pointer;
             font-family: 'Source Han Sans CN';
-font-weight: 400;
-font-size: 14px;
-color: #7C8091;
+            font-weight: 400;
+            font-size: 14px;
+            color: #7c8091;
           }
           .card-item:first-child {
             border-right: 1px solid #e5e5e5;
@@ -616,7 +614,7 @@
                   color: #7c8091;
                 }
                 .total-number {
-                   font-family: 'Source Han Sans CN';
+                  font-family: 'Source Han Sans CN';
 
                   font-weight: bold;
                   font-size: 32px;
@@ -633,7 +631,7 @@
                   text-align: center;
                   justify-content: space-between;
                   height: 97px;
-                  max-width: 148px;
+                  max-width: 158px;
                   background: #f6f8fe;
                   border-radius: 8px 8px 8px 8px;
                   img {
@@ -645,7 +643,7 @@
                     display: flex;
                     flex-direction: column;
                     // align-items: center;
-                    padding: 9px 4px 7px 10px;
+                    padding: 5px 4px 9px 10px;
                     text-align: left;
                     .status-label {
                       font-weight: 400;

--
Gitblit v1.9.3