教师列表的待审批列表不应该显示“管理权限”操作列

dev_forum
hjm 6 years ago
parent 762ec25477
commit 340c4ec12a

@ -78,7 +78,7 @@ function buildColumns(that) {
sortOrder: sortedInfo.columnKey === 'role' && sortedInfo.order, sortOrder: sortedInfo.columnKey === 'role' && sortedInfo.order,
}] }]
that.state.course_groups && that.state.course_groups.length && columns.push({ that.state.course_groups && that.state.course_groups.length && showSorter && columns.push({
title: <Tooltip title="仅能批阅指定分班的作品">管理权限</Tooltip>, title: <Tooltip title="仅能批阅指定分班的作品">管理权限</Tooltip>,
width: 260, width: 260,
key: 'course_groups', key: 'course_groups',
@ -111,7 +111,7 @@ function buildColumns(that) {
, ,
}); });
const hasGraduationModule = that.hasGraduationModule() const hasGraduationModule = that.hasGraduationModule()
if (hasGraduationModule) { if (hasGraduationModule && showSorter) {
columns.push({ columns.push({
title: '答辩组', title: '答辩组',
// width: 90, // width: 90,

Loading…
Cancel
Save