|
|
@ -246,13 +246,13 @@ class PollDetailTabFirst extends Component{
|
|
|
|
dataIndex: 'No',
|
|
|
|
dataIndex: 'No',
|
|
|
|
key: 'No',
|
|
|
|
key: 'No',
|
|
|
|
className:"edu-txt-center",
|
|
|
|
className:"edu-txt-center",
|
|
|
|
width:110
|
|
|
|
width:120
|
|
|
|
}, {
|
|
|
|
}, {
|
|
|
|
title: '姓名',
|
|
|
|
title: '姓名',
|
|
|
|
dataIndex: 'name',
|
|
|
|
dataIndex: 'name',
|
|
|
|
key: 'name',
|
|
|
|
key: 'name',
|
|
|
|
className:"edu-txt-center",
|
|
|
|
className:"edu-txt-center",
|
|
|
|
width:160
|
|
|
|
width:170
|
|
|
|
}, {
|
|
|
|
}, {
|
|
|
|
title: '学号',
|
|
|
|
title: '学号',
|
|
|
|
dataIndex: 'StudentNo',
|
|
|
|
dataIndex: 'StudentNo',
|
|
|
@ -269,11 +269,11 @@ class PollDetailTabFirst extends Component{
|
|
|
|
title: '分班',
|
|
|
|
title: '分班',
|
|
|
|
key: 'classes',
|
|
|
|
key: 'classes',
|
|
|
|
dataIndex: 'classes',
|
|
|
|
dataIndex: 'classes',
|
|
|
|
width:160,
|
|
|
|
width:220,
|
|
|
|
className:poll_types && poll_types.groups_count > 0 ? "edu-txt-center":"edu-txt-center none",
|
|
|
|
className:poll_types && poll_types.groups_count > 0 ? "edu-txt-center":"edu-txt-center none",
|
|
|
|
render:(classes,item,index)=>{
|
|
|
|
render:(classes,item,index)=>{
|
|
|
|
return(
|
|
|
|
return(
|
|
|
|
item.classes ? <span>{item.classes}</span> : <span className="color-grey-9">--</span>
|
|
|
|
item.classes ? <span style={{maxWidth:'208px',display:"block"}} title={item.classes} className="task-hide">{item.classes}</span> : <span className="color-grey-9">--</span>
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
}, {
|
|
|
@ -281,7 +281,7 @@ class PollDetailTabFirst extends Component{
|
|
|
|
dataIndex: 'status',
|
|
|
|
dataIndex: 'status',
|
|
|
|
key: 'status',
|
|
|
|
key: 'status',
|
|
|
|
className:"edu-txt-center",
|
|
|
|
className:"edu-txt-center",
|
|
|
|
width:160,
|
|
|
|
width:170,
|
|
|
|
render:(status,item,index)=>{
|
|
|
|
render:(status,item,index)=>{
|
|
|
|
return(
|
|
|
|
return(
|
|
|
|
item.status == 1 ?<span className='color-green'>按时提交</span>:<span>未提交</span>
|
|
|
|
item.status == 1 ?<span className='color-green'>按时提交</span>:<span>未提交</span>
|
|
|
@ -292,7 +292,7 @@ class PollDetailTabFirst extends Component{
|
|
|
|
dataIndex: 'time',
|
|
|
|
dataIndex: 'time',
|
|
|
|
key: 'time',
|
|
|
|
key: 'time',
|
|
|
|
className:"edu-txt-center",
|
|
|
|
className:"edu-txt-center",
|
|
|
|
width:160,
|
|
|
|
width:170,
|
|
|
|
sorter: true,
|
|
|
|
sorter: true,
|
|
|
|
defaultSortOrder: 'descend',
|
|
|
|
defaultSortOrder: 'descend',
|
|
|
|
sortDirections: sortDirections,
|
|
|
|
sortDirections: sortDirections,
|
|
|
@ -395,7 +395,7 @@ class PollDetailTabFirst extends Component{
|
|
|
|
{/* </div>*/}
|
|
|
|
{/* </div>*/}
|
|
|
|
{/*}*/}
|
|
|
|
{/*}*/}
|
|
|
|
</div>}
|
|
|
|
</div>}
|
|
|
|
<div className="edu-table edu-back-white minH-560">
|
|
|
|
<div className="edu-table edu-back-white minH-560 pollResultList">
|
|
|
|
{
|
|
|
|
{
|
|
|
|
data && data.length > 0 ? <Table columns={columns} dataSource={data} pagination={false}
|
|
|
|
data && data.length > 0 ? <Table columns={columns} dataSource={data} pagination={false}
|
|
|
|
onChange={this.table1handleChange}></Table> : <NoneData></NoneData>
|
|
|
|
onChange={this.table1handleChange}></Table> : <NoneData></NoneData>
|
|
|
|