作业批改--orderby导致无数据 bug修复
This commit is contained in:
parent
458596547e
commit
a33ff1abea
|
@ -142,8 +142,9 @@ const getClassWorkList = () => {
|
|||
edusubject: userStore.edusubject,//学科
|
||||
deaddate: tabActive.value === '进行中'? getTomorrow() : EndDate.value,// 进行中:明天,已结束:选择的日期
|
||||
status: '1', // 作业状态:1-已发布
|
||||
orderby: 'concat(deaddate,uniquekey) DESC',
|
||||
pageSize: 100
|
||||
// orderby: 'concat(deaddate,uniquekey) DESC',
|
||||
orderby: 'uniquekey DESC',
|
||||
pageSize: 100,
|
||||
}).then((response) => {
|
||||
for (var i = 0; i < response.rows.length; i++) {
|
||||
// 初始化部分新增字段值
|
||||
|
@ -373,7 +374,8 @@ const getStudentVisible = async () => {
|
|||
edusubject: userStore.edusubject,//学科
|
||||
deaddate: tabActive.value === '进行中'? getTomorrow() : EndDate.value,// 进行中:明天,已结束:选择的日期
|
||||
status: '1', // 作业状态:1-已发布
|
||||
orderby: 'concat(deaddate,uniquekey) DESC',
|
||||
// orderby: 'concat(deaddate,uniquekey) DESC',
|
||||
orderby: 'uniquekey DESC',
|
||||
pageSize: 100
|
||||
})
|
||||
const curWorkList = response.rows
|
||||
|
|
Loading…
Reference in New Issue