zhangherong
2025-03-04 4fa524413c98f7547f1ba38d3ec6ed64ef6130aa
src/store/modules/Production.js
@@ -22,10 +22,9 @@
  actions: {
    // 产线树
      QueryProduction({ commit }) {
      QueryProduction({ commit },key) {
      return new Promise((resolve, reject) => {
        getAction("/mdc/mdcEquipment/queryTreeListByProduction").then(response => {
          console.log("----产线树--------",response);
        getAction("/mdc/mdcEquipment/queryTreeListByProduction",{key}).then(response => {
          if(response.success){
            const result = response.result
            Vue.ls.set(SYS_PRODUCTION, result)