mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 03:46:44 +08:00
提交报名时间的问题
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
<a v-html="$keywordActiveShow(item.courseName,params.courseName)" class="uc-title two-line-ellipsis"></a>
|
||||
</div>
|
||||
</div>
|
||||
<div style="padding-top:6px" class="uc-course-text"><i class="el-icon-time" style="margin-right:4px"></i>报名时间:{{item.addTime}}</div>
|
||||
<div style="padding-top:6px" class="uc-course-text"><i class="el-icon-time" style="margin-right:4px"></i>报名时间:{{ formatsec(Number(item.startTime) * 1000 )}}</div>
|
||||
<div style="width: 80%;margin-top: 20px;display: flex;">
|
||||
<div style="color: #333333;font-size: 14px;">当前进度:</div>
|
||||
<div style="width:170px;padding-top: 5px;">
|
||||
@@ -110,6 +110,7 @@ import apiBoeCourse from '@/api/boe/course.js';
|
||||
import apiManage from '@/api/manage/manage.js';
|
||||
import studyImage from '@/components/Course/studyImage.vue';
|
||||
import courseImage from "@/components/Course/courseImage.vue";
|
||||
import {formatsec} from '@/utils/datetime.js'
|
||||
export default {
|
||||
name: 'ucStudyCourses',
|
||||
components: { studyItem,studyImage,courseImage },
|
||||
@@ -206,11 +207,11 @@ export default {
|
||||
},
|
||||
|
||||
jumpRouter(item) {
|
||||
if(item.sourse==1){
|
||||
if(item.source==1){
|
||||
location.href=`${this.webBaseUrl}/course/boeframe?id=${item.id}&type=${item.courseType}`
|
||||
}else if(item.sourse==2){
|
||||
}else if(item.source==2){
|
||||
this.$router.push({path:'/course/studyindex',query:{id:item.courseId}})
|
||||
}else if(item.sourse==3){
|
||||
}else if(item.source==3){
|
||||
//管理端跳转,只有30,没有40了
|
||||
//let params=encodeURIComponent('routerId='+courseId);
|
||||
//this.$router.push('/forward?to=/fe-student/pathdetails¶ms='+params);
|
||||
@@ -218,7 +219,7 @@ export default {
|
||||
let uparams=encodeURIComponent('courseId='+item.courseId);
|
||||
this.$router.push('/forward?to='+manageApi+'/stu/project/redirectDetail¶ms='+uparams);
|
||||
} else {
|
||||
console.log('未识别的来源 '+item.sourse);
|
||||
console.log('未识别的来源 '+item.source);
|
||||
}
|
||||
},
|
||||
reset(){
|
||||
|
||||
Reference in New Issue
Block a user