Browse Source

11111111111111

chenrui  1 năm trước cách đây
mục cha
commit
2d66ac427c

+ 12 - 0
src/config/config.js

@@ -106,6 +106,7 @@ window.SERVICE_ID = {
   AirportId: 1808, // 航站下拉
   AirportIds: 12004, // 航站下拉2.0
   AirlineIds: 12005, // 航线下拉2.0
+  ModelIds: 2003015,//机型下拉
   AirlinportId: 12003, // 航司下拉
   TerminalId: 1809, // 航站楼下拉
   byOther: 1810, // 大区/分公司以外航班统计(全部)
@@ -172,6 +173,17 @@ window.SERVICE_ID = {
   workload: 200306, // 工作量
   agentCode: 200307, // 操作者下拉
   abnormalBaggageClassification: 200308, // 异常行李统计
+  terminalflight: 2003016,//航站航班量统计
+  numberairline: 2003017,//航司航班量统计
+  flightvolume: 2003018,//航线航班量统计
+  passengerterminal: 2003019,//行李旅客量-航站
+  passengerairline: 2003020,//行李旅客量-航司
+  passengerroute: 2003021,//行李旅客量-航线
+  averagepassterminal: 2003022,//平均旅客行李量-航站
+  averagepassairline: 2003023,//平均旅客行李量-航司
+  averagepassroute: 2003023,//平均旅客行李量-航线
+  transferBaggageDirection: 2003025,//中转4个流向
+  specialbaggageanalysis: 2003026,//特殊行李分析
 }
 
 window.AIRPORT_ID = {

+ 153 - 0
src/router/routes/routes-file-temp.js

@@ -580,6 +580,159 @@ const statisticsChartsRoutes = {
             title: '异常行李分析',
           },
         },
+        {
+          path: 'flight',
+          redirect: 'flight/flightvolume',
+          name: 'FlightvolumeClassificationStatisticsCharts',
+          hidden: true,
+          component: {
+            render(h) {
+              return h('router-view')
+            },
+          },
+          children: [
+            {
+              path: 'flightvolume',
+              name: 'FlightvolumeStatisticsCharts',
+              hidden: true,
+              component: () =>
+                import(
+                  '@/views/statisticsCharts/views/flight/flightvolumeStatisticsCharts'
+                ),
+              meta: { title: '航站航班量' },
+            },
+            {
+              path: 'numberair',
+              name: 'NumberairStatisticsCharts',
+              hidden: true,
+              component: () =>
+                import(
+                  '@/views/statisticsCharts/views/flight/numberairStatisticsCharts'
+                ),
+              meta: { title: '航司航班量' },
+            },
+            {
+              path: 'volumeof',
+              name: 'VolumeofStatisticsCharts',
+              hidden: true,
+              component: () =>
+                import(
+                  '@/views/statisticsCharts/views/flight/volumeofStatisticsCharts'
+                ),
+              meta: { title: '航司航班量' },
+            },
+          ]
+        },
+        {
+          path: 'passenger',
+          redirect: 'passenger/terminalpassengers',
+          name: 'Terminalpassengers',
+          hidden: true,
+          component: {
+            render(h) {
+              return h('router-view')
+            },
+          },
+          children: [
+            {
+              path: 'terminalpassengers',
+              name: 'TerminalpassengersStatisticsCharts',
+              hidden: true,
+              component: () =>
+                import(
+                  '@/views/statisticsCharts/views/passenger/terminalpassengersStatisticsCharts'
+                ),
+              meta: { title: '航站旅客量' },
+            },
+            {
+              path: 'passengerair',
+              name: 'TassengerairlineStatisticsCharts',
+              hidden: true,
+              component: () =>
+                import(
+                  '@/views/statisticsCharts/views/passenger/passengerairlineStatisticsCharts'
+                ),
+              meta: { title: '航司旅客量' },
+            },
+            {
+              path: 'Passengerroute',
+              name: 'PassengerrouteStatisticsCharts',
+              hidden: true,
+              component: () =>
+                import(
+                  '@/views/statisticsCharts/views/passenger/passengerrouteStatisticsCharts'
+                ),
+              meta: { title: '航线旅客量' },
+            },
+          ]
+        },
+        {
+          path: 'averagepassengers',
+          redirect: 'averagepassengers/averagepassterminal',
+          name: 'Averagepassengers',
+          hidden: true,
+          component: {
+            render(h) {
+              return h('router-view')
+            },
+          },
+          children: [
+            {
+              path: 'averagepassterminal',
+              name: 'AveragepassterminalStatisticsCharts',
+              hidden: true,
+              component: () =>
+                import(
+                  '@/views/statisticsCharts/views/averagepassengers/averagepassterminalStatisticsCharts'
+                ),
+              meta: { title: '航站平均旅客行李量' },
+            },
+            {
+              path: 'averagepassairline',
+              name: 'AveragepassairlineStatisticsCharts',
+              hidden: true,
+              component: () =>
+                import(
+                  '@/views/statisticsCharts/views/averagepassengers/averagepassairlineStatisticsCharts'
+                ),
+              meta: { title: '航司平均旅客行李量' },
+            },
+            {
+              path: 'averagepassroute',
+              name: 'AveragepassrouteStatisticsCharts',
+              hidden: true,
+              component: () =>
+                import(
+                  '@/views/statisticsCharts/views/averagepassengers/averagepassrouteStatisticsCharts'
+                ),
+              meta: { title: '航线平均旅客行李量' },
+            },
+          ]
+        },
+        {
+          path: 'specialbaggageanalysis',
+          name: 'Specialbaggageanalysis',
+          hidden: true,
+          component: () =>
+            import(
+              '@/views/statisticsCharts/views/specialbaggageanalysisStatisticsCharts'
+            ),
+          meta: {
+            title: '特殊行李分析',
+          },
+        },
+        {
+          path: 'transitTables',
+          name: 'TransitTables',
+          hidden: true,
+          component: () =>
+            import(
+              '@/views/statisticsCharts/views/transitTables'
+            ),
+          meta: {
+            title: '中转专项统计',
+          },
+        },
       ],
     },
   ],

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

@@ -275,6 +275,67 @@ export default {
           title: '异常行李分析',
           roles: ['scanning_node_and_location_analysis'],
         },
+        {
+          path: '/statisticsCharts/flight',
+          title: '航班量',
+          children: [
+            {
+              path: 'flightvolume',
+              title: '航站航班量统计',
+            },
+            {
+                path: 'numberair',
+                title: '航司航班量统计',
+            },
+            {
+                path: 'volumeof',
+                title: '航线航班量统计',
+            }]
+        },
+        {
+          path: '/statisticsCharts/passenger',
+          title: '行李旅客量',
+          children: [
+            {
+              path: 'terminalpassengers',
+              title: '航站旅客量',
+            },
+            {
+              path: 'passengerair',
+              title: '航司旅客量',
+            },
+            {
+              path: 'passengerroute',
+              title: '航线旅客量',
+            },
+          ]
+        },
+        {
+          path: '/statisticsCharts/averagepassengers',
+          title: '平均旅客行李量',
+          children: [
+            {
+              path: 'averagepassterminal',
+              title: '航站平均旅客行李量',
+            },
+            {
+              path: 'averagepassairline',
+              title: '航司平均旅客行李量',
+            },
+            {
+              path: 'averagepassroute',
+              title: '航线平均旅客行李量',
+            },
+          ]
+        },
+        {
+          path: '/statisticsCharts/specialbaggageanalysis',
+          title: '特殊行李分析',
+        },
+        {
+          path: '/statisticsCharts/transitTables',
+          title: '中转专项统计',
+        },
       ],
       activeIndex: null,
     }
