Browse Source

图标统计

chenrui  2 years ago
parent
commit
6b76b58285

+ 12 - 8
src/views/statisticsCharts/views/report/baggageProportionTable.vue

@@ -45,7 +45,7 @@ export default {
       },
       isloadings: 1,
       dataContent: [],
-      dataId: '1833',
+      dataId: '1842',
       formItems: [
         {
           prop: "airport",
@@ -126,13 +126,17 @@ export default {
   },
   methods: {
     getFormData(data) {
-      this.dataContent = [];
-      this.dataContent.push(
-        data.dateTime[0] ? data.dateTime[0] : "",
-        data.dateTime[1] ? data.dateTime[1] : "",
-        data.dateTime[2] ? data.dateTime[2] : "",
-        data.dateTime[3] ? data.dateTime[3] : ""
-      );
+      this.dataContent = [
+      data.timedim,
+      data.timedim,
+      data.timedim,
+      data.company,
+      data.company,
+      data.company,
+      data.company,
+      data.dateTime[0],
+      data.dateTime[1],
+      "PEK"];
     },
     exportup() {
       this.isloadings = this.isloadings += 1;

+ 17 - 14
src/views/statisticsCharts/views/report/transferDirectionTable.vue

@@ -45,7 +45,7 @@ export default {
       },
       isloadings: 1,
       dataContent: [],
-      dataId: '1833',
+      dataId: '1840',
       formItems: [
         {
           prop: "airport",
@@ -60,7 +60,7 @@ export default {
           options: [],
         },
         {
-          prop: 'Terminalclass',
+          prop: 'company',
           inputType: 'select',
           placeholder: '航班分类',
           requiredWarning: '请先选择航班分类',
@@ -85,7 +85,7 @@ export default {
           ]
         },
         {
-          prop: "interval",
+          prop: "timedim",
           inputType: "select",
           placeholder: "时间维度",
           requiredWarning: "请先选择统计时间维度",
@@ -99,10 +99,6 @@ export default {
               value: "月",
               label: "按月统计",
             },
-            {
-              value: "季",
-              label: "按季统计",
-            },
             {
               value: "年",
               label: "按年统计",
@@ -126,13 +122,20 @@ export default {
   },
   methods: {
     getFormData(data) {
-      this.dataContent = [];
-      this.dataContent.push(
-        data.dateTime[0] ? data.dateTime[0] : "",
-        data.dateTime[1] ? data.dateTime[1] : "",
-        data.dateTime[2] ? data.dateTime[2] : "",
-        data.dateTime[3] ? data.dateTime[3] : ""
-      );
+      this.dataContent = [
+      data.timedim,
+      data.timedim,
+      data.timedim,
+      data.company,
+      data.company,
+      data.company,
+      data.company,
+      data.dateTime[0],
+      data.dateTime[1],
+      "PEK",
+      data.dateTime[0],
+      data.dateTime[1],
+      "PEK"];
     },
     exportup() {
       this.isloadings = this.isloadings += 1;

+ 15 - 8
src/views/statisticsCharts/views/report/transitTable.vue

@@ -45,7 +45,7 @@ export default {
       },
       isloadings: 1,
       dataContent: [],
-      dataId: '1833',
+      dataId: '1841',
       formItems: [
         {
           prop: "airport",
@@ -126,13 +126,20 @@ export default {
   },
   methods: {
     getFormData(data) {
-      this.dataContent = [];
-      this.dataContent.push(
-        data.dateTime[0] ? data.dateTime[0] : "",
-        data.dateTime[1] ? data.dateTime[1] : "",
-        data.dateTime[2] ? data.dateTime[2] : "",
-        data.dateTime[3] ? data.dateTime[3] : ""
-      );
+      this.dataContent = [
+        data.timedim,
+        data.timedim,
+        data.timedim,
+        data.company,
+        data.company,
+        data.company,
+        data.company,
+        data.dateTime[0],
+        data.dateTime[1],
+        "PEK",
+        data.dateTime[0],
+        data.dateTime[1],
+        "PEK"];
     },
     exportup() {
       this.isloadings = this.isloadings += 1;