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 // 品系 , 品种  , 来源类型
  }
})