@@ -329,7 +390,7 @@ export default {
 <style lang="scss" scoped>
 .statistics-tabs {
   > .el-row > .el-col {
-    max-width: 232px;
+    max-width: 208px;
     min-width: 175px;
     .el-dropdown {
       width: 100%;

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

@@ -187,163 +187,113 @@
           <el-table-column label="中转行李流向">
             <el-table-column label="D-D" v-if="DD">
               <el-table-column
-                prop="need_trans_flight_dd"
+                prop="fly_dd_need_trans"
                 label="进港中转航班数"
               >
               </el-table-column>
               <el-table-column
-                prop="finish_trans_flight_dd"
+                prop="fly_dd_trans"
                 label="中转出航班数"
               >
               </el-table-column>
               <el-table-column
-                prop="need_trans_bag_dd"
+                prop="bag_dd_need_trans"
                 label="须中转行李数"
               >
               </el-table-column>
               <el-table-column
-                prop="finish_trans_bag_dd"
+                prop="bag_dd_trans"
                 label="完成中转行李数"
               >
               </el-table-column>
-              <el-table-column
-                prop="not_trans_bag_dd"
-                label="未中转行李数"
-              >
-              </el-table-column>
-              <el-table-column
+              <!-- <el-table-column
                 prop="Transferout_dd"
                 label="转出成功率"
               >
-              </el-table-column>
+              </el-table-column> -->
             </el-table-column>
             <el-table-column label="D-I"  v-if="DI">
               <el-table-column
-                prop="need_trans_flight_di"
+                prop="fly_di_need_trans"
                 label="进港中转航班数"
               >
               </el-table-column>
               <el-table-column
-                prop="finish_trans_flight_di"
+                prop="fly_di_trans"
                 label="中转出航班数"
               >
               </el-table-column>
               <el-table-column
-                prop="need_trans_bag_di"
+                prop="bag_di_need_trans"
                 label="须中转行李数"
               >
               </el-table-column>
               <el-table-column
-                prop="finish_trans_bag_di"
+                prop="bag_di_trans"
                 label="完成中转行李数"
               >
               </el-table-column>
-              <el-table-column
-                prop="not_trans_bag_di"
-                label="未中转行李数"
-              >
-              </el-table-column>
-              <el-table-column
+              <!-- <el-table-column
                 prop="Transferout_di"
                 label="转出成功率"
               >
-              </el-table-column>
+              </el-table-column> -->
             </el-table-column>
             <el-table-column label="I-I"  v-if="II">
               <el-table-column
-                prop="need_trans_flight_ii"
+                prop="fly_ii_need_trans"
                 label="进港中转航班数"
               >
               </el-table-column>
               <el-table-column
-                prop="finish_trans_flight_ii"
+                prop="fly_ii_trans"
                 label="中转出航班数"
               >
               </el-table-column>
               <el-table-column
-                prop="need_trans_bag_ii"
+                prop="bag_ii_need_trans"
                 label="须中转行李数"
               >
               </el-table-column>
               <el-table-column
-                prop="finish_trans_bag_ii"
+                prop="bag_ii_trans"
                 label="完成中转行李数"
               >
               </el-table-column>
-              <el-table-column
-                prop="not_trans_bag_ii"
-                label="未中转行李数"
-              >
-              </el-table-column>
-              <el-table-column
+              <!-- <el-table-column
                 prop="Transferout_ii"
                 label="转出成功率"
               >
-              </el-table-column>
+              </el-table-column> -->
             </el-table-column>
             <el-table-column label="I-D"  v-if="ID">
               <el-table-column
-                prop="need_trans_flight_id"
+                prop="fly_id_need_trans"
                 label="进港中转航班数"
               >
               </el-table-column>
               <el-table-column
-                prop="finish_trans_flight_id"
+                prop="fly_id_trans"
                 label="中转出航班数"
               >
               </el-table-column>
               <el-table-column
-                prop="need_trans_bag_id"
+                prop="bag_id_need_trans"
                 label="须中转行李数"
               >
               </el-table-column>
               <el-table-column
-                prop="finish_trans_bag_id"
+                prop="bag_id_trans"
                 label="完成中转行李数"
               >
               </el-table-column>
-              <el-table-column
-                prop="not_trans_bag_id"
-                label="未中转行李数"
-              >
-              </el-table-column>
-              <el-table-column
+              <!-- <el-table-column
                 prop="Transferout_id"
                 label="转出成功率"
               >
-              </el-table-column>
+              </el-table-column> -->
             </el-table-column>
           </el-table-column>
-          <el-table-column
-            prop="a14"
-            label="中转出航班数总数"
-          >
-          </el-table-column>
-          <el-table-column
-            prop="a15"
-            label="中转出航班数总数"
-          >
-          </el-table-column>
-          <el-table-column
-            prop="a16"
-            label="须中转行李数总数"
-          >
-          </el-table-column>
-          <el-table-column
-            prop="a17"
-            label="完成中转行李数总数"
-          >
-          </el-table-column>
-          <el-table-column
-            prop="a19"
-            label="未中转行李数总数"
-          >
-          </el-table-column>
-          <el-table-column
-            prop="a18"
-            label="转出成功率"
-          >
-          </el-table-column>
         </el-table>
       </template>
       <template v-else-if="tableData.length && upid == 5">
@@ -1136,6 +1086,7 @@
 import NoData from '@/components/nodata'
 import { TempQuery } from '@/api/temp'
 import { exportToExcel } from '@/utils/table'
+import { Query } from '@/api/webApi'
 export default {
   props: {
     // 接口ID
@@ -1304,11 +1255,11 @@ export default {
           sums[index];
         }
         if (this.upid == 4) {
-          sums[6] = (sums[4] * 100 / (sums[3] > 0 ? sums[3] : 1)).toFixed(2) + '%'
-          sums[12] = (sums[10] * 100 / (sums[9] > 0 ? sums[9] : 1)).toFixed(2) + '%'
-          sums[18] = (sums[16] * 100 / (sums[15] > 0 ? sums[15] : 1)).toFixed(2) + '%'
-          sums[24] = (sums[22] * 100 / (sums[21]  > 0 ? sums[21] : 1)).toFixed(2) + '%'
-          sums[30] = (sums[28] * 100 / (sums[27]  > 0 ? sums[27] : 1)).toFixed(2) + '%'
+          // sums[6] = (sums[4] * 100 / (sums[3] > 0 ? sums[3] : 1)).toFixed(2) + '%'
+          // sums[12] = (sums[10] * 100 / (sums[9] > 0 ? sums[9] : 1)).toFixed(2) + '%'
+          // sums[18] = (sums[16] * 100 / (sums[15] > 0 ? sums[15] : 1)).toFixed(2) + '%'
+          // sums[24] = (sums[22] * 100 / (sums[21]  > 0 ? sums[21] : 1)).toFixed(2) + '%'
+          // sums[30] = (sums[28] * 100 / (sums[27]  > 0 ? sums[27] : 1)).toFixed(2) + '%'
         }
         if (this.upid == 5) {
           // sums[6] = (sums[4] * 100 / sums[3]).toFixed(2) + '%'
@@ -1336,12 +1287,13 @@ export default {
     async getQuery() {
       try {
         this.loading = true
-        const { code, returnData } = await TempQuery({
-          id: Number(this.dataId),
+        const { code, returnData } = await Query({
+          serviceId: Number(this.dataId),
           dataContent: this.dataContent,
         })
         if (code == 0) {
-          if (returnData.listValues.length === 0) {
+          this.tableData = returnData
+          if (returnData.length === 0) {
             this.page--
             this.noMore = true
             this.loading = false
@@ -1399,23 +1351,23 @@ export default {
           //     res.ra_hyxbag = 0;
           //   }
           // });
-          this.tableData = returnData.listValues
+          this.tableData = returnData
           this.tableCols = returnData.columnSet
           this.serviceId = returnData.submitID
           this.loading = false
           if(this.upid == 4){
-            this.tableData.forEach(element => {
-              element.Transferout_dd = (element.finish_trans_bag_dd * 100 / (element.need_trans_bag_dd > 0  ? element.need_trans_bag_dd : 1)).toFixed(2) + '%'
-              element.Transferout_di = (element.finish_trans_bag_di * 100 / (element.need_trans_bag_di > 0  ?  element.need_trans_bag_di : 1)).toFixed(2) + '%'
-              element.Transferout_ii = (element.finish_trans_bag_ii * 100 / (element.need_trans_bag_ii > 0  ? element.need_trans_bag_ii : 1)).toFixed(2) + '%'
-              element.Transferout_id = (element.finish_trans_bag_id * 100 / (element.need_trans_bag_id > 0 ? element.need_trans_bag_id : 1)).toFixed(2) + '%'
-              element.a14 = (this.DD ? element.need_trans_flight_dd : 0) + (this.DI ? element.need_trans_flight_di : 0) + (this.II ? element.need_trans_flight_ii : 0) + (this.ID ? element.need_trans_flight_id : 0)
-              element.a15 =  (this.DD ? element.finish_trans_flight_dd : 0) + (this.DI ? element.finish_trans_flight_di : 0) + (this.II ? element.finish_trans_flight_ii : 0) + (this.ID ? element.finish_trans_flight_id : 0)
-              element.a16 =  (this.DD ? element.need_trans_bag_dd : 0) + (this.DI ? element.need_trans_bag_di : 0) + (this.II ? element.need_trans_bag_ii : 0) + (this.ID ? element.need_trans_bag_id : 0)
-              element.a17 =  (this.DD ? element.finish_trans_bag_dd : 0) + (this.DI ? element.finish_trans_bag_di : 0) + (this.II ? element.finish_trans_bag_ii : 0) + (this.ID ? element.finish_trans_bag_id : 0)
-              element.a19 = (this.DD ? element.not_trans_bag_dd : 0) + (this.DI ? element.not_trans_bag_di : 0) + (this.II ? element.not_trans_bag_ii : 0) + (this.ID ? element.not_trans_bag_id : 0)
-              element.a18 = (element.a17 * 100 /( element.a16 > 0 ?  element.a16 : 0)).toFixed(2) + '%'
-            });
+            // this.tableData.forEach(element => {
+            //   element.Transferout_dd = (element.finish_trans_bag_dd * 100 / (element.need_trans_bag_dd > 0  ? element.need_trans_bag_dd : 1)).toFixed(2) + '%'
+            //   element.Transferout_di = (element.finish_trans_bag_di * 100 / (element.need_trans_bag_di > 0  ?  element.need_trans_bag_di : 1)).toFixed(2) + '%'
+            //   element.Transferout_ii = (element.finish_trans_bag_ii * 100 / (element.need_trans_bag_ii > 0  ? element.need_trans_bag_ii : 1)).toFixed(2) + '%'
+            //   element.Transferout_id = (element.finish_trans_bag_id * 100 / (element.need_trans_bag_id > 0 ? element.need_trans_bag_id : 1)).toFixed(2) + '%'
+            //   element.a14 = (this.DD ? element.need_trans_flight_dd : 0) + (this.DI ? element.need_trans_flight_di : 0) + (this.II ? element.need_trans_flight_ii : 0) + (this.ID ? element.need_trans_flight_id : 0)
+            //   element.a15 =  (this.DD ? element.finish_trans_flight_dd : 0) + (this.DI ? element.finish_trans_flight_di : 0) + (this.II ? element.finish_trans_flight_ii : 0) + (this.ID ? element.finish_trans_flight_id : 0)
+            //   element.a16 =  (this.DD ? element.need_trans_bag_dd : 0) + (this.DI ? element.need_trans_bag_di : 0) + (this.II ? element.need_trans_bag_ii : 0) + (this.ID ? element.need_trans_bag_id : 0)
+            //   element.a17 =  (this.DD ? element.finish_trans_bag_dd : 0) + (this.DI ? element.finish_trans_bag_di : 0) + (this.II ? element.finish_trans_bag_ii : 0) + (this.ID ? element.finish_trans_bag_id : 0)
+            //   element.a19 = (this.DD ? element.not_trans_bag_dd : 0) + (this.DI ? element.not_trans_bag_di : 0) + (this.II ? element.not_trans_bag_ii : 0) + (this.ID ? element.not_trans_bag_id : 0)
+            //   element.a18 = (element.a17 * 100 /( element.a16 > 0 ?  element.a16 : 0)).toFixed(2) + '%'
+            // });
           } else if (this.upid == 5) {
             this.tableData.forEach(element => {
               element.Transferout_dd_22 = (element.finish_trans_bag_dd_22 * 100 / (element.need_trans_bag_dd_22 > 0 ? element.need_trans_bag_dd_22 : 1)).toFixed(2) + '%'

+ 174 - 0
src/views/statisticsCharts/views/averagepassengers/averagepassairlineStatisticsCharts.vue

@@ -0,0 +1,174 @@
+<template>
+  <CommonBarStatisticsCharts charts-title="航司平均旅客行李量" :query-settings="querySettings" :form-data="formData" :form-items="formItems" />
+</template>
+
+<script>
+import CommonBarStatisticsCharts from '../../components/newBarStatisticsCharts.vue'
+import { Query } from '@/api/webApi'
+import { parseTime } from '@/utils'
+
+export default {
+  name: 'WorkloadStatisticsCharts',
+  components: { CommonBarStatisticsCharts },
+  data () {
+    const that = this
+    return {
+      querySettings: {
+        serviceId: SERVICE_ID.averagepassairline,
+        seriesKey: 'workload',
+        xAxisKey: 'fd',
+      },
+      formData: {
+        td: '日',
+        // agent_number: '',
+        // airport: '',
+        dateTime: [],
+      },
+      formItems: [
+        {
+          prop: 'td',
+          inputType: 'select',
+          placeholder: '时间维度',
+          requiredWarning: '请先选择统计时间维度',
+          options: [
+            {
+              value: '日',
+              label: '按日统计',
+            },
+            {
+              value: '月',
+              label: '按月统计',
+            },
+            {
+              value: '年',
+              label: '按年统计',
+            },
+          ],
+          changeHandler (value, oldValue) {
+            const typeMap = {
+              日: 'datePicker',
+              月: 'monthPicker',
+              年: 'yearPicker',
+            }
+            const dateTimeItem = this.formItems.find(
+              item => item.prop === 'dateTime'
+            )
+            const formData = this._.cloneDeep(this.formData)
+            if (dateTimeItem) {
+              dateTimeItem.inputType = typeMap[value]
+              const dateTime = formData.dateTime
+              if (dateTime && dateTime[0] && dateTime[1]) {
+                if (value === '年') {
+                  this.formData.dateTime[0] = dateTime[0].split('-')[0]
+                  this.formData.dateTime[1] = dateTime[1].split('-')[0]
+                }
+                if (value === '月') {
+                  if (oldValue === '年') {
+                    this.formData.dateTime[0] = `${dateTime[0].split('-')[0]
+                      }-01`
+                    this.formData.dateTime[1] = `${dateTime[1].split('-')[0]
+                      }-12`
+                  }
+                  if (oldValue === '日') {
+                    this.formData.dateTime[0] = dateTime[0]
+                      .split('-')
+                      .slice(0, 2)
+                      .join('-')
+                    this.formData.dateTime[1] = dateTime[1]
+                      .split('-')
+                      .slice(0, 2)
+                      .join('-')
+                  }
+                }
+                if (value === '日') {
+                  if (oldValue === '年') {
+                    this.formData.dateTime[0] = `${dateTime[0].split('-')[0]
+                      }-01-01`
+                    this.formData.dateTime[1] = `${dateTime[1].split('-')[0]
+                      }-12-31`
+                  }
+                  if (oldValue === '月') {
+                    this.formData.dateTime[0] = `${dateTime[0]
+                      .split('-')
+                      .slice(0, 2)
+                      .join('-')}-01`
+                    let [year, month] = dateTime[1].split('-')
+                    if (month === '12') {
+                      year = Number(year) + 1
+                      month = 1
+                    } else {
+                      month = Number(month) + 1
+                    }
+                    const day = 24 * 60 * 60 * 1000
+                    this.formData.dateTime[1] = parseTime(
+                      new Date(`${year}-${month}-01`) - day * 1,
+                      '{y}-{m}-{d}'
+                    )
+                  }
+                }
+              }
+            }
+          },
+        },
+        {
+          prop: 'aircompany',
+          inputType: 'select',
+          placeholder: '航司',
+          filterable: true,
+          queryId: SERVICE_ID.AirlinportId,
+          setKey: 'ITATCode',
+          requiredWarning: '请先选择航司',
+          options: [],
+        },{
+          prop: 'status',
+          inputType: 'select',
+          placeholder: '全部',
+          requiredWarning: '请先选择行李状态',
+          filterable: true,
+          options: [{
+              value: '正常',
+              label: "正常",
+            },{
+              value: '取消',
+              label: "取消",
+            },{
+              value: '全部',
+              label: "全部",
+            }],
+        },
+        {
+          prop: 'dateTime',
+          inputType: 'datePicker',
+          width: '240px',
+          requiredWarning: '请先选择时间范围',
+        },
+      ],
+    }
+  },
+  methods: {
+    async getAgentOptions (airport) {
+      try {
+        const { code, returnData, message } = await Query({
+          serviceId: SERVICE_ID.agentCode,
+          dataContent: [
+            {
+              airport,
+            },
+          ],
+        })
+        if (String(code) === '0') {
+          const listValues = returnData.listValues || returnData
+          // this.formItems[2].options = listValues.map(element => ({
+          //   label: element.agent_number,
+          //   value: element.agent_number,
+          // }))
+        } else {
+          this.$message.error(message)
+        }
+      } catch (error) {
+        this.$message.error('失败')
+      }
+    },
+  },
+}
+</script>

+ 174 - 0
src/views/statisticsCharts/views/averagepassengers/averagepassrouteStatisticsCharts.vue

@@ -0,0 +1,174 @@
+<template>
+  <CommonBarStatisticsCharts charts-title="航线平均旅客行李量" :query-settings="querySettings" :form-data="formData" :form-items="formItems" />
+</template>
+
+<script>
+import CommonBarStatisticsCharts from '../../components/newBarStatisticsCharts.vue'
+import { Query } from '@/api/webApi'
+import { parseTime } from '@/utils'
+
+export default {
+  name: 'WorkloadStatisticsCharts',
+  components: { CommonBarStatisticsCharts },
+  data () {
+    const that = this
+    return {
+      querySettings: {
+        serviceId: SERVICE_ID.averagepassroute,
+        seriesKey: 'workload',
+        xAxisKey: 'fd',
+      },
+      formData: {
+        td: '日',
+        // agent_number: '',
+        // airport: '',
+        dateTime: [],
+      },
+      formItems: [
+        {
+          prop: 'td',
+          inputType: 'select',
+          placeholder: '时间维度',
+          requiredWarning: '请先选择统计时间维度',
+          options: [
+            {
+              value: '日',
+              label: '按日统计',
+            },
+            {
+              value: '月',
+              label: '按月统计',
+            },
+            {
+              value: '年',
+              label: '按年统计',
+            },
+          ],
+          changeHandler (value, oldValue) {
+            const typeMap = {
+              日: 'datePicker',
+              月: 'monthPicker',
+              年: 'yearPicker',
+            }
+            const dateTimeItem = this.formItems.find(
+              item => item.prop === 'dateTime'
+            )
+            const formData = this._.cloneDeep(this.formData)
+            if (dateTimeItem) {
+              dateTimeItem.inputType = typeMap[value]
+              const dateTime = formData.dateTime
+              if (dateTime && dateTime[0] && dateTime[1]) {
+                if (value === '年') {
+                  this.formData.dateTime[0] = dateTime[0].split('-')[0]
+                  this.formData.dateTime[1] = dateTime[1].split('-')[0]
+                }
+                if (value === '月') {
+                  if (oldValue === '年') {
+                    this.formData.dateTime[0] = `${dateTime[0].split('-')[0]
+                      }-01`
+                    this.formData.dateTime[1] = `${dateTime[1].split('-')[0]
+                      }-12`
+                  }
+                  if (oldValue === '日') {
+                    this.formData.dateTime[0] = dateTime[0]
+                      .split('-')
+                      .slice(0, 2)
+                      .join('-')
+                    this.formData.dateTime[1] = dateTime[1]
+                      .split('-')
+                      .slice(0, 2)
+                      .join('-')
+                  }
+                }
+                if (value === '日') {
+                  if (oldValue === '年') {
+                    this.formData.dateTime[0] = `${dateTime[0].split('-')[0]
+                      }-01-01`
+                    this.formData.dateTime[1] = `${dateTime[1].split('-')[0]
+                      }-12-31`
+                  }
+                  if (oldValue === '月') {
+                    this.formData.dateTime[0] = `${dateTime[0]
+                      .split('-')
+                      .slice(0, 2)
+                      .join('-')}-01`
+                    let [year, month] = dateTime[1].split('-')
+                    if (month === '12') {
+                      year = Number(year) + 1
+                      month = 1
+                    } else {
+                      month = Number(month) + 1
+                    }
+                    const day = 24 * 60 * 60 * 1000
+                    this.formData.dateTime[1] = parseTime(
+                      new Date(`${year}-${month}-01`) - day * 1,
+                      '{y}-{m}-{d}'
+                    )
+                  }
+                }
+              }
+            }
+          },
+        },
+        {
+          prop: 'line',
+          inputType: 'select',
+          placeholder: '航线',
+          filterable: true,
+          queryId: SERVICE_ID.AirlineIds,
+          setKey: 'air_line',
+          requiredWarning: '请先选择航线',
+          options: [],
+        },{
+          prop: 'status',
+          inputType: 'select',
+          placeholder: '全部',
+          requiredWarning: '请先选择行李状态',
+          filterable: true,
+          options: [{
+              value: '正常',
+              label: "正常",
+            },{
+              value: '取消',
+              label: "取消",
+            },{
+              value: '全部',
+              label: "全部",
+            }],
+        },
+        {
+          prop: 'dateTime',
+          inputType: 'datePicker',
+          width: '240px',
+          requiredWarning: '请先选择时间范围',
+        },
+      ],
+    }
+  },
+  methods: {
+    async getAgentOptions (airport) {
+      try {
+        const { code, returnData, message } = await Query({
+          serviceId: SERVICE_ID.agentCode,
+          dataContent: [
+            {
+              airport,
+            },
+          ],
+        })
+        if (String(code) === '0') {
+          const listValues = returnData.listValues || returnData
+          // this.formItems[2].options = listValues.map(element => ({
+          //   label: element.agent_number,
+          //   value: element.agent_number,
+          // }))
+        } else {
+          this.$message.error(message)
+        }
+      } catch (error) {
+        this.$message.error('失败')
+      }
+    },
+  },
+}
+</script>

+ 192 - 0
src/views/statisticsCharts/views/averagepassengers/averagepassterminalStatisticsCharts.vue

@@ -0,0 +1,192 @@
+<template>
+  <CommonBarStatisticsCharts charts-title="航站平均旅客行李量" :query-settings="querySettings" :form-data="formData" :form-items="formItems" />
+</template>
+
+<script>
+import CommonBarStatisticsCharts from '../../components/newBarStatisticsCharts.vue'
+import { Query } from '@/api/webApi'
+import { parseTime } from '@/utils'
+
+export default {
+  name: 'WorkloadStatisticsCharts',
+  components: { CommonBarStatisticsCharts },
+  data () {
+    const that = this
+    return {
+      querySettings: {
+        serviceId: SERVICE_ID.averagepassterminal,
+        seriesKey: 'workload',
+        xAxisKey: 'fd',
+      },
+      formData: {
+        td: '日',
+        // agent_number: '',
+        airport: '',
+        dateTime: [],
+      },
+      formItems: [
+        {
+          prop: 'td',
+          inputType: 'select',
+          placeholder: '时间维度',
+          requiredWarning: '请先选择统计时间维度',
+          options: [
+            {
+              value: '日',
+              label: '按日统计',
+            },
+            {
+              value: '月',
+              label: '按月统计',
+            },
+            {
+              value: '年',
+              label: '按年统计',
+            },
+          ],
+          changeHandler (value, oldValue) {
+            const typeMap = {
+              日: 'datePicker',
+              月: 'monthPicker',
+              年: 'yearPicker',
+            }
+            const dateTimeItem = this.formItems.find(
+              item => item.prop === 'dateTime'
+            )
+            const formData = this._.cloneDeep(this.formData)
+            if (dateTimeItem) {
+              dateTimeItem.inputType = typeMap[value]
+              const dateTime = formData.dateTime
+              if (dateTime && dateTime[0] && dateTime[1]) {
+                if (value === '年') {
+                  this.formData.dateTime[0] = dateTime[0].split('-')[0]
+                  this.formData.dateTime[1] = dateTime[1].split('-')[0]
+                }
+                if (value === '月') {
+                  if (oldValue === '年') {
+                    this.formData.dateTime[0] = `${dateTime[0].split('-')[0]
+                      }-01`
+                    this.formData.dateTime[1] = `${dateTime[1].split('-')[0]
+                      }-12`
+                  }
+                  if (oldValue === '日') {
+                    this.formData.dateTime[0] = dateTime[0]
+                      .split('-')
+                      .slice(0, 2)
+                      .join('-')
+                    this.formData.dateTime[1] = dateTime[1]
+                      .split('-')
+                      .slice(0, 2)
+                      .join('-')
+                  }
+                }
+                if (value === '日') {
+                  if (oldValue === '年') {
+                    this.formData.dateTime[0] = `${dateTime[0].split('-')[0]
+                      }-01-01`
+                    this.formData.dateTime[1] = `${dateTime[1].split('-')[0]
+                      }-12-31`
+                  }
+                  if (oldValue === '月') {
+                    this.formData.dateTime[0] = `${dateTime[0]
+                      .split('-')
+                      .slice(0, 2)
+                      .join('-')}-01`
+                    let [year, month] = dateTime[1].split('-')
+                    if (month === '12') {
+                      year = Number(year) + 1
+                      month = 1
+                    } else {
+                      month = Number(month) + 1
+                    }
+                    const day = 24 * 60 * 60 * 1000
+                    this.formData.dateTime[1] = parseTime(
+                      new Date(`${year}-${month}-01`) - day * 1,
+                      '{y}-{m}-{d}'
+                    )
+                  }
+                }
+              }
+            }
+          },
+        },
+        {
+          prop: 'airport',
+          inputType: 'select',
+          placeholder: '航站',
+          filterable: true,
+          queryId: SERVICE_ID.AirportIds,
+          setKey: 'code3',
+          requiredWarning: '请先选择航站',
+          options: [],
+        },
+        {
+          prop: 'iotype',
+          inputType: 'select',
+          placeholder: '进港离港',
+          requiredWarning: '请先选择进港离港',
+          filterable: true,
+          options: [{
+              value: '离港',
+              label: "离港",
+            },{
+              value: '进港',
+              label: "进港",
+            },{
+              value: '中转',
+              label: "中转",
+            }],
+        },
+        {
+          prop: 'status',
+          inputType: 'select',
+          placeholder: '全部',
+          requiredWarning: '请先选择行李状态',
+          filterable: true,
+          options: [{
+              value: '正常',
+              label: "正常",
+            },{
+              value: '取消',
+              label: "取消",
+            },{
+              value: '全部',
+              label: "全部",
+            }],
+        },
+        {
+          prop: 'dateTime',
+          inputType: 'datePicker',
+          width: '240px',
+          requiredWarning: '请先选择时间范围',
+        },
+      ],
+    }
+  },
+  methods: {
+    async getAgentOptions (airport) {
+      try {
+        const { code, returnData, message } = await Query({
+          serviceId: SERVICE_ID.agentCode,
+          dataContent: [
+            {
+              airport,
+            },
+          ],
+        })
+        if (String(code) === '0') {
+          const listValues = returnData.listValues || returnData
+          // this.formItems[2].options = listValues.map(element => ({
+          //   label: element.agent_number,
+          //   value: element.agent_number,
+          // }))
+        } else {
+          this.$message.error(message)
+        }
+      } catch (error) {
+        this.$message.error('失败')
+      }
+    },
+  },
+}
+</script>

+ 238 - 0
src/views/statisticsCharts/views/flight/flightvolumeStatisticsCharts.vue

@@ -0,0 +1,238 @@
+<template>
+  <CommonBarStatisticsCharts charts-title="航站航班量" :query-settings="querySettings" :form-data="formData" :form-items="formItems" />
+</template>
+
+<script>
+import CommonBarStatisticsCharts from '../../components/newBarStatisticsCharts.vue'
+import { Query } from '@/api/webApi'
+import { parseTime } from '@/utils'
+
+export default {
+  name: 'WorkloadStatisticsCharts',
+  components: { CommonBarStatisticsCharts },
+  data () {
+    const that = this
+    return {
+      querySettings: {
+        serviceId: SERVICE_ID.terminalflight,
+        seriesKey: 'workload',
+        xAxisKey: 'fd',
+      },
+      formData: {
+        td: '日',
+        // agent_number: '',
+        airport: '',
+        dateTime: [],
+      },
+      formItems: [
+        {
+          prop: 'td',
+          inputType: 'select',
+          placeholder: '时间维度',
+          requiredWarning: '请先选择统计时间维度',
+          options: [
+            {
+              value: '日',
+              label: '按日统计',
+            },
+            {
+              value: '月',
+              label: '按月统计',
+            },
+            {
+              value: '年',
+              label: '按年统计',
+            },
+          ],
+          changeHandler (value, oldValue) {
+            const typeMap = {
+              日: 'datePicker',
+              月: 'monthPicker',
+              年: 'yearPicker',
+            }
+            const dateTimeItem = this.formItems.find(
+              item => item.prop === 'dateTime'
+            )
+            const formData = this._.cloneDeep(this.formData)
+            if (dateTimeItem) {
+              dateTimeItem.inputType = typeMap[value]
+              const dateTime = formData.dateTime
+              if (dateTime && dateTime[0] && dateTime[1]) {
+                if (value === '年') {
+                  this.formData.dateTime[0] = dateTime[0].split('-')[0]
+                  this.formData.dateTime[1] = dateTime[1].split('-')[0]
+                }
+                if (value === '月') {
+                  if (oldValue === '年') {
+                    this.formData.dateTime[0] = `${dateTime[0].split('-')[0]
+                      }-01`
+                    this.formData.dateTime[1] = `${dateTime[1].split('-')[0]
+                      }-12`
+                  }
+                  if (oldValue === '日') {
+                    this.formData.dateTime[0] = dateTime[0]
+                      .split('-')
+                      .slice(0, 2)
+                      .join('-')
+                    this.formData.dateTime[1] = dateTime[1]
+                      .split('-')
+                      .slice(0, 2)
+                      .join('-')
+                  }
+                }
+                if (value === '日') {
+                  if (oldValue === '年') {
+                    this.formData.dateTime[0] = `${dateTime[0].split('-')[0]
+                      }-01-01`
+                    this.formData.dateTime[1] = `${dateTime[1].split('-')[0]
+                      }-12-31`
+                  }
+                  if (oldValue === '月') {
+                    this.formData.dateTime[0] = `${dateTime[0]
+                      .split('-')
+                      .slice(0, 2)
+                      .join('-')}-01`
+                    let [year, month] = dateTime[1].split('-')
+                    if (month === '12') {
+                      year = Number(year) + 1
+                      month = 1
+                    } else {
+                      month = Number(month) + 1
+                    }
+                    const day = 24 * 60 * 60 * 1000
+                    this.formData.dateTime[1] = parseTime(
+                      new Date(`${year}-${month}-01`) - day * 1,
+                      '{y}-{m}-{d}'
+                    )
+                  }
+                }
+              }
+            }
+          },
+        },
+        {
+          prop: 'airport',
+          inputType: 'select',
+          placeholder: '航站',
+          filterable: true,
+          queryId: SERVICE_ID.AirportIds,
+          setKey: 'code3',
+          requiredWarning: '请先选择航站',
+          options: [],
+        },
+        {
+          prop: 'iotype',
+          inputType: 'select',
+          placeholder: '进港离港',
+          requiredWarning: '请先选择进港离港',
+          filterable: true,
+          options: [{
+              value: '离港',
+              label: "离港",
+            },{
+              value: '进港',
+              label: "进港",
+            },{
+              value: '中转',
+              label: "中转",
+            }],
+        },
+        {
+          prop: 'flightstatus',
+          inputType: 'select',
+          placeholder: '全部',
+          requiredWarning: '请先选择航班状态',
+          filterable: true,
+          options: [{
+              value: '正常',
+              label: "正常",
+            },{
+              value: '延误',
+              label: "延误",
+            },{
+              value: '取消',
+              label: "取消",
+            },{
+              value: '全部',
+              label: "全部",
+            }],
+        },
+        {
+          prop: 'crafttype',
+          inputType: 'select',
+          placeholder: '全部',
+          requiredWarning: '请先选择机型',
+          filterable: true,
+          queryId: SERVICE_ID.ModelIds,
+          setKey: 'craftType',
+          options: [],
+        },
+        {
+          prop: 'ditype',
+          inputType: 'select',
+          placeholder: '全部',
+          requiredWarning: '请先选择国内国际',
+          filterable: true,
+          options: [{
+              value: '国内',
+              label: "国内",
+            },{
+              value: '国际',
+              label: "国际",
+            },{
+              value: '全部',
+              label: "全部",
+            }],
+        },{
+          prop: 'ishas',
+          inputType: 'select',
+          placeholder: '全部',
+          requiredWarning: '请先选择有无行李',
+          filterable: true,
+          options: [{
+              value: '有行李',
+              label: "有行李",
+            },{
+              value: '无行李',
+              label: "无行李",
+            },{
+              value: '全部',
+              label: "全部",
+            }],
+        },
+        {
+          prop: 'dateTime',
+          inputType: 'datePicker',
+          width: '240px',
+          requiredWarning: '请先选择时间范围',
+        },
+      ],
+    }
+  },
+  methods: {
+    async getAgentOptions (airport) {
+      try {
+        const { code, returnData, message } = await Query({
+          serviceId: SERVICE_ID.agentCode,
+          dataContent: [
+            {
+              airport,
+            },
+          ],
+        })
+        if (String(code) === '0') {
+          const listValues = returnData.listValues || returnData
+          // this.formItems[2].options = listValues.map(element => ({
+          //   label: element.agent_number,
+          //   value: element.agent_number,
+          // }))
+        } else {
+          this.$message.error(message)
+        }
+      } catch (error) {
+        this.$message.error('失败')
+      }
+    },
+  },
+}
+</script>

+ 221 - 0
src/views/statisticsCharts/views/flight/numberairStatisticsCharts.vue

@@ -0,0 +1,221 @@
+<template>
+  <CommonBarStatisticsCharts charts-title="航司航班量" :query-settings="querySettings" :form-data="formData" :form-items="formItems" />
+</template>
+
+<script>
+import CommonBarStatisticsCharts from '../../components/newBarStatisticsCharts.vue'
+import { Query } from '@/api/webApi'
+import { parseTime } from '@/utils'
+
+export default {
+  name: 'WorkloadStatisticsCharts',
+  components: { CommonBarStatisticsCharts },
+  data () {
+    const that = this
+    return {
+      querySettings: {
+        serviceId: SERVICE_ID.numberairline,
+        seriesKey: 'workload',
+        xAxisKey: 'fd',
+      },
+      formData: {
+        td: '日',
+        // agent_number: '',
+        // airport: '',
+        dateTime: [],
+      },
+      formItems: [
+        {
+          prop: 'td',
+          inputType: 'select',
+          placeholder: '时间维度',
+          requiredWarning: '请先选择统计时间维度',
+          options: [
+            {
+              value: '日',
+              label: '按日统计',
+            },
+            {
+              value: '月',
+              label: '按月统计',
+            },
+            {
+              value: '年',
+              label: '按年统计',
+            },
+          ],
+          changeHandler (value, oldValue) {
+            const typeMap = {
+              日: 'datePicker',
+              月: 'monthPicker',
+              年: 'yearPicker',
+            }
+            const dateTimeItem = this.formItems.find(
+              item => item.prop === 'dateTime'
+            )
+            const formData = this._.cloneDeep(this.formData)
+            if (dateTimeItem) {
+              dateTimeItem.inputType = typeMap[value]
+              const dateTime = formData.dateTime
+              if (dateTime && dateTime[0] && dateTime[1]) {
+                if (value === '年') {
+                  this.formData.dateTime[0] = dateTime[0].split('-')[0]
+                  this.formData.dateTime[1] = dateTime[1].split('-')[0]
+                }
+                if (value === '月') {
+                  if (oldValue === '年') {
+                    this.formData.dateTime[0] = `${dateTime[0].split('-')[0]
+                      }-01`
+                    this.formData.dateTime[1] = `${dateTime[1].split('-')[0]
+                      }-12`
+                  }
+                  if (oldValue === '日') {
+                    this.formData.dateTime[0] = dateTime[0]
+                      .split('-')
+                      .slice(0, 2)
+                      .join('-')
+                    this.formData.dateTime[1] = dateTime[1]
+                      .split('-')
+                      .slice(0, 2)
+                      .join('-')
+                  }
+                }
+                if (value === '日') {
+                  if (oldValue === '年') {
+                    this.formData.dateTime[0] = `${dateTime[0].split('-')[0]
+                      }-01-01`
+                    this.formData.dateTime[1] = `${dateTime[1].split('-')[0]
+                      }-12-31`
+                  }
+                  if (oldValue === '月') {
+                    this.formData.dateTime[0] = `${dateTime[0]
+                      .split('-')
+                      .slice(0, 2)
+                      .join('-')}-01`
+                    let [year, month] = dateTime[1].split('-')
+                    if (month === '12') {
+                      year = Number(year) + 1
+                      month = 1
+                    } else {
+                      month = Number(month) + 1
+                    }
+                    const day = 24 * 60 * 60 * 1000
+                    this.formData.dateTime[1] = parseTime(
+                      new Date(`${year}-${month}-01`) - day * 1,
+                      '{y}-{m}-{d}'
+                    )
+                  }
+                }
+              }
+            }
+          },
+        },
+        {
+          prop: 'aircompany',
+          inputType: 'select',
+          placeholder: '航司',
+          filterable: true,
+          queryId: SERVICE_ID.AirlinportId,
+          setKey: 'ITATCode',
+          requiredWarning: '请先选择航司',
+          options: [],
+        },
+        {
+          prop: 'flightstatus',
+          inputType: 'select',
+          placeholder: '全部',
+          requiredWarning: '请先选择航班状态',
+          filterable: true,
+          options: [{
+              value: '正常',
+              label: "正常",
+            },{
+              value: '延误',
+              label: "延误",
+            },{
+              value: '取消',
+              label: "取消",
+            },{
+              value: '全部',
+              label: "全部",
+            }],
+        },
+        {
+          prop: 'crafttype',
+          inputType: 'select',
+          placeholder: '全部',
+          requiredWarning: '请先选择机型',
+          filterable: true,
+          queryId: SERVICE_ID.ModelIds,
+          setKey: 'craftType',
+          options: [],
+        },
+        {
+          prop: 'ditype',
+          inputType: 'select',
+          placeholder: '全部',
+          requiredWarning: '请先选择国内国际',
+          filterable: true,
+          options: [{
+              value: '国内',
+              label: "国内",
+            },{
+              value: '国际',
+              label: "国际",
+            },{
+              value: '全部',
+              label: "全部",
+            }],
+        },{
+          prop: 'ishas',
+          inputType: 'select',
+          placeholder: '全部',
+          requiredWarning: '请先选择有无行李',
+          filterable: true,
+          options: [{
+              value: '有行李',
+              label: "有行李",
+            },{
+              value: '无行李',
+              label: "无行李",
+            },{
+              value: '全部',
+              label: "全部",
+            }],
+        },
+        {
+          prop: 'dateTime',
+          inputType: 'datePicker',
+          width: '240px',
+          requiredWarning: '请先选择时间范围',
+        },
+      ],
+    }
+  },
+  methods: {
+    async getAgentOptions (airport) {
+      try {
+        const { code, returnData, message } = await Query({
+          serviceId: SERVICE_ID.agentCode,
+          dataContent: [
+            {
+              airport,
+            },
+          ],
+        })
+        if (String(code) === '0') {
+          const listValues = returnData.listValues || returnData
+          // this.formItems[2].options = listValues.map(element => ({
+          //   label: element.agent_number,
+          //   value: element.agent_number,
+          // }))
+        } else {
+          this.$message.error(message)
+        }
+      } catch (error) {
+        this.$message.error('失败')
+      }
+    },
+  },
+}
+</script>

+ 221 - 0
src/views/statisticsCharts/views/flight/volumeofStatisticsCharts.vue

@@ -0,0 +1,221 @@
+<template>
+  <CommonBarStatisticsCharts charts-title="航线航班量" :query-settings="querySettings" :form-data="formData" :form-items="formItems" />
+</template>
+
+<script>
+import CommonBarStatisticsCharts from '../../components/newBarStatisticsCharts.vue'
+import { Query } from '@/api/webApi'
+import { parseTime } from '@/utils'
+
+export default {
+  name: 'WorkloadStatisticsCharts',
+  components: { CommonBarStatisticsCharts },
+  data () {
+    const that = this
+    return {
+      querySettings: {
+        serviceId: SERVICE_ID.flightvolume,
+        seriesKey: 'workload',
+        xAxisKey: 'fd',
+      },
+      formData: {
+        td: '日',
+        // agent_number: '',
+        // airport: '',
+        dateTime: [],
+      },
+      formItems: [
+        {
+          prop: 'td',
+          inputType: 'select',
+          placeholder: '时间维度',
+          requiredWarning: '请先选择统计时间维度',
+          options: [
+            {
+              value: '日',
+              label: '按日统计',
+            },
+            {
+              value: '月',
+              label: '按月统计',
+            },
+            {
+              value: '年',
+              label: '按年统计',
+            },
+          ],
+          changeHandler (value, oldValue) {
+            const typeMap = {
+              日: 'datePicker',
+              月: 'monthPicker',
+              年: 'yearPicker',
+            }
+            const dateTimeItem = this.formItems.find(
+              item => item.prop === 'dateTime'
+            )
+            const formData = this._.cloneDeep(this.formData)
+            if (dateTimeItem) {
+              dateTimeItem.inputType = typeMap[value]
+              const dateTime = formData.dateTime
+              if (dateTime && dateTime[0] && dateTime[1]) {
+                if (value === '年') {
+                  this.formData.dateTime[0] = dateTime[0].split('-')[0]
+                  this.formData.dateTime[1] = dateTime[1].split('-')[0]
+                }
+                if (value === '月') {
+                  if (oldValue === '年') {
+                    this.formData.dateTime[0] = `${dateTime[0].split('-')[0]
+                      }-01`
+                    this.formData.dateTime[1] = `${dateTime[1].split('-')[0]
+                      }-12`
+                  }
+                  if (oldValue === '日') {
+                    this.formData.dateTime[0] = dateTime[0]
+                      .split('-')
+                      .slice(0, 2)
+                      .join('-')
+                    this.formData.dateTime[1] = dateTime[1]
+                      .split('-')
+                      .slice(0, 2)
+                      .join('-')
+                  }
+                }
+                if (value === '日') {
+                  if (oldValue === '年') {
+                    this.formData.dateTime[0] = `${dateTime[0].split('-')[0]
+                      }-01-01`
+                    this.formData.dateTime[1] = `${dateTime[1].split('-')[0]
+                      }-12-31`
+                  }
+                  if (oldValue === '月') {
+                    this.formData.dateTime[0] = `${dateTime[0]
+                      .split('-')
+                      .slice(0, 2)
+                      .join('-')}-01`
+                    let [year, month] = dateTime[1].split('-')
+                    if (month === '12') {
+                      year = Number(year) + 1
+                      month = 1
+                    } else {
+                      month = Number(month) + 1
+                    }
+                    const day = 24 * 60 * 60 * 1000
+                    this.formData.dateTime[1] = parseTime(
+                      new Date(`${year}-${month}-01`) - day * 1,
+                      '{y}-{m}-{d}'
+                    )
+                  }
+                }
+              }
+            }
+          },
+        },
+        {
+          prop: 'line',
+          inputType: 'select',
+          placeholder: '航线',
+          filterable: true,
+          queryId: SERVICE_ID.AirlineIds,
+          setKey: 'air_line',
+          requiredWarning: '请先选择航线',
+          options: [],
+        },
+        {
+          prop: 'flightstatus',
+          inputType: 'select',
+          placeholder: '全部',
+          requiredWarning: '请先选择航班状态',
+          filterable: true,
+          options: [{
+              value: '正常',
+              label: "正常",
+            },{
+              value: '延误',
+              label: "延误",
+            },{
+              value: '取消',
+              label: "取消",
+            },{
+              value: '全部',
+              label: "全部",
+            }],
+        },
+        {
+          prop: 'crafttype',
+          inputType: 'select',
+          placeholder: '全部',
+          requiredWarning: '请先选择机型',
+          filterable: true,
+          queryId: SERVICE_ID.ModelIds,
+          setKey: 'craftType',
+          options: [],
+        },
+        {
+          prop: 'ditype',
+          inputType: 'select',
+          placeholder: '全部',
+          requiredWarning: '请先选择国内国际',
+          filterable: true,
+          options: [{
+              value: '国内',
+              label: "国内",
+            },{
+              value: '国际',
+              label: "国际",
+            },{
+              value: '全部',
+              label: "全部",
+            }],
+        },{
+          prop: 'ishas',
+          inputType: 'select',
+          placeholder: '全部',
+          requiredWarning: '请先选择有无行李',
+          filterable: true,
+          options: [{
+              value: '有行李',
+              label: "有行李",
+            },{
+              value: '无行李',
+              label: "无行李",
+            },{
+              value: '全部',
+              label: "全部",
+            }],
+        },
+        {
+          prop: 'dateTime',
+          inputType: 'datePicker',
+          width: '240px',
+          requiredWarning: '请先选择时间范围',
+        },
+      ],
+    }
+  },
+  methods: {
+    async getAgentOptions (airport) {
+      try {
+        const { code, returnData, message } = await Query({
+          serviceId: SERVICE_ID.agentCode,
+          dataContent: [
+            {
+              airport,
+            },
+          ],
+        })
+        if (String(code) === '0') {
+          const listValues = returnData.listValues || returnData
+          // this.formItems[2].options = listValues.map(element => ({
+          //   label: element.agent_number,
+          //   value: element.agent_number,
+          // }))
+        } else {
+          this.$message.error(message)
+        }
+      } catch (error) {
+        this.$message.error('失败')
+      }
+    },
+  },
+}
+</script>

+ 174 - 0
src/views/statisticsCharts/views/passenger/passengerairlineStatisticsCharts.vue

@@ -0,0 +1,174 @@
+<template>
+  <CommonBarStatisticsCharts charts-title="航司旅客量" :query-settings="querySettings" :form-data="formData" :form-items="formItems" />
+</template>
+
+<script>
+import CommonBarStatisticsCharts from '../../components/newBarStatisticsCharts.vue'
+import { Query } from '@/api/webApi'
+import { parseTime } from '@/utils'
+
+export default {
+  name: 'WorkloadStatisticsCharts',
+  components: { CommonBarStatisticsCharts },
+  data () {
+    const that = this
+    return {
+      querySettings: {
+        serviceId: SERVICE_ID.passengerairline,
+        seriesKey: 'workload',
+        xAxisKey: 'fd',
+      },
+      formData: {
+        td: '日',
+        // agent_number: '',
+        // airport: '',
+        dateTime: [],
+      },
+      formItems: [
+        {
+          prop: 'td',
+          inputType: 'select',
+          placeholder: '时间维度',
+          requiredWarning: '请先选择统计时间维度',
+          options: [
+            {
+              value: '日',
+              label: '按日统计',
+            },
+            {
+              value: '月',
+              label: '按月统计',
+            },
+            {
+              value: '年',
+              label: '按年统计',
+            },
+          ],
+          changeHandler (value, oldValue) {
+            const typeMap = {
+              日: 'datePicker',
+              月: 'monthPicker',
+              年: 'yearPicker',
+            }
+            const dateTimeItem = this.formItems.find(
+              item => item.prop === 'dateTime'
+            )
+            const formData = this._.cloneDeep(this.formData)
+            if (dateTimeItem) {
+              dateTimeItem.inputType = typeMap[value]
+              const dateTime = formData.dateTime
+              if (dateTime && dateTime[0] && dateTime[1]) {
+                if (value === '年') {
+                  this.formData.dateTime[0] = dateTime[0].split('-')[0]
+                  this.formData.dateTime[1] = dateTime[1].split('-')[0]
+                }
+                if (value === '月') {
+                  if (oldValue === '年') {
+                    this.formData.dateTime[0] = `${dateTime[0].split('-')[0]
+                      }-01`
+                    this.formData.dateTime[1] = `${dateTime[1].split('-')[0]
+                      }-12`
+                  }
+                  if (oldValue === '日') {
+                    this.formData.dateTime[0] = dateTime[0]
+                      .split('-')
+                      .slice(0, 2)
+                      .join('-')
+                    this.formData.dateTime[1] = dateTime[1]
+                      .split('-')
+                      .slice(0, 2)
+                      .join('-')
+                  }
+                }
+                if (value === '日') {
+                  if (oldValue === '年') {
+                    this.formData.dateTime[0] = `${dateTime[0].split('-')[0]
+                      }-01-01`
+                    this.formData.dateTime[1] = `${dateTime[1].split('-')[0]
+                      }-12-31`
+                  }
+                  if (oldValue === '月') {
+                    this.formData.dateTime[0] = `${dateTime[0]
+                      .split('-')
+                      .slice(0, 2)
+                      .join('-')}-01`
+                    let [year, month] = dateTime[1].split('-')
+                    if (month === '12') {
+                      year = Number(year) + 1
+                      month = 1
+                    } else {
+                      month = Number(month) + 1
+                    }
+                    const day = 24 * 60 * 60 * 1000
+                    this.formData.dateTime[1] = parseTime(
+                      new Date(`${year}-${month}-01`) - day * 1,
+                      '{y}-{m}-{d}'
+                    )
+                  }
+                }
+              }
+            }
+          },
+        },
+        {
+          prop: 'aircompany',
+          inputType: 'select',
+          placeholder: '航司',
+          filterable: true,
+          queryId: SERVICE_ID.AirlinportId,
+          setKey: 'ITATCode',
+          requiredWarning: '请先选择航司',
+          options: [],
+        },{
+          prop: 'status',
+          inputType: 'select',
+          placeholder: '全部',
+          requiredWarning: '请先选择行李状态',
+          filterable: true,
+          options: [{
+              value: '正常',
+              label: "正常",
+            },{
+              value: '取消',
+              label: "取消",
+            },{
+              value: '全部',
+              label: "全部",
+            }],
+        },
+        {
+          prop: 'dateTime',
+          inputType: 'datePicker',
+          width: '240px',
+          requiredWarning: '请先选择时间范围',
+        },
+      ],
+    }
+  },
+  methods: {
+    async getAgentOptions (airport) {
+      try {
+        const { code, returnData, message } = await Query({
+          serviceId: SERVICE_ID.agentCode,
+          dataContent: [
+            {
+              airport,
+            },
+          ],
+        })
+        if (String(code) === '0') {
+          const listValues = returnData.listValues || returnData
+          // this.formItems[2].options = listValues.map(element => ({
+          //   label: element.agent_number,
+          //   value: element.agent_number,
+          // }))
+        } else {
+          this.$message.error(message)
+        }
+      } catch (error) {
+        this.$message.error('失败')
+      }
+    },
+  },
+}
+</script>

+ 174 - 0
src/views/statisticsCharts/views/passenger/passengerrouteStatisticsCharts.vue

@@ -0,0 +1,174 @@
+<template>
+  <CommonBarStatisticsCharts charts-title="航线旅客量" :query-settings="querySettings" :form-data="formData" :form-items="formItems" />
+</template>
+
+<script>
+import CommonBarStatisticsCharts from '../../components/newBarStatisticsCharts.vue'
+import { Query } from '@/api/webApi'
+import { parseTime } from '@/utils'
+
+export default {
+  name: 'WorkloadStatisticsCharts',
+  components: { CommonBarStatisticsCharts },
+  data () {
+    const that = this
+    return {
+      querySettings: {
+        serviceId: SERVICE_ID.passengerroute,
+        seriesKey: 'workload',
+        xAxisKey: 'fd',
+      },
+      formData: {
+        td: '日',
+        // agent_number: '',
+        // airport: '',
+        dateTime: [],
+      },
+      formItems: [
+        {
+          prop: 'td',
+          inputType: 'select',
+          placeholder: '时间维度',
+          requiredWarning: '请先选择统计时间维度',
+          options: [
+            {
+              value: '日',
+              label: '按日统计',
+            },
+            {
+              value: '月',
+              label: '按月统计',
+            },
+            {
+              value: '年',
+              label: '按年统计',
+            },
+          ],
+          changeHandler (value, oldValue) {
+            const typeMap = {
+              日: 'datePicker',
+              月: 'monthPicker',
+              年: 'yearPicker',
+            }
+            const dateTimeItem = this.formItems.find(
+              item => item.prop === 'dateTime'
+            )
+            const formData = this._.cloneDeep(this.formData)
+            if (dateTimeItem) {
+              dateTimeItem.inputType = typeMap[value]
+              const dateTime = formData.dateTime
+              if (dateTime && dateTime[0] && dateTime[1]) {
+                if (value === '年') {
+                  this.formData.dateTime[0] = dateTime[0].split('-')[0]
+                  this.formData.dateTime[1] = dateTime[1].split('-')[0]
+                }
+                if (value === '月') {
+                  if (oldValue === '年') {
+                    this.formData.dateTime[0] = `${dateTime[0].split('-')[0]
+                      }-01`
+                    this.formData.dateTime[1] = `${dateTime[1].split('-')[0]
+                      }-12`
+                  }
+                  if (oldValue === '日') {
+                    this.formData.dateTime[0] = dateTime[0]
+                      .split('-')
+                      .slice(0, 2)
+                      .join('-')
+                    this.formData.dateTime[1] = dateTime[1]
+                      .split('-')
+                      .slice(0, 2)
+                      .join('-')
+                  }
+                }
+                if (value === '日') {
+                  if (oldValue === '年') {
+                    this.formData.dateTime[0] = `${dateTime[0].split('-')[0]
+                      }-01-01`
+                    this.formData.dateTime[1] = `${dateTime[1].split('-')[0]
+                      }-12-31`
+                  }
+                  if (oldValue === '月') {
+                    this.formData.dateTime[0] = `${dateTime[0]
+                      .split('-')
+                      .slice(0, 2)
+                      .join('-')}-01`
+                    let [year, month] = dateTime[1].split('-')
+                    if (month === '12') {
+                      year = Number(year) + 1
+                      month = 1
+                    } else {
+                      month = Number(month) + 1
+                    }
+                    const day = 24 * 60 * 60 * 1000
+                    this.formData.dateTime[1] = parseTime(
+                      new Date(`${year}-${month}-01`) - day * 1,
+                      '{y}-{m}-{d}'
+                    )
+                  }
+                }
+              }
+            }
+          },
+        },
+        {
+          prop: 'line',
+          inputType: 'select',
+          placeholder: '航线',
+          filterable: true,
+          queryId: SERVICE_ID.AirlineIds,
+          setKey: 'air_line',
+          requiredWarning: '请先选择航线',
+          options: [],
+        },{
+          prop: 'status',
+          inputType: 'select',
+          placeholder: '全部',
+          requiredWarning: '请先选择行李状态',
+          filterable: true,
+          options: [{
+              value: '正常',
+              label: "正常",
+            },{
+              value: '取消',
+              label: "取消",
+            },{
+              value: '全部',
+              label: "全部",
+            }],
+        },
+        {
+          prop: 'dateTime',
+          inputType: 'datePicker',
+          width: '240px',
+          requiredWarning: '请先选择时间范围',
+        },
+      ],
+    }
+  },
+  methods: {
+    async getAgentOptions (airport) {
+      try {
+        const { code, returnData, message } = await Query({
+          serviceId: SERVICE_ID.agentCode,
+          dataContent: [
+            {
+              airport,
+            },
+          ],
+        })
+        if (String(code) === '0') {
+          const listValues = returnData.listValues || returnData
+          // this.formItems[2].options = listValues.map(element => ({
+          //   label: element.agent_number,
+          //   value: element.agent_number,
+          // }))
+        } else {
+          this.$message.error(message)
+        }
+      } catch (error) {
+        this.$message.error('失败')
+      }
+    },
+  },
+}
+</script>

+ 192 - 0
src/views/statisticsCharts/views/passenger/terminalpassengersStatisticsCharts.vue

@@ -0,0 +1,192 @@
+<template>
+  <CommonBarStatisticsCharts charts-title="航站旅客量" :query-settings="querySettings" :form-data="formData" :form-items="formItems" />
+</template>
+
+<script>
+import CommonBarStatisticsCharts from '../../components/newBarStatisticsCharts.vue'
+import { Query } from '@/api/webApi'
+import { parseTime } from '@/utils'
+
+export default {
+  name: 'WorkloadStatisticsCharts',
+  components: { CommonBarStatisticsCharts },
+  data () {
+    const that = this
+    return {
+      querySettings: {
+        serviceId: SERVICE_ID.passengerterminal,
+        seriesKey: 'workload',
+        xAxisKey: 'fd',
+      },
+      formData: {
+        td: '日',
+        // agent_number: '',
+        airport: '',
+        dateTime: [],
+      },
+      formItems: [
+        {
+          prop: 'td',
+          inputType: 'select',
+          placeholder: '时间维度',
+          requiredWarning: '请先选择统计时间维度',
+          options: [
+            {
+              value: '日',
+              label: '按日统计',
+            },
+            {
+              value: '月',
+              label: '按月统计',
+            },
+            {
+              value: '年',
+              label: '按年统计',
+            },
+          ],
+          changeHandler (value, oldValue) {
+            const typeMap = {
+              日: 'datePicker',
+              月: 'monthPicker',
+              年: 'yearPicker',
+            }
+            const dateTimeItem = this.formItems.find(
+              item => item.prop === 'dateTime'
+            )
+            const formData = this._.cloneDeep(this.formData)
+            if (dateTimeItem) {
+              dateTimeItem.inputType = typeMap[value]
+              const dateTime = formData.dateTime
+              if (dateTime && dateTime[0] && dateTime[1]) {
+                if (value === '年') {
+                  this.formData.dateTime[0] = dateTime[0].split('-')[0]
+                  this.formData.dateTime[1] = dateTime[1].split('-')[0]
+                }
+                if (value === '月') {
+                  if (oldValue === '年') {
+                    this.formData.dateTime[0] = `${dateTime[0].split('-')[0]
+                      }-01`
+                    this.formData.dateTime[1] = `${dateTime[1].split('-')[0]
+                      }-12`
+                  }
+                  if (oldValue === '日') {
+                    this.formData.dateTime[0] = dateTime[0]
+                      .split('-')
+                      .slice(0, 2)
+                      .join('-')
+                    this.formData.dateTime[1] = dateTime[1]
+                      .split('-')
+                      .slice(0, 2)
+                      .join('-')
+                  }
+                }
+                if (value === '日') {
+                  if (oldValue === '年') {
+                    this.formData.dateTime[0] = `${dateTime[0].split('-')[0]
+                      }-01-01`
+                    this.formData.dateTime[1] = `${dateTime[1].split('-')[0]
+                      }-12-31`
+                  }
+                  if (oldValue === '月') {
+                    this.formData.dateTime[0] = `${dateTime[0]
+                      .split('-')
+                      .slice(0, 2)
+                      .join('-')}-01`
+                    let [year, month] = dateTime[1].split('-')
+                    if (month === '12') {
+                      year = Number(year) + 1
+                      month = 1
+                    } else {
+                      month = Number(month) + 1
+                    }
+                    const day = 24 * 60 * 60 * 1000
+                    this.formData.dateTime[1] = parseTime(
+                      new Date(`${year}-${month}-01`) - day * 1,
+                      '{y}-{m}-{d}'
+                    )
+                  }
+                }
+              }
+            }
+          },
+        },
+        {
+          prop: 'airport',
+          inputType: 'select',
+          placeholder: '航站',
+          filterable: true,
+          queryId: SERVICE_ID.AirportIds,
+          setKey: 'code3',
+          requiredWarning: '请先选择航站',
+          options: [],
+        },
+        {
+          prop: 'iotype',
+          inputType: 'select',
+          placeholder: '进港离港',
+          requiredWarning: '请先选择进港离港',
+          filterable: true,
+          options: [{
+              value: '离港',
+              label: "离港",
+            },{
+              value: '进港',
+              label: "进港",
+            },{
+              value: '中转',
+              label: "中转",
+            }],
+        },
+        {
+          prop: 'status',
+          inputType: 'select',
+          placeholder: '全部',
+          requiredWarning: '请先选择行李状态',
+          filterable: true,
+          options: [{
+              value: '正常',
+              label: "正常",
+            },{
+              value: '取消',
+              label: "取消",
+            },{
+              value: '全部',
+              label: "全部",
+            }],
+        },
+        {
+          prop: 'dateTime',
+          inputType: 'datePicker',
+          width: '240px',
+          requiredWarning: '请先选择时间范围',
+        },
+      ],
+    }
+  },
+  methods: {
+    async getAgentOptions (airport) {
+      try {
+        const { code, returnData, message } = await Query({
+          serviceId: SERVICE_ID.agentCode,
+          dataContent: [
+            {
+              airport,
+            },
+          ],
+        })
+        if (String(code) === '0') {
+          const listValues = returnData.listValues || returnData
+          // this.formItems[2].options = listValues.map(element => ({
+          //   label: element.agent_number,
+          //   value: element.agent_number,
+          // }))
+        } else {
+          this.$message.error(message)
+        }
+      } catch (error) {
+        this.$message.error('失败')
+      }
+    },
+  },
+}
+</script>

+ 51 - 0
src/views/statisticsCharts/views/specialbaggageanalysisStatisticsCharts.vue

@@ -0,0 +1,51 @@
+<template>
+  <CommonPieStatisticsCharts
+    charts-title="特殊行李分析"
+    :query-settings="querySettings"
+    :categories="categories"
+    :form-data="formData"
+    :form-items="formItems"
+  />
+</template>
+
+<script>
+import CommonPieStatisticsCharts from '../components/newPieStatisticsCharts.vue'
+
+export default {
+  name: 'AbnormalBaggageClassificationStatisticsCharts',
+  components: { CommonPieStatisticsCharts },
+
+  data() {
+    return {
+      querySettings: {
+        serviceId: SERVICE_ID.specialbaggageanalysis,
+      },
+      categories: ['小动物', '机组', '枪支', '其它', '超规'],
+      formData: {
+        dateTime: [],
+        airport: '',
+      },
+      formItems: [
+        {
+          prop: 'airport',
+          inputType: 'select',
+          placeholder: '航站',
+          width: '150px',
+          filterable: true,
+          // multiple: true,
+          queryId: SERVICE_ID.AirportIds,
+          setKey: 'code3',
+          requiredWarning: '请先选择航站',
+          options: [],
+        },
+        {
+          prop: 'dateTime',
+          inputType: 'datePicker',
+          width: '240px',
+          requiredWarning: '请先选择统计时间范围',
+        },
+      ],
+    }
+  },
+}
+</script>

+ 132 - 0
src/views/statisticsCharts/views/transitTables.vue

@@ -0,0 +1,132 @@
+<template>
+  <!-- 中转四个流向统计 -->
+  <div class="statstics-wrapper">
+    <StatisticsHeader title="中转四个流向统计" :items="formItems" :data.sync="formData" with-setting :withSetting="false" @export="exportup" @getFormData="getFormData" />
+    <!-- <Tableformcp
+      :isloadings="isloadings"
+      :rows="12"
+      label-width="140px"
+      :min-height="70"
+      width="800px"
+      tableHeight="750"
+    /> -->
+    <Tableformbrs :data-id="dataId" upid="4" :textShow="textShow" :isloadings="isloadings" :data-content="dataContent" :rows="12" label-width="140px" :min-height="70" width="800px" tableHeight="750" @cell-click="cellClickHandler" />
+    <TableDialog :flag.sync="dialogFlag" :query-params="queryParams" with-setting :title="dialogTitle" />
+  </div>
+</template>
+<script>
+import StatisticsHeader from '../components/statisticsHeader.vue'
+// import Tableformcp from "../../components/tableformcp";
+import Tableformbrs from '../components/tableformbrs'
+import TableDialog from '../components/TableDialog.vue'
+import { Format } from '@/utils/validate'
+export default {
+  name: 'ReportStatistics',
+  data () {
+    return {
+      textShow: null,
+      formData: {
+        airport: '',
+        dateTime: [],
+        company: ['国航'],
+        timedim: '',
+        trd: [],
+      },
+      isloadings: 1,
+      dataContent: [],
+      dataId: SERVICE_ID.transferBaggageDirection,
+      formItems: [
+      {
+          prop: 'airport',
+          inputType: 'select',
+          placeholder: '航站',
+          filterable: true,
+          queryId: SERVICE_ID.AirportIds,
+          setKey: 'code3',
+          requiredWarning: '请先选择航站',
+          options: [],
+        },
+        {
+          prop: 'dateTime',
+          inputType: 'datePicker',
+          clearable: true,
+          width: '240px',
+          options: [],
+        },
+      ],
+      dialogFlag: false,
+      dialogTitle: '',
+      queryParams: [],
+    }
+  },
+  components: {
+    StatisticsHeader,
+    // Tableformcp,
+    Tableformbrs,
+    TableDialog,
+  },
+  mounted () {
+    // this.dataContent = [
+    //   ...Array(3).fill(this.formData.timedim || '日'),
+    //   this.formData.airport || 'PEK',
+    //   this.formData.dateTime[0] || Format('yyyy-MM-dd', new Date()),
+    //   this.formData.dateTime[1] || Format('yyyy-MM-dd', new Date()),
+    //   ...Array(4).fill(this.formData.company?.join(',') || '国航'),
+    // ]
+  },
+  methods: {
+    getFormData (data) {
+      this.textShow = data.trd
+      this.dataContent = [{
+        airport: data.airport,
+        fd1: data.dateTime[0],
+        fd2: data.dateTime[1]
+      }]
+      // this.dataContent = [
+      //   ...Array(3).fill(data.timedim || '日'),
+      //   data.airport || 'PEK',
+      //   data.dateTime[0] || Format('yyyy-MM-dd', new Date()),
+      //   data.dateTime[1] || Format('yyyy-MM-dd', new Date()),
+      //   ...Array(4).fill(this.formData.company?.join(',') || '国航'),
+      // ]
+    },
+    exportup () {
+      this.isloadings = this.isloadings += 1
+    },
+    cellClickHandler (row, column, cell, event) {
+      if (
+        column.property.includes('trans_bag') &&
+        row[column.property] &&
+        Number(row[column.property])
+      ) {
+        const queryParams = [
+          this.formData.airport || 'PEK',
+          row.fd || Format('yyyy-MM-dd', new Date()),
+          row.fd || Format('yyyy-MM-dd', new Date()),
+          ...Array(4).fill(this.formData.company?.join(',') || '国航'),
+        ]
+        const flow = column.property
+          .split('_')
+          .pop()
+          .toUpperCase()
+          .split('')
+          .join('-')
+        queryParams.push(...Array(4).fill(flow))
+        queryParams.push(...Array(4).fill(null))
+        const processMap = {
+          need: '需中转',
+          finish: '已中转',
+          not: '未中转',
+        }
+        const process = processMap[column.property.split('_')[0]]
+        queryParams.push(...Array(3).fill(process))
+        // console.log(queryParams)
+        this.queryParams = queryParams
+        this.dialogTitle = column.label
+        this.dialogFlag = true
+      }
+    },
+  },
+}
+</script>
+<style lang="scss" scoped></style>