版本初始化

This commit is contained in:
liupengcheng
2024-08-29 09:44:54 +08:00
commit efbe95fa21
74 changed files with 43621 additions and 0 deletions

41
src/store/index.js Normal file
View File

@@ -0,0 +1,41 @@
import Vue from 'vue'
import Vuex from 'vuex'
import local from '../utils/local.js'
Vue.use(Vuex)
const classInfo = {
namespaced: true,
state: {
dataTable: [],
batch: [] // 储存批量设备 - id
},
getters: {
},
mutations: { // 修改
saveClassInfo (state, list) { state.dataTable = list },
// 储存批量设备 - id
getBatch (state, Batch) {
state.batch = Batch
}
},
actions: {
}
}
export default new Vuex.Store({
state: {
},
getters: {
},
mutations: { // 修改
},
actions: {
},
modules: {
classInfo // 品系 , 品种 , 来源类型
}
})