This commit is contained in:
parent
a2a263a35a
commit
23b9ab3801
|
@ -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) => {
|
||||
|
|
Loading…
Reference in New Issue