<template>
  <div>
    <staff-add/>
  </div>
</template>
<script>
  import { StaffAdd } from '~components/mobile/staffManagement'
  export default {
    middleware: 'authenticated',
    layout: 'mobile',
    components: {
      StaffAdd,
    },
    data () {
      return {
      }
    },
    fetch ({ store }) {
      return Promise.all([
        store.dispatch('staff/loadStaffList', { count: 10, page: 1, enuu: store.state.option.user.data.enterprise.uu})
      ])
    },
    methods: {
    }
  }
</script>
