From 8063783284b7958d5a0c22ca97508a2778d9f7c1 Mon Sep 17 00:00:00 2001 From: lyc Date: Fri, 13 Sep 2024 17:19:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=9C=E4=B8=9A=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/views/desktop/container/work-trend.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/renderer/src/views/desktop/container/work-trend.vue b/src/renderer/src/views/desktop/container/work-trend.vue index d3fe981..158d136 100644 --- a/src/renderer/src/views/desktop/container/work-trend.vue +++ b/src/renderer/src/views/desktop/container/work-trend.vue @@ -59,8 +59,7 @@ const getHomework = async () => { loading.value = true const { edustage, edusubject } = user try { - const { rows } = await homeworklist({ edituserid: user.userId, edustage, edusubject, orderby: 'uniquekey DESC', pageSize: 500 }) - console.log(rows,'rows') + const { rows } = await homeworklist({ edituserid: user.userId, edustage, edusubject, status: '1' ,orderby: 'uniquekey DESC', pageSize: 500 }) homeworkList.value = rows.filter(item => item.deaddate && item.uniquekey) homeworkList.value.forEach((item) => { item.workdatacount = JSON.parse('[' + item.classworkdatastudentids + ']').length -- 2.44.0.windows.1