feat: ”修改考上选择出具证书时候显示不全课程名称问题"

This commit is contained in:
TianyangZhang 2026-01-14 09:59:24 +08:00
parent ff67679bdd
commit e821346772
2 changed files with 5 additions and 4 deletions

View File

@ -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
}) })
} }

View File

@ -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;
}) })
}, },