| | |
| | | this.flowName = this.$route.query && this.$route.query.flowName; |
| | | // 流程任务重获取变量表单 |
| | | this.processVariables( this.taskForm.taskId) |
| | | this.getFlowRecordList(this.taskForm.procInsId, this.taskForm.deployId); |
| | | this.getFlowRecordList(this.taskForm.procInsId); |
| | | }, |
| | | methods: { |
| | | handleClick(tab, event) { |
| | | if (tab.name === '3'){ |
| | | this.imgLoading = true |
| | | flowXmlAndNode({procInsId:this.taskForm.procInsId,deployId:this.taskForm.deployId}).then(res => { |
| | | flowXmlAndNode({processInsId:this.taskForm.procInsId,deployId:this.taskForm.deployId}).then(res => { |
| | | this.imgLoading = false |
| | | this.flowData = res.data; |
| | | }) |
| | |
| | | } |
| | | }, |
| | | /** 流程流转记录 */ |
| | | getFlowRecordList(procInsId, deployId) { |
| | | getFlowRecordList(procInsId) { |
| | | const that = this |
| | | const params = {procInsId: procInsId, deployId: deployId} |
| | | const params = {procInsId: procInsId} |
| | | flowRecord(params).then(res => { |
| | | that.flowRecordList = res.data.flowList; |
| | | }).catch(res => { |