|
@@ -104,12 +104,7 @@ var vm = new Vue({
|
|
|
},
|
|
|
tabClick(val) {
|
|
|
this.tabsList.offset = 1
|
|
|
- if(val.name !== '999'){
|
|
|
- this.getList(val.name)
|
|
|
- } else {
|
|
|
- this.kfHref()
|
|
|
- }
|
|
|
-
|
|
|
+ this.getList(val.name)
|
|
|
},
|
|
|
onPageChange(page) {
|
|
|
this.tabsList.offset = page
|
|
@@ -129,10 +124,9 @@ var vm = new Vue({
|
|
|
if(message){
|
|
|
message.getMessageList()
|
|
|
}
|
|
|
+ _this.getList(_this.activeName)
|
|
|
if (url) {
|
|
|
location.href = url
|
|
|
- } else {
|
|
|
- _this.getList(_this.activeName)
|
|
|
}
|
|
|
}
|
|
|
})
|
|
@@ -160,8 +154,6 @@ var vm = new Vue({
|
|
|
this.readed(item.id, item.link)
|
|
|
} else {
|
|
|
window.__canNextReadMessageStatus = false
|
|
|
- console.dir(777777)
|
|
|
- console.dir(item.link)
|
|
|
if (item.link) {
|
|
|
location.href = item.link
|
|
|
}
|
|
@@ -186,6 +178,13 @@ var vm = new Vue({
|
|
|
error:function () {}
|
|
|
})
|
|
|
},
|
|
|
+
|
|
|
+ beforeLeave (val) {
|
|
|
+ if(val === '999') {
|
|
|
+ this.kfHref()
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ },
|
|
|
jumpPushPage () {
|
|
|
location.href = '/page_workDesktop/work-bench/app/big/push_setting'
|
|
|
}
|