|
|
|
@ -104,32 +104,32 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
key: 'number',
|
|
|
|
|
align: "center",
|
|
|
|
|
className: 'font-14',
|
|
|
|
|
width: '100px',
|
|
|
|
|
width: '90px',
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span style={{width: '100px'}}>
|
|
|
|
|
<span style={{width: '90px'}}>
|
|
|
|
|
{record.number === undefined ?
|
|
|
|
|
<span style={{
|
|
|
|
|
color: '#9A9A9A',
|
|
|
|
|
textAlign: "center",
|
|
|
|
|
width: '100px'
|
|
|
|
|
width: '90px'
|
|
|
|
|
}}> --</span>
|
|
|
|
|
: record.number === "" ?
|
|
|
|
|
<span style={{
|
|
|
|
|
color: '#9A9A9A',
|
|
|
|
|
textAlign: "center",
|
|
|
|
|
width: '100px'
|
|
|
|
|
width: '90px'
|
|
|
|
|
}}>--</span>
|
|
|
|
|
: record.number === "--" ?
|
|
|
|
|
<span style={{
|
|
|
|
|
color: '#9A9A9A',
|
|
|
|
|
textAlign: "center",
|
|
|
|
|
width: '100px'
|
|
|
|
|
width: '90px'
|
|
|
|
|
}}>--</span>
|
|
|
|
|
:
|
|
|
|
|
<span style={{
|
|
|
|
|
color: '#07111B',
|
|
|
|
|
textAlign: "center",
|
|
|
|
|
width: '100px'
|
|
|
|
|
width: '90px'
|
|
|
|
|
}}> {record.number}</span>
|
|
|
|
|
}
|
|
|
|
|
</span>
|
|
|
|
@ -187,48 +187,46 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
dataIndex: 'stduynumber',
|
|
|
|
|
key: 'stduynumber',
|
|
|
|
|
align: "center",
|
|
|
|
|
className: 'font-14 maxnamewidth145',
|
|
|
|
|
width: '145px',
|
|
|
|
|
className: 'font-14 maxnamewidth120',
|
|
|
|
|
width: '120px',
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span className="maxnamewidth145" style={{
|
|
|
|
|
width: '145px',
|
|
|
|
|
<span className="maxnamewidth120" style={{
|
|
|
|
|
width: '120px',
|
|
|
|
|
}}>
|
|
|
|
|
{record.stduynumber === undefined ?
|
|
|
|
|
<span style={{
|
|
|
|
|
color: '#000',
|
|
|
|
|
textAlign: "center",
|
|
|
|
|
width: '145px',
|
|
|
|
|
width: '120px',
|
|
|
|
|
}}>--
|
|
|
|
|
</span>
|
|
|
|
|
: record.stduynumber === null ?
|
|
|
|
|
<span style={{
|
|
|
|
|
color: '#000',
|
|
|
|
|
textAlign: "center",
|
|
|
|
|
width: '145px',
|
|
|
|
|
width: '120px',
|
|
|
|
|
}}>--
|
|
|
|
|
</span>
|
|
|
|
|
: record.stduynumber === "" ?
|
|
|
|
|
<span style={{
|
|
|
|
|
color: '#000',
|
|
|
|
|
textAlign: "center",
|
|
|
|
|
width: '145px',
|
|
|
|
|
width: '120px',
|
|
|
|
|
}}>--
|
|
|
|
|
</span>
|
|
|
|
|
:
|
|
|
|
|
<a
|
|
|
|
|
title={record.stduynumber}
|
|
|
|
|
className="maxnamewidth145"
|
|
|
|
|
className="maxnamewidth120"
|
|
|
|
|
style={{
|
|
|
|
|
color: '#000',
|
|
|
|
|
textAlign: "center",
|
|
|
|
|
width: '145px',
|
|
|
|
|
width: '120px',
|
|
|
|
|
}}>{
|
|
|
|
|
record.stduynumber
|
|
|
|
|
}
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
),
|
|
|
|
|
},
|
|
|
|
@ -237,36 +235,36 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
key: 'classroom',
|
|
|
|
|
dataIndex: 'classroom',
|
|
|
|
|
align: "center",
|
|
|
|
|
className: 'font-14 maxnamewidth145',
|
|
|
|
|
width: '145px',
|
|
|
|
|
className: 'font-14 maxnamewidth120',
|
|
|
|
|
width: '120px',
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span className="font-14 maxnamewidth145" style={{width: '145px'}}>
|
|
|
|
|
<span className="font-14 maxnamewidth120" style={{width: '120px'}}>
|
|
|
|
|
{record.classroom === undefined ?
|
|
|
|
|
<a className=" font-14 maxnamewidth145"
|
|
|
|
|
<a className=" font-14 maxnamewidth120"
|
|
|
|
|
style={{
|
|
|
|
|
color: '#9A9A9A',
|
|
|
|
|
textAlign: "center",
|
|
|
|
|
width: '145px',
|
|
|
|
|
width: '120px',
|
|
|
|
|
}}>--</a> : record.classroom === "" ?
|
|
|
|
|
<a className=" font-14 maxnamewidth145"
|
|
|
|
|
<a className=" font-14 maxnamewidth120"
|
|
|
|
|
style={{
|
|
|
|
|
color: '#9A9A9A',
|
|
|
|
|
textAlign: "center",
|
|
|
|
|
width: '145px',
|
|
|
|
|
width: '120px',
|
|
|
|
|
}}>--</a> : record.classroom === null ?
|
|
|
|
|
<a className=" font-14 maxnamewidth145"
|
|
|
|
|
<a className=" font-14 maxnamewidth120"
|
|
|
|
|
style={{
|
|
|
|
|
color: '#9A9A9A',
|
|
|
|
|
textAlign: "center",
|
|
|
|
|
width: '145px',
|
|
|
|
|
width: '120px',
|
|
|
|
|
}}>--</a>
|
|
|
|
|
:
|
|
|
|
|
<a className=" font-14 maxnamewidth145"
|
|
|
|
|
<a className=" font-14 maxnamewidth120"
|
|
|
|
|
title={record.classroom}
|
|
|
|
|
style={{
|
|
|
|
|
color: '#9A9A9A',
|
|
|
|
|
textAlign: "center",
|
|
|
|
|
width: '145px',
|
|
|
|
|
width: '120px',
|
|
|
|
|
}}>{record.classroom}</a>
|
|
|
|
|
}
|
|
|
|
|
</span>
|
|
|
|
@ -346,7 +344,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
// ),
|
|
|
|
|
// },
|
|
|
|
|
{
|
|
|
|
|
title: '当前完成关卡',
|
|
|
|
|
title: '最新完成关卡',
|
|
|
|
|
dataIndex: 'curcomlevel',
|
|
|
|
|
key: 'curcomlevel',
|
|
|
|
|
align: "center",
|
|
|
|
@ -494,8 +492,9 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
key: 'operating',
|
|
|
|
|
align: "center",
|
|
|
|
|
className: 'font-14',
|
|
|
|
|
width: '40px',
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
<span style={{width: '40px'}}>
|
|
|
|
|
{
|
|
|
|
|
record.submitstate === "未提交" ? <span style={{color: '#9A9A9A'}}>--</span>
|
|
|
|
|
:
|
|
|
|
@ -739,7 +738,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
// ),
|
|
|
|
|
// },
|
|
|
|
|
{
|
|
|
|
|
title: '当前完成关卡',
|
|
|
|
|
title: '最新完成关卡',
|
|
|
|
|
dataIndex: 'curcomlevel',
|
|
|
|
|
key: 'curcomlevel',
|
|
|
|
|
align: "center",
|
|
|
|
@ -887,8 +886,10 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
key: 'operating',
|
|
|
|
|
align: "center",
|
|
|
|
|
className: 'font-14',
|
|
|
|
|
width: '40px',
|
|
|
|
|
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
<span style={{width: '40px'}}>
|
|
|
|
|
{
|
|
|
|
|
record.submitstate === "未提交" ? <span style={{color: '#9A9A9A'}}>--</span>
|
|
|
|
|
:
|
|
|
|
@ -1090,7 +1091,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
// ),
|
|
|
|
|
// },
|
|
|
|
|
{
|
|
|
|
|
title: '当前完成关卡',
|
|
|
|
|
title: '最新完成关卡',
|
|
|
|
|
dataIndex: 'curcomlevel',
|
|
|
|
|
key: 'curcomlevel',
|
|
|
|
|
align: "center",
|
|
|
|
@ -1287,9 +1288,11 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
display: 'block',
|
|
|
|
|
align: 'center',
|
|
|
|
|
className: 'font-14',
|
|
|
|
|
width: '40px',
|
|
|
|
|
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
record.submitstate === "未提交" ?
|
|
|
|
|
<a style={{textAlign: "center"}} className="color-blue"
|
|
|
|
|
<a style={{textAlign: "center",width: '40px'}} className="color-blue"
|
|
|
|
|
onMouseDown={(e) => this.Viewstudenttraininginformationtysl2(e, record)}
|
|
|
|
|
onClick={() => this.Viewstudenttraininginformationt(record)}>评阅</a> :
|
|
|
|
|
<span>
|
|
|
|
@ -1451,7 +1454,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
)
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '当前完成关卡',
|
|
|
|
|
title: '最新完成关卡',
|
|
|
|
|
dataIndex: 'curcomlevel',
|
|
|
|
|
key: 'curcomlevel',
|
|
|
|
|
align: "center",
|
|
|
|
@ -1648,9 +1651,10 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
display: 'block',
|
|
|
|
|
align: 'center',
|
|
|
|
|
className: 'font-14',
|
|
|
|
|
width: '40px',
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
record.submitstate === "未提交" ?
|
|
|
|
|
<a style={{textAlign: "center"}} className="color-blue"
|
|
|
|
|
<a style={{textAlign: "center",width: '40px'}} className="color-blue"
|
|
|
|
|
onMouseDown={(e) => this.Viewstudenttraininginformationtysl2(e, record)}
|
|
|
|
|
onClick={() => this.Viewstudenttraininginformationt(record)}>评阅</a> :
|
|
|
|
|
<span>
|
|
|
|
@ -3473,22 +3477,22 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
}
|
|
|
|
|
if(homewrok===false){
|
|
|
|
|
for(var i=0;i<columnsstu.length;i++){
|
|
|
|
|
if (columnsstu[i].title === "当前完成关卡"){//item.id==122
|
|
|
|
|
if (columnsstu[i].title === "最新完成关卡"){//item.id==122
|
|
|
|
|
columnsstu.splice(i,1)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
for(var i=0;i<columnsstu2.length;i++){
|
|
|
|
|
if (columnsstu2[i].title === "当前完成关卡"){//item.id==122
|
|
|
|
|
if (columnsstu2[i].title === "最新完成关卡"){//item.id==122
|
|
|
|
|
columnsstu2.splice(i,1)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
for(var i=0;i<columns.length;i++){
|
|
|
|
|
if (columns[i].title === "当前完成关卡"){//item.id==122
|
|
|
|
|
if (columns[i].title === "最新完成关卡"){//item.id==122
|
|
|
|
|
columns.splice(i,1)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
for(var i=0;i<columnss.length;i++){
|
|
|
|
|
if (columnss[i].title === "当前完成关卡"){//item.id==122
|
|
|
|
|
if (columnss[i].title === "最新完成关卡"){//item.id==122
|
|
|
|
|
columnss.splice(i,1)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|