| | |
| | | import { getAction } from '@/api/manage' |
| | | import dncApi from '@/api/dnc' |
| | | import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
| | | import { mapActions } from 'vuex' |
| | | |
| | | export default { |
| | | name: 'NcDocumentAssignModal', |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | ...mapActions(['QueryProduction']), |
| | | |
| | | // 获取当前工序或工步对应文档列表 |
| | | loadData() { |
| | | this.dataSource = [] |
| | |
| | | getDocumentAssignDeviceTreeByApi() { |
| | | this.spinning = true |
| | | this.treeDataSource = [] |
| | | this.QueryProduction('DNC') |
| | | dncApi.getDeviceTreeDataApi() |
| | | .then(res => { |
| | | if (res.success) { |
| | | this.dataList = [] |