|
|
|
@ -85,9 +85,9 @@ function buildColumns(that, student_works) {
|
|
|
|
|
overflow: 'hidden',
|
|
|
|
|
textOverflow: 'ellipsis',
|
|
|
|
|
whiteSpace: 'nowrap',
|
|
|
|
|
width: '98px',
|
|
|
|
|
width: '74px',
|
|
|
|
|
margin: '0 auto'
|
|
|
|
|
}} title={text}>
|
|
|
|
|
}} title={text && text.length > 5 ? text : ''}>
|
|
|
|
|
{/* <Tooltip placement="bottom" title={text}>
|
|
|
|
|
</Tooltip> */}
|
|
|
|
|
{text}
|
|
|
|
@ -136,7 +136,7 @@ function buildColumns(that, student_works) {
|
|
|
|
|
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
<a href="javascript:;" style={{color:'#4CACFF'}}>{record.work_group}</a>
|
|
|
|
|
<a href="javascript:void(0);" style={{color:'#4CACFF'}}>{record.work_group}</a>
|
|
|
|
|
</span>
|
|
|
|
|
),
|
|
|
|
|
})
|
|
|
|
@ -150,7 +150,8 @@ function buildColumns(that, student_works) {
|
|
|
|
|
|
|
|
|
|
render: (project_info, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
{project_info && project_info.name && <a href={`/projects/${project_info.id}`} target="_blank"
|
|
|
|
|
{project_info && project_info.name && <a href={project_info.id == -1 ? 'javascript:void(0)' : `/projects/${project_info.id}`}
|
|
|
|
|
target={ project_info.id == -1 ? '' : "_blank" }
|
|
|
|
|
className="overflowHidden1" style={{color:'#4CACFF', width: '80px', margin: '0 auto', display: 'block'}} title={project_info.name}
|
|
|
|
|
>{project_info.name}</a>}
|
|
|
|
|
</span>
|
|
|
|
@ -184,7 +185,7 @@ function buildColumns(that, student_works) {
|
|
|
|
|
</span>
|
|
|
|
|
)},
|
|
|
|
|
}, {
|
|
|
|
|
width: 150,
|
|
|
|
|
width: 106,
|
|
|
|
|
title: '更新时间',
|
|
|
|
|
dataIndex: 'update_time',
|
|
|
|
|
key: 'update_time',
|
|
|
|
@ -249,7 +250,8 @@ function buildColumns(that, student_works) {
|
|
|
|
|
*/
|
|
|
|
|
columns.push({
|
|
|
|
|
width: 84,
|
|
|
|
|
title: <div style={{color: 'rgba(0,0,0,.85)'}}><div style={{color: 'rgba(0,0,0,.85)'}}>匿评</div>评分</div>,
|
|
|
|
|
// title: <div style={{color: 'rgba(0,0,0,.85)'}}><div style={{color: 'rgba(0,0,0,.85)'}}>匿评</div>评分</div>,
|
|
|
|
|
title: <div style={{color: 'rgba(0,0,0,.85)'}}>匿评评分</div>,
|
|
|
|
|
key: 'student_score',
|
|
|
|
|
dataIndex: 'student_score',
|
|
|
|
|
|
|
|
|
@ -323,7 +325,7 @@ function buildColumns(that, student_works) {
|
|
|
|
|
}
|
|
|
|
|
if (isAdminOrStudent || that.props.work_public == true) {
|
|
|
|
|
columns.push({
|
|
|
|
|
width: 92,
|
|
|
|
|
width: 72,
|
|
|
|
|
title: '操作',
|
|
|
|
|
key: 'operation',
|
|
|
|
|
dataIndex: 'operation',
|
|
|
|
@ -614,6 +616,7 @@ class CommonWorkList extends Component{
|
|
|
|
|
ref="checkCodeModal"
|
|
|
|
|
{...this.props}
|
|
|
|
|
></CheckCodeModal>
|
|
|
|
|
|
|
|
|
|
<AccessoryModal
|
|
|
|
|
{...this.props}
|
|
|
|
|
modalname={"补交附件"}
|
|
|
|
@ -649,6 +652,10 @@ class CommonWorkList extends Component{
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 18px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.workListContent .ant-table-thead > tr > th, .workListContent .ant-table-tbody > tr > td {
|
|
|
|
|
padding: 10px 1px;
|
|
|
|
|
}
|
|
|
|
|
`}</style>
|
|
|
|
|
<div style={{ background: '#fff'}} className="workListContent">
|
|
|
|
|
{ isAdmin && <ul className="clearfix" style={{padding: "20px 40px 10px", position: 'relative', paddingLeft: '24px'}}>
|
|
|
|
|