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

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

View File

@ -54,7 +54,8 @@ export default {
textColor: '#f86f01', textColor: '#f86f01',
num: 0, num: 0,
list: [], list: [],
nameStr: 'taskName' nameStr: 'taskName',
url: 'activiti-my-todo-task'
}, },
// //
hasToDodoData: { hasToDodoData: {
@ -66,7 +67,8 @@ export default {
textColor: '#21b107', textColor: '#21b107',
num: 0, num: 0,
list: [], list: [],
nameStr: 'processDefinitionName' nameStr: 'processDefinitionName',
url: 'activiti-my-join-task'
}, },
// //
resourceData: [], resourceData: [],