/**
 * Created by jin.zhouhang on 17-8-7 下午5:58.
 */
export default {
  namespaced: true,
  state: {
    system: {},
    isSystemSelectDialogShow: false
  },
  mutations: {
    setSystem (state, system) {
      state.system = system
    },
    setSystemSelectDialogShow (state, show) {
      state.isSystemSelectDialogShow = show
    }
  },
  actions: {},
  getters: {
    getSystem (state) {
      return state.system
    },
    getSystemState (state) {
      return Object.keys(state.system).length !== 4
    }
  }
}
