index.vue 1.0 KB

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