| | |
| | | // 遮罩层 |
| | | loading: true, |
| | | flowRecordList: [], // 流程流转数据 |
| | | goBackParams: {}, |
| | | taskForm:{ |
| | | multiple: false, |
| | | comment:"", // 意见内容 |
| | |
| | | this.taskForm.deployId = this.$route.query && this.$route.query.deployId; |
| | | this.taskForm.taskId = this.$route.query && this.$route.query.taskId; |
| | | this.taskForm.procInsId = this.$route.query && this.$route.query.procInsId; |
| | | this.goBackParams = this.$route.query && this.$route.query.goBackParams; |
| | | // 流程任务重获取变量表单 |
| | | this.processVariables( this.taskForm.taskId) |
| | | this.getFlowRecordList(this.taskForm.procInsId, this.taskForm.deployId); |
| | |
| | | }, |
| | | /** 返回页面 */ |
| | | goBack() { |
| | | // // 关闭当前标签页并返回上个页面 |
| | | // const obj = { path: "/task/process", query: { t: Date.now()} }; |
| | | // this.$tab.closeOpenPage(obj); |
| | | this.$tab.closePage() |
| | | this.$router.push({ |
| | | path: '/projectFlow/detail', |
| | | query: this.goBackParams |
| | | }) |
| | | }, |
| | | } |
| | | }; |