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
}
}
// (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) => {