فهرست منبع

代码错误优化

yangbq 3 ماه پیش
والد
کامیت
5c808278f9

+ 7 - 7
src/views/screen/official/terminalData.vue

@@ -90,15 +90,15 @@ export default {
       //在线数
       pieData: [],
       catePieData: [
-        { value: 40, name: "新能源汽车" },
-        { value: 20, name: "燃油汽车" },
+        { value: 0, name: "新能源汽车" },
+        { value: 0, name: "燃油汽车" },
       ],
       totalPieData: [
-        { value: 110, name: "商务车" },
-        { value: 120, name: "越野车" },
-        { value: 130, name: "小型客车" },
-        { value: 140, name: "大型客车" },
-        { value: 150, name: "小轿车" },
+        { value: 0, name: "商务车" },
+        { value: 0, name: "越野车" },
+        { value: 0, name: "小型客车" },
+        { value: 0, name: "大型客车" },
+        { value: 0, name: "小轿车" },
       ],
       catePieLegend: {
         orient: "vertical",

+ 2 - 2
src/views/screen/service/basicOperation.vue

@@ -59,7 +59,7 @@ export default {
   data() {
     return {
       dataList: [],
-      onlineRate: '',
+      onlineRate: 0,
     };
   },
   created() {
@@ -203,7 +203,7 @@ export default {
     font-family: "fashionZh" !important;
     font-size: 16px !important;
   }
-  
+
   .el-progress-circle__track {
     color: #FFFFFF;
     opacity: 0.1;

+ 1 - 1
src/views/screen/service/basicOperationDialog.vue

@@ -254,7 +254,7 @@ export default {
       },
 
       dataList: [],
-      onlineRate: '',
+      onlineRate: 0,
       //活跃率TOP10公司
       companyBarData: [],
       companyBarAxis: {},

+ 1 - 1
src/views/screen/service/shareStation.vue

@@ -68,7 +68,7 @@
                       <div class="name">{{serviceContent[1].name}}</div>
                     </div>
                     <div class="data-snd">
-                      <div class="num">{{serviceContent[0].value}}</div>
+                      <div class="num">{{serviceContent[1].value}}</div>
                       <div class="unit">个</div>
                     </div>
                   </div>