作业批改:查询排序更改

This commit is contained in:
白了个白 2024-09-25 11:22:52 +08:00
parent d247d22288
commit 5089ecce3d
1 changed files with 3 additions and 5 deletions

View File

@ -142,8 +142,7 @@ const getClassWorkList = () => {
edusubject: userStore.edusubject,//
deaddate: tabActive.value === '进行中'? getTomorrow() : EndDate.value,//
status: '1', // 1-
// orderby: 'concat(deaddate,uniquekey) DESC',
orderby: 'uniquekey DESC',
orderby: "deaddate DESC",
pageSize: 100,
}).then((response) => {
for (var i = 0; i < response.rows.length; i++) {
@ -217,7 +216,7 @@ const getStudentClassWorkData = () => {
edusubject: userStore.edusubject,//
deaddate: tabActive.value === '进行中'? getTomorrow() : EndDate.value,//
status: '1', // 1-
orderby: "uniquekey DESC",// TODO deaddate
orderby: "deaddate DESC",
pageSize: 1000
}).then((res) => {
for (var t = 0; t < classWorkList.value.length; t++) {
@ -374,8 +373,7 @@ const getStudentVisible = async () => {
edusubject: userStore.edusubject,//
deaddate: tabActive.value === '进行中'? getTomorrow() : EndDate.value,//
status: '1', // 1-
// orderby: 'concat(deaddate,uniquekey) DESC',
orderby: 'uniquekey DESC',
orderby: "deaddate DESC",
pageSize: 100
})
const curWorkList = response.rows