|
|
@ -58,8 +58,9 @@ function buildColumns(that, student_works) {
|
|
|
|
const isAdminOrStudent = that.props.isAdminOrStudent()
|
|
|
|
const isAdminOrStudent = that.props.isAdminOrStudent()
|
|
|
|
const isStudent = that.props.isStudent()
|
|
|
|
const isStudent = that.props.isStudent()
|
|
|
|
const isNiPing = homework_status && homework_status.indexOf('匿评中') != -1
|
|
|
|
const isNiPing = homework_status && homework_status.indexOf('匿评中') != -1
|
|
|
|
|
|
|
|
const isAppeal = homework_status && homework_status.indexOf('申诉中') != -1
|
|
|
|
// https://www.trustie.net/issues/21450 分组作业作品列表 学时视角,匿评阶段的列表显示信息不正确
|
|
|
|
// https://www.trustie.net/issues/21450 分组作业作品列表 学时视角,匿评阶段的列表显示信息不正确
|
|
|
|
const niPingAndIsStudent = isStudent && isNiPing
|
|
|
|
const niPingAndIsStudent = isStudent && (isNiPing || isAppeal)
|
|
|
|
|
|
|
|
|
|
|
|
let columns = [{
|
|
|
|
let columns = [{
|
|
|
|
width: 60,
|
|
|
|
width: 60,
|
|
|
|