<template>
    <div>
        <a-tabs v-model:activeKey="activeKey">
            <a-tab-pane tab="监测数据报送表" key="base" >
              <base-statistic :searchForm="searchForm" :filterKeys="filterKeys" @search="changeSearch" @changeFilter="changeFilter" :visiable="activeKey=='base'"></base-statistic>
            </a-tab-pane>

            <a-tab-pane tab="水质类别" key="base2" >
              <water-quality :searchForm="searchForm" :filterKeys="filterKeys" @search="changeSearch" @changeFilter="changeFilter" :visiable="activeKey=='base2'"></water-quality>
            </a-tab-pane>

            <a-tab-pane tab="水质达标情况" key="base8" >
              <water-quality-up :searchForm="searchForm" :filterKeys="filterKeys" @search="changeSearch" @changeFilter="changeFilter" :visiable="activeKey=='base8'"></water-quality-up>
            </a-tab-pane>

            <!-- <a-tab-pane tab="报送情况说明表" key="base1">
              <county-appraise  :searchForm="searchForm" :filterKeys="filterKeys" @search="changeSearch" @changeFilter="changeFilter" :visiable="activeKey=='base1'"></county-appraise>
            </a-tab-pane>
             <a-tab-pane tab="取水量统计" key="base3">
              <county-water-withdrawal  :searchForm="searchForm" :filterKeys="filterKeys" @search="changeSearch" @changeFilter="changeFilter" :visiable="activeKey=='base3'"></county-water-withdrawal>
            </a-tab-pane>
            <a-tab-pane tab="超标评价" key="base4">
              <county-over-standard  :searchForm="searchForm" :filterKeys="filterKeys" @search="changeSearch" @changeFilter="changeFilter" :visiable="activeKey=='base4'"></county-over-standard>
            </a-tab-pane> -->
            <!--

            <a-tab-pane tab="水质统计" key="base7" >
              <water-quality-count :searchForm="searchForm" :filterKeys="filterKeys" @search="changeSearch" @changeFilter="changeFilter" :visiable="activeKey=='base7'"></water-quality-count>
            </a-tab-pane>
            
            <a-tab-pane tab="备用水源营养指数" key="base5">
              <water-nutritional :searchForm="searchForm" :filterKeys="filterKeys" @search="changeSearch" @changeFilter="changeFilter" :visiable="activeKey=='base5'"></water-nutritional>
            </a-tab-pane> -->
          </a-tabs>
    </div>
</template>


<script>
  /**
   *
   *
   *
   */
  //市级监测数据报表
  import BaseStatistic from "./base.vue"
  // 报送情况说明
  // import countyAppraise from "./situation.vue"
  // // 取水量
  // import countyWaterWithdrawal from "./waterCount.vue"
  // // 超标评价
  // import countyOverStandard from './overStandard.vue'
  // 水质类别
  import waterQuality from "./waterQuality.vue"
//   // 水质统计
//   import waterQualityCount from "./waterQualityCount.vue";
  // 水质达标情况
  import waterQualityUp from "./waterQualityUp.vue";
//   //综合营养指数

//   import waterNutritional from "./waterNutritional.vue"





  export default {
    name: 'city-com',
    components: {
      BaseStatistic,
      // countyAppraise,
      waterQuality,
    //   waterQualityCount,
      waterQualityUp,
    //   waterNutritional,
      // countyWaterWithdrawal,
      // countyOverStandard
    },
    data() {
      return {
        activeKey:'base',
        searchForm:{
            checked: 1,
            page:1,
            limit:10,
            drinkingWaterVillageAnalyse:{
                regionLevel:"农村"
            },
        },
        filterKeys:[]
      };

    },
    methods: {
      changeSearch(data){
          this.searchForm = data
      },
      changeFilter(data){
          this.filterKeys = data
      }
    }

  }
</script>