<template>
  <div>
    <excellent-suppliers :isShowMore="false"/>

    <suppliers :op="'findByAGENCY'"/>
  </div>
</template>
<script>
import { ExcellentSuppliers, Suppliers } from '~components/provider'

export default {
  layout: 'main',
  fetch ({ store }) {
    return Promise.all([
      store.dispatch('provider/loadRecommendStores'),
      store.dispatch('provider/findStoreList', { op: 'findByAGENCY' })
    ])
  },
  components: {
    ExcellentSuppliers,
    Suppliers
  }
}
</script>
<style>
</style>
