|
|
@ -8,7 +8,7 @@ import Titlesearchsection from '../common/titleSearch/TitleSearchSection'
|
|
|
|
import ColorCountText from '../common/titleSearch/ColorCountText'
|
|
|
|
import ColorCountText from '../common/titleSearch/ColorCountText'
|
|
|
|
import update from 'immutability-helper'
|
|
|
|
import update from 'immutability-helper'
|
|
|
|
|
|
|
|
|
|
|
|
import { WordsBtn, ConditionToolTip, on, off ,trigger} from 'educoder'
|
|
|
|
import { WordsBtn, ConditionToolTip, on, off ,trigger, sortDirections } from 'educoder'
|
|
|
|
|
|
|
|
|
|
|
|
import axios from 'axios'
|
|
|
|
import axios from 'axios'
|
|
|
|
|
|
|
|
|
|
|
@ -63,6 +63,7 @@ function buildColumns(that) {
|
|
|
|
width: 120,
|
|
|
|
width: 120,
|
|
|
|
key: 'name',
|
|
|
|
key: 'name',
|
|
|
|
sorter: showSorter,
|
|
|
|
sorter: showSorter,
|
|
|
|
|
|
|
|
sortDirections: sortDirections,
|
|
|
|
sortOrder: sortedInfo.columnKey === 'name' && sortedInfo.order,
|
|
|
|
sortOrder: sortedInfo.columnKey === 'name' && sortedInfo.order,
|
|
|
|
render: (name, record) => {
|
|
|
|
render: (name, record) => {
|
|
|
|
return <a href={`/users/${record.login}`} target="_blank" className="overflowHidden1" style={{ maxWidth: '110px'}}
|
|
|
|
return <a href={`/users/${record.login}`} target="_blank" className="overflowHidden1" style={{ maxWidth: '110px'}}
|
|
|
@ -75,6 +76,7 @@ function buildColumns(that) {
|
|
|
|
sorter: showSorter,
|
|
|
|
sorter: showSorter,
|
|
|
|
// 'ascend' | 'descend'
|
|
|
|
// 'ascend' | 'descend'
|
|
|
|
defaultSortOrder: 'ascend',
|
|
|
|
defaultSortOrder: 'ascend',
|
|
|
|
|
|
|
|
sortDirections: sortDirections,
|
|
|
|
sortOrder: sortedInfo.columnKey === 'role' && sortedInfo.order,
|
|
|
|
sortOrder: sortedInfo.columnKey === 'role' && sortedInfo.order,
|
|
|
|
|
|
|
|
|
|
|
|
}]
|
|
|
|
}]
|
|
|
@ -116,6 +118,7 @@ function buildColumns(that) {
|
|
|
|
title: '答辩组',
|
|
|
|
title: '答辩组',
|
|
|
|
// width: 90,
|
|
|
|
// width: 90,
|
|
|
|
sorter: showSorter,
|
|
|
|
sorter: showSorter,
|
|
|
|
|
|
|
|
sortDirections: sortDirections,
|
|
|
|
key: 'graduation_group',
|
|
|
|
key: 'graduation_group',
|
|
|
|
dataIndex: 'graduation_group',
|
|
|
|
dataIndex: 'graduation_group',
|
|
|
|
sortOrder: sortedInfo.columnKey === 'graduation_group' && sortedInfo.order,
|
|
|
|
sortOrder: sortedInfo.columnKey === 'graduation_group' && sortedInfo.order,
|
|
|
|