baigl #281

Merged
baigl merged 6 commits from baigl into main 2024-09-27 12:52:59 +08:00
1 changed files with 3 additions and 5 deletions
Showing only changes of commit 5089ecce3d - Show all commits

View File

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