Parcourir la source

工作台驳回跳转

user5 il y a 2 ans
Parent
commit
4f7c39f35d
1 fichiers modifiés avec 8 ajouts et 1 suppressions
  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)
         })
       },