index.vue 513 B

123456789101112131415161718192021222324252627
  1. <template>
  2. <div class="section">
  3. <search-customs/>
  4. </div>
  5. </template>
  6. <script>
  7. import { searchCustoms } from '@/components/common'
  8. export default {
  9. name: 'SearchCustoms',
  10. layout: 'default',
  11. middleware: 'authenticated',
  12. data () {
  13. return {
  14. title: '关务汇总单查询'
  15. }
  16. },
  17. fetch({store}) {
  18. return Promise.all([
  19. store.dispatch('loadCustomsInfo', {count: 10, page: 1})
  20. ])
  21. },
  22. components: {
  23. searchCustoms
  24. }
  25. }
  26. </script>