<template>
  <div class="seek">
    <publish-apply></publish-apply>
    <apply-info></apply-info>
    <!--<apply-footer></apply-footer>-->
  </div>
</template>
<script>
  import { ApplyInfo, PublishApply, ApplyFooter } from '~components/applyPurchase'
  export default {
    layout: 'main',
    components: {
      ApplyInfo,
      PublishApply,
      ApplyFooter
    },
    fetch ({store}) {
      return Promise.all([
        store.dispatch('applyPurchase/loadPurchaseManList', {pageNumber: 1, pageSize: 10, enUU: store.state.option.user.data.enterprise ? store.state.option.user.data.enterprise.uu : null}),
        store.dispatch('applyPurchase/loadPurchaseApplyRank'),
        store.dispatch('applyPurchase/loadGoodPurchaseManList')
      ])
    }
  }
</script>
<style>
  .seek {
    position: relative;
  }
</style>
