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:
@@ -51,7 +51,7 @@
|
|||||||
<div v-else class="score-no">未评分</div>
|
<div v-else class="score-no">未评分</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn-div" style="height:30px;margin-top: 15px;">
|
<div class="btn-div" style="height:30px;margin-top: 15px;">
|
||||||
<el-button v-if="stuStusts == 0" type="primary" @click="startSigningUp()" >立即报名</el-button>
|
<el-button v-if="stuStusts == 0" type="primary" @click="startSigningUp()" >开始学习</el-button>
|
||||||
<el-button v-if="stuStusts == 1" type="primary" @click="jumpJearning">{{btnName}}</el-button>
|
<el-button v-if="stuStusts == 1" type="primary" @click="jumpJearning">{{btnName}}</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -228,10 +228,6 @@ export default {
|
|||||||
})
|
})
|
||||||
this.catalogTree=treeList;
|
this.catalogTree=treeList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
this.showQrimage();
|
this.showQrimage();
|
||||||
this.isSignUp();
|
this.isSignUp();
|
||||||
}else{
|
}else{
|
||||||
@@ -310,6 +306,7 @@ export default {
|
|||||||
if(res.status == 200) {
|
if(res.status == 200) {
|
||||||
this.stuStusts = 1;
|
this.stuStusts = 1;
|
||||||
//this.activeName = 'second';
|
//this.activeName = 'second';
|
||||||
|
this.$router.push('/course/studyindex?id='+this.courseInfo.id);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
this.$message.error(res.message);
|
this.$message.error(res.message);
|
||||||
|
|||||||
@@ -1132,6 +1132,7 @@
|
|||||||
c.studyItemId = '';
|
c.studyItemId = '';
|
||||||
c.lastStudyTime = 0;
|
c.lastStudyTime = 0;
|
||||||
if(c.sortIndex==1){
|
if(c.sortIndex==1){
|
||||||
|
c.contentName=rs.result.course.name;
|
||||||
indexNum++;
|
indexNum++;
|
||||||
if(indexNum>1){
|
if(indexNum>1){
|
||||||
delIndexs.push(cidx);
|
delIndexs.push(cidx);
|
||||||
|
|||||||
Reference in New Issue
Block a user