管理者进阶跳到学习任务页面

This commit is contained in:
zhaofang
2022-06-02 15:01:25 +08:00
parent 5f358418e7
commit a1841fe797
3 changed files with 8 additions and 3 deletions

View File

@@ -162,7 +162,7 @@ export default {
let obj = {
one: urlPre+'/web/teacherLesson',
two: urlPre+'/grow180/login',
three: this.webBaseUrl + '/study/index',
three: this.webBaseUrl + '/study/index?study=1',
four: 'https://m.qingxuetang.com/x/?appId=qxtcorp306130',
five: urlPre+'/boe/new-employee/index.html'
};

View File

@@ -373,6 +373,7 @@ export default {
};
let isTopList = [];
let data = [];
this.courseList.list = [];
apiCoursePortal.pageList(course).then(res => {
if (res.status == 200 && res.result.list.length > 0) {

View File

@@ -123,7 +123,7 @@
},
beforeCreate() {
this.loading = true;
let params={
let params={
// keyword:this.keyword,
page:1,
size:10,
@@ -138,7 +138,11 @@
if(res.result.count > 0) {
this.$router.push('/uc/study/task')
} else {
this.$router.push('/uc/study/courses')
if(this.$route.query.study == '1') {
this.$router.push('/uc/study/task')
} else {
this.$router.push('/uc/study/courses')
}
}
}else{
this.$router.push('/uc/study/courses')