|
@@ -468,7 +468,12 @@ export default {
|
|
|
if (!this.commonJS.isEmpty(this.$route.query.routePath)) {
|
|
|
this.$router.push({path: this.$route.query.routePath})
|
|
|
} else {
|
|
|
- this.$router.push({path: '/flowable/task/TodoList'})
|
|
|
+ this.$router.push({
|
|
|
+ path: '/sys/dashboard/workBench/PendingList',
|
|
|
+ query: {
|
|
|
+ num: 3
|
|
|
+ }
|
|
|
+ })
|
|
|
}
|
|
|
// this.$router.push({path: this.$route.query.routePath})
|
|
|
})
|
|
@@ -525,7 +530,12 @@ export default {
|
|
|
if (!this.commonJS.isEmpty(this.$route.query.routePath)) {
|
|
|
this.$router.push({path: this.$route.query.routePath})
|
|
|
} else {
|
|
|
- this.$router.push({path: '/flowable/task/TodoList'})
|
|
|
+ this.$router.push({
|
|
|
+ path: '/sys/dashboard/workBench/PendingList',
|
|
|
+ query: {
|
|
|
+ num: 3
|
|
|
+ }
|
|
|
+ })
|
|
|
}
|
|
|
this.cc(data);
|
|
|
});
|
|
@@ -546,7 +556,12 @@ export default {
|
|
|
if (!this.commonJS.isEmpty(this.$route.query.routePath)) {
|
|
|
this.$router.push({path: this.$route.query.routePath})
|
|
|
} else {
|
|
|
- this.$router.push({path: '/flowable/task/TodoList'})
|
|
|
+ this.$router.push({
|
|
|
+ path: '/sys/dashboard/workBench/PendingList',
|
|
|
+ query: {
|
|
|
+ num: 3
|
|
|
+ }
|
|
|
+ })
|
|
|
}
|
|
|
this.cc(data);
|
|
|
}
|
|
@@ -624,7 +639,12 @@ export default {
|
|
|
this.$router.push({path: '/sys/dashboard/workBench/PendingList'})
|
|
|
this.cc(data)
|
|
|
} else {
|
|
|
- this.$router.push({path: '/flowable/task/TodoList'})
|
|
|
+ this.$router.push({
|
|
|
+ path: '/sys/dashboard/workBench/PendingList',
|
|
|
+ query: {
|
|
|
+ num: 3
|
|
|
+ }
|
|
|
+ })
|
|
|
this.cc(data)
|
|
|
}
|
|
|
}
|
|
@@ -648,7 +668,12 @@ export default {
|
|
|
this.$router.push({path: '/sys/dashboard/workBench/PendingList'})
|
|
|
this.cc(data)
|
|
|
} else {
|
|
|
- this.$router.push({path: '/flowable/task/TodoList'})
|
|
|
+ this.$router.push({
|
|
|
+ path: '/sys/dashboard/workBench/PendingList',
|
|
|
+ query: {
|
|
|
+ num: 3
|
|
|
+ }
|
|
|
+ })
|
|
|
this.cc(data)
|
|
|
}
|
|
|
}
|
|
@@ -712,6 +737,7 @@ export default {
|
|
|
// Process_1701829547129 会计-复核及签章
|
|
|
// Process_1702005929963 完善个人信息
|
|
|
// Process_1702369424692 会计-报告号申请
|
|
|
+ // Process_1670486210440 会计-报告号复核
|
|
|
|
|
|
// 驳回
|
|
|
reject(vars) {
|
|
@@ -771,7 +797,8 @@ export default {
|
|
|
this.procDefId.includes('Process_1698129477831') ||
|
|
|
this.procDefId.includes('Process_1701829547129') ||
|
|
|
this.procDefId.includes('Process_1702005929963') ||
|
|
|
- this.procDefId.includes('Process_1702369424692')
|
|
|
+ this.procDefId.includes('Process_1702369424692') ||
|
|
|
+ this.procDefId.includes('Process_1670486210440')
|
|
|
) {
|
|
|
console.log('进入新版驳回')
|
|
|
this.$confirm(`确定驳回流程吗?`, '提示', {
|
|
@@ -821,7 +848,12 @@ export default {
|
|
|
this.$router.push({path: '/home'})
|
|
|
this.cc(data)
|
|
|
} else {
|
|
|
- this.$router.push({path: '/flowable/task/TodoList'})
|
|
|
+ this.$router.push({
|
|
|
+ path: '/sys/dashboard/workBench/PendingList',
|
|
|
+ query: {
|
|
|
+ num: 3
|
|
|
+ }
|
|
|
+ })
|
|
|
this.cc(data)
|
|
|
}
|
|
|
}
|
|
@@ -962,7 +994,12 @@ export default {
|
|
|
this.$router.push({path: '/home'})
|
|
|
this.cc(data)
|
|
|
} else {
|
|
|
- this.$router.push({path: '/flowable/task/TodoList'})
|
|
|
+ this.$router.push({
|
|
|
+ path: '/sys/dashboard/workBench/PendingList',
|
|
|
+ query: {
|
|
|
+ num: 3
|
|
|
+ }
|
|
|
+ })
|
|
|
this.cc(data)
|
|
|
}
|
|
|
}
|
|
@@ -1010,7 +1047,12 @@ export default {
|
|
|
if (!this.commonJS.isEmpty(this.$route.query.routePath)) {
|
|
|
this.$router.push({path: this.$route.query.routePath})
|
|
|
} else {
|
|
|
- this.$router.push({path: '/flowable/task/TodoList'})
|
|
|
+ this.$router.push({
|
|
|
+ path: '/sys/dashboard/workBench/PendingList',
|
|
|
+ query: {
|
|
|
+ num: 3
|
|
|
+ }
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
// this.$refs.form.close()
|
|
@@ -1039,7 +1081,12 @@ export default {
|
|
|
} else if (num === '3') {
|
|
|
this.$router.push({path: '/sys/dashboard/workBench/PendingList'})
|
|
|
} else {
|
|
|
- this.$router.push({path: '/flowable/task/TodoList'})
|
|
|
+ this.$router.push({
|
|
|
+ path: '/sys/dashboard/workBench/PendingList',
|
|
|
+ query: {
|
|
|
+ num: 3
|
|
|
+ }
|
|
|
+ })
|
|
|
}
|
|
|
this.cc(data);
|
|
|
});
|
|
@@ -1074,7 +1121,12 @@ export default {
|
|
|
selectUsersToTransferTask(user) {
|
|
|
taskService.transfer(this.taskId, user[0].id).then((data) => {
|
|
|
this.$message.success(data);
|
|
|
- this.$router.push({path: '/flowable/task/TodoList'});
|
|
|
+ this.$router.push({
|
|
|
+ path: '/sys/dashboard/workBench/PendingList',
|
|
|
+ query: {
|
|
|
+ num: 3
|
|
|
+ }
|
|
|
+ })
|
|
|
});
|
|
|
},
|
|
|
// 委托
|
|
@@ -1084,7 +1136,12 @@ export default {
|
|
|
selectUsersToDelateTask(user) {
|
|
|
taskService.delegate(this.taskId, user[0].id).then((data) => {
|
|
|
this.$message.success(data);
|
|
|
- this.$router.push({path: '/flowable/task/TodoList'});
|
|
|
+ this.$router.push({
|
|
|
+ path: '/sys/dashboard/workBench/PendingList',
|
|
|
+ query: {
|
|
|
+ num: 3
|
|
|
+ }
|
|
|
+ })
|
|
|
});
|
|
|
},
|
|
|
// 终止
|
|
@@ -1112,7 +1169,12 @@ export default {
|
|
|
this.$router.push({path: '/sys/dashboard/workBench/PendingList'})
|
|
|
this.cc(data)
|
|
|
} else {
|
|
|
- this.$router.push({path: '/flowable/task/TodoList'})
|
|
|
+ this.$router.push({
|
|
|
+ path: '/sys/dashboard/workBench/PendingList',
|
|
|
+ query: {
|
|
|
+ num: 3
|
|
|
+ }
|
|
|
+ })
|
|
|
this.cc(data)
|
|
|
}
|
|
|
}
|
|
@@ -1127,7 +1189,12 @@ export default {
|
|
|
if (!this.commonJS.isEmpty(this.$route.query.routePath)) {
|
|
|
this.$router.push({path: this.$route.query.routePath})
|
|
|
} else {
|
|
|
- this.$router.push({path: '/flowable/task/TodoList'})
|
|
|
+ this.$router.push({
|
|
|
+ path: '/sys/dashboard/workBench/PendingList',
|
|
|
+ query: {
|
|
|
+ num: 3
|
|
|
+ }
|
|
|
+ })
|
|
|
}
|
|
|
},
|
|
|
// 自定义按钮提交
|
|
@@ -1203,7 +1270,12 @@ export default {
|
|
|
this.$router.push({path: '/home'})
|
|
|
this.cc(data)
|
|
|
} else {
|
|
|
- this.$router.push({path: '/flowable/task/TodoList'})
|
|
|
+ this.$router.push({
|
|
|
+ path: '/sys/dashboard/workBench/PendingList',
|
|
|
+ query: {
|
|
|
+ num: 3
|
|
|
+ }
|
|
|
+ })
|
|
|
this.cc(data)
|
|
|
}
|
|
|
}
|
|
@@ -1234,7 +1306,12 @@ export default {
|
|
|
this.$router.push({path: '/sys/dashboard/workBench/PendingList'})
|
|
|
this.cc(data)
|
|
|
} else {
|
|
|
- this.$router.push({path: '/flowable/task/TodoList'})
|
|
|
+ this.$router.push({
|
|
|
+ path: '/sys/dashboard/workBench/PendingList',
|
|
|
+ query: {
|
|
|
+ num: 3
|
|
|
+ }
|
|
|
+ })
|
|
|
this.cc(data)
|
|
|
}
|
|
|
}
|