mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 19:36:43 +08:00
管理者进阶跳到学习任务页面
This commit is contained in:
@@ -162,7 +162,7 @@ export default {
|
|||||||
let obj = {
|
let obj = {
|
||||||
one: urlPre+'/web/teacherLesson',
|
one: urlPre+'/web/teacherLesson',
|
||||||
two: urlPre+'/grow180/login',
|
two: urlPre+'/grow180/login',
|
||||||
three: this.webBaseUrl + '/study/index',
|
three: this.webBaseUrl + '/study/index?study=1',
|
||||||
four: 'https://m.qingxuetang.com/x/?appId=qxtcorp306130',
|
four: 'https://m.qingxuetang.com/x/?appId=qxtcorp306130',
|
||||||
five: urlPre+'/boe/new-employee/index.html'
|
five: urlPre+'/boe/new-employee/index.html'
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -373,6 +373,7 @@ export default {
|
|||||||
};
|
};
|
||||||
let isTopList = [];
|
let isTopList = [];
|
||||||
let data = [];
|
let data = [];
|
||||||
|
this.courseList.list = [];
|
||||||
apiCoursePortal.pageList(course).then(res => {
|
apiCoursePortal.pageList(course).then(res => {
|
||||||
|
|
||||||
if (res.status == 200 && res.result.list.length > 0) {
|
if (res.status == 200 && res.result.list.length > 0) {
|
||||||
|
|||||||
@@ -137,9 +137,13 @@
|
|||||||
this.loading = false;
|
this.loading = false;
|
||||||
if(res.result.count > 0) {
|
if(res.result.count > 0) {
|
||||||
this.$router.push('/uc/study/task')
|
this.$router.push('/uc/study/task')
|
||||||
|
} else {
|
||||||
|
if(this.$route.query.study == '1') {
|
||||||
|
this.$router.push('/uc/study/task')
|
||||||
} else {
|
} else {
|
||||||
this.$router.push('/uc/study/courses')
|
this.$router.push('/uc/study/courses')
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}else{
|
}else{
|
||||||
this.$router.push('/uc/study/courses')
|
this.$router.push('/uc/study/courses')
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user