list.vue 511 B

1234567891011121314151617181920212223242526
  1. <template>
  2. <div>
  3. <excellent-suppliers :isShowMore="false"/>
  4. <suppliers :op="'findByAGENCY'"/>
  5. </div>
  6. </template>
  7. <script>
  8. import { ExcellentSuppliers, Suppliers } from '~components/provider'
  9. export default {
  10. layout: 'main',
  11. fetch ({ store }) {
  12. return Promise.all([
  13. store.dispatch('provider/loadRecommendStores'),
  14. store.dispatch('provider/findStoreList', { op: 'findByAGENCY' })
  15. ])
  16. },
  17. components: {
  18. ExcellentSuppliers,
  19. Suppliers
  20. }
  21. }
  22. </script>
  23. <style>
  24. </style>