feat: ”修改考上选择出具证书时候显示不全课程名称问题"
This commit is contained in:
parent
ff67679bdd
commit
e821346772
|
|
@ -240,10 +240,11 @@ export function deleteExamRecord(id) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取课程列表
|
// 获取课程列表
|
||||||
export function getCourse() {
|
export function getCourse(data) {
|
||||||
return request({
|
return request({
|
||||||
url: `/edu/course/`,
|
url: `/edu/course/`,
|
||||||
method: 'get'
|
method: 'get',
|
||||||
|
params: data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -322,8 +322,8 @@
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getCourseList(){
|
getCourseList(){
|
||||||
getCourse(this.listQuery).then(response =>{
|
getCourse({page:0}).then(response =>{
|
||||||
this.courseOptions = response.data.results
|
this.courseOptions = response.data
|
||||||
this.listLoading = false;
|
this.listLoading = false;
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue