weirenchun 1 rok pred
rodič
commit
f00b9162d7

+ 8 - 9
src/views/home/components/chart4.vue

@@ -1,12 +1,6 @@
 <template>
   <div>
-    <charts
-      style="margin-top: -40px"
-      id="bizchart4"
-      height="220px"
-      width="460px"
-      :option="option"
-    />
+    <charts id="bizchart4" height="180px" width="460px" :option="option" />
   </div>
 </template>
 
@@ -25,9 +19,14 @@ export default {
             type: 'shadow'
           }
         },
+        legend: {
+          textStyle: {
+            color: '#ffffff'
+          }
+        },
         grid: {
-          left: '3%',
-          right: '4%',
+          left: '2%',
+          right: '2%',
           bottom: '2%',
           containLabel: true
         },

+ 3 - 3
src/views/home/components/left3.vue

@@ -36,10 +36,10 @@ export default {
   data() {
     return {
       data: {
-        projectCount: 0,
+        projectCount: 112,
         todayAddProjectCount: 0,
-        taskCount: 0,
-        todayAddTaskCount: 0
+        taskCount: 412,
+        todayAddTaskCount: 6
       }
     }
   },