Browse Source

Merge branch 'master' of http://120.26.64.82:3000/BFFE/CABaggageData2.0

zhaoke 2 years ago
parent
commit
c47b17fd25
1 changed files with 47 additions and 0 deletions
  1. 47 0
      src/views/statisticsCharts/components/tableformbrs.vue

+ 47 - 0
src/views/statisticsCharts/components/tableformbrs.vue

@@ -186,6 +186,53 @@ export default {
           if (titleColumn) {
             this.rowTitle = titleColumn.columnName;
           }
+          // returnData.listValues.forEach((res) => {
+          //   if (!res.A) {
+          //     res.A = 0;
+          //   }
+          //   if (!res.totalfly) {
+          //     res.totalfly = 0;
+          //   }
+          //   if (!res.totalbag) {
+          //     res.totalbag = 0;
+          //   }
+          //   if (!res.brsfly) {
+          //     res.brsfly = 0;
+          //   }
+          //   if (!res.brsbag) {
+          //     res.brsbag = 0;
+          //   }
+          //   if (!res.ra_brsfly) {
+          //     res.ra_brsfly = 0;
+          //   }
+          //   if (!res.ra_brsbag) {
+          //     res.ra_brsbag = 0;
+          //   }
+          //   if (!res.starfly) {
+          //     res.starfly = 0;
+          //   }
+          //   if (!res.starbag) {
+          //     res.starbag = 0;
+          //   }
+          //   if (!res.ra_starfly) {
+          //     res.ra_starfly = 0;
+          //   }
+          //   if (!res.ra_starfly) {
+          //     res.ra_starfly = 0;
+          //   }
+          //   if (!res.hyxfly) {
+          //     res.hyxfly = 0;
+          //   }
+          //   if (!res.hyxbag) {
+          //     res.hyxbag = 0;
+          //   }
+          //   if (!res.ra_hyxfly) {
+          //     res.ra_hyxfly = 0;
+          //   }
+          //   if (!res.ra_hyxbag) {
+          //     res.ra_hyxbag = 0;
+          //   }
+          // });
           this.tableData = returnData.listValues;
           this.tableCols = returnData.columnSet;
           this.serviceId = returnData.submitID;