Browse Source

fix: other_analyse.vue

zouooh 1 year ago
parent
commit
ad294ce9b8

+ 3 - 3
src/pages/index/components/equipment_running.vue

@@ -22,7 +22,7 @@
22 22
           :radiusArr="['30%', '70%']"
23 23
           :roseType = "false"
24 24
           :colorArr="modelPieColor"
25
-          :labelFormat="['{name|{b}}', '{sub|{@value} {d}%}', '{hr|}']"
25
+          :labelFormat="['{name|{b}}', '{sub|{@value} {d}%}', '{hr|}']"
26 26
           :dataset="modelData"
27 27
           :encode="{ itemName: 'name', value: 'value' }"
28 28
         />
@@ -36,7 +36,7 @@
36 36
           :radiusArr="['30%', '70%']"
37 37
           :roseType = "false"
38 38
           :colorArr="modelPieColor2"
39
-          :labelFormat="['{name|{b}}', '{sub|{@value} {d}%}', '{hr|}']"
39
+          :labelFormat="['{name|{b}}', '{sub|{@value} {d}%}', '{hr|}']"
40 40
           :dataset="modelData2"
41 41
           :encode="{ itemName: 'name', value: 'value' }"
42 42
         />
@@ -50,7 +50,7 @@
50 50
           :radiusArr="['30%', '70%']"
51 51
           :roseType = "false"
52 52
           :colorArr="modelPieColor3"
53
-          :labelFormat="['{name|{b}}', '{sub|{@value} {d}%}', '{hr|}']"
53
+          :labelFormat="['{name|{b}}', '{sub|{@value} {d}%}', '{hr|}']"
54 54
           :dataset="modelData3"
55 55
           :encode="{ itemName: 'name', value: 'value' }"
56 56
         />

+ 1 - 1
src/pages/index/components/park_guidance.vue

@@ -1,7 +1,7 @@
1 1
 <template>
2 2
   <div>
3 3
     <div style="color: #d5d3d3" class="middle-map">
4
-      <div align="center" style="color: #3498db;font-size: 23px;margin-bottom: 20px">实停车饱和度</div>
4
+      <div align="center" style="color: #3498db;font-size: 23px;margin-bottom: 20px">实停车饱和度</div>
5 5
       <div style="height: 450px">
6 6
         <div class="bottom" id="map"></div>
7 7
       </div>

+ 1 - 1
src/pages/index/components/park_monitor.vue

@@ -90,7 +90,7 @@ export default {
90 90
         },
91 91
         {
92 92
           label: '泊位号',
93
-          key: 'orderNo'
93
+          key: 'parkingNo'
94 94
         },
95 95
         {
96 96
           label: '泊车状态',

+ 2 - 8
src/pages/index/components/vehicle_violations.vue

@@ -29,7 +29,7 @@
29 29
       </div>
30 30
     </div>
31 31
     <div style="display: flex; justify-content: space-between;margin-top: 5%">
32
-      <div style="width: 50%; height: 300px;">
32
+      <div style="width: 100%; height: 300px;">
33 33
         <div align="center" style="color: white">车辆异常行为分析</div>
34 34
         <barchart
35 35
           class="side-chart"
@@ -43,15 +43,11 @@
43 43
           :tooltip="tooltipFormat"
44 44
           :dataset="bardata"
45 45
           :encode="[
46
-            {x: 'month', y: 'hs', seriesName: '行驶'},
47
-            {x: 'month', y: 'cs', seriesName: '停车'}]"
46
+            {x: 'month', y: 'hs', seriesName: '异常行为'}]"
48 47
           :labelSize="15"
49 48
           id="fxdqhszzt"
50 49
         />
51 50
       </div>
52
-      <div style="width: 50%; height: 300px">
53
-
54
-      </div>
55 51
     </div>
56 52
   </div>
57 53
 </template>
@@ -106,8 +102,6 @@ export default {
106 102
       return `<div class="line-tooltip">
107 103
 <div>${params[0].seriesName}: ${
108 104
         params[0].data.hs || "--"}个</div>
109
-<div>${params[1].seriesName}: ${
110
-        params[0].data.cs || "--"}个</div>
111 105
 </div>`;
112 106
     },
113 107
     dashVehicleViolationsStat1(){