فهرست منبع

数据错误整改

敲代码的猫 2 ماه پیش
والد
کامیت
89b980e51e
1فایلهای تغییر یافته به همراه30 افزوده شده و 15 حذف شده
  1. 30 15
      src/views/screen/official/carWarning.vue

+ 30 - 15
src/views/screen/official/carWarning.vue

@@ -72,7 +72,7 @@
           y-color="#FFF"
           l-color="#FFF"
           width="80%"
-          height="124px"
+          height="184px"
           style="left: 30px;"
         />
       </div>
@@ -82,14 +82,14 @@
         </div>
         <bar-chart
           :chart-data="barData"
-          :x-axis="barAxis"
+          :x-axis="barAxis1"
           :y-axis="barYAxis"
           :grid="barGrid"
           :legend="legend"
           y-color="#FFF"
           l-color="#FFF"
           width="80%"
-          height="124px"
+          height="184px"
           style="left: 30px;"
         />
       </div>
@@ -100,13 +100,13 @@
     <div style="width: 100%;padding: 0 15px 0 15px">
       <div class="flex-container">
         <div class="header" style="margin-bottom: 10px">
-          <div class="flex-column" style="width: 50%">单位名称</div>
+          <div class="flex-column" style="width: 60%">单位名称</div>
           <div class="flex-column">车牌号码</div>
           <div class="flex-column">派车单数</div>
         </div>
         <div class="dataBody">
           <div class="flex-row" style="margin-bottom: 10px" v-for="(item,index) in dataList" :key="index" @click="choose()">
-            <div class="flex-column" style="width: 50%">{{item.unit}}</div>
+            <div class="flex-column" style="width: 60%">{{item.unit}}</div>
             <div class="flex-column">{{item.car}}</div>
             <div class="flex-column">{{item.order}}</div>
           </div>
@@ -142,42 +142,42 @@ export default {
       // 公务用车资源情况
       dataList: [
         {
-          unit: "国网山西省晋源区电力公司",
+          unit: "国网山西省电力公司太原供电公司",
           car: "晋C36727",
           order: 200,
         },
         {
-          unit: "国网山西省晋源区电力公司",
+          unit: "国网山西省电力公司太原供电公司",
           car: "晋C36727",
           order: 200,
         },
         {
-          unit: "国网山西省晋源区电力公司",
+          unit: "国网山西省电力公司太原供电公司",
           car: "晋C36727",
           order: 200,
         },
         {
-          unit: "国网山西省晋源区电力公司",
+          unit: "国网山西省电力公司太原供电公司",
           car: "晋C36727",
           order: 200,
         },
         {
-          unit: "国网山西省晋源区电力公司",
+          unit: "国网山西省电力公司太原供电公司",
           car: "晋C36727",
           order: 200,
         },
         {
-          unit: "国网山西省晋源区电力公司",
+          unit: "国网山西省电力公司太原供电公司",
           car: "晋C36727",
           order: 200,
         },
         {
-          unit: "国网山西省晋源区电力公司",
+          unit: "国网山西省电力公司太原供电公司",
           car: "晋C36727",
           order: 200,
         },
         {
-          unit: "国网山西省晋源区电力公司",
+          unit: "国网山西省电力公司太原供电公司",
           car: "晋C36727",
           order: 200,
         },
@@ -237,11 +237,26 @@ export default {
       barAxis:{
         type: "category",
         data: [
-          "太原国家电网", "运城国家电网", "晋城国家电网"
+          "国网太原供电公司", "国网运城供电公司", "国网晋城供电公司"
         ],
         axisLabel: {
           color: "white",
-          fontSize: 7
+          fontSize: 10,
+          rotate: 45,
+        },
+        axisTick: {
+          show: false,
+        },
+      },
+      barAxis1:{
+        type: "category",
+        data: [
+          "国网朔州供电公司", "国网阳泉供电公司", "国网忻州供电公司"
+        ],
+        axisLabel: {
+          color: "white",
+          fontSize: 10,
+          rotate: 45,
         },
         axisTick: {
           show: false,