|
@@ -119,6 +119,11 @@ export default {
|
|
|
icon: 'icon-nav-message',
|
|
|
badge: 0
|
|
|
},
|
|
|
+ {
|
|
|
+ label: '待办',
|
|
|
+ icon: 'icon-daiban',
|
|
|
+ badge: 0
|
|
|
+ },
|
|
|
{
|
|
|
label: '客服',
|
|
|
icon: 'icon-kefu_xian',
|
|
@@ -164,8 +169,9 @@ export default {
|
|
|
'customerUrl'
|
|
|
]),
|
|
|
computedNaves () {
|
|
|
+ console.log(this.todoCount)
|
|
|
return this.navs.filter(item => {
|
|
|
- return this.todoCount ? item : item.label!== '待办'
|
|
|
+ return this.todoCount ? item : item.label !== '待办'
|
|
|
})
|
|
|
}
|
|
|
},
|
|
@@ -324,6 +330,14 @@ export default {
|
|
|
break
|
|
|
}
|
|
|
}
|
|
|
+ },
|
|
|
+ goSiteTodo () {
|
|
|
+ this.$BRACE.$emit({
|
|
|
+ fKey: 'goSiteTodo',
|
|
|
+ spareFn: (link) => this.$BRACE.methods.open({
|
|
|
+ route: { link }
|
|
|
+ })
|
|
|
+ }, '/swordfish/frontPage/messageCenter/sess/index?type=11')
|
|
|
}
|
|
|
}
|
|
|
}
|