This commit is contained in:
zouyf 2024-09-25 21:04:04 +08:00
parent a2a263a35a
commit 23b9ab3801
1 changed files with 3 additions and 5 deletions

View File

@ -192,7 +192,6 @@ const getClassWorkList = () => {
response.rows[i].workdatacount = stuList.length response.rows[i].workdatacount = stuList.length
} }
} }
// (workdatacount)>0 // (workdatacount)>0
if (response.rows && response.rows.length > 0) { if (response.rows && response.rows.length > 0) {
classWorkList.value = response.rows && response.rows.filter((item) => item.workdatacount > 0) classWorkList.value = response.rows && response.rows.filter((item) => item.workdatacount > 0)
@ -212,15 +211,14 @@ const getClassWorkList = () => {
*/ */
const getStudentClassWorkData = () => { const getStudentClassWorkData = () => {
if(classTaskStore.classListIds.length>0){ if(classTaskStore.classListIds.length>0){
listClassworkdata({ //listClassworkdata({
//listClassworkdataByDeadDate({ listClassworkdataByDeadDate({
edituserid: userStore.userId, // id edituserid: userStore.userId, // id
classids: classTaskStore.classListIds.join(','), classids: classTaskStore.classListIds.join(','),
edustage: userStore.edustage,//
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: "deaddate DESC",// TODO deaddate orderby: "deaddate DESC",// TODO deaddate
//entpcourseid: 8945, //entpcourseid: 8945,
pageSize: 1000, pageSize: 1000,
}).then((res) => { }).then((res) => {