diff --git a/pages/study/index.vue b/pages/study/index.vue index 6dd0913..20e65cc 100644 --- a/pages/study/index.vue +++ b/pages/study/index.vue @@ -42,7 +42,7 @@ - + {{status.name}} @@ -288,6 +288,7 @@ }, data() { return { + Applistatus:'', autonomyStatusShow: false, delData: {}, btnsShow: false, // 我报名的删除弹出 @@ -538,7 +539,8 @@ }) }, autonomyStatus(num) { - this.status = num; + console.log(num) + this.Applistatus = num; this.getLearning(); }, taskStatus(num) { @@ -727,7 +729,7 @@ pageIndex: 1, //第几页 pageSize: 200, courseName: this.learkeyword, - status: this.status, + status: this.Applistatus, } await apicourseStudy.myStudyList(lear).then(res => { if (res.status == 200) { @@ -745,7 +747,6 @@ data.push(...res.result.list); } }) - // } let learData = { page: 1, size: 200, @@ -824,12 +825,12 @@ } }, // 自主学习选择状态事件 - chooseStatus(e) { - this.statusSelectShow = false; - this.statusBtnName = e.value[0].name; - this.autonomy.status = e.value[0].value; - this.searchData(); - }, + // chooseStatus(e) { + // this.statusSelectShow = false; + // this.statusBtnName = e.value[0].name; + // this.autonomy.status = e.value[0].value; + // this.searchData(); + // }, // 自主学习选择类型事件 // chooseStatust(e) { // this.statusSelecShow = false; @@ -840,28 +841,28 @@ // }, // 历史记录选择类型事件 - hischooseStatus(e) { - this.hisstatusSelectShow = false; - this.hisstatusBtnName = e.value[0].name; - this.hisswitch = e.value[0].value; - if (this.hisswitch == 10) { - this.hisclassType = 10 - this.history() - } else { - this.hisclassType = 20 - this.history() - } - }, - loadchooseStatust(e) { - this.boeStatus = e; - this.loadBoeData() - }, - Application(e) { - this.classType = e; - this.autonomy.type = e; - this.searchData(); - this.getLearning(); - }, + // hischooseStatus(e) { + // this.hisstatusSelectShow = false; + // this.hisstatusBtnName = e.value[0].name; + // this.hisswitch = e.value[0].value; + // if (this.hisswitch == 10) { + // this.hisclassType = 10 + // this.history() + // } else { + // this.hisclassType = 20 + // this.history() + // } + // }, + // loadchooseStatust(e) { + // this.boeStatus = e; + // this.loadBoeData() + // }, + // Application(e) { + // this.classType = e; + // this.autonomy.type = e; + // this.searchData(); + // this.getLearning(); + // }, displayWord(data) { if (data.progress == 0) { return '未开始' @@ -1063,7 +1064,7 @@ } .sea-index { font-size: 26rpx; - margin-right: 16rpx; + // margin-right: 16rpx; background-color: #fff; } }