已读调接口

This commit is contained in:
zhangsir
2024-07-08 10:42:32 +08:00
parent cb43195803
commit 275e59987f
3 changed files with 44 additions and 6 deletions

View File

@@ -147,6 +147,12 @@ export default {
//let urlPre=window.location.protocol+'//'+window.location.host;
let studentPath=process.env.VUE_APP_STUDENT_PATH;
// type: 0 新任管理者1 学习项目 2 学习路径图 3 成长路径
let type = {1:'2',2:'1',3:'0'}[item.cmtask_type]
if(this.$route.query.type==1 || !this.$route.query.type){
type = '0'
}
apiManage.userRead({type,id:item.cmtask_id})
if(item.cmtask_type==1){ //学习路径图
let params=encodeURIComponent('routerId='+item.cmtask_id);
//this.$router.push('/forward?to='+studentPath+'/pathdetails&params='+params);