From a33ff1abea79691050c5b9bfb94fb19e6fe320e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E4=BA=86=E4=B8=AA=E7=99=BD?= <543593352@qq.com> Date: Tue, 24 Sep 2024 16:24:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=9C=E4=B8=9A=E6=89=B9=E6=94=B9--orderby?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E6=97=A0=E6=95=B0=E6=8D=AE=20bug=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/views/classTask/classTask.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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