This commit is contained in:
2023-12-29 09:26:07 +08:00
parent 9690ab4f70
commit 35bcb23920
23 changed files with 809 additions and 282 deletions

View File

@@ -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,