首页获取详情

This commit is contained in:
18571350067 2022-02-26 14:49:29 +08:00
parent 9007f9204f
commit 5ba794f9b5
2 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,7 @@ const mycourseApi = {
changePassword: '/sys/user/changePwd',
mycourseList: 'myCourse/getMyCourseList', // 我的课程列表,课程搜索
addMyCourse: 'myCourse/addMyCourse', // 添加课程
centerList: 'focused/training/list', // 集中培训列表
centerList: 'focusTrain/getList', // 集中培训列表
centerDetail: 'focusTrain/getDetail', // 集中培训详情
centerJoin: 'project/terminalTrain/enroll', // 集中培训报名
centerSign: 'project/terminalTrain/sign', // 集中培训签到

View File

@ -224,7 +224,8 @@ export default {
},
//
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
})
},