diff --git a/src/renderer/src/views/classTask/classTask.vue b/src/renderer/src/views/classTask/classTask.vue index 8b405ca..4254de3 100644 --- a/src/renderer/src/views/classTask/classTask.vue +++ b/src/renderer/src/views/classTask/classTask.vue @@ -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