dev_local_2
cxt 5 years ago
parent 37050d1349
commit 560b209c93

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

Loading…
Cancel
Save