| | |
| | | </a-table> |
| | | </div> |
| | | |
| | | <FlowNcZpi ref="modalFormApproval" :selectShenpiData="selectShenpiData"></FlowNcZpi> |
| | | <AssignFileStreamHandle ref="modalFormApproval" :selectShenpiData="selectShenpiData"></AssignFileStreamHandle> |
| | | <DispatchFileHandle ref="modalFormDispatchFileXq" :selectShenpiData="selectDispatchFileXqData" @searchReset="searchReset"></DispatchFileHandle> |
| | | |
| | | </a-card> |
| | | </template> |
| | | |
| | |
| | | import { mixinDevice } from '@/utils/mixin' |
| | | import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
| | | import JDictSelectTag from '@/components/dict/JDictSelectTag.vue' |
| | | import store from '@/store' |
| | | import { getAction } from '@api/manage' |
| | | import FlowNcZpi from '@views/flowable/workflow/FlowNcZpi.vue' |
| | | |
| | | import AssignFileStreamHandle from '@views/flowable/workflow/assignFileStream/AssignFileStreamHandle.vue' |
| | | import DispatchFileHandle from '@views/flowable/workflow/dispatchFile/DispatchFileHandle.vue' |
| | | export default { |
| | | name: 'NcDeviceCharactersList', |
| | | mixins:[JeecgListMixin, mixinDevice], |
| | | components: { |
| | | FlowNcZpi, |
| | | AssignFileStreamHandle, |
| | | JDictSelectTag, |
| | | DispatchFileHandle |
| | | }, |
| | | data () { |
| | | return { |
| | |
| | | { |
| | | title: '上一步处理人', |
| | | align: "center", |
| | | dataIndex: 'variables.INITIATOR', |
| | | dataIndex: 'preNodeAssignee_dictText', |
| | | width:200 |
| | | }, |
| | | { |
| | | title: '上一步节点', |
| | | title: '前驱节点', |
| | | align: "center", |
| | | dataIndex: 'actStatus', |
| | | dataIndex: 'preNode', |
| | | width:200 |
| | | }, |
| | | { |
| | |
| | | } |
| | | ], |
| | | url: { |
| | | list: '/nc/assign/flow/toTaskBySelf', |
| | | list: '/assign/flow/toTaskBySelf', |
| | | }, |
| | | dictOptions:{}, |
| | | selectShenpiData: {}, |
| | | selectDispatchFileXqData:{} |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | console.log('点击了详情') |
| | | console.log('item----->', item) |
| | | console.log('index----->', index) |
| | | let approcesstype = this.splitAprocessType(item.title) |
| | | let approcesstype = this.splitAprocessType(item.category_dictText) |
| | | console.log('approcesstype--->', approcesstype) |
| | | switch (approcesstype) { |
| | | case '指派NC文档到设备流程': |
| | | this.handDrDetial(item) |
| | | break |
| | | case 'NC程序签派': |
| | | this.handDispatchFileDetial(item) |
| | | break |
| | | default: |
| | | alert('没找到该审批') |
| | |
| | | this.$refs.modalFormApproval.clearTableSource() |
| | | this.$refs.modalFormApproval.getAllApproveData(item) |
| | | }, |
| | | searchReset() { |
| | | this.queryParam = {} |
| | | this.loadData(1); |
| | | }, |
| | | handDispatchFileDetial(item){ |
| | | console.log('item----->', item) |
| | | this.selectDispatchFileXqData = item |
| | | this.$refs.modalFormDispatchFileXq.clearTableSource() |
| | | this.$refs.modalFormDispatchFileXq.getAllApproveData(item) |
| | | } |
| | | } |
| | | } |
| | | </script> |