index.vue 815 B

123456789101112131415161718192021222324252627282930
  1. <template>
  2. <div class="seek">
  3. <publish-apply></publish-apply>
  4. <apply-info></apply-info>
  5. <apply-footer></apply-footer>
  6. </div>
  7. </template>
  8. <script>
  9. import { ApplyInfo, PublishApply, ApplyFooter } from '~components/applyPurchase'
  10. export default {
  11. layout: 'main',
  12. components: {
  13. ApplyInfo,
  14. PublishApply,
  15. ApplyFooter
  16. },
  17. fetch ({store}) {
  18. return Promise.all([
  19. store.dispatch('applyPurchase/loadPurchaseManList', {pageNumber: 1, pageSize: 10, enUU: store.state.option.user.data.enterprise ? store.state.option.user.data.enterprise.uu : null}),
  20. store.dispatch('applyPurchase/loadPurchaseApplyRank'),
  21. store.dispatch('applyPurchase/loadGoodPurchaseManList')
  22. ])
  23. }
  24. }
  25. </script>
  26. <style>
  27. .seek {
  28. position: relative;
  29. }
  30. </style>