chenrui  1 年之前
父节点
当前提交
b33307b779

+ 4 - 1
src/views/statisticsCharts/components/newBarStatisticsCharts.vue

@@ -12,7 +12,7 @@
     >
     <PublicPageHeader class="TablePage_header" :page-title="dataTitle ? dataTitle : pageTitle">
       <template slot="d_foot">
-        <SimpleQuery v-if="simpleQueryFlag" :selectOptions="advancedQueryValue" :simple-query-item="simpleQueryItem" @queryValue="queryValue" />
+        <SimpleQuery v-if="simpleQueryFlag" :selectOptions="advancedQueryValue" :simple-query-item="simpleQueryItem" @queryValue="queryValue" @changeSelect="changeSelect"/>
       </template>
     </PublicPageHeader>
       <!-- <StatisticsHeader
@@ -453,6 +453,9 @@ export default {
         return Promise.reject(error.message || '失败')
       }
     },
+    changeSelect(data){
+      this.admin.io = data
+    },
     setChartsData(listValues) {
       const xAxisData = []
       const yAxisData = [0]

+ 2 - 0
src/views/statisticsCharts/views/baggage/baggageAllStatisticsCharts.vue

@@ -18,6 +18,8 @@ export default {
     return {
       querySettings: {
         serviceid: '',
+        xAxisKey: 'flight_date',
+        // seriesKey: 'out_num'
       },
       formData: {
         td: '日',