|
@@ -46,40 +46,40 @@ const getters = {
|
|
|
|
|
|
const mutations = {
|
|
|
// NOTE: 出差类型
|
|
|
- SET_EVECTION_TYPE_LIST(state, paylod) {
|
|
|
- state.evectionTypeList = [...paylod.list]
|
|
|
+ SET_EVECTION_TYPE_LIST(state, payload) {
|
|
|
+ state.evectionTypeList = [...payload.list]
|
|
|
},
|
|
|
// NOTE: 模块列表
|
|
|
- SET_MODULE_LIST(state, paylod) {
|
|
|
- state.moduleList = [...paylod.list]
|
|
|
+ SET_MODULE_LIST(state, payload) {
|
|
|
+ state.moduleList = [...payload.list]
|
|
|
},
|
|
|
// NOTE: 缓急程度
|
|
|
- SET_DEGREE_LIST(state, paylod) {
|
|
|
- state.degreeList = [...paylod.list]
|
|
|
+ SET_DEGREE_LIST(state, payload) {
|
|
|
+ state.degreeList = [...payload.list]
|
|
|
},
|
|
|
// NOTE: 采购类型
|
|
|
- SET_APPLY_TYPE_LIST(state, paylod) {
|
|
|
- state.applyTypeList = [...paylod.list]
|
|
|
+ SET_APPLY_TYPE_LIST(state, payload) {
|
|
|
+ state.applyTypeList = [...payload.list]
|
|
|
},
|
|
|
// NOTE: 采购支付类型
|
|
|
- SET_APPLY_PAY_TYPE_LIST(state, paylod) {
|
|
|
- state.applyPayTypeList = [...paylod.list]
|
|
|
+ SET_APPLY_PAY_TYPE_LIST(state, payload) {
|
|
|
+ state.applyPayTypeList = [...payload.list]
|
|
|
},
|
|
|
// NOTE: 呈批类型
|
|
|
- SET_OFFER_TYPE_LIST(state, paylod) {
|
|
|
- state.offerTypeList = [...paylod.list]
|
|
|
+ SET_OFFER_TYPE_LIST(state, payload) {
|
|
|
+ state.offerTypeList = [...payload.list]
|
|
|
},
|
|
|
// NOTE: 请假类型
|
|
|
- SET_LEAVE_TYPE_LIST(state, paylod) {
|
|
|
- state.leaveTypeList = [...paylod.list]
|
|
|
+ SET_LEAVE_TYPE_LIST(state, payload) {
|
|
|
+ state.leaveTypeList = [...payload.list]
|
|
|
},
|
|
|
// NOTE: 维修类型
|
|
|
- SET_MAINTAIN_TYPE_LIST(state, paylod) {
|
|
|
- state.maintainTypeList = [...paylod.list]
|
|
|
+ SET_MAINTAIN_TYPE_LIST(state, payload) {
|
|
|
+ state.maintainTypeList = [...payload.list]
|
|
|
},
|
|
|
// NOTE: 合同类型
|
|
|
- SET_CONTRACT_TYPE_LIST(state, paylod) {
|
|
|
- state.contractTypeList = [...paylod.list]
|
|
|
+ SET_CONTRACT_TYPE_LIST(state, payload) {
|
|
|
+ state.contractTypeList = [...payload.list]
|
|
|
}
|
|
|
}
|
|
|
|