瀏覽代碼

fix: 细节优化

@dayan_hjm 2 年之前
父節點
當前提交
ac9a106c38

+ 45 - 11
src/assets/css/styleTemplate.less

@@ -2,7 +2,7 @@
2 2
  * @Author: dayan_hjm 茶百道主题样式
3 3
  * @Date: 2022-10-27 10:56:37 
4 4
  * @Last Modified by: dayan_hjm
5
- * @Last Modified time: 2023-11-07 17:33:48
5
+ * @Last Modified time: 2023-11-08 17:15:55
6 6
  */
7 7
 
8 8
 @import url("../../themes/themes.less");
@@ -481,7 +481,7 @@
481 481
                 height: 80%;
482 482
                 color: #fff;
483 483
                 position: absolute;
484
-                right: 0%;
484
+                left: 48%;
485 485
                 top: 0.5em;
486 486
 
487 487
                 li {
@@ -490,6 +490,12 @@
490 490
                   font-size: 0.9em;
491 491
                 }
492 492
               }
493
+              @media (min-height: 900px) {
494
+                .name_ul{
495
+                  top:1.5em
496
+                }
497
+              }
498
+
493 499
 
494 500
               #echarts4,
495 501
               #echarts6_box {
@@ -497,17 +503,39 @@
497 503
                 height: 90%;
498 504
               }
499 505
 
506
+              #echarts4 {
507
+                width: 55%;
508
+              }
509
+
500 510
               #echarts6_box {
501 511
                 margin-top: -2em;
502 512
                 position: relative;
503 513
 
504 514
                 // background: url(../imgs/dataVimg/guanghuan.png) no-repeat left 43% / 102% 120%;
505 515
                 .guanghuan {
506
-                  width: 102%;
507
-                  height: 120%;
516
+                  width: 100%;
517
+                  /* height: 187px; */
508 518
                   position: absolute;
509 519
                   left: 0;
510
-                  top: -1em;
520
+                  top: 0;
521
+                }
522
+
523
+                @media (max-height: 768px) {
524
+                  .guanghuan {
525
+                    top: -10%;
526
+                  }
527
+                }
528
+
529
+                @media (min-height: 900px) {
530
+                  .guanghuan {
531
+                    top: -7%;
532
+                  }
533
+                }
534
+
535
+                @media (min-height: 1000px) {
536
+                  .guanghuan {
537
+                    top: 0%;
538
+                  }
511 539
                 }
512 540
 
513 541
                 #echarts6 {
@@ -540,7 +568,7 @@
540 568
             justify-content: center;
541 569
 
542 570
             #chartmain {
543
-              width: 80%;
571
+              width: 90%;
544 572
               height: 100%;
545 573
             }
546 574
 
@@ -838,7 +866,7 @@
838 866
         }
839 867
 
840 868
         .bottomContent3 {
841
-          height: 30%;
869
+          height: 23%;
842 870
           width: 100%;
843 871
           position: absolute;
844 872
           left: 0;
@@ -862,8 +890,8 @@
862 890
             }
863 891
 
864 892
             #echarts2 {
865
-              width: 80%;
866
-              height: 75%;
893
+              width: 95%;
894
+              height: 90%;
867 895
             }
868 896
           }
869 897
         }
@@ -873,6 +901,12 @@
873 901
           background: url(../imgs/dataVimg/toplineB.png) no-repeat 0 bottom / 100% 11%;
874 902
           height: 78%;
875 903
         }
904
+        @media (min-height: 900px) {
905
+          .center_li{
906
+            height: 60%;
907
+          }
908
+        }
909
+
876 910
 
877 911
         .right_li {
878 912
           background: url(../imgs/dataVimg/toplineV.png) no-repeat right top / 1px 100%;
@@ -1092,7 +1126,7 @@
1092 1126
   }
1093 1127
 
1094 1128
   #echarts8 {
1095
-    width: 50%;
1129
+    width: 53%;
1096 1130
     height: 80%;
1097 1131
     box-sizing: border-box;
1098 1132
     background: url(../imgs/dataVimg/toplineV.png) no-repeat 26% 50% / 1px 70%;
@@ -1117,7 +1151,7 @@
1117 1151
       display: block;
