提交修改

This commit is contained in:
daihh
2022-12-27 18:13:17 +08:00
parent 9d950e1306
commit ec1511a09e
6 changed files with 18 additions and 6 deletions

View File

@@ -98,13 +98,13 @@
<div style="width:80%" class="course-title two-line-ellipsis" :title="cinfo.title" v-html="cinfo.name">
</div>
<div class="couresstartTime">
<div class="couresstartTime">
<div v-if="cinfo.type == 30">
<span v-if="startTime">授课时间{{ cinfo.startTime }}</span>
</div>
</div>
<div class="course-info">
<div class="course-info-user">
<!-- <span class="course-info-author" v-if="cinfo.teacher">{{cinfo.teacher=='BOE教师'? '':cinfo.teacher}}</span> -->
@@ -732,12 +732,15 @@ export default {
//window.open(`${this.webBaseUrl}/course/boeframe?id=${item.id}&type=${item.type}`);
}else if(item.source == 3){
//跳转到管理系统的页面
let manageApi=process.env.VUE_APP_MANAGER_API_PATH;
let studentPath=process.env.VUE_APP_STUDENT_PATH;
if (item.type == 30){ //线下课,面授课
let params=encodeURIComponent('courseId='+courseId);
this.$router.push('/forward?to=/fe-student/faceteach&params='+params);
this.$router.push('/forward?to='+manageApi+'/stu/project/redirectDetail&params='+params);
}else if(item.type==40){ //学习项目
let params=encodeURIComponent('projectId='+courseId);
this.$router.push('/forward?to=/fe-student/projectdetails&params='+params);
this.$router.push('/forward?to='+studentPath+'/projectdetails&params='+params);
//this.$router.push('/forward?to='+manageApi+'/stu/project/redirectDetail&params='+params);
}
} else {
if (item.type == 10) {
@@ -865,7 +868,7 @@ export default {
}
});
this.courseList.push(...res.result.list);
this.moreState = 1;
} else {