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({
|
||||
url: `/edu/course/`,
|
||||
method: 'get'
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -322,8 +322,8 @@
|
|||
})
|
||||
},
|
||||
getCourseList(){
|
||||
getCourse(this.listQuery).then(response =>{
|
||||
this.courseOptions = response.data.results
|
||||
getCourse({page:0}).then(response =>{
|
||||
this.courseOptions = response.data
|
||||
this.listLoading = false;
|
||||
})
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue