| | |
| | | <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 { |
| | |
| | | * 调用接口获取查询区域车间树列表 |
| | | */ |
| | | getWorkshopListByApi() { |
| | | queryProductionTreeList().then(res => { |
| | | queryProductionTreeListByMdc().then(res => { |
| | | if (res.success) { |
| | | this.workshopTreeData = res.result |
| | | this.treeDefaultExpandedKeys = [...res.result].map(item => item.key) |