chenrui  2 年之前
父节点
当前提交
4391bbc700

+ 1 - 1
src/router/routes/routes-file-six.js

@@ -245,7 +245,7 @@ const statisticsChartsRoutes = {
               name: 'TransferBaggageTable',
               hidden: true,
               component: () => import('@/views/statisticsCharts/views/report/transferBaggageTable'),
-              meta: { title: '中转行李分析统计', roles: ['scanning_node_and_location_analysis'] }
+              meta: { title: '中转行李因素分析统计', roles: ['scanning_node_and_location_analysis'] }
             },
             {
               path: 'baggageProportionTable',

+ 1 - 1
src/views/statisticsCharts/components/statisticsTabs.vue

@@ -178,7 +178,7 @@ export default {
             },
             {
               path: "transferBaggageTable",
-              title: "中转行李分析统计",
+              title: "中转行李因素分析统计",
             },
             {
               path: "baggageProportionTable",

+ 1 - 1
src/views/statisticsCharts/components/tableformbrs.vue

@@ -507,7 +507,7 @@ export default {
         const fileName = `${tableName}.xlsx`;
         throttledExportToExcel(table, tableName, fileName);
       } else if (this.upid == 6) {
-        let tableName = "中转行李分析统计表";
+        let tableName = "中转行李因素分析统计表";
         const table = this.$refs["transferBaggageTableData"].$el.cloneNode(true);
         const fileName = `${tableName}.xlsx`;
         throttledExportToExcel(table, tableName, fileName);

+ 17 - 10
src/views/statisticsCharts/views/report/transferBaggageTable.vue

@@ -1,8 +1,8 @@
 <template>
-  <!-- 中转行李分析统计 -->
+  <!-- 中转行李因素分析统计 -->
   <div class="statstics-wrapper">
     <StatisticsHeader
-      title="中转行李分析统计"
+      title="中转行李因素分析统计"
       :items="formItems"
       :data="formData"
       with-setting
@@ -45,7 +45,7 @@ export default {
       },
       isloadings: 1,
       dataContent: [],
-      dataId: '1833',
+      dataId: '1843',
       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;