This commit is contained in:
LAPTOP-S9RBPPM6\bjxask-2201
2022-05-31 15:53:27 +08:00
parent ab382aca7b
commit 30dc57816f

View File

@@ -362,56 +362,23 @@
statust: '', statust: '',
status: '', status: '',
loadstatus: '', loadstatus: '',
typeArray: [{ typeArray: [
name: '全部', {name: '全部',value: ''},
value: '' {name: '录播课',value: 'online-course'},
}, {name: '线下课',value: 'face-course'},
{ {name: '学习项目',value: 'project'}
name: '录播课',
value: 'online-course'
},
{
name: '线下课',
value: 'face-course'
},
{
name: '学习项目',
value: 'project'
}
], ],
statustList: [{ statustList: [
name: '全部', {name: '全部',value: ''},
value: '' {name: '未开始',value: 0},
}, {name: '进行中',value: 1},
{ {name: '已完成',value: 2}
name: '未开始',
value: 0
},
{
name: '进行中',
value: 1
},
{
name: '已完成',
value: 2
}
], ],
statustArray: [ statustArray: [
[{ [{name: '在线课',value: 'online-course'},
name: '在线课', {name: '面授班',value: 'face-course'},
value: 'online-course' {name: '学习项目',value: 'project'}
},
{
name: '面授班',
value: 'face-course'
},
{
name: '学习项目',
value: 'project'
}
] ]
], ],
windowHeight: 0, windowHeight: 0,
@@ -431,7 +398,7 @@
}, },
onLoad() { onLoad() {
this.loadBoeData(true); this.loadBoeData(true);
this.getLearning(); //这里应该是切换时再调用 // this.getLearning(); //这里应该是切换时再调用
//检查是否显示弹窗 //检查是否显示弹窗
let curTime = new Date(); let curTime = new Date();
curTime = parseInt(curTime.getTime() / 1000); curTime = parseInt(curTime.getTime() / 1000);
@@ -688,8 +655,8 @@
clicktab(idx) { clicktab(idx) {
this.tabIndex = idx; this.tabIndex = idx;
if (this.tabIndex == 1) { if (this.tabIndex == 1) {
// this.getLearning() this.getLearning()
this.searchData(); // this.searchData();
} else if (this.tabIndex == 2) { } else if (this.tabIndex == 2) {
this.history() this.history()
} else if (this.tabIndex == 0) { } else if (this.tabIndex == 0) {