cuilei
2 天以前 b6b2c379bd92f076acd16801b1442604ea21fc5d
src/store/modules/Production.js
@@ -21,9 +21,9 @@
  actions: {
    // 产线树
      QueryProduction({ commit },type='MDC') {
      QueryProduction({ commit }) {
      return new Promise((resolve, reject) => {
        getAction("/mdc/mdcEquipment/queryTreeListByProduction",{type}).then(response => {
        getAction("/mdc/mdcEquipment/queryTreeListByProduction").then(response => {
          if(response.success){
            const result = response.result
            Vue.ls.set(SYS_PRODUCTION, result)