1118 1152
       position: absolute;
1119 1153
       color: rgba(205, 241, 255, 1);
1120
-      left: 29%;
1154
+      left: 37%;
1121 1155
       top: 1.2em;
1122 1156
       text-align: right;
1123 1157
     }

+ 5 - 3
src/pages/jurisDiction/view.jsx

@@ -2,7 +2,7 @@
2 2
  * @Author: dayan_hjm
3 3
  * @Date: 2023-11-07 14:21:24 
4 4
  * @Last Modified by: dayan_hjm
5
- * @Last Modified time: 2023-11-08 09:57:24
5
+ * @Last Modified time: 2023-11-08 17:18:11
6 6
  */
7 7
 
8 8
 import React, { useState, useEffect, Component } from "react";
@@ -31,7 +31,9 @@ class JrisDiction extends Component {
31 31
 
32 32
   componentWillMount() { 
33 33
     let searchInstance = queryToObj(); // url查询参数对象化
34
-    if(searchInstance?.token){
34
+    if(window.location.host.indexOf("localhost") > -1){
35
+      this.props.history.replace("/home/operation");
36
+    }else if(searchInstance?.token){
35 37
       this.getUrl(searchInstance?.token);
36 38
     }else{
37 39
       this.setState({ showMsg: true })
@@ -63,7 +65,7 @@ class JrisDiction extends Component {
63 65
         {
64 66
           showMsg && <div className="center">
65 67
             <img src={require("@assets/imgs/dataVImg/wuQuanXuan.png").default} alt="" />
66
-            <h1>您暂无权限访问</h1>
68
+            <h1>抱歉!您暂无权限访问</h1>
67 69
             <span>请联系管理员开通权限</span>
68 70
           </div>
69 71
         }

+ 9 - 10
src/pages/tqcDataVHome/component/bottomLineForSend.jsx

@@ -2,7 +2,7 @@
2 2
  * @Author: dayan_hjm 近30天产量
3 3
  * @Date: 2023-10-23 09:32:12 
4 4
  * @Last Modified by: dayan_hjm
5
- * @Last Modified time: 2023-11-05 11:09:51
5
+ * @Last Modified time: 2023-11-08 16:43:21
6 6
  */
7 7
 
8 8
 
@@ -67,9 +67,9 @@ class BottomLineForSend extends Component {
67 67
           // formatter:'{c}' ,
68 68
         },
69 69
         grid: {
70
-          left: '0',
71
-          top: '5%',
72
-          right: '10%',
70
+          left: '8%',
71
+          top: '15%',
72
+          right: '8%',
73 73
           bottom: '10',
74 74
           containLabel: true
75 75
         },
@@ -90,9 +90,8 @@ class BottomLineForSend extends Component {
90 90
           boundaryGap: false,
91 91
           axisLabel: {
92 92
             textStyle: {
93
-              color: "rgba(255,255,255,.6)",
94
-              fontSize: 12,
95
-
93
+                color: '#7d7d7d',
94
+                fontSize: 12
96 95
             },
97 96
           },
98 97
           axisLine: {
@@ -128,13 +127,13 @@ class BottomLineForSend extends Component {
128 127
           axisLine: {
129 128
             lineStyle: {
130 129
               color: 'rgba(255,255,255,.1)'
131
-            }
130
+            },
132 131
           },
133 132
           axisLabel: {
134 133
             formatter: "{value} 吨",
135 134
             textStyle: {
136
-              color: "rgba(255,255,255,.6)",
137
-              fontSize: 14,
135
+              color: '#7d7d7d',
136
+              fontSize: 13
138 137
             },
139 138
           },
140 139
 

+ 13 - 6
src/pages/tqcDataVHome/component/leftMenoyView.jsx

@@ -2,7 +2,7 @@
2 2
  * @Author: dayan_hjm 库存金额
3 3
  * @Date: 2023-10-23 09:32:12 
4 4
  * @Last Modified by: dayan_hjm
5
- * @Last Modified time: 2023-11-07 17:18:38
5
+ * @Last Modified time: 2023-11-08 15:41:54
6 6
  */
7 7
 
8 8
 
@@ -10,6 +10,7 @@ import React, { useState, useEffect, Component } from "react";
10 10
 import styles from "../style.less";
11 11
 import { useHistory, useLocation, withRouter } from "react-router-dom";
12 12
 import mod from '../mod';
13
+import { getArrMax } from "@utils/util";
13 14
 import {
14 15
   momeyService,
15 16
 } from "../api";
@@ -22,6 +23,7 @@ class LeftMenoyView extends Component {
22 23
     super(props, context);
23 24
     this.store = mod;
24 25
     this.state = {
26
+      max1:[],
25 27
       year:["碳酸锂","氧化纳",'金属锂',"氢氧化钠"],
26 28
       missionsIntensity_arr:[
27 29
         {value:0,name:"碳酸锂"},
@@ -132,14 +134,19 @@ class LeftMenoyView extends Component {
132 134
     await momeyService().then(({ data = [], resultCode }) => {
133 135
       
134 136
       if (+resultCode === 0) {
135
-        let year = [], missionsIntensity_arr = [];
137
+        let year = [], missionsIntensity_arr = [],max1=[],num=[];
136 138
         data.map((x, i) => {
139
+          num.push(x.indexValue)
137 140
           year.push(x.prodCatgory);
138 141
           data_style[i].value = x.indexValue;
139 142
           data_style[i].name = x.prodCatgory;
140 143
           missionsIntensity_arr.push(data_style[i])
141 144
         });
142
-        this.setState({ year, missionsIntensity_arr });
145
+        const max_1 = getArrMax(num);
146
+        for (let index = 0; index < data.length; index++) {
147
+          max1.unshift(max_1/0.7)
148
+        }
149
+        this.setState({ year, missionsIntensity_arr,max1 });
143 150
         this.setData();
144 151
         this.setData2();
145 152
       }
@@ -207,7 +214,7 @@ class LeftMenoyView extends Component {
207 214
               },
208 215
               textStyle: {
209 216
                 color: 'rgba(255,255,255,1)',
210
-                fontSize: '12',
217
+                fontSize: '10',
211 218
               }
212 219
             }
213 220
           },
@@ -240,7 +247,7 @@ class LeftMenoyView extends Component {
240 247
           type: 'bar',
241 248
           yAxisIndex: 1,
242 249
           barGap: '-100%',
243
-          data: [99.5, 99.5, 99.5, 99.5],
250
+          data: this.state.max1,
244 251
           barWidth: 15,
245 252
           itemStyle: {
246 253
             normal: {
@@ -295,7 +302,7 @@ class LeftMenoyView extends Component {
295 302
           if (index > 5) {
296 303
             index = 0;
297 304
           }
298
-        }, 2000);
305
+        }, 1800);
299 306
       }
300 307
       fun();
301 308
       setTimeout(function () {

+ 12 - 4
src/pages/tqcDataVHome/component/moodSendView.jsx

@@ -2,7 +2,7 @@
2 2
  * @Author: dayan_hjm 月度产量/发货量
3 3
  * @Date: 2023-10-23 09:32:12 
4 4
  * @Last Modified by: dayan_hjm
5
- * @Last Modified time: 2023-11-05 11:09:21
5
+ * @Last Modified time: 2023-11-08 15:24:45
6 6
  */
7 7
 
8 8
 
@@ -58,6 +58,14 @@ class MoodSendView extends Component {
58 58
         dataShadow.push(yMax);
59 59
       }
60 60
       var option = {
61
+        grid: {
62
+          left: '2%',
63
+          top: '18%',
64
+          right: '0%',
65
+          bottom: '8%',
66
+          containLabel: true
67
+        },
68
+
61 69
         tooltip: {
62 70
           trigger: 'axis',
63 71
           axisPointer: {
@@ -65,9 +73,9 @@ class MoodSendView extends Component {
65 73
           },
66 74
           borderColor:"rgba(105, 255, 222, 0.5)",
67 75
           borderWidth:2,
68
-          padding:5,
76
+          padding:5, 
69 77
           textStyle:{
70
-            fontSize:12,
78
+            fontSize:10,
71 79
             color:"#ededed"
72 80
           },
73 81
           backgroundColor:"#0000008a"
@@ -122,7 +130,7 @@ class MoodSendView extends Component {
122 130
               interval: 0,
123 131
               textStyle: {
124 132
                 color: '#7d7d7d',
125
-                fontSize: 12
133
+                fontSize: 10
126 134
 
127 135
               },
128 136
             },

+ 8 - 7
src/pages/tqcDataVHome/component/oneQualified.jsx

@@ -2,7 +2,7 @@
2 2
  * @Author: dayan_hjm 一次合格率
3 3
  * @Date: 2023-10-23 09:32:12 
4 4
  * @Last Modified by: dayan_hjm
5
- * @Last Modified time: 2023-11-05 11:13:22
5
+ * @Last Modified time: 2023-11-08 16:45:11
6 6
  */
7 7
 
8 8
 
@@ -59,7 +59,7 @@ class BottomLineForSend extends Component {
59 59
           axisPointer: { type: 'shadow' },
60 60
           borderColor:"rgba(105, 255, 222, 0.5)",
61 61
           borderWidth:2,
62
-          padding:5,
62
+          padding:2,
63 63
           textStyle:{
64 64
             fontSize:12,
65 65
             color:"#ededed"
@@ -68,17 +68,18 @@ class BottomLineForSend extends Component {
68 68
           backgroundColor:"#0000008a"
69 69
         }, "grid": {
70 70
           "top": "20%",
71
-          "right": "15%",
71
+          "right": "5%",
72 72
           "bottom": "20",
73
-          "left": "15%",
73
+          "left": "7%",
74 74
         },
75 75
         legend: {
76 76
           data: ['目标一次及格率', '实际一次及格率'],
77 77
           right: 'center',
78
-          padding: [10, 0, 0, 15],
78
+          padding: [0, 0, 0, 5],
79 79
           top: 0,
80 80
           textStyle: {
81
-            color: "#fff"
81
+            color: "#fff",
82
+            fontSize:10,
82 83
           },
83 84
           itemWidth: 12,
84 85
           itemHeight: 5,
@@ -89,7 +90,7 @@ class BottomLineForSend extends Component {
89 90
             data: this.state.year,
90 91
             axisLine: { lineStyle: { color: "rgba(255,255,255,.1)" } },
91 92
             axisLabel: {
92
-              textStyle: { color: "rgba(255,255,255,.7)", fontSize: '12', },
93
+              textStyle: { color: "'#7d7d7d'", fontSize: '12', },
93 94
             },
94 95
             splitLine:{
95 96
               show:true,

+ 12 - 12
src/pages/tqcDataVHome/component/rightBottomView.jsx

@@ -2,7 +2,7 @@
2 2
  * @Author: dayan_hjm 碳排放
3 3
  * @Date: 2023-10-23 09:32:12 
4 4
  * @Last Modified by: dayan_hjm
5
- * @Last Modified time: 2023-11-02 15:51:27
5
+ * @Last Modified time: 2023-11-08 16:05:47
6 6
  */
7 7
 
8 8
 
@@ -68,7 +68,7 @@ class RightBottomView extends Component {
68 68
       var option = {
69 69
 
70 70
         grid: {
71
-          left: '5%',
71
+          left: '3%',
72 72
           top: '15%',
73 73
           right: '5%',
74 74
           bottom: '0%',
@@ -81,7 +81,7 @@ class RightBottomView extends Component {
81 81
           axisTick: 'none',
82 82
           axisLine: 'none',
83 83
           axisLabel: {
84
-            padding:[0,25,0,0],
84
+            padding:[0,22,0,0],
85 85
             textStyle: {
86 86
               color: '#69FFDE',
87 87
               fontSize: '16',
@@ -125,27 +125,27 @@ class RightBottomView extends Component {
125 125
           label: {
126 126
             normal: {
127 127
               show: true,
128
-              position: 'insideBottomLeft',
128
+              position: 'insideLeft',
129 129
               formatter: function (param) {
130 130
                 return param.value;
131 131
               },
132 132
               textStyle: {
133 133
                 color: 'rgba(255,255,255,1)',
134 134
                 fontSize: '15',
135
-                padding:[5,0,0,5]
135
+                padding:[5,5,0,5]
136 136
               }
137 137
             }
138 138
           },
139
-          barWidth: 23,
139
+          barWidth: 24,
140 140
           itemStyle: {
141 141
             normal: {
142 142
               color: new echarts.graphic.LinearGradient(1, 0, 0, 0, [
143
-                { offset: 0, color: 'rgba(255, 206, 0, 1)' },
144
-                { offset: 0.7, color: '#ffd01d94' },
145
-                { offset: 1, color: '#ffd01d94' },
143
+                { offset: 0, color: 'rgb(255 242 72)' },
144
+                { offset: 0.7, color: '#ffe06a99' },
145
+                { offset: 1, color: '#ffe06a99' },
146 146
               ]),
147 147
               barBorderRadius: 15,
148
-              borderColor: "rgba(255, 206, 0, 1)",
148
+              borderColor: "rgb(255 242 72)",
149 149
               borderWidth: 1
150 150
 
151 151
             },
@@ -157,7 +157,7 @@ class RightBottomView extends Component {
157 157
           yAxisIndex: 1,
158 158
           barGap: '-100%',
159 159
           data: this.state.max2,
160
-          barWidth: 23,
160
+          barWidth: 24,
161 161
           itemStyle: {
162 162
             normal: {
163 163
               color: '#ffffff24',
@@ -243,7 +243,7 @@ class RightBottomView extends Component {
243 243
               textStyle: {
244 244
                 color: 'rgba(255,255,255,1)',
245 245
                 fontSize: '15',
246
-                padding:[5,5,0,0]
246
+                padding:[5,5,0,5]
247 247
               }
248 248
             }
249 249
           },

+ 20 - 26
src/pages/tqcDataVHome/view.jsx

@@ -2,7 +2,7 @@
2 2
  * @Author: dayan_hjm 
3 3
  * @Date: 2023-10-25 10:32:44 
4 4
  * @Last Modified by: dayan_hjm
5
- * @Last Modified time: 2023-11-08 09:56:35
5
+ * @Last Modified time: 2023-11-08 17:23:19
6 6
  */
7 7
 /*
8 8
  * @Author: dayan_hjm 
@@ -43,24 +43,18 @@ class Home extends Component {
43 43
       updateTime: '',
44 44
       changGif: false,
45 45
       plannedCompletionData: [
46
-        { name: '射洪', value: 78.1 },
47
-        { name: '广东', value: 12 },
48
-        { name: '珠海', value: 65 },
49
-        { name: '潮汕', value: 45 },
50 46
       ],
51 47
       plannedCompletionNum: 1,
52 48
       manHourData: [
53
-        { name: '射洪', value: 0.2 },
54
-        { name: '广东', value: 33 },
55
-        { name: '珠海', value: 65 },
56
-        { name: '潮汕', value: 65 },
57 49
       ],
58 50
       manHourNum: 1,
59 51
     };
60 52
     this.timer = null //定时器,用于检测同步状态
61 53
   }
62 54
   componentWillMount() {
63
-    this.getToken()
55
+    if(window.location.host.indexOf("localhost") == -1){
56
+      this.getToken()
57
+    }
64 58
   }
65 59
 
66 60
   async getToken() {
@@ -177,7 +171,7 @@ class Home extends Component {
177 171
             yearDecline = x.indexValue
178 172
           } else if (x.indexName == '产品库存') {
179 173
             yearSend = x.indexValue
180
-          } else if (x.indexName == '年度量') {
174
+          } else if (x.indexName == '年度发货量') {
181 175
             productInventory = x.indexValue
182 176
           }
183 177
         });
@@ -208,13 +202,13 @@ class Home extends Component {
208 202
       //产量计划完成率
209 203
       var p1 = document.getElementById('plannedCompletionBox');
210 204
       const datas_ = plannedCompletionData[plannedCompletionNum - 1];
211
-      var res = '<div class="topMsg_box animate__animated animate__zoomIn"><span class="topMsg_number shu1">' + datas_.value + '</span><span class="topMsg_number_2" style={{fontSize: "0.75em",color: "#fff"}}>%</span><p class="topMsg_number_p">' + datas_.name + '</p></div>';
205
+      var res = '<div class="topMsg_box animate__animated animate__zoomIn"><span class="topMsg_number shu1">' + datas_?.value.toFixed(2) + '</span><span class="topMsg_number_2" style={{fontSize: "0.75em",color: "#fff"}}>%</span><p class="topMsg_number_p">' + datas_.name + '</p></div>';
212 206
       p1.innerHTML = res;
213 207
 
214 208
       //百万工时损工率
215 209
       var p2 = document.getElementById('manHourBox');
216 210
       const datas_2 = manHourData[manHourNum - 1];
217
-      var res2 = '<div class="topMsg_box animate__animated animate__zoomIn"><span class="topMsg_number shu1">' + datas_2.value + '</span><span class="topMsg_number_2">%</span><p class="topMsg_number_p">' + datas_2.name + '</p></div>';
211
+      var res2 = '<div class="topMsg_box animate__animated animate__zoomIn"><span class="topMsg_number shu1">' + datas_2?.value.toFixed(2) + '</span><span class="topMsg_number_2">%</span><p class="topMsg_number_p">' + datas_2.name + '</p></div>';
218 212
       p2.innerHTML = res2;
219 213
 
220 214
       const num_ = plannedCompletionNum + 1 >= plannedCompletionData.length ? 1 : plannedCompletionNum + 1;
@@ -225,7 +219,7 @@ class Home extends Component {
225 219
 
226 220
   render() {
227 221
     const stores = this.store.state;
228
-    const { totalValue, yearDecline, yearSend, productInventory } = this.store.state;
222
+    let { totalValue, yearDecline, yearSend, productInventory } = this.store.state;
229 223
     let { changGif, updateTime, } = this.state;
230 224
     return (
231 225
       <div className={"home_box"}>
@@ -239,7 +233,7 @@ class Home extends Component {
239 233
 
240 234
             <div class="topMsg2 animate__animated animate__fadeInDown animate__slower">
241 235
               <div className="topMsg">
242
-                <Tooltip placement="bottom" title={' ● 从1月至m-1月的产值累计,产值计算方式:销售单价*产量'}>
236
+                <Tooltip placement="bottom" title={' ● 从1月至m-1月的产值累计,产值计算方式:销售单价*产量'}>
243 237
                   <p className="topMsg_title">总产值</p>
244 238
                 </Tooltip>
245 239
                 <div className={changGif ? "topMsg_content changBg_topMsg_content" : "topMsg_content"}>
@@ -250,7 +244,7 @@ class Home extends Component {
250 244
 
251 245
             <div class="center_box2 animate__animated animate__fadeInDown animate__slower animate__delay-1s">
252 246
               <div className="center_box">
253
-                <Tooltip placement="bottom" title={' ● 即为 t-1天的库存金额,百分比即为产品库存金额占总体金额的百分比'}>
247
+                <Tooltip placement="bottom" title={' ● 即为 更新数据ETL日期当天的库存金额,百分比即为产品库存金额占总体金额的百分比'}>
254 248
                   <p className="topMsg_title" style={{ position: "relative", zIndex: 999999 }}>库存金额</p>
255 249
                 </Tooltip>
256 250
                 <div className="topMsg_content">
@@ -261,7 +255,7 @@ class Home extends Component {
261 255
 
262 256
             <div class="bottomContent2 animate__animated animate__fadeInDown animate__slower animate__delay-1s">
263 257
               <div className="bottomContent bigDivPd">
264
-                <Tooltip placement="bottom" title={' ● m-6至m月的产量和发货量的对比数据(含外加工)当月的数据计算至t-1天'}>
258
+                <Tooltip placement="bottom" title={' ● m-6至m月的产量和发货量的对比数据(含外加工)当月的数据计算至更新数据ETL日期当天'}>
265 259
                   <p className="topMsg_title">月度产量/发货量</p>
266 260
                 </Tooltip>
267 261
                 <div className="topMsg_content">
@@ -281,24 +275,24 @@ class Home extends Component {
281 275
                       <div className="right_li">
282 276
                         <span className="topMsg_number" class="shu1">{yearDecline}</span>
283 277
                         <p className="topMsg_line"></p>
284
-                        <Tooltip placement="bottom" title={' ● 即为从1/1至t-1天的产量之和(含外加工)'}>
278
+                        <Tooltip placement="bottom" title={' ● 即为从当年1月1日至更新数据ETL日期当天的产量之和(含外加工)'}>
285 279
                           <span className="topMsg_tip">年度产量/吨</span>
286 280
                         </Tooltip>
287 281
                       </div>
288 282
                     </div>
289 283
                     <div className="center_li">
290 284
                       <div className="right_li">
291
-                        <span className="topMsg_number" class="shu1">{yearSend}</span>
285
+                        <span className="topMsg_number" class="shu1">{productInventory}</span>
292 286
                         <p className="topMsg_line"></p>
293
-                        <Tooltip placement="bottom" title={' ● 即为从当年1/1至t-1天的发货量之和(含外加工)'}>
287
+                        <Tooltip placement="bottom" title={' ● 即为从当年1月1日至更新数据ETL日期当天的发货量之和(含外加工)'}>
294 288
                           <span className="topMsg_tip">年度发货量/吨</span>
295 289
                         </Tooltip>
296 290
                       </div>
297 291
                     </div>
298 292
                     <div className="center_li">
299
-                      <span className="topMsg_number" class="shu1">{productInventory}</span>
293
+                      <span className="topMsg_number" class="shu1">{yearSend}</span>
300 294
                       <p className="topMsg_line"></p>
301
-                      <Tooltip placement="bottom" title={' ● t-1天的产品库存数量(含外加工)'}>
295
+                      <Tooltip placement="bottom" title={' ● 更新数据ETL日期当天的产品库存数量(含外加工)'}>
302 296
                         <span className="topMsg_tip">产品库存/吨</span>
303 297
                       </Tooltip>
304 298
                     </div>
@@ -308,7 +302,7 @@ class Home extends Component {
308 302
             </div>
309 303
             <div class="bottomContent3 animate__animated animate__fadeInUp animate__slower">
310 304
               <div className="bottomContent">
311
-                <Tooltip placement="bottom" title={' ● t-31 至t-1 天的产量(含外加工)'}>
305
+                <Tooltip placement="bottom" title={' ● t-31 至更新数据ETL日期当天的日产量(含外加工)'}>
312 306
                   <p className="topMsg_title">近30天产量</p>
313 307
                 </Tooltip>
314 308
                 <div className="topMsg_content">
@@ -323,7 +317,7 @@ class Home extends Component {
323 317
           <div className="rightContent">
324 318
             <div class="topMsg2 animate__animated animate__fadeInDown animate__slower">
325 319
               <div className="topMsg bigDivPd">
326
-                <Tooltip placement="bottom" title={' ● 即为m-1月的百万工时损工率'}>
320
+                <Tooltip placement="bottom" title={' ● 即为1月至m-1月的百万工时损工率'}>
327 321
                   <p className="topMsg_title">百万工时损工率</p>
328 322
                 </Tooltip>
329 323
                 <div className={changGif ? "topMsg_content changBg_topMsg_content" : "topMsg_content"} id="manHourBox">
@@ -337,7 +331,7 @@ class Home extends Component {
337 331
 
338 332
             <div class="topMsg_22 animate__animated animate__fadeInDown animate__slower">
339 333
               <div className="topMsg_2">
340
-                <Tooltip placement="bottom" title={' ● m-6至m月\n近六个月的产品一次合格率和目标值合格率;\n当月的数据计算至t-1天'}>
334
+                <Tooltip placement="bottom" title={' ● m-6至m月近六个月的产品一次合格率和目标值合格率;当月的数据计算至更新数据ETL日期当天'}>
341 335
                   <p className="topMsg_title">一次合格率</p>
342 336
                 </Tooltip>
343 337
 
@@ -373,7 +367,7 @@ class Home extends Component {
373 367
             </div>
374 368
           </div>
375 369
           <div className="bottom_box">
376
-            <p style={{ color: "#6a818d" }}>
370
+            <p style={{ color: "#6a818d",lineHeight:'2px' }}>
377 371
               更新时间 : {updateTime}
378 372
             </p>
379 373
           </div>