Commit 31e22129 authored by zhangderong's avatar zhangderong

简历列表页加入已读标记测试上线

parent cdc8193e
...@@ -905,6 +905,7 @@ import {mapState} from 'vuex' ...@@ -905,6 +905,7 @@ import {mapState} from 'vuex'
}, },
//查看简历详情 //查看简历详情
Seedetail(Tid,Uid,STATUS){ Seedetail(Tid,Uid,STATUS){
this.SouSuo(this.pageT)
this.DOWNID=Uid this.DOWNID=Uid
this.detailID=Tid this.detailID=Tid
this.resumeDetailSta=STATUS this.resumeDetailSta=STATUS
...@@ -915,6 +916,7 @@ import {mapState} from 'vuex' ...@@ -915,6 +916,7 @@ import {mapState} from 'vuex'
}) })
window.open(newpage.href, '_blank'); window.open(newpage.href, '_blank');
}, },
//下载单条简历 //下载单条简历
downloadONE(downID){ downloadONE(downID){
window.location.href=`${sapi}/api/resume/download/formatted/one?resumeId=${downID}` window.location.href=`${sapi}/api/resume/download/formatted/one?resumeId=${downID}`
...@@ -1718,7 +1720,16 @@ import {mapState} from 'vuex' ...@@ -1718,7 +1720,16 @@ import {mapState} from 'vuex'
} }
}, },
mounted(){ mounted(){
this.SouSuo(null, 'init') this.SouSuo(null, 'init')
document.addEventListener('visibilitychange',()=>{
var isHidden = document.hidden;
if(isHidden){
document.title = '思坦途'
} else {
document.title = '思坦途'
this.SouSuo(this.pageT, 'init')
}
})
} }
} }
</script> </script>
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment