首页获取详情
This commit is contained in:
parent
9007f9204f
commit
5ba794f9b5
|
@ -4,7 +4,7 @@ const mycourseApi = {
|
||||||
changePassword: '/sys/user/changePwd',
|
changePassword: '/sys/user/changePwd',
|
||||||
mycourseList: 'myCourse/getMyCourseList', // 我的课程列表,课程搜索
|
mycourseList: 'myCourse/getMyCourseList', // 我的课程列表,课程搜索
|
||||||
addMyCourse: 'myCourse/addMyCourse', // 添加课程
|
addMyCourse: 'myCourse/addMyCourse', // 添加课程
|
||||||
centerList: 'focused/training/list', // 集中培训列表
|
centerList: 'focusTrain/getList', // 集中培训列表
|
||||||
centerDetail: 'focusTrain/getDetail', // 集中培训详情
|
centerDetail: 'focusTrain/getDetail', // 集中培训详情
|
||||||
centerJoin: 'project/terminalTrain/enroll', // 集中培训报名
|
centerJoin: 'project/terminalTrain/enroll', // 集中培训报名
|
||||||
centerSign: 'project/terminalTrain/sign', // 集中培训签到
|
centerSign: 'project/terminalTrain/sign', // 集中培训签到
|
||||||
|
|
|
@ -224,7 +224,8 @@ export default {
|
||||||
},
|
},
|
||||||
// 集中培训
|
// 集中培训
|
||||||
getJzpxList () {
|
getJzpxList () {
|
||||||
reqCourseCenterList({ pageSize: 5, pageNum: 1 }).then(res => {
|
const { person } = this.$store.state.user
|
||||||
|
reqCourseCenterList({personId:person.id, pageSize: 5, pageNum: 1 }).then(res => {
|
||||||
this.jzpxList = res.rows
|
this.jzpxList = res.rows
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue