质量报表时间
This commit is contained in:
@@ -19,8 +19,9 @@ const getters = {
|
||||
onlineUserNum: (state) => state.socket.onlineNum,
|
||||
noticeList: (state) => state.socket.noticeList,
|
||||
//质量管理模块
|
||||
currentWorkOrder_first: (state) => state.socket.currentWorkOrder_first,
|
||||
currentWorkOrder_again: (state) => state.socket.currentWorkOrder_again,
|
||||
currentWorkOrder_thirty: (state) => state.socket.currentWorkOrder_thirty,
|
||||
currentWorkOrder_first: (state) => state.quality.currentWorkOrder_first,
|
||||
currentWorkOrder_again: (state) => state.quality.currentWorkOrder_again,
|
||||
currentWorkOrder_thirty: (state) => state.quality.currentWorkOrder_thirty,
|
||||
firstquality_time: (state) => state.quality.firstquality_time,
|
||||
}
|
||||
export default getters
|
||||
|
||||
@@ -3,6 +3,7 @@ const state = {
|
||||
currentWorkOrder_first: null, // 当前工单(首检)
|
||||
currentWorkOrder_again: null, // 当前工单(二检)
|
||||
currentWorkOrder_thirty: null, // 当前工单(三检)
|
||||
firstquality_time:null, // 首检时间
|
||||
}
|
||||
|
||||
const mutations = {
|
||||
@@ -15,6 +16,10 @@ const mutations = {
|
||||
SET_currentWorkOrder_thirty: (state, data) => {
|
||||
state.currentWorkOrder_thirty = data
|
||||
},
|
||||
SET_firstquality_time: (state, data) => {
|
||||
|
||||
state.firstquality_time = data
|
||||
}
|
||||
}
|
||||
|
||||
const actions = {
|
||||
@@ -27,6 +32,9 @@ const actions = {
|
||||
change__currentWorkOrder_thirty({ commit }, data) {
|
||||
commit('SET_currentWorkOrder_thirty', data)
|
||||
},
|
||||
change_fisrtquality_time({ commit }, data) {
|
||||
commit('SET_firstquality_time', data)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user