epmet pc工作端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
499 B

const state = {
chooseName: {
orgId: "",
level: "",
},
realScale: null,
};
const mutations = {
CHOOSE_NAME: (state, name) => {
state.chooseName = name;
},
CHOOSE_REAL_SCALE: (state, name) => {
state.realScale = name;
},
};
const actions = {
chooseName({ commit }, name) {
commit("CHOOSE_NAME", name);
},
chooseScale({ commit }, name) {
commit("CHOOSE_REAL_SCALE", name);
},
};
export default {
namespaced: true,
state,
mutations,
actions,
};