12.29
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
const state = {
|
||||
fanFrequencyInfo:{},
|
||||
kilnInfo:{}
|
||||
fanFrequencyInfo:{},// 分机运行频率
|
||||
kilnInfo:{},// 窑炉信息
|
||||
gasInfo:{},// 天然气
|
||||
|
||||
israKiln:[],// ISRA缺陷检测
|
||||
material:[]// 原料
|
||||
};
|
||||
const mutations = {
|
||||
SET_FANFREQUENCYINFO: (state, fanFrequencyInfo) => {
|
||||
@@ -8,6 +12,17 @@ const mutations = {
|
||||
},
|
||||
SET_KILNINFO: (state, kilnInfo) => {
|
||||
state.kilnInfo = kilnInfo
|
||||
},
|
||||
SET_GASINFO: (state, gasInfo) => {
|
||||
state.gasInfo = gasInfo
|
||||
},
|
||||
|
||||
|
||||
SET_ISRAKILN: (state, israKiln) => {
|
||||
state.israKiln = israKiln
|
||||
},
|
||||
SET_MATERIAL: (state, material) => {
|
||||
state.material = material
|
||||
}
|
||||
};
|
||||
const actions = {
|
||||
@@ -16,7 +31,18 @@ const actions = {
|
||||
},
|
||||
setKilnInfo({ commit }, kilnInfo) {
|
||||
commit('SET_KILNINFO', kilnInfo.payload)
|
||||
}
|
||||
},
|
||||
setGasInfo({ commit }, gasInfo) {
|
||||
commit('SET_GASINFO', gasInfo.payload)
|
||||
},
|
||||
|
||||
|
||||
setIsraKiln({ commit }, israKiln) {
|
||||
commit('SET_ISRAKILN', israKiln.payload)
|
||||
},
|
||||
setMaterial({ commit }, material) {
|
||||
commit('SET_MATERIAL', material.payload)
|
||||
},
|
||||
};
|
||||
export default {
|
||||
namespaced: true,
|
||||
|
||||
Reference in New Issue
Block a user