| | |
| | | <el-popover |
| | | placement="right-start" |
| | | title="任务日志" |
| | | width="600" |
| | | width="800" |
| | | trigger="hover" |
| | | > |
| | | <div v-if="formDataObj.events.length > 0"> |
| | |
| | | this.projectName = this.$route.query && this.$route.query.projectName; |
| | | this.flowName = this.$route.query && this.$route.query.flowName; |
| | | // 流程任务重获取变量表单 |
| | | this.processVariables( this.taskForm.taskId) |
| | | this.processVariables( this.taskForm.taskId, this.taskForm.procInsId) |
| | | this.getFlowRecordList(this.taskForm.procInsId); |
| | | }, |
| | | methods: { |
| | |
| | | }) |
| | | }, |
| | | /** 获取流程变量内容 */ |
| | | processVariables(taskId) { |
| | | processVariables(taskId, processInsId) { |
| | | if (taskId) { |
| | | this.formLoading = true |
| | | // 提交流程申请时填写的表单存入了流程变量中后续任务处理时需要展示 |
| | | flowTaskFormDetail(taskId).then(res => { |
| | | flowTaskFormDetail(processInsId, taskId).then(res => { |
| | | this.formDataList = res.data |
| | | if (this.formDataList && this.formDataList.length > 0) { |
| | | this.$nextTick(() => { |