|
|
|
@ -226,8 +226,8 @@ module HomeworkCommonsHelper
|
|
|
|
|
def practice_homework_status homework, member
|
|
|
|
|
[{id: 3, name: "未通关", count: homework.un_complete_count(member)},
|
|
|
|
|
{id: 4, name: "已通关", count: homework.complete_count(member)},
|
|
|
|
|
{id: 1, name: "按时提交", count: homework.finished_count(member)},
|
|
|
|
|
{id: 2, name: "延时提交", count: homework.delay_finished_count(member)}]
|
|
|
|
|
{id: 1, name: "按时完成", count: homework.finished_count(member)},
|
|
|
|
|
{id: 2, name: "延时完成", count: homework.delay_finished_count(member)}]
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
# 作品状态
|
|
|
|
|