| | |
| | | // 遮罩层 |
| | | 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 |
| | | }) |
| | | }, |
| | | } |
| | | }; |
| | |
| | | props: {}, |
| | | data() { |
| | | return { |
| | | goBackParams: {}, |
| | | formDataList: [], // 表单列表 |
| | | taskId: '', |
| | | processName: '', |
| | |
| | | this.taskId = this.$route.query && this.$route.query.taskId; |
| | | // 初始化表单 |
| | | this.procDefId = this.$route.query && this.$route.query.procDefId; |
| | | this.goBackParams = this.$route.query && this.$route.query.goBackParams; |
| | | // this.getNextFlowNodeByStart(this.deployId); |
| | | this.getFlowFormData(this.taskId); |
| | | }, |
| | |
| | | }, |
| | | /** 返回页面 */ |
| | | 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 |
| | | }) |
| | | }, |
| | | /** 申请流程表单数据提交 */ |
| | | submitForm() { |
| | |
| | | procDefId: row.processDefId, |
| | | processName: row.taskName, |
| | | taskId: row.taskId, |
| | | showAuditing: res.data |
| | | showAuditing: res.data, |
| | | goBackParams: this.queryParams |
| | | } |
| | | }) |
| | | }) |
| | |
| | | query: { |
| | | procInsId: row.processInsId, |
| | | deployId: row.deployId, |
| | | taskId: row.taskId |
| | | taskId: row.taskId, |
| | | goBackParams: this.queryParams |
| | | }}) |
| | | }, |
| | | search() { |