zhangherong
2025-03-21 94b224c514f2a3d0773e9e053a0f9df87b61a26b
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)