工作台:待办已办路由跳转

This commit is contained in:
guoyue 2022-07-01 15:43:13 +08:00
parent 5c5a3b497f
commit cacb9ec52e
2 changed files with 11 additions and 4 deletions

View File

@ -22,7 +22,7 @@
</el-tooltip>
</div>
<div class="more">
<div class="more" @click="goPage(dataInfo.url)">
查看更多 >
</div>
</div>
@ -51,7 +51,12 @@ export default {
methods: {
formatNum(num) {
return num || num === 0 ? num : '--'
}
},
goPage(url) {
this.$router.push({
path: url
});
},
}
}
</script>

View File

@ -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: [],