zhangherong
2025-04-03 86c49515065de7729e5b2aa17f1e260d3c4f3669
src/views/mdc/base/EquipmentList.vue
@@ -121,7 +121,7 @@
<script>
  import UserModal from './modules/EquipmentList/UserModal'
  import { JeecgListMixin } from '@/mixins/JeecgListMixin'
  import { queryProductionTreeList } from '@/api/api'
  import { queryProductionTreeListByMdc } from '@/api/api'
  import { mapActions } from 'vuex'
  export default {
@@ -413,7 +413,7 @@
       * 调用接口获取查询区域车间树列表
       */
      getWorkshopListByApi() {
        queryProductionTreeList().then(res => {
        queryProductionTreeListByMdc().then(res => {
          if (res.success) {
            this.workshopTreeData = res.result
            this.treeDefaultExpandedKeys = [...res.result].map(item => item.key)