|
@@ -521,13 +521,25 @@
|
|
this.projectReportService.saveFlowableParam(this.inputForm).then(({data}) => {
|
|
this.projectReportService.saveFlowableParam(this.inputForm).then(({data}) => {
|
|
// 关闭当前页面
|
|
// 关闭当前页面
|
|
this.$store.dispatch('tagsView/delView', {fullPath: this.$route.fullPath})
|
|
this.$store.dispatch('tagsView/delView', {fullPath: this.$route.fullPath})
|
|
- // 跳转回指定页面
|
|
|
|
- if (param.num === '2') {
|
|
|
|
- this.$router.push({path: '/sys/dashboard/workBench/Pending', query: {signatureUrl: data}})
|
|
|
|
- } else if (param.num === '3') {
|
|
|
|
- this.$router.push({path: '/sys/dashboard/workBench/PendingList', query: {signatureUrl: data}})
|
|
|
|
|
|
+ if (data === '操作成功') {
|
|
|
|
+ this.$message.success('审核完成')
|
|
|
|
+ // 跳转回指定页面
|
|
|
|
+ if (param.num === '2') {
|
|
|
|
+ this.$router.push({path: '/sys/dashboard/workBench/Pending'})
|
|
|
|
+ } else if (param.num === '3') {
|
|
|
|
+ this.$router.push({path: '/sys/dashboard/workBench/PendingList'})
|
|
|
|
+ } else {
|
|
|
|
+ this.$router.push({path: '/flowable/task/TodoList'})
|
|
|
|
+ }
|
|
} else {
|
|
} else {
|
|
- this.$router.push({path: '/flowable/task/TodoList', query: {signatureUrl: data}})
|
|
|
|
|
|
+ // 跳转回指定页面
|
|
|
|
+ if (param.num === '2') {
|
|
|
|
+ this.$router.push({path: '/sys/dashboard/workBench/Pending', query: {signatureUrl: data}})
|
|
|
|
+ } else if (param.num === '3') {
|
|
|
|
+ this.$router.push({path: '/sys/dashboard/workBench/PendingList', query: {signatureUrl: data}})
|
|
|
|
+ } else {
|
|
|
|
+ this.$router.push({path: '/flowable/task/TodoList', query: {signatureUrl: data}})
|
|
|
|
+ }
|
|
}
|
|
}
|
|
this.loading = false
|
|
this.loading = false
|
|
throw new Error()
|
|
throw new Error()
|