Эх сурвалжийг харах

修改路由、修改统计表

chenrui  2 жил өмнө
parent
commit
68c443743c

+ 1 - 1
public/config.js

@@ -108,7 +108,7 @@ window.DATACONTENT_ID = {
   bagTableId: 55, //基础数据-特殊行李维护-表格-id
 
   /***-----统计分析------***/
-
+  scanQueryId: 1803427,//统计Mannual Load扫描数据统计表、航易行RFID扫描数据统计表
   stOrderId: 18012,
   stOrderChartId: 18013,
   stCalId: 18014,

+ 9 - 1
src/components/Table/index.vue

@@ -354,6 +354,14 @@
                       >
                       </el-date-picker>
                     </template>
+                    <template v-else-if="item.dataType == 'number'">
+                      <el-input
+                        size="small"
+                        v-model.number="tableForm[item.columnName]"
+                        onkeyup="value=value.replace(/[^1-9]/g,'')"
+                        @change="inputChangeHandler(item.columnName)"
+                      ></el-input>
+                    </template>
                     <template v-else>
                       <el-input
                         size="small"
@@ -1047,7 +1055,7 @@ export default {
     async handleEdit(row) {
       if (this.tableup) {
         this.$router.push({
-          path: "/systemSettings/warningEdit",
+          path: "/BasicsData/warningEdit",
           query: {
             id: row.alarmSceneId,
           },

+ 23 - 0
src/router/routes/routes-file-one.js

@@ -130,6 +130,29 @@ const BasicsDataRoutes = {
           src: require("@/assets/nav/ic_data_top_default @2x.png"),
           srcer: require("@/assets/nav/ic_data_top_check@2x.png"),
         },
+        {
+          path: '/BasicsData/warningSet',
+          name: 'warningSet',
+          component: { render(c) { return c('router-view') } },
+          meta: { title: '报警预警设置' },
+          hidden: true,
+          src: require('@/assets/nav/ic_setting_top_default.png'),
+          srcer: require('@/assets/nav/ic_setting_top_check.png'),
+          children: [{
+            path: '/BasicsData/warningSet',
+            component: () => import('@/views/systemSettings/views/warningSet/warningSet'),
+          },
+          {
+            path: '/BasicsData/warningEdit',
+            name: 'warningEdit',
+            component: () => import('@/views/systemSettings/views/warningSet/warningEdit'),
+            meta: { title: '报警预警设置' },
+            hidden: false,
+            isAlone: true,
+            src: require('@/assets/nav/ic_setting_top@2x.png')
+          },
+          ]
+        },
         // {
         //   path: '/BasicsData/airportChild',
         //   name: 'airportChild',

+ 14 - 0
src/router/routes/routes-file-six.js

@@ -239,6 +239,20 @@ const statisticsChartsRoutes = {
               hidden: true,
               component: () => import('@/views/statisticsCharts/views/report/scanningStatistics'),
               meta: { title: '航站BRS扫描统计', roles: ['scanning_node_and_location_analysis'] }
+            },
+            {
+              path: 'scanDataTable',
+              name: 'scanDataTable',
+              hidden: true,
+              component: () => import('@/views/statisticsCharts/views/report/scanDataTable'),
+              meta: { title: 'Mannual Load扫描数据统计表', roles: ['scanning_node_and_location_analysis'] }
+            },
+            {
+              path: 'rfldTable',
+              name: 'rfldTable',
+              hidden: true,
+              component: () => import('@/views/statisticsCharts/views/report/rfldTable'),
+              meta: { title: '航易行RFID扫描数据统计表', roles: ['scanning_node_and_location_analysis'] }
             }
           ]
         },

+ 23 - 23
src/router/routes/routes-file-two.js

@@ -193,29 +193,29 @@ const systemSettingsRoutes = {
           src: require('@/assets/nav/ic_setting_top_default.png'),
           srcer: require('@/assets/nav/ic_setting_top_check.png')
         },
-        {
-          path: '/systemSettings/warningSet',
-          name: 'warningSet',
-          component: { render(c) { return c('router-view') } },
-          meta: { title: '报警预警设置' },
-          hidden: true,
-          src: require('@/assets/nav/ic_setting_top_default.png'),
-          srcer: require('@/assets/nav/ic_setting_top_check.png'),
-          children: [{
-            path: '/systemSettings/warningSet',
-            component: () => import('@/views/systemSettings/views/warningSet/warningSet'),
-          },
-          {
-            path: '/systemSettings/warningEdit',
-            name: 'warningEdit',
-            component: () => import('@/views/systemSettings/views/warningSet/warningEdit'),
-            meta: { title: '报警预警设置' },
-            hidden: false,
-            isAlone: true,
-            src: require('@/assets/nav/ic_setting_top@2x.png')
-          },
-          ]
-        },
+        // {
+        //   path: '/systemSettings/warningSet',
+        //   name: 'warningSet',
+        //   component: { render(c) { return c('router-view') } },
+        //   meta: { title: '报警预警设置' },
+        //   hidden: true,
+        //   src: require('@/assets/nav/ic_setting_top_default.png'),
+        //   srcer: require('@/assets/nav/ic_setting_top_check.png'),
+        //   children: [{
+        //     path: '/systemSettings/warningSet',
+        //     component: () => import('@/views/systemSettings/views/warningSet/warningSet'),
+        //   },
+        //   {
+        //     path: '/systemSettings/warningEdit',
+        //     name: 'warningEdit',
+        //     component: () => import('@/views/systemSettings/views/warningSet/warningEdit'),
+        //     meta: { title: '报警预警设置' },
+        //     hidden: false,
+        //     isAlone: true,
+        //     src: require('@/assets/nav/ic_setting_top@2x.png')
+        //   },
+        //   ]
+        // },
         // {
         //   path: '/systemSettings/servicedeployment',
         //   name: 'servicedeployment',

+ 133 - 132
src/views/statisticsCharts/components/statisticsTabs.vue

@@ -1,14 +1,7 @@
 <template>
   <div class="statistics-tabs">
-    <el-row
-      :gutter="16"
-      type="flex"
-    >
-      <el-col
-        v-for="(tab, index) in newTabList"
-        :key="index"
-        :span="4"
-      >
+    <el-row :gutter="16" type="flex">
+      <el-col v-for="(tab, index) in newTabList" :key="index" :span="4">
         <el-dropdown
           v-if="tab.children && tab.children.length"
           placement="bottom"
@@ -20,10 +13,7 @@
               :src="activeIndex === index ? activeIcon : defaultIcon"
               :alt="tab.title"
             />
-            <el-tooltip
-              :content="tab.title"
-              placement="top"
-            >
+            <el-tooltip :content="tab.title" placement="top">
               <span class="tab-title">{{ tab.title }}</span>
             </el-tooltip>
             <i class="icon-arrow el-icon-caret-bottom" />
@@ -33,12 +23,16 @@
               v-for="(childTab, childIndex) in tab.children"
               :key="childIndex"
               :command="[tab.path, childTab.path]"
-            >{{ childTab.title }}</el-dropdown-item>
+              >{{ childTab.title }}</el-dropdown-item
+            >
           </el-dropdown-menu>
         </el-dropdown>
         <div
           v-else
-          :class="['tab-bar tab-bar-single', { 'tab-active': activeIndex === index }]"
+          :class="[
+            'tab-bar tab-bar-single',
+            { 'tab-active': activeIndex === index },
+          ]"
           @click="clickHandler(tab.path)"
         >
           <img
@@ -46,10 +40,7 @@
             :src="activeIndex === index ? activeIcon : defaultIcon"
             :alt="tab.title"
           />
-          <el-tooltip
-            :content="tab.title"
-            placement="top"
-          >
+          <el-tooltip :content="tab.title" placement="top">
             <span class="tab-title">{{ tab.title }}</span>
           </el-tooltip>
         </div>
@@ -60,207 +51,217 @@
 
 <script>
 export default {
-  name: 'StatisticsTabs',
+  name: "StatisticsTabs",
   data() {
     return {
-      defaultIcon: require('@/assets/nav/ic_statistical_top_default.png'),
-      activeIcon: require('@/assets/nav/ic_statistical_top_check.png'),
+      defaultIcon: require("@/assets/nav/ic_statistical_top_default.png"),
+      activeIcon: require("@/assets/nav/ic_statistical_top_check.png"),
       tabList: [
         {
-          title: '航司行李相关统计',
-          path: '/statisticsCharts/airlineCompany',
-          roles: ['airline_baggage_statistics'],
+          title: "航司行李相关统计",
+          path: "/statisticsCharts/airlineCompany",
+          roles: ["airline_baggage_statistics"],
           children: [
             {
-              path: 'flight',
-              title: '航班量统计'
+              path: "flight",
+              title: "航班量统计",
             },
             {
-              path: 'baggage',
-              title: '行李量统计'
+              path: "baggage",
+              title: "行李量统计",
             },
             {
-              path: 'baggagePassenger',
-              title: '行李旅客量统计'
+              path: "baggagePassenger",
+              title: "行李旅客量统计",
             },
             {
-              path: 'specialBaggage',
-              title: '特殊行李量统计'
+              path: "specialBaggage",
+              title: "特殊行李量统计",
             },
             {
-              path: 'baggageAverage',
-              title: '平均行李量统计'
+              path: "baggageAverage",
+              title: "平均行李量统计",
             },
             {
-              path: 'abnormalBaggage',
-              title: '异常行李量统计'
+              path: "abnormalBaggage",
+              title: "异常行李量统计",
             },
             {
-              path: 'complaintBaggage',
-              title: '投诉行李量统计'
+              path: "complaintBaggage",
+              title: "投诉行李量统计",
             },
             {
-              path: 'compensationBaggage',
-              title: '赔偿行李量统计'
+              path: "compensationBaggage",
+              title: "赔偿行李量统计",
             },
             {
-              path: 'compensation',
-              title: '赔偿金额统计'
-            }
-          ]
+              path: "compensation",
+              title: "赔偿金额统计",
+            },
+          ],
         },
         {
-          path: '/statisticsCharts/passengerClassification',
-          title: '旅客分类统计',
-          roles: ['passenger_luggage_classification_statistics'],
+          path: "/statisticsCharts/passengerClassification",
+          title: "旅客分类统计",
+          roles: ["passenger_luggage_classification_statistics"],
           children: [
             {
-              path: 'baggage',
-              title: '行李量统计'
+              path: "baggage",
+              title: "行李量统计",
             },
             {
-              path: 'baggagePassenger',
-              title: '行李旅客量统计'
+              path: "baggagePassenger",
+              title: "行李旅客量统计",
             },
             {
-              path: 'specialBaggage',
-              title: '特殊行李量统计'
+              path: "specialBaggage",
+              title: "特殊行李量统计",
             },
             {
-              path: 'abnormalBaggage',
-              title: '异常行李量统计'
+              path: "abnormalBaggage",
+              title: "异常行李量统计",
             },
             {
-              path: 'complaintBaggage',
-              title: '投诉行李量统计'
+              path: "complaintBaggage",
+              title: "投诉行李量统计",
             },
             {
-              path: 'compensationBaggage',
-              title: '赔偿行李量统计'
+              path: "compensationBaggage",
+              title: "赔偿行李量统计",
             },
             {
-              path: 'compensation',
-              title: '赔偿金额统计'
-            }
-          ]
+              path: "compensation",
+              title: "赔偿金额统计",
+            },
+          ],
         },
         {
-          path: '/statisticsCharts/flightClassification',
-          title: '航班分类相关统计',
-          roles: ['statistics_related_to_flight_classification'],
+          path: "/statisticsCharts/flightClassification",
+          title: "航班分类相关统计",
+          roles: ["statistics_related_to_flight_classification"],
           children: [
             {
-              path: 'flight',
-              title: '航班量统计'
+              path: "flight",
+              title: "航班量统计",
             },
             {
-              path: 'baggage',
-              title: '行李量统计'
+              path: "baggage",
+              title: "行李量统计",
             },
             {
-              path: 'passenger',
-              title: '行李旅客量统计'
-            }
-          ]
+              path: "passenger",
+              title: "行李旅客量统计",
+            },
+          ],
         },
         {
-          path: '/statisticsCharts/node',
-          title: '扫描节点与位置分析',
-          roles: ['scanning_node_and_location_analysis']
+          path: "/statisticsCharts/node",
+          title: "扫描节点与位置分析",
+          roles: ["scanning_node_and_location_analysis"],
         },
         {
-          title: '报表统计',
-          path: '/statisticsCharts/report',
-          roles: ['report_statistics'],
+          title: "报表统计",
+          path: "/statisticsCharts/report",
+          roles: ["report_statistics"],
           children: [
             {
-              path: 'reportStatistics',
-              title: '运送效率报表统计'
+              path: "reportStatistics",
+              title: "运送效率报表统计",
+            },
+            {
+              path: "transitTable",
+              title: "中转专项报表统计",
+            },
+            {
+              path: "ScanningStatistics",
+              title: "航站BRS扫描统计",
             },
             {
-              path: 'transitTable',
-              title: '中转专项报表统计'
+              path: "scanDataTable",
+              title: "Mannual Load扫描数据统计表",
             },
             {
-              path: 'ScanningStatistics',
-              title: '航站BRS扫描统计'
-            }
-          ]
+              path: "rfldTable",
+              title: "航易行RFID扫描数据统计表",
+            },
+          ],
         },
         {
-          title: '特殊赔偿异常分类统计',
-          path: '/statisticsCharts/specialClassification',
-          roles: ['special_compensation_exception_classification_statistics'],
+          title: "特殊赔偿异常分类统计",
+          path: "/statisticsCharts/specialClassification",
+          roles: ["special_compensation_exception_classification_statistics"],
           children: [
             {
-              path: 'special',
-              title: '特殊行李分类统计'
+              path: "special",
+              title: "特殊行李分类统计",
             },
             {
-              path: 'abnormal',
-              title: '异常行李分类统计'
+              path: "abnormal",
+              title: "异常行李分类统计",
             },
             {
-              path: 'compensationBaggage',
-              title: '赔偿行李分类统计'
+              path: "compensationBaggage",
+              title: "赔偿行李分类统计",
             },
             {
-              path: 'compensation',
-              title: '赔偿金额分类统计'
-            }
-          ]
+              path: "compensation",
+              title: "赔偿金额分类统计",
+            },
+          ],
         },
         {
-          path: '/statisticsCharts/statisticalAnalysis',
-          title: '统计分析',
-          roles: ['statistical_analysis']
-        }
+          path: "/statisticsCharts/statisticalAnalysis",
+          title: "统计分析",
+          roles: ["statistical_analysis"],
+        },
       ],
