export const state = () => ({
  choose: {
    fetching: false,
    data: []
  }
})

export const mutations = {
  REQUEST_ENTERPRISE (state) {
    state.choose.fetching = true
  },
  GET_ENTERPRISE_FAILURE (state) {
    state.choose.fetching = false
  },
  GET_ENTERPRISE_SUCCESS (state, result) {
    state.choose.fetching = false
    state.choose.data = result
  }
}
