| | |
| | | </a-table> |
| | | </div> |
| | | |
| | | <FlowXq ref="modalFormApproval" :selectShenpiData="selectShenpiData"></FlowXq> |
| | | <AssignFileStreamXq ref="modalFormApproval" :selectShenpiData="selectShenpiData"></AssignFileStreamXq> |
| | | |
| | | <DispatchFileXq ref="modalFormDispatchFileXq" :selectShenpiData="selectDispatchFileXqData"></DispatchFileXq> |
| | | </a-card> |
| | | </template> |
| | | |
| | |
| | | import { mixinDevice } from '@/utils/mixin' |
| | | import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
| | | import JDictSelectTag from '@/components/dict/JDictSelectTag.vue' |
| | | import FlowXq from '@views/flowable/workflow/FlowXq.vue' |
| | | import AssignFileStreamXq from '@views/flowable/workflow/assignFileStream/AssignFileStreamXq.vue' |
| | | import DispatchFileXq from '@views/flowable/workflow/dispatchFile/DispatchFileXq.vue' |
| | | |
| | | export default { |
| | | name: 'NcDeviceCharactersList', |
| | | mixins:[JeecgListMixin, mixinDevice], |
| | | components: { |
| | | FlowXq, |
| | | DispatchFileXq, |
| | | AssignFileStreamXq: AssignFileStreamXq, |
| | | JDictSelectTag, |
| | | }, |
| | | data () { |
| | |
| | | title: '序号', |
| | | dataIndex: '', |
| | | key:'rowIndex', |
| | | width:200, |
| | | align:"center", |
| | | customRender:function (t,r,index) { |
| | | return parseInt(index)+1; |
| | |
| | | dataIndex: 'proposer_dictText' |
| | | }, |
| | | { |
| | | title:'流程状态说明', |
| | | align:"center", |
| | | dataIndex: 'actStatus' |
| | | title: '前驱节点', |
| | | align: "center", |
| | | dataIndex: 'preNode', |
| | | }, |
| | | { |
| | | title:'当前的任务Id', |
| | | align:"center", |
| | | dataIndex: 'taskId' |
| | | }, |
| | | { |
| | | title:'当前的节点', |
| | | title:'当前节点', |
| | | align:"center", |
| | | dataIndex: 'taskName' |
| | | }, |
| | |
| | | dataIndex: 'endTime' |
| | | }, |
| | | { |
| | | title:'任务人', |
| | | title:'处理时长', |
| | | align:"center", |
| | | dataIndex: 'duration' |
| | | }, |
| | | { |
| | | title:'当前任务人', |
| | | align:"center", |
| | | dataIndex: 'todoUsers_dictText' |
| | | }, |
| | |
| | | } |
| | | ], |
| | | url: { |
| | | list: "nc/assign/flow/list", |
| | | list: "/assign/flow/list", |
| | | }, |
| | | 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文档到设备流程': |
| | | item.description=item.title |
| | | this.handDrDetial(item) |
| | | break |
| | | case 'NC程序签派': |
| | | item.description=item.title |
| | | this.handDispatchFileDetial(item) |
| | | break |
| | | default: |
| | | alert('没找到该审批') |
| | |
| | | this.$refs.modalFormApproval.clearTableSource() |
| | | this.$refs.modalFormApproval.getAllApproveData(item) |
| | | }, |
| | | handDispatchFileDetial(item){ |
| | | this.selectDispatchFileXqData = item |
| | | this.selectDispatchFileXqData.assignee_dictText=item.todoUsers_dictText |
| | | this.selectDispatchFileXqData.createTime=item.startTime |
| | | this.selectDispatchFileXqData.procInstId=item.processInstanceId |
| | | this.$refs.modalFormDispatchFileXq.clearTableSource() |
| | | this.$refs.modalFormDispatchFileXq.getAllApproveData(item) |
| | | } |
| | | } |
| | | } |
| | | </script> |