-      activeIndex: null
-    }
+      activeIndex: null,
+    };
   },
   computed: {
     newTabList() {
-      const auths = JSON.parse(sessionStorage.getItem('userAuthList'))
-      return this.tabList.filter(tab => !tab.roles || tab.roles.every(role => auths.includes(role)))
-    }
+      const auths = JSON.parse(sessionStorage.getItem("userAuthList"));
+      return this.tabList.filter(
+        (tab) => !tab.roles || tab.roles.every((role) => auths.includes(role))
+      );
+    },
   },
   watch: {
-    '$route.path': {
+    "$route.path": {
       handler(path) {
-        let activeIndex = null
+        let activeIndex = null;
         this.newTabList.some((tab, index) => {
           if (path.includes(tab.path)) {
-            activeIndex = index
-            return true
+            activeIndex = index;
+            return true;
           }
-        })
-        this.activeIndex = activeIndex
+        });
+        this.activeIndex = activeIndex;
       },
-      immediate: true
-    }
+      immediate: true,
+    },
   },
   methods: {
     commandHandler(pathArray) {
-      if (pathArray.some(path => !path)) {
-        this.$message.info('开发中')
-        return
+      if (pathArray.some((path) => !path)) {
+        this.$message.info("开发中");
+        return;
       }
       this.$router.push({
-        path: pathArray.join('/')
-      })
+        path: pathArray.join("/"),
+      });
     },
     clickHandler(path) {
       if (!path) {
-        this.$message.info('开发中')
-        return
+        this.$message.info("开发中");
+        return;
       }
       this.$router.push({
-        path
-      })
-    }
-  }
-}
+        path,
+      });
+    },
+  },
+};
 </script>
 
 <style lang="scss" scoped>
