Compare commits

..

No commits in common. "a92176174a9c21a55c58c75fd4997dcf40996f8e" and "eadc6f1440b1dc1a46b42831d07d21b707928526" have entirely different histories.

1 changed files with 2 additions and 1 deletions

View File

@ -59,7 +59,8 @@ const getHomework = async () => {
loading.value = true
const { edustage, edusubject } = user
try {
const { rows } = await homeworklist({ edituserid: user.userId, edustage, edusubject, status: '1' ,orderby: 'uniquekey DESC', pageSize: 500 })
const { rows } = await homeworklist({ edituserid: user.userId, edustage, edusubject, orderby: 'uniquekey DESC', pageSize: 500 })
console.log(rows,'rows')
homeworkList.value = rows.filter(item => item.deaddate && item.uniquekey)
homeworkList.value.forEach((item) => {
item.workdatacount = JSON.parse('[' + item.classworkdatastudentids + ']').length