From 8096418ded7947ef21988df134c4dd20617169c3 Mon Sep 17 00:00:00 2001
From: su1124 <1583764726@qq.com>
Date: 星期一, 05 八月 2024 17:08:34 +0800
Subject: [PATCH] ssu

---
 src/views/index.vue |   21 ++++++++++++++-------
 1 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/src/views/index.vue b/src/views/index.vue
index a31432c..ce0393f 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -1,5 +1,8 @@
 <template>
   <div class="centre">
+    <div style="display:flex;justify-content: center;align-items: center;">
+      <h4>浠婃棩缁熻</h4>
+    </div>
     <div class="top">
       <div class="add">
         <div class="img">
@@ -33,6 +36,9 @@
           <div class="day">浠婃棩寰呮 {{ TobeToday }}</div>
         </div>
       </div>
+    </div>
+     <div style="display:flex;justify-content: center;align-items: center;">
+      <h4>杩戜竴鏈堢粺璁�</h4>
     </div>
     <div class="data-view">
       <div id="main" style="width:95%;height:330px"></div>
@@ -110,8 +116,8 @@
       getChart().then((response) => {
         response.data.forEach(item => {
           this.LineChart.push(item.date)
-          this.personYYNum.push(item.tdcoun);
-          this.reportNum.push(item.grcoun);
+          this.reportNum.push(item.tdcoun);
+          this.personYYNum.push(item.grcoun);
           this.teamYYNum.push(item.bgcoun);
 
         });
@@ -152,7 +158,7 @@
           yAxis: {
             type: 'value',
             min: 0,
-            max: 50,
+            max: 100,
             interval: 5
           },
           series: [
@@ -262,7 +268,7 @@
               {
                 "name": "浣撴缁撴灉寮傚父浜烘暟鍒嗗竷",
                 "count": 1,
-                "value": 10
+                "value": 0
               },
 
             ]
@@ -272,7 +278,7 @@
               {
                 "name": "浣撴缁撴灉寮傚父浜烘暟鍒嗗竷",
                 "count": 1,
-                "value": 10
+                "value": 0
               },
 
             ]
@@ -344,9 +350,10 @@
 
 <style>
 .centre {
-  height: 820px;
+  min-height: 820px;
   margin: 15px 15px;
   background-color: #f3f3f3;
+  padding: 10px 10px 10px 10px;
 }
 
 .top {
@@ -403,7 +410,7 @@
 .view {
   margin: 0px 15px;
   padding-top: 15px;
-  height: 350px;
+  min-height: 350px;
   display: flex;
 }
 

--
Gitblit v1.8.0