chromesetting
cxt 5 years ago
parent b2088870cb
commit 6791ccaa8a

@ -225,7 +225,7 @@ module HomeworkCommonsHelper
# 作品状态 # 作品状态
def practice_homework_status homework, member def practice_homework_status homework, member
[{id: 0, name: "提交", count: homework.compelete_status_count(member, 0)}, [{id: 0, name: "开启", count: homework.compelete_status_count(member, 0)},
{id: 1, name: "未通关", count: homework.compelete_status_count(member, 1)}, {id: 1, name: "未通关", count: homework.compelete_status_count(member, 1)},
{id: 2, name: "按时通关", count: homework.compelete_status_count(member, 2)}, {id: 2, name: "按时通关", count: homework.compelete_status_count(member, 2)},
{id: 3, name: "迟交通关", count: homework.compelete_status_count(member, 3)}] {id: 3, name: "迟交通关", count: homework.compelete_status_count(member, 3)}]

Loading…
Cancel
Save