作业批改--orderby导致无数据 bug修复

This commit is contained in:
白了个白 2024-09-24 16:24:31 +08:00
parent 458596547e
commit a33ff1abea
1 changed files with 5 additions and 3 deletions

View File

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