src/views/mdc/base/EquipmentList.vue
@@ -77,7 +77,6 @@
      <a-table
        ref="table"
        bordered
        size="middle"
        rowKey="id"
        :scroll="{x:'max-content',y:465}"
        :columns="columns"
@@ -121,7 +120,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 +412,7 @@
       * 调用接口获取查询区域车间树列表
       */
      getWorkshopListByApi() {
        queryProductionTreeList().then(res => {
        queryProductionTreeListByMdc().then(res => {
          if (res.success) {
            this.workshopTreeData = res.result
            this.treeDefaultExpandedKeys = [...res.result].map(item => item.key)