use actions in another module vuex code example
Example: how to call action from another module vuex
// action from one moduleA to moduleB
dispatch('moduleB/actionName', payload, { root:true })
// action from one moduleA to moduleB
dispatch('moduleB/actionName', payload, { root:true })