index.vue 639 B

12345678910111213141516171819202122232425
  1. <template>
  2. <div>
  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', {page: 1, count: 10}),
  20. store.dispatch('applyPurchase/loadPurchaseApplyRank'),
  21. store.dispatch('applyPurchase/loadGoodPurchaseManList')
  22. ])
  23. }
  24. }
  25. </script>