mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 20:06:44 +08:00
已读调接口
This commit is contained in:
@@ -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¶ms='+params);
|
||||
|
||||
Reference in New Issue
Block a user