Browse Source

工作台驳回跳转

user5 2 years ago
parent
commit
4f7c39f35d
1 changed files with 8 additions and 1 deletions
  1. 8 1
      src/views/modules/flowable/task/TaskForm.vue

+ 8 - 1
src/views/modules/flowable/task/TaskForm.vue

@@ -359,7 +359,14 @@
         }).then(({data}) => {
           this.$message.success('回退成功')
           this.$store.dispatch('tagsView/delView', {fullPath: this.$route.fullPath})
-          this.$router.push('/flowable/task/TodoList')
+          var num = this.$route.query.num
+          if (num === '2') {
+            this.$router.push('/sys/dashboard/workBench/Pending')
+          } else if (num === '3') {
+            this.$router.push('/sys/dashboard/workBench/PendingList')
+          } else {
+            this.$router.push('/flowable/task/TodoList')
+          }
           this.cc(data)
         })
       },