|
|
|
@ -130,31 +130,31 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
<span className="maxnamewidth100">
|
|
|
|
|
{record.name === undefined ?
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#9A9A9A',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>--</span>
|
|
|
|
|
:
|
|
|
|
|
record.name === "" ?
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#9A9A9A',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>--</span>
|
|
|
|
|
:
|
|
|
|
|
record.name === null ?
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#9A9A9A',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>--</span>
|
|
|
|
|
:
|
|
|
|
|
record.name === "--" ?
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#9A9A9A',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>--</span>
|
|
|
|
|
:
|
|
|
|
|
<a className="maxnamewidth100" title={record.name} style={{
|
|
|
|
|
"color": '#07111B',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#07111B',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>{record.name}</a>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -172,20 +172,20 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
<span className="maxnamewidth110">
|
|
|
|
|
{record.stduynumber === undefined ?
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#9A9A9A',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>--
|
|
|
|
|
</span>
|
|
|
|
|
: record.stduynumber === null ?
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#9A9A9A',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>--
|
|
|
|
|
</span>
|
|
|
|
|
: record.stduynumber === "" ?
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#9A9A9A',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>--
|
|
|
|
|
</span>
|
|
|
|
|
:
|
|
|
|
@ -193,8 +193,8 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
title={record.stduynumber}
|
|
|
|
|
className="maxnamewidth110"
|
|
|
|
|
style={{
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#9A9A9A',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>{
|
|
|
|
|
record.stduynumber
|
|
|
|
|
}
|
|
|
|
@ -214,8 +214,8 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
<span className="ysltable" style={{
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#9A9A9A',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>{record.classroom === undefined ? "--" : record.classroom === "" ? "--" : record.classroom === null ? "--" : record.classroom}</span>
|
|
|
|
|
</span>
|
|
|
|
|
),
|
|
|
|
@ -229,11 +229,11 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
<span style={record.submitstate === "延时提交" ? {
|
|
|
|
|
"color": '#DD1717',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
} : record.submitstate === "按时提交" ? {"color": '#29BD8B', "text-align": "center"} : {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#DD1717',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
} : record.submitstate === "按时提交" ? {color: '#29BD8B', textAlign: "center"} : {
|
|
|
|
|
color: '#747A7F',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>{record.submitstate === undefined ? "--" : record.submitstate === "" ? "--" : record.submitstate === null ? "--" : record.submitstate}</span>
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
@ -248,8 +248,8 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span style={
|
|
|
|
|
{
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#747A7F',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}
|
|
|
|
|
}>{record.cost_time === null ? "--":record.cost_time === undefined ?"--":record.cost_time }
|
|
|
|
|
</span>
|
|
|
|
@ -265,8 +265,8 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#9A9A9A',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>{record.updatetime === undefined ? "--" : record.updatetime === "" ? "--" : record.updatetime}</span>
|
|
|
|
|
</span>
|
|
|
|
|
),
|
|
|
|
@ -279,7 +279,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
className:'font-14',
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
<span style={{"color": '#07111B', "text-align": "center"}}>{record.completion+"/"+this.state.challenges_count}</span>
|
|
|
|
|
<span style={{color: '#07111B', textAlign: "center"}}>{record.completion+"/"+this.state.challenges_count}</span>
|
|
|
|
|
</span>
|
|
|
|
|
),
|
|
|
|
|
},
|
|
|
|
@ -292,14 +292,14 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
<span style={parseInt(record.levelscore) <= 60 ? {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#747A7F',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
} : parseInt(record.levelscore) < 90 ? {
|
|
|
|
|
"color": '#FF6800',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
} : parseInt(record.levelscore) >= 90 ? {"color": '#DD1717', "text-align": "center"} : {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#FF6800',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
} : parseInt(record.levelscore) >= 90 ? {color: '#DD1717', textAlign: "center"} : {
|
|
|
|
|
color: '#747A7F',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>{record.levelscore}</span>
|
|
|
|
|
</span>
|
|
|
|
|
)
|
|
|
|
@ -320,15 +320,15 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
)
|
|
|
|
|
:
|
|
|
|
|
<span style={parseInt(record.efficiencyscore) <= 60 ? {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#747A7F',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
} : parseInt(record.efficiencyscore) < 90 ? {
|
|
|
|
|
"color": '#FF6800',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#FF6800',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
} : parseInt(record.efficiencyscore) >= 90 ? {
|
|
|
|
|
"color": '#DD1717',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
} : {"color": '#747A7F', "text-align": "center"}}>{record.efficiencyscore}</span>
|
|
|
|
|
color: '#DD1717',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
} : {color: '#747A7F', textAlign: "center"}}>{record.efficiencyscore}</span>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
@ -344,15 +344,15 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
<span>
|
|
|
|
|
{
|
|
|
|
|
record.levelscore && record.levelscore === "--"?
|
|
|
|
|
<span style={{"color": '#9A9A9A', "text-align": "center"}}>{record.levelscore}</span>
|
|
|
|
|
<span style={{color: '#9A9A9A', textAlign: "center"}}>{record.levelscore}</span>
|
|
|
|
|
:
|
|
|
|
|
<span style={parseInt(record.levelscore) >=90 ? {
|
|
|
|
|
"color": '#DD1717',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#DD1717',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
} : parseInt(record.levelscore) <= 60?{
|
|
|
|
|
"color": '#FF6800',
|
|
|
|
|
"text-align": "center",
|
|
|
|
|
}: {"color": '#747A7F', "text-align": "center"}}>{record.levelscore}</span>
|
|
|
|
|
color: '#FF6800',
|
|
|
|
|
textAlign: "center",
|
|
|
|
|
}: {color: '#747A7F', textAlign: "center"}}>{record.levelscore}</span>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
@ -395,8 +395,8 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
course_group: null,
|
|
|
|
|
publish_immediately: undefined,
|
|
|
|
|
end_immediately: undefined,
|
|
|
|
|
mystyle: {"display": "block", "color": '#07111B', "text-align": "center"},
|
|
|
|
|
mystyles: {"display": "none", "color": '#07111B', "text-align": "center"},
|
|
|
|
|
mystyle: {"display": "block", color: '#07111B', textAlign: "center"},
|
|
|
|
|
mystyles: {"display": "none", color: '#07111B', textAlign: "center"},
|
|
|
|
|
mystyle1: {"display": "block"},
|
|
|
|
|
mystyles1: {"display": "none"},
|
|
|
|
|
unlimited: 0,
|
|
|
|
@ -413,7 +413,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
align: 'center',
|
|
|
|
|
className:'font-14',
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span style={{"color": '#07111B', "text-align": "center"}}>{record.number}
|
|
|
|
|
<span style={{color: '#07111B', textAlign: "center"}}>{record.number}
|
|
|
|
|
</span>
|
|
|
|
|
)
|
|
|
|
|
},
|
|
|
|
@ -425,7 +425,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
className:'font-14 maxnamewidth100',
|
|
|
|
|
width:'100px',
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<a className="maxnamewidth100" title={record.name} style={{"color": '#07111B', "text-align": "center"}}>{record.name}</a>
|
|
|
|
|
<a className="maxnamewidth100" title={record.name} style={{color: '#07111B', textAlign: "center"}}>{record.name}</a>
|
|
|
|
|
)
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -439,20 +439,20 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
<span className="maxnamewidth110">
|
|
|
|
|
{record.stduynumber === undefined ?
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#9A9A9A',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>--
|
|
|
|
|
</span>
|
|
|
|
|
: record.stduynumber === null ?
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#9A9A9A',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>--
|
|
|
|
|
</span>
|
|
|
|
|
: record.stduynumber === "" ?
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#9A9A9A',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>--
|
|
|
|
|
</span>
|
|
|
|
|
:
|
|
|
|
@ -460,8 +460,8 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
title={record.stduynumber}
|
|
|
|
|
className="maxnamewidth110"
|
|
|
|
|
style={{
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#9A9A9A',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>{
|
|
|
|
|
record.stduynumber
|
|
|
|
|
}
|
|
|
|
@ -480,7 +480,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
className:'font-14',
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
{record.classroom === undefined ?<span className="ysltable" style={{"color": '#07111B', "text-align": "center"}}> --</span> : record.classroom === "" ? <span className="ysltable" style={{"color": '#07111B', "text-align": "center"}}>--</span>: record.classroom === null ? <span className="ysltable" style={{"color": '#07111B', "text-align": "center"}}>--</span> : <span className="ysltable" style={{"color": '#07111B', "text-align": "center"}}>{record.classroom}</span>}
|
|
|
|
|
{record.classroom === undefined ?<span className="ysltable" style={{color: '#07111B', textAlign: "center"}}> --</span> : record.classroom === "" ? <span className="ysltable" style={{color: '#07111B', textAlign: "center"}}>--</span>: record.classroom === null ? <span className="ysltable" style={{color: '#07111B', textAlign: "center"}}>--</span> : <span className="ysltable" style={{color: '#07111B', textAlign: "center"}}>{record.classroom}</span>}
|
|
|
|
|
</span>
|
|
|
|
|
)
|
|
|
|
|
},
|
|
|
|
@ -492,11 +492,11 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
className:'font-14',
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span style={record.submitstate === "延时提交" ? {
|
|
|
|
|
"color": '#DD1717',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
} : record.submitstate === "按时提交" ? {"color": '#29BD8B', "text-align": "center"} : {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#DD1717',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
} : record.submitstate === "按时提交" ? {color: '#29BD8B', textAlign: "center"} : {
|
|
|
|
|
color: '#747A7F',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>{record.submitstate}
|
|
|
|
|
</span>
|
|
|
|
|
)
|
|
|
|
@ -511,8 +511,8 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span style={
|
|
|
|
|
{
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#747A7F',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}
|
|
|
|
|
}>{record.cost_time === null ? "--":record.cost_time === undefined ?"--":record.cost_time }
|
|
|
|
|
</span>
|
|
|
|
@ -526,7 +526,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
align: 'center',
|
|
|
|
|
className:'font-14',
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span style={{"color": '#9A9A9A', "text-align": "center"}}>{record.updatetime}</span>
|
|
|
|
|
<span style={{color: '#9A9A9A', textAlign: "center"}}>{record.updatetime}</span>
|
|
|
|
|
),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -541,7 +541,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
<Tooltip placement="bottom" title={<div>
|
|
|
|
|
<div>已通过{record.completion}关,共{this.state.challenges_count}关</div>
|
|
|
|
|
</div>}>
|
|
|
|
|
<span style={{"color": '#07111B', "text-align": "center"}}>{record.completion+"/"+this.state.challenges_count} </span>
|
|
|
|
|
<span style={{color: '#07111B', textAlign: "center"}}>{record.completion+"/"+this.state.challenges_count} </span>
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
@ -556,14 +556,14 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
<span style={parseInt(record.levelscore) <= 60 ? {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#747A7F',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
} : parseInt(record.levelscore) < 90 ? {
|
|
|
|
|
"color": '#FF6800',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
} : parseInt(record.levelscore) >= 90 ? {"color": '#DD1717', "text-align": "center"} : {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#FF6800',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
} : parseInt(record.levelscore) >= 90 ? {color: '#DD1717', textAlign: "center"} : {
|
|
|
|
|
color: '#747A7F',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>{record.levelscore}</span>
|
|
|
|
|
</span>
|
|
|
|
|
)
|
|
|
|
@ -602,15 +602,15 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
)
|
|
|
|
|
:
|
|
|
|
|
<span style={parseInt(record.efficiencyscore) <= 60 ? {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#747A7F',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
} : parseInt(record.efficiencyscore) < 90 ? {
|
|
|
|
|
"color": '#FF6800',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#FF6800',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
} : parseInt(record.efficiencyscore) >= 90 ? {
|
|
|
|
|
"color": '#DD1717',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
} : {"color": '#747A7F', "text-align": "center"}}>{record.efficiencyscore}</span>
|
|
|
|
|
color: '#DD1717',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
} : {color: '#747A7F', textAlign: "center"}}>{record.efficiencyscore}</span>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
@ -634,19 +634,19 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
record.finalscore&&record.finalscore==="--"?
|
|
|
|
|
<span style=
|
|
|
|
|
{{
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#9A9A9A',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>{record.finalscore}</span>
|
|
|
|
|
:
|
|
|
|
|
<span style={parseInt(record.finalscore) <= 60 ? {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#747A7F',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
} : parseInt(record.finalscore) < 90 ? {
|
|
|
|
|
"color": '#FF6800',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
} : parseInt(record.finalscore) >= 90 ? {"color": '#DD1717', "text-align": "center"} : {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#FF6800',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
} : parseInt(record.finalscore) >= 90 ? {color: '#DD1717', textAlign: "center"} : {
|
|
|
|
|
color: '#747A7F',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>{record.finalscore}</span>
|
|
|
|
|
}
|
|
|
|
|
</Tooltip>
|
|
|
|
@ -662,19 +662,19 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
record.finalscore&&record.finalscore==="--"?
|
|
|
|
|
<span style=
|
|
|
|
|
{{
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#9A9A9A',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>{record.finalscore}</span>
|
|
|
|
|
:
|
|
|
|
|
<span style={parseInt(record.finalscore) <= 60 ? {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#747A7F',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
} : parseInt(record.finalscore) < 90 ? {
|
|
|
|
|
"color": '#FF6800',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
} : parseInt(record.finalscore) >= 90 ? {"color": '#DD1717', "text-align": "center"} : {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#FF6800',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
} : parseInt(record.finalscore) >= 90 ? {color: '#DD1717', textAlign: "center"} : {
|
|
|
|
|
color: '#747A7F',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>{record.finalscore}</span>
|
|
|
|
|
}
|
|
|
|
|
</Tooltip>
|
|
|
|
@ -707,7 +707,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
align: 'center',
|
|
|
|
|
className:'font-14',
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span style={{"color": '#07111B', "text-align": "center"}}>{record.number}
|
|
|
|
|
<span style={{color: '#07111B', textAlign: "center"}}>{record.number}
|
|
|
|
|
</span>
|
|
|
|
|
)
|
|
|
|
|
},
|
|
|
|
@ -719,7 +719,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
className:'font-14 maxnamewidth100',
|
|
|
|
|
width:'100px',
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<a className="maxnamewidth100" title={record.name} style={{"color": '#07111B', "text-align": "center"}}>{record.name}</a>
|
|
|
|
|
<a className="maxnamewidth100" title={record.name} style={{color: '#07111B', textAlign: "center"}}>{record.name}</a>
|
|
|
|
|
)
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -733,20 +733,20 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
<span className="maxnamewidth110">
|
|
|
|
|
{record.stduynumber === undefined ?
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#9A9A9A',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>--
|
|
|
|
|
</span>
|
|
|
|
|
: record.stduynumber === null ?
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#9A9A9A',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>--
|
|
|
|
|
</span>
|
|
|
|
|
: record.stduynumber === "" ?
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#9A9A9A',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>--
|
|
|
|
|
</span>
|
|
|
|
|
:
|
|
|
|
@ -754,8 +754,8 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
title={record.stduynumber}
|
|
|
|
|
className="maxnamewidth110"
|
|
|
|
|
style={{
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#9A9A9A',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>{
|
|
|
|
|
record.stduynumber
|
|
|
|
|
}
|
|
|
|
@ -774,7 +774,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
className:'font-14',
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
{record.classroom === undefined ?<span className="ysltable" style={{"color": '#07111B', "text-align": "center"}}> --</span> : record.classroom === "" ? <span className="ysltable" style={{"color": '#07111B', "text-align": "center"}}>--</span>: record.classroom === null ? <span className="ysltable" style={{"color": '#07111B', "text-align": "center"}}>--</span> : <span className="ysltable" style={{"color": '#07111B', "text-align": "center"}}>{record.classroom}</span>}
|
|
|
|
|
{record.classroom === undefined ?<span className="ysltable" style={{color: '#07111B', textAlign: "center"}}> --</span> : record.classroom === "" ? <span className="ysltable" style={{color: '#07111B', textAlign: "center"}}>--</span>: record.classroom === null ? <span className="ysltable" style={{color: '#07111B', textAlign: "center"}}>--</span> : <span className="ysltable" style={{color: '#07111B', textAlign: "center"}}>{record.classroom}</span>}
|
|
|
|
|
</span>
|
|
|
|
|
)
|
|
|
|
|
},
|
|
|
|
@ -786,11 +786,11 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
className:'font-14',
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span style={record.submitstate === "延时提交" ? {
|
|
|
|
|
"color": '#DD1717',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
} : record.submitstate === "按时提交" ? {"color": '#29BD8B', "text-align": "center"} : {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#DD1717',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
} : record.submitstate === "按时提交" ? {color: '#29BD8B', textAlign: "center"} : {
|
|
|
|
|
color: '#747A7F',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>{record.submitstate}
|
|
|
|
|
</span>
|
|
|
|
|
)
|
|
|
|
@ -803,7 +803,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
align: 'center',
|
|
|
|
|
className:'font-14',
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span style={{"color": '#9A9A9A', "text-align": "center"}}>{record.updatetime}</span>
|
|
|
|
|
<span style={{color: '#9A9A9A',textAlign: "center"}}>{record.updatetime}</span>
|
|
|
|
|
),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -815,8 +815,8 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span style={
|
|
|
|
|
{
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#747A7F',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}
|
|
|
|
|
}>{record.cost_time === null ? "--":record.cost_time === undefined ?"--":record.cost_time }
|
|
|
|
|
</span>
|
|
|
|
@ -835,7 +835,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
<Tooltip placement="bottom" title={<div>
|
|
|
|
|
<div>已通过{record.completion}关,共{this.state.challenges_count}关</div>
|
|
|
|
|
</div>}>
|
|
|
|
|
<span style={{"color": '#07111B', "text-align": "center"}}>{record.completion+"/"+this.state.challenges_count} </span>
|
|
|
|
|
<span style={{color: '#07111B',textAlign: "center"}}>{record.completion+"/"+this.state.challenges_count} </span>
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
@ -850,14 +850,14 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
<span style={parseInt(record.levelscore) <= 60 ? {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#747A7F',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
} : parseInt(record.levelscore) < 90 ? {
|
|
|
|
|
"color": '#FF6800',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
} : parseInt(record.levelscore) >= 90 ? {"color": '#DD1717', "text-align": "center"} : {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#FF6800',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
} : parseInt(record.levelscore) >= 90 ? {color: '#DD1717', textAlign: "center"} : {
|
|
|
|
|
color: '#747A7F',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>{record.levelscore}</span>
|
|
|
|
|
</span>
|
|
|
|
|
)
|
|
|
|
@ -896,15 +896,15 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
)
|
|
|
|
|
:
|
|
|
|
|
<span style={parseInt(record.efficiencyscore) <= 60 ? {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#747A7F',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
} : parseInt(record.efficiencyscore) < 90 ? {
|
|
|
|
|
"color": '#FF6800',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#FF6800',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
} : parseInt(record.efficiencyscore) >= 90 ? {
|
|
|
|
|
"color": '#DD1717',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
} : {"color": '#747A7F', "text-align": "center"}}>{record.efficiencyscore}</span>
|
|
|
|
|
color: '#DD1717',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
} : {color: '#747A7F', textAlign: "center"}}>{record.efficiencyscore}</span>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
@ -928,19 +928,19 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
record.finalscore&&record.finalscore==="--"?
|
|
|
|
|
<span style=
|
|
|
|
|
{{
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#9A9A9A',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>{record.finalscore}</span>
|
|
|
|
|
:
|
|
|
|
|
<span style={parseInt(record.finalscore) <= 60 ? {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#747A7F',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
} : parseInt(record.finalscore) < 90 ? {
|
|
|
|
|
"color": '#FF6800',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
} : parseInt(record.finalscore) >= 90 ? {"color": '#DD1717', "text-align": "center"} : {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#FF6800',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
} : parseInt(record.finalscore) >= 90 ? {color: '#DD1717', textAlign: "center"} : {
|
|
|
|
|
color: '#747A7F',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>{record.finalscore}</span>
|
|
|
|
|
}
|
|
|
|
|
</Tooltip>
|
|
|
|
@ -956,19 +956,19 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
record.finalscore&&record.finalscore==="--"?
|
|
|
|
|
<span style=
|
|
|
|
|
{{
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#9A9A9A',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>{record.finalscore}</span>
|
|
|
|
|
:
|
|
|
|
|
<span style={parseInt(record.finalscore) <= 60 ? {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#747A7F',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
} : parseInt(record.finalscore) < 90 ? {
|
|
|
|
|
"color": '#FF6800',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
} : parseInt(record.finalscore) >= 90 ? {"color": '#DD1717', "text-align": "center"} : {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
color: '#FF6800',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
} : parseInt(record.finalscore) >= 90 ? {color: '#DD1717', textAlign: "center"} : {
|
|
|
|
|
color: '#747A7F',
|
|
|
|
|
textAlign: "center"
|
|
|
|
|
}}>{record.finalscore}</span>
|
|
|
|
|
}
|
|
|
|
|
</Tooltip>
|
|
|
|
@ -1031,6 +1031,8 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
// console.log(this.props);
|
|
|
|
|
// console.log(this.props.isAdmin())
|
|
|
|
|
this.student();
|
|
|
|
|
console.log("Listofworksstudentone---------------");
|
|
|
|
|
console.log(this.props);
|
|
|
|
|
}
|
|
|
|
|
isupdatas = () => {
|
|
|
|
|
var homeworkid = this.props.match.params.homeworkid;
|
|
|
|
@ -2492,27 +2494,12 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
let {columns,course_groupysls,datajs,isAdmin, course_groupyslstwo, unlimited, unlimitedtwo, course_group_info, orders, task_status, checkedValuesine, searchtext, teacherlist, visible,visibles, game_list,columnsstu, limit,experience, boolgalist,viewtrainingdata, teacherdata, page, data, jobsettingsdata, styletable, datas, order, loadingstate,computeTimetype} = this.state;
|
|
|
|
|
|
|
|
|
|
const antIcon = <Icon type="loading" style={{ fontSize: 24 }} spin />;
|
|
|
|
|
// console.log(this.state.student_works);
|
|
|
|
|
// console.log("841");
|
|
|
|
|
// console.log(this.state.columns);
|
|
|
|
|
// console.log(datajs);
|
|
|
|
|
// console.log("2202");
|
|
|
|
|
// console.log(this.props.isAdmin());
|
|
|
|
|
// console.log("2498");
|
|
|
|
|
// console.log(data);
|
|
|
|
|
// console.log(datas);
|
|
|
|
|
// console.log(this.props.isAdmin());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let course_is_end = this.props.current_user&&this.props.current_user.course_is_end;
|
|
|
|
|
// if(this.props.isAdmin() === false){
|
|
|
|
|
// if(teacherdata.student_works!==undefined){
|
|
|
|
|
// if(teacherdata.student_works.length>0){
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
//
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
console.log("Listofworksstudentone+++++++++");
|
|
|
|
|
console.log(this.props);
|
|
|
|
|
return (
|
|
|
|
|
this.props.isAdmin() === true ?
|
|
|
|
|
(
|
|
|
|
@ -3217,11 +3204,11 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
{/*<i className="iconfont icon-xiajiantou ml5 font-12 "></i>*/}
|
|
|
|
|
{/*<ul className="edu-position-hide undis mt10">*/}
|
|
|
|
|
{/*<li><a onClick={(e) => this.funorder("updated_at")} data-remote="true"*/}
|
|
|
|
|
{/*className="color-grey-6 font-12" style={{"text-align": "center "}}>更新时间</a></li>*/}
|
|
|
|
|
{/*className="color-grey-6 font-12" style={{textAlign: "center "}}>更新时间</a></li>*/}
|
|
|
|
|
{/*<li><a onClick={(e) => this.funorder("work_score")} data-remote="true"*/}
|
|
|
|
|
{/*className="color-grey-6 font-12" style={{"text-align": "center "}}>最终成绩</a></li>*/}
|
|
|
|
|
{/*className="color-grey-6 font-12" style={{textAlign: "center "}}>最终成绩</a></li>*/}
|
|
|
|
|
{/*<li><a onClick={(e) => this.funorder("student_id")} data-remote="true"*/}
|
|
|
|
|
{/*className="color-grey-6 font-12" style={{"text-align": "center "}}>学生学号</a></li>*/}
|
|
|
|
|
{/*className="color-grey-6 font-12" style={{textAlign: "center "}}>学生学号</a></li>*/}
|
|
|
|
|
{/*</ul>*/}
|
|
|
|
|
{/*</li>*/}
|
|
|
|
|
{/*</ul>*/}
|
|
|
|
|