ywbl.js 610 Bytes
const state = {
  bsmSqyw: '',
  djqxObj: {
    djqxbm: "",
    djqxmc: ""
  },
  djywbm: ''
}
const mutations = {
  SET_BSMSQYW: (state, data) => {
    state.bsmSqyw = data
  },
  SET_DJQXOBJ: (state, data) => {
    state.djqxObj = data
  },
  SET_DJYWBM: (state, data) => {
    state.djywbm = data
  },
}

const actions = {
  setBsmSqyw ({ commit }, data) {
    commit('SET_BSMSQYW', data)
  },
  setDjqxObj ({ commit }, data) {
    commit('SET_DJQXOBJ', data)
  },
  setDjywbm ({ commit }, data) {
    commit('SET_DJYWBM', data)
  }
}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}