@@ -295,7 +296,7 @@ export default {
         padding-left: 12px;
         padding-right: 8px;
         font-size: 14px;
-        font-family: Helvetica, 'Microsoft YaHei';
+        font-family: Helvetica, "Microsoft YaHei";
         font-weight: bold;
         color: #101116;
         letter-spacing: 0;

+ 63 - 14
src/views/statisticsCharts/components/tableformbrs.vue

@@ -1,7 +1,14 @@
 <template>
   <div class="data-table">
-    <div :style="dataTableContentStyle" v-loading="loading" element-loading-text="拼命加载中" element-loading-spinner="el-icon-loading" element-loading-background="rgba(0, 0, 0, 0.8)" class="data-table-content">
-      <template v-if="tableData.length">
+    <div
+      :style="dataTableContentStyle"
+      v-loading="loading"
+      element-loading-text="拼命加载中"
+      element-loading-spinner="el-icon-loading"
+      element-loading-background="rgba(0, 0, 0, 0.8)"
+      class="data-table-content"
+    >
+      <template v-if="tableData.length && upid == 1">
         <el-table :data="tableData" style="width: 100%" ref="userTableData">
           <el-table-column label="PEK国航行李BRS扫描数据统计表">
             <el-table-column prop="A" label="航站"> </el-table-column>
@@ -25,6 +32,34 @@
           </el-table-column>
         </el-table>
       </template>
+      <template v-else-if="tableData.length && upid == 2">
+        <el-table :data="tableData" style="width: 100%" ref="userTableDatard">
+          <el-table-column label="Mannual Load扫描数据统计表">
+            <el-table-column prop="A" label="日期"> </el-table-column>
+            <el-table-column prop="total" label="总件数"> </el-table-column>
+            <el-table-column prop="se" label="安检"> </el-table-column>
+            <el-table-column prop="sort" label="分拣"> </el-table-column>
+            <el-table-column prop="loadcar" label="装车"> </el-table-column>
+            <el-table-column prop="loadairplain" label="装机">
+            </el-table-column>
+            <el-table-column prop="arrive" label="到达"> </el-table-column>
+          </el-table-column>
+        </el-table>
+      </template>
+      <template v-else-if="tableData.length && upid == 3">
+        <el-table :data="tableData" style="width: 100%" ref="TableDatardrfid">
+          <el-table-column label="航易行RFID扫描数据统计表">
+            <el-table-column prop="A" label="日期"> </el-table-column>
+            <el-table-column prop="total" label="总件数"> </el-table-column>
+            <el-table-column prop="se" label="安检"> </el-table-column>
+            <el-table-column prop="sort" label="分拣"> </el-table-column>
+            <el-table-column prop="loadcar" label="装车"> </el-table-column>
+            <el-table-column prop="loadairplain" label="装机">
+            </el-table-column>
+            <el-table-column prop="arrive" label="到达"> </el-table-column>
+          </el-table-column>
+        </el-table>
+      </template>
       <template v-else>
         <NoData image-width="auto" image-height="100%" />
       </template>
@@ -48,12 +83,15 @@ export default {
     isloadings: {
       type: Number,
     },
+    upid: {
+      type: [String, Number],
+    },
     dataContent: {
       type: Array,
       default: () => [],
     },
   },
-  data () {
+  data() {
     return {
       loading: false,
       page: 0,
@@ -78,7 +116,7 @@ export default {
   },
   watch: {
     dataContent: {
-      handler (val) {
+      handler(val) {
         if (val) {
           this.getQuery();
         }
@@ -86,13 +124,13 @@ export default {
       deep: true,
     },
     isloadings: {
-      handler (val) {
+      handler(val) {
         this.downFile();
       },
     },
   },
   computed: {
-    dataTableContentStyle () {
+    dataTableContentStyle() {
       const style = {};
       if (this.minHeight) {
         style["min-height"] = this.minHeight;
@@ -103,12 +141,12 @@ export default {
       return style;
     },
   },
-  mounted () {
+  mounted() {
     // this.getQuery();
   },
   methods: {
     //获取表格数据
-    async getQuery () {
+    async getQuery() {
       try {
         this.loading = true;
         const { code, returnData } = await Query({
@@ -144,14 +182,25 @@ export default {
       } catch (error) {
         this.page--;
         this.loading = false;
-
       }
     },
-    downFile () {
-      let tableName = "PEK国航行李BRS扫描数据统计表";
-      const table = this.$refs["userTableData"].$el.cloneNode(true);
-      const fileName = `${tableName}.xlsx`;
-      throttledExportToExcel(table, tableName, fileName);
+    downFile() {
+      if (this.upid == 1) {
+        let tableName = "PEK国航行李BRS扫描数据统计表";
+        const table = this.$refs["userTableData"].$el.cloneNode(true);
+        const fileName = `${tableName}.xlsx`;
+        throttledExportToExcel(table, tableName, fileName);
+      } else if (this.upid == 2) {
+        let tableName = "Mannual Load扫描数据统计表";
+        const table = this.$refs["userTableDatard"].$el.cloneNode(true);
+        const fileName = `${tableName}.xlsx`;
+        throttledExportToExcel(table, tableName, fileName);
+      } else if (this.upid == 3) {
+        let tableName = "航易行RFID扫描数据统计表";
+        const table = this.$refs["TableDatardrfid"].$el.cloneNode(true);
+        const fileName = `${tableName}.xlsx`;
+        throttledExportToExcel(table, tableName, fileName);
+      }
     },
   },
 };

+ 116 - 0
src/views/statisticsCharts/views/report/rfldTable.vue

@@ -0,0 +1,116 @@
+<template>
+  <!-- 航易行RFID扫描数据统计表 -->
+  <div class="statstics-wrapper">
+    <StatisticsHeader
+      title="航易行RFID扫描数据统计表"
+      :items="formItems"
+      :data="formData"
+      with-setting
+      :withSetting="false"
+      @getFormData="getFormData"
+      @export="exportup"
+    />
+    <Tableformbrs
+      :data-id="dataId"
+      upid="3"
+      :isloadings="isloadings"
+      :data-content="dataContent"
+      :rows="12"
+      label-width="140px"
+      :min-height="70"
+      width="800px"
+      tableHeight="750"
+    />
+  </div>
+</template>
+<script>
+import StatisticsHeader from "../../components/statisticsHeader.vue";
+import Tableformbrs from "../../components/tableformbrs";
+export default {
+  name: "ReportStatistics",
+  data() {
+    return {
+      formData: {
+        airport: "",
+        dateTime: "",
+      },
+      formItems: [
+        {
+          prop: "airport",
+          inputType: "select",
+          placeholder: "航站选择",
+          filterable: true,
+          clearable: true,
+          // multiple: true,
+          // disabled: true,
+          queryId: DATACONTENT_ID.termSeleid,
+          setKey: "a2",
+          options: [],
+        },
+        {
+          prop: "interval",
+          inputType: "select",
+          placeholder: "时间维度",
+          requiredWarning: "请先选择统计时间维度",
+          clearable: true,
+          options: [
+            {
+              value: "日",
+              label: "按日统计",
+            },
+            {
+              value: "月",
+              label: "按月统计",
+            },
+            {
+              value: "季",
+              label: "按季统计",
+            },
+            {
+              value: "年",
+              label: "按年统计",
+            },
+          ],
+        },
+        {
+          prop: "dateTime",
+          inputType: "datePicker",
+          clearable: true,
+          width: "240px",
+          options: [],
+        },
+      ],
+      dataId: DATACONTENT_ID.scanQueryId,
+      dataContent: [],
+      isloadings: 1,
+      tableData: [],
+      loading: false,
+      page: 0,
+      serviceId: null,
+      rowTitle: "",
+      tableCols: [], //表头数据
+    };
+  },
+  components: {
+    StatisticsHeader,
+    Tableformbrs,
+  },
+  methods: {
+    getFormData(data) {
+      this.dataContent = [];
+      this.dataContent.push(
+        data.interval,
+        data.airport,
+        data.dateTime[0] ? data.dateTime[0] : "",
+        data.dateTime[1] ? data.dateTime[1] : "",
+        "航易行101"
+      );
+    },
+    exportup() {
+      this.isloadings = this.isloadings += 1;
+    },
+  },
+};
+</script>
+<style lang="scss" scoped>
+</style>

+ 116 - 0
src/views/statisticsCharts/views/report/scanDataTable.vue

@@ -0,0 +1,116 @@
+<template>
+  <!-- Mannual Load扫描数据统计表 -->
+  <div class="statstics-wrapper">
+    <StatisticsHeader
+      title="Mannual Load扫描数据统计表"
+      :items="formItems"
+      :data="formData"
+      with-setting
+      :withSetting="false"
+      @getFormData="getFormData"
+      @export="exportup"
+    />
+    <Tableformbrs
+      :data-id="dataId"
+      upid="2"
+      :isloadings="isloadings"
+      :data-content="dataContent"
+      :rows="12"
+      label-width="140px"
+      :min-height="70"
+      width="800px"
+      tableHeight="750"
+    />
+  </div>
+</template>
+<script>
+import StatisticsHeader from "../../components/statisticsHeader.vue";
+import Tableformbrs from "../../components/tableformbrs";
+export default {
+  name: "ReportStatistics",
+  data() {
+    return {
+      formData: {
+        airport: "",
+        dateTime: "",
+      },
+      formItems: [
+        {
+          prop: "airport",
+          inputType: "select",
+          placeholder: "航站选择",
+          filterable: true,
+          clearable: true,
+          // multiple: true,
+          // disabled: true,
+          queryId: DATACONTENT_ID.termSeleid,
+          setKey: "a2",
+          options: [],
+        },
+        {
+          prop: "interval",
+          inputType: "select",
+          placeholder: "时间维度",
+          requiredWarning: "请先选择统计时间维度",
+          clearable: true,
+          options: [
+            {
+              value: "日",
+              label: "按日统计",
+            },
+            {
+              value: "月",
+              label: "按月统计",
+            },
+            {
+              value: "季",
+              label: "按季统计",
+            },
+            {
+              value: "年",
+              label: "按年统计",
+            },
+          ],
+        },
+        {
+          prop: "dateTime",
+          inputType: "datePicker",
+          clearable: true,
+          width: "240px",
+          options: [],
+        },
+      ],
+      dataId: DATACONTENT_ID.scanQueryId,
+      dataContent: [],
+      isloadings: 1,
+      tableData: [],
+      loading: false,
+      page: 0,
+      serviceId: null,
+      rowTitle: "",
+      tableCols: [], //表头数据
+    };
+  },
+  components: {
+    StatisticsHeader,
+    Tableformbrs,
+  },
+  methods: {
+    getFormData(data) {
+      this.dataContent = [];
+      this.dataContent.push(
+        data.interval,
+        data.airport,
+        data.dateTime[0] ? data.dateTime[0] : "",
+        data.dateTime[1] ? data.dateTime[1] : "",
+        "星盟100"
+      );
+    },
+    exportup() {
+      this.isloadings = this.isloadings += 1;
+    },
+  },
+};
+</script>
+<style lang="scss" scoped>
+</style>

+ 1 - 0
src/views/statisticsCharts/views/report/scanningStatistics.vue

@@ -11,6 +11,7 @@
       @export="exportup"
     />
     <Tableformbrs
+      upid="1"
       :data-id="dataId"
       :isloadings="isloadings"
       :data-content="dataContent"