sunyize 2 лет назад
Родитель
Сommit
3b2450b652
1 измененных файлов с 9 добавлено и 16 удалено
  1. 9 16
      src/components/layouts/stock/AuditTable.vue

+ 9 - 16
src/components/layouts/stock/AuditTable.vue

@@ -553,6 +553,7 @@ export default {
         var   truckMap=this.truckMap;
         var   speMap =this.speMap;
       function dataFormatter(obj) {
+        debugger
         // prettier-ignore
         var pList = depName;
         var temp;
@@ -569,7 +570,7 @@ export default {
             };
           }
           obj[year + 'max'] =  Math.floor(max / 100) * 100;
-          obj[year + 'sum'] =  sum;
+          obj[year + 'sum'] =  sum/100;
         }
         return obj;
       }
@@ -670,13 +671,7 @@ export default {
             { name: '行短稽核', type: 'bar' },
             { name: '物联网稽核', type: 'bar' },
             { name: '中继线稽核', type: 'bar' },
-            {
-              name: '数量占比',
-              type: 'pie',
-              center: ['75%', '35%'],
-              radius: '28%',
-              z: 0.01
-            }
+
           ]
         },
         options: [
@@ -689,15 +684,7 @@ export default {
               { data: dataMap.dataLot['1'] },
               { data: dataMap.dataTruck['1'] },
 
-              {
-                data: [
-                  { name: '特审复开', value: dataMap.dataSpe['1sum'] },
-                  { name: '行短稽核', value: dataMap.dataShort['1sum'] },
-                  { name: '物联网稽核', value: dataMap.dataLot['1sum'] },
-                  { name: '中继线稽核', value: dataMap.dataTruck['1sum'] },
 
-                ]
-              }
             ]
           },
 
@@ -1008,6 +995,12 @@ export default {
             this.truckMap=res.result.truck
             this.speMap =res.result.spe
             this.dep =res.result.name
+
+          this.shortMapCount=res.result.shortCount
+          this.lotMapCount=res.result.lotCount
+          this.truckMapCount=res.result.truckCount
+          this.speMapCount=res.result.speCount
+
           debugger
           this.typeChart5()