From 23b9ab38019f9172b82ec1f15007faf1be6982cd Mon Sep 17 00:00:00 2001 From: zouyf <80906036@qq.com> Date: Wed, 25 Sep 2024 21:04:04 +0800 Subject: [PATCH] 1 --- src/renderer/src/views/classTask/classTask.vue | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/renderer/src/views/classTask/classTask.vue b/src/renderer/src/views/classTask/classTask.vue index c73da6a..5f43349 100644 --- a/src/renderer/src/views/classTask/classTask.vue +++ b/src/renderer/src/views/classTask/classTask.vue @@ -192,7 +192,6 @@ const getClassWorkList = () => { response.rows[i].workdatacount = stuList.length } } - // 显示分配人数(workdatacount)>0 的 if (response.rows && response.rows.length > 0) { classWorkList.value = response.rows && response.rows.filter((item) => item.workdatacount > 0) @@ -212,15 +211,14 @@ const getClassWorkList = () => { */ const getStudentClassWorkData = () => { if(classTaskStore.classListIds.length>0){ - listClassworkdata({ - //listClassworkdataByDeadDate({ + //listClassworkdata({ + listClassworkdataByDeadDate({ edituserid: userStore.userId, // 老师的id classids: classTaskStore.classListIds.join(','), - edustage: userStore.edustage,// 学段 edusubject: userStore.edusubject,//学科 deaddate: tabActive.value === '进行中'? getTomorrow() : EndDate.value,// 进行中:明天,已结束:选择的日期 //status: '1', // 作业状态:1-已发布 - //orderby: "deaddate DESC",// TODO: 这里是否加 deaddate 的排序,后续看 + orderby: "deaddate DESC",// TODO: 这里是否加 deaddate 的排序,后续看 //entpcourseid: 8945, pageSize: 1000, }).then((res) => {