diff --git a/back/src/views/modules/workBench/components/dept-todo-view.vue b/back/src/views/modules/workBench/components/dept-todo-view.vue
index 2ee0baca..3864a583 100644
--- a/back/src/views/modules/workBench/components/dept-todo-view.vue
+++ b/back/src/views/modules/workBench/components/dept-todo-view.vue
@@ -22,7 +22,7 @@
-
@@ -51,7 +51,12 @@ export default {
methods: {
formatNum(num) {
return num || num === 0 ? num : '--'
- }
+ },
+ goPage(url) {
+ this.$router.push({
+ path: url
+ });
+ },
}
}
diff --git a/back/src/views/modules/workBench/workBench.vue b/back/src/views/modules/workBench/workBench.vue
index c86fe596..95f5bca3 100644
--- a/back/src/views/modules/workBench/workBench.vue
+++ b/back/src/views/modules/workBench/workBench.vue
@@ -54,7 +54,8 @@ export default {
textColor: '#f86f01',
num: 0,
list: [],
- nameStr: 'taskName'
+ nameStr: 'taskName',
+ url: 'activiti-my-todo-task'
},
// 部门已办
hasToDodoData: {
@@ -66,7 +67,8 @@ export default {
textColor: '#21b107',
num: 0,
list: [],
- nameStr: 'processDefinitionName'
+ nameStr: 'processDefinitionName',
+ url: 'activiti-my-join-task'
},
// 部门申请
resourceData: [],