|
|
|
@ -45,6 +45,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
teacherlist: undefined,
|
|
|
|
|
searchtext: "",
|
|
|
|
|
Teacherliststudentlist: undefined,
|
|
|
|
|
mylistansum:0,
|
|
|
|
|
review: null,
|
|
|
|
|
course_groupysls: undefined,
|
|
|
|
|
nocomment: false,
|
|
|
|
@ -109,17 +110,17 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#999999',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
}}>--</span> :
|
|
|
|
|
}}>--</span> :
|
|
|
|
|
record.stduynumber ===
|
|
|
|
|
"" ?
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#999999',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
}}>--</span> :
|
|
|
|
|
}}>--</span> :
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
}}>{record.stduynumber}</span>
|
|
|
|
|
}}>{record.stduynumber}</span>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
@ -132,23 +133,23 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
align: 'center',
|
|
|
|
|
className: "edu-txt-center font-14",
|
|
|
|
|
width:"260px",
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
{record.classroom === null ?
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#999999',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
}}>--</span> :
|
|
|
|
|
}}>--</span> :
|
|
|
|
|
record.classroom ===
|
|
|
|
|
"" ?
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#999999',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
}}>--</span> :
|
|
|
|
|
}}>--</span> :
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#07111B',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
}}>{record.classroom}</span>
|
|
|
|
|
}}>{record.classroom}</span>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
@ -159,16 +160,16 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
dataIndex: 'submitstate',
|
|
|
|
|
key: 'submitstate',
|
|
|
|
|
align: 'center',
|
|
|
|
|
className: "edu-txt-center font-14",
|
|
|
|
|
className: "edu-txt-center font-14",
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
<span style={record.submitstate === "未提交" ? {
|
|
|
|
|
"color": '#999999',
|
|
|
|
|
"text-align": "center",
|
|
|
|
|
} : record.submitstate === "已提交" ? {"color": '#29BD8B', "text-align": "center"} : {
|
|
|
|
|
} : record.submitstate === "已提交" ? {"color": '#29BD8B', "text-align": "center"} : {
|
|
|
|
|
"color": '#29BD8B',
|
|
|
|
|
"text-align": "center",
|
|
|
|
|
}}>{record.submitstate}</span>
|
|
|
|
|
}}>{record.submitstate}</span>
|
|
|
|
|
</span>
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
@ -179,7 +180,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
key: 'updatetime',
|
|
|
|
|
align: 'center',
|
|
|
|
|
className: "edu-txt-center font-14",
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
{record.updatetime === "--" ?
|
|
|
|
|
<span style={{"color": '#999999', "text-align": "center" }}>{record.updatetime}</span>
|
|
|
|
@ -195,30 +196,30 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
key: 'completion',
|
|
|
|
|
align: 'center',
|
|
|
|
|
className: "edu-txt-center font-14",
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span> {
|
|
|
|
|
record.completion === "--" ?
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#999999',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
}}>
|
|
|
|
|
}}>
|
|
|
|
|
{record.completion}
|
|
|
|
|
</span>
|
|
|
|
|
:
|
|
|
|
|
<span style={parseInt(record.completion) > 90 ? {
|
|
|
|
|
"color": '#DD1717',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
} : parseInt(record.completion) <= 90 ? {
|
|
|
|
|
} : parseInt(record.completion) <= 90 ? {
|
|
|
|
|
"color": '#FF6800',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
} : parseInt(record.completion) <= 60 ? {
|
|
|
|
|
} : parseInt(record.completion) <= 60 ? {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
} :
|
|
|
|
|
} :
|
|
|
|
|
{
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
}}>{record.completion}</span>
|
|
|
|
|
}}>{record.completion}</span>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
@ -229,27 +230,27 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
dataIndex: 'levelscore',
|
|
|
|
|
key: 'levelscore',
|
|
|
|
|
align: 'center',
|
|
|
|
|
className: "edu-txt-center font-14",
|
|
|
|
|
className: "edu-txt-center font-14",
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
{record.levelscore === "--" ?
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#999999',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
}}>
|
|
|
|
|
}}>
|
|
|
|
|
{record.levelscore}
|
|
|
|
|
</span>
|
|
|
|
|
:
|
|
|
|
|
<span style={parseInt(record.levelscore) > 90 ? {
|
|
|
|
|
"color": '#DD1717',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
} : parseInt(record.levelscore) <= 90 ? {
|
|
|
|
|
} : parseInt(record.levelscore) <= 90 ? {
|
|
|
|
|
"color": '#FF6800',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
} : parseInt(record.levelscore) <= 60 ? {
|
|
|
|
|
} : parseInt(record.levelscore) <= 60 ? {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
} : {"color": '#747A7F', "text-align": "center"}}>{record.levelscore}</span>
|
|
|
|
|
} : {"color": '#747A7F', "text-align": "center"}}>{record.levelscore}</span>
|
|
|
|
|
}
|
|
|
|
|
</span>
|
|
|
|
|
)
|
|
|
|
@ -259,34 +260,34 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
dataIndex: 'efficiencyscore',
|
|
|
|
|
key: 'efficiencyscore',
|
|
|
|
|
align: 'center',
|
|
|
|
|
className: "edu-txt-center font-14",
|
|
|
|
|
className: "edu-txt-center font-14",
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
{record.efficiencyscore === "--" ?
|
|
|
|
|
<Tooltip placement="bottom" title={<div>
|
|
|
|
|
<div>未评分</div>
|
|
|
|
|
</div>}>
|
|
|
|
|
<a style={{
|
|
|
|
|
"color": '#999999',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
}}>
|
|
|
|
|
{record.efficiencyscore}
|
|
|
|
|
</a>
|
|
|
|
|
<a style={{
|
|
|
|
|
"color": '#999999',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
}}>
|
|
|
|
|
{record.efficiencyscore}
|
|
|
|
|
</a>
|
|
|
|
|
</Tooltip>
|
|
|
|
|
:
|
|
|
|
|
<span style={parseInt(record.efficiencyscore) > 90 ? {
|
|
|
|
|
"color": '#DD1717',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
} : parseInt(record.efficiencyscore) <= 90 ? {
|
|
|
|
|
} : parseInt(record.efficiencyscore) <= 90 ? {
|
|
|
|
|
"color": '#FF6800',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
} : parseInt(record.efficiencyscore) <= 60 ? {
|
|
|
|
|
} : parseInt(record.efficiencyscore) <= 60 ? {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center",
|
|
|
|
|
} : {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
}}>{record.efficiencyscore}</span>
|
|
|
|
|
}}>{record.efficiencyscore}</span>
|
|
|
|
|
}
|
|
|
|
|
</span>
|
|
|
|
|
)
|
|
|
|
@ -298,7 +299,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
dataIndex: 'number',
|
|
|
|
|
key: 'number',
|
|
|
|
|
align: 'center',
|
|
|
|
|
className: "edu-txt-center tabletd font-14",
|
|
|
|
|
className: "edu-txt-center tabletd font-14",
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
{
|
|
|
|
@ -318,7 +319,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
key: 'name',
|
|
|
|
|
align: 'center',
|
|
|
|
|
className: "edu-txt-center tabletd font-14",
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
{
|
|
|
|
|
record.name === "--" ?
|
|
|
|
@ -336,24 +337,24 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
key: 'stduynumber',
|
|
|
|
|
align: 'center',
|
|
|
|
|
className: "edu-txt-center tabletd font-14",
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
{record.stduynumber === null ?
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#999999',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
}}>--</span>
|
|
|
|
|
}}>--</span>
|
|
|
|
|
:
|
|
|
|
|
record.stduynumber === "" ?
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#999999',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
}}>--</span>
|
|
|
|
|
}}>--</span>
|
|
|
|
|
:
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
}}>{record.stduynumber}</span>
|
|
|
|
|
}}>{record.stduynumber}</span>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
@ -366,22 +367,22 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
align: 'center',
|
|
|
|
|
className: "edu-txt-center tabletd font-14",
|
|
|
|
|
width:"260px",
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
{record.classroom === null ?
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#999999',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
}}>--</span>: record.classroom === "" ?
|
|
|
|
|
}}>--</span>: record.classroom === "" ?
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#999999',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
}}>--</span>:
|
|
|
|
|
}}>--</span>:
|
|
|
|
|
<span tyle={{
|
|
|
|
|
"color": '#07111B',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
}}>{record.classroom}</span>
|
|
|
|
|
}
|
|
|
|
|
}}>{record.classroom}</span>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
)
|
|
|
|
@ -391,16 +392,16 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
dataIndex: 'submitstate',
|
|
|
|
|
key: 'submitstate',
|
|
|
|
|
align: 'center',
|
|
|
|
|
className: "edu-txt-center tabletd font-14",
|
|
|
|
|
className: "edu-txt-center tabletd font-14",
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
<span style={record.submitstate === "未提交" ? {
|
|
|
|
|
"color": '#999999',
|
|
|
|
|
"text-align": "center",
|
|
|
|
|
} : record.submitstate === "已提交" ? {"color": '#29BD8B', "text-align": "center"} : {
|
|
|
|
|
} : record.submitstate === "已提交" ? {"color": '#29BD8B', "text-align": "center"} : {
|
|
|
|
|
"color": '#29BD8B',
|
|
|
|
|
"text-align": "center",
|
|
|
|
|
}}>{record.submitstate}</span>
|
|
|
|
|
}}>{record.submitstate}</span>
|
|
|
|
|
</span>
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
@ -411,7 +412,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
key: 'updatetime',
|
|
|
|
|
align: 'center',
|
|
|
|
|
className: "edu-txt-center tabletd font-14",
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
{record.updatetime === "--"?
|
|
|
|
|
<span style={{"color": '#999999', "text-align": "center", }}>--</span>
|
|
|
|
@ -427,13 +428,13 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
key: 'completion',
|
|
|
|
|
align: 'center',
|
|
|
|
|
className: "edu-txt-center tabletd font-14",
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
{record.completion === "--" ?
|
|
|
|
|
<span style={{
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#999999',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
}}>
|
|
|
|
|
}}>
|
|
|
|
|
--
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
@ -441,16 +442,16 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
<span style={parseInt(record.completion) > 90 ? {
|
|
|
|
|
"color": '#DD1717',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
} : parseInt(record.completion) <= 90 ? {
|
|
|
|
|
} : parseInt(record.completion) <= 90 ? {
|
|
|
|
|
"color": '#FF6800',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
} : parseInt(record.completion) <= 60 ? {
|
|
|
|
|
} : parseInt(record.completion) <= 60 ? {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
} : {
|
|
|
|
|
} : {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
}}>{record.completion}</span>
|
|
|
|
|
}}>{record.completion}</span>
|
|
|
|
|
}
|
|
|
|
|
</span>
|
|
|
|
|
)
|
|
|
|
@ -460,27 +461,27 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
dataIndex: 'levelscore',
|
|
|
|
|
key: 'levelscore',
|
|
|
|
|
align: 'center',
|
|
|
|
|
className: "edu-txt-center tabletd font-14",
|
|
|
|
|
className: "edu-txt-center tabletd font-14",
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
{record.levelscore === "--"?
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#999999',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
}}>
|
|
|
|
|
}}>
|
|
|
|
|
--
|
|
|
|
|
</span>
|
|
|
|
|
:
|
|
|
|
|
<span style={parseInt(record.levelscore) > 90 ? {
|
|
|
|
|
"color": '#DD1717',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
} : parseInt(record.levelscore) <= 90 ? {
|
|
|
|
|
} : parseInt(record.levelscore) <= 90 ? {
|
|
|
|
|
"color": '#FF6800',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
} : parseInt(record.levelscore) <= 60 ? {
|
|
|
|
|
} : parseInt(record.levelscore) <= 60 ? {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
} : {"color": '#747A7F', "text-align": "center"}}>{record.levelscore}</span>
|
|
|
|
|
} : {"color": '#747A7F', "text-align": "center"}}>{record.levelscore}</span>
|
|
|
|
|
}
|
|
|
|
|
</span>
|
|
|
|
|
)
|
|
|
|
@ -490,7 +491,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
dataIndex: 'efficiencyscore',
|
|
|
|
|
key: 'efficiencyscore',
|
|
|
|
|
align: 'center',
|
|
|
|
|
className: "edu-txt-center tabletd font-14",
|
|
|
|
|
className: "edu-txt-center tabletd font-14",
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
{
|
|
|
|
@ -498,25 +499,25 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
<Tooltip placement="bottom" title={<div>
|
|
|
|
|
<div>未评分</div>
|
|
|
|
|
</div>}>
|
|
|
|
|
<a style={{
|
|
|
|
|
"color": '#DD1717',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
}}>--</a>
|
|
|
|
|
<a style={{
|
|
|
|
|
"color": '#DD1717',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
}}>--</a>
|
|
|
|
|
</Tooltip>
|
|
|
|
|
:
|
|
|
|
|
<span style={parseInt(record.efficiencyscore) > 90 ? {
|
|
|
|
|
"color": '#DD1717',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
} : parseInt(record.efficiencyscore) <= 90 ? {
|
|
|
|
|
} : parseInt(record.efficiencyscore) <= 90 ? {
|
|
|
|
|
"color": '#FF6800',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
} : parseInt(record.efficiencyscore) <= 60 ? {
|
|
|
|
|
} : parseInt(record.efficiencyscore) <= 60 ? {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center",
|
|
|
|
|
} : {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
}}>{record.efficiencyscore}</span>
|
|
|
|
|
}}>{record.efficiencyscore}</span>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
@ -536,7 +537,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
record.number=== "--"?
|
|
|
|
|
<span style={{"color": '#999999', "text-align": "center"}}>--</span>
|
|
|
|
|
:
|
|
|
|
|
<span style={{"color": '#07111B', "text-align": "center"}}>{record.number}</span>
|
|
|
|
|
<span style={{"color": '#07111B', "text-align": "center"}}>{record.number}</span>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
@ -569,20 +570,20 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
<span>
|
|
|
|
|
{record.stduynumber === null ?
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#999999',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
}}>--</span>
|
|
|
|
|
"color": '#999999',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
}}>--</span>
|
|
|
|
|
: record.stduynumber === "" ?
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#999999',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
}}>--</span>
|
|
|
|
|
"color": '#999999',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
}}>--</span>
|
|
|
|
|
:
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#9A9A9A',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
}}>{record.stduynumber}</span>
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
),
|
|
|
|
@ -609,7 +610,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
"color": '#07111B',
|
|
|
|
|
"text-align": "center"
|
|
|
|
|
}}>{record.classroom}</span>
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
)
|
|
|
|
@ -662,10 +663,10 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
<span>
|
|
|
|
|
{
|
|
|
|
|
record.completion === "--"?
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#999999',
|
|
|
|
|
"text-align": "center",
|
|
|
|
|
}}>--</span>
|
|
|
|
|
<span style={{
|
|
|
|
|
"color": '#999999',
|
|
|
|
|
"text-align": "center",
|
|
|
|
|
}}>--</span>
|
|
|
|
|
:
|
|
|
|
|
<span style={parseInt(record.completion) > 90 ? {
|
|
|
|
|
"color": '#DD1717',
|
|
|
|
@ -727,12 +728,12 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
<Tooltip placement="bottom" title={<div>
|
|
|
|
|
<div>未评分</div>
|
|
|
|
|
</div>}>
|
|
|
|
|
<a style={{
|
|
|
|
|
"color": '#999999',
|
|
|
|
|
"text-align": "center",
|
|
|
|
|
}}>--</a>
|
|
|
|
|
<a style={{
|
|
|
|
|
"color": '#999999',
|
|
|
|
|
"text-align": "center",
|
|
|
|
|
}}>--</a>
|
|
|
|
|
</Tooltip>
|
|
|
|
|
:
|
|
|
|
|
:
|
|
|
|
|
<span style={parseInt(record.efficiencyscore) > 90 ? {
|
|
|
|
|
"color": '#DD1717',
|
|
|
|
|
"text-align": "center",
|
|
|
|
@ -763,9 +764,9 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
:record.submitstate === "未提交"?
|
|
|
|
|
<span style={{"text-align": "center","color": '#999999',}}>--</span>
|
|
|
|
|
:
|
|
|
|
|
<a style={{"text-align": "center"}} className="color-blue"
|
|
|
|
|
href={`/courses/${this.props.match.params.coursesId}/exercises/${this.props.match.params.Id}/users/${record.myid}`}>{record.operating}</a>
|
|
|
|
|
}
|
|
|
|
|
<a style={{"text-align": "center"}} className="color-blue"
|
|
|
|
|
href={`/courses/${this.props.match.params.coursesId}/exercises/${this.props.match.params.Id}/users/${record.myid}`}>{record.operating}</a>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
)
|
|
|
|
@ -785,7 +786,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
key: 'number',
|
|
|
|
|
align: 'center',
|
|
|
|
|
className: "edu-txt-center font-14",
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
{record.number === "--" ?
|
|
|
|
|
<span style={{"color": '#999999', "text-align": "center"}}>--</span>
|
|
|
|
@ -801,7 +802,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
key: 'name',
|
|
|
|
|
align: 'center',
|
|
|
|
|
className: "edu-txt-center font-14",
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
{record.name==="--"?
|
|
|
|
|
<span style={{"color": '#999999', "text-align": "center"}}>{record.name}</span>
|
|
|
|
@ -817,12 +818,12 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
key: 'stduynumber',
|
|
|
|
|
align: 'center',
|
|
|
|
|
className: "edu-txt-center font-14",
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
{record.stduynumber === "--" ?
|
|
|
|
|
<span style={{"color": '#999999', "text-align": "center"}}>{record.stduynumber}</span>
|
|
|
|
|
:
|
|
|
|
|
<span style={{"color": '#9A9A9A', "text-align": "center"}}>{record.stduynumber}</span>
|
|
|
|
|
<span style={{"color": '#999999', "text-align": "center"}}>{record.stduynumber}</span>
|
|
|
|
|
:
|
|
|
|
|
<span style={{"color": '#9A9A9A', "text-align": "center"}}>{record.stduynumber}</span>
|
|
|
|
|
}
|
|
|
|
|
</span>
|
|
|
|
|
),
|
|
|
|
@ -850,7 +851,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
key: 'submitstate',
|
|
|
|
|
align: 'center',
|
|
|
|
|
className: "edu-txt-center font-14",
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
<span style={record.submitstate === "未提交" ? {
|
|
|
|
|
"color": '#999999',
|
|
|
|
@ -869,7 +870,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
dataIndex: 'updatetime',
|
|
|
|
|
key: 'updatetime',
|
|
|
|
|
align: 'center',
|
|
|
|
|
className: "edu-txt-center font-14",
|
|
|
|
|
className: "edu-txt-center font-14",
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
{record.updatetime==="--"?
|
|
|
|
@ -886,7 +887,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
key: 'completion',
|
|
|
|
|
align: 'center',
|
|
|
|
|
className: "edu-txt-center font-14",
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
{record.completion=== "--"?
|
|
|
|
|
<span style={{"color": '#999999', "text-align": "center"}}>--</span>
|
|
|
|
@ -902,7 +903,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
key: 'levelscore',
|
|
|
|
|
align: 'center',
|
|
|
|
|
className: "edu-txt-center font-14",
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
{record.levelscore==="--"?
|
|
|
|
|
<span style={{"color": '#999999', "text-align": "center"}}>--</span>
|
|
|
|
@ -918,30 +919,30 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
key: 'efficiencyscore',
|
|
|
|
|
align: 'center',
|
|
|
|
|
className: "edu-txt-center font-14",
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
{record.efficiencyscore === "--" ?
|
|
|
|
|
<Tooltip placement="bottom" title={<div>
|
|
|
|
|
<div>未评分</div>
|
|
|
|
|
</div>}>
|
|
|
|
|
<a style={{"color": '#999999',
|
|
|
|
|
<a style={{"color": '#999999',
|
|
|
|
|
"text-align": "center",}}>--</a>
|
|
|
|
|
</Tooltip>
|
|
|
|
|
:
|
|
|
|
|
<span style={parseInt(record.efficiencyscore) > 90 ? {
|
|
|
|
|
"color": '#DD1717',
|
|
|
|
|
"text-align": "center",
|
|
|
|
|
} : parseInt(record.efficiencyscore) <= 90 ? {
|
|
|
|
|
"color": '#FF6800',
|
|
|
|
|
"text-align": "center",
|
|
|
|
|
} : parseInt(record.efficiencyscore) <= 60 ? {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center",
|
|
|
|
|
} : {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center",
|
|
|
|
|
}}>{record.efficiencyscore}</span>
|
|
|
|
|
}
|
|
|
|
|
:
|
|
|
|
|
<span style={parseInt(record.efficiencyscore) > 90 ? {
|
|
|
|
|
"color": '#DD1717',
|
|
|
|
|
"text-align": "center",
|
|
|
|
|
} : parseInt(record.efficiencyscore) <= 90 ? {
|
|
|
|
|
"color": '#FF6800',
|
|
|
|
|
"text-align": "center",
|
|
|
|
|
} : parseInt(record.efficiencyscore) <= 60 ? {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center",
|
|
|
|
|
} : {
|
|
|
|
|
"color": '#747A7F',
|
|
|
|
|
"text-align": "center",
|
|
|
|
|
}}>{record.efficiencyscore}</span>
|
|
|
|
|
}
|
|
|
|
|
</span>
|
|
|
|
|
)
|
|
|
|
|
},
|
|
|
|
@ -951,7 +952,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
key: 'finalscore',
|
|
|
|
|
align: 'center',
|
|
|
|
|
className: "edu-txt-center font-14",
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
{record.finalscore==="--"?
|
|
|
|
|
<span style={{"text-align": "center","color": '#999999'}}
|
|
|
|
@ -959,9 +960,9 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
:record.submitstate === "未提交"?
|
|
|
|
|
<span style={{"text-align": "center","color": '#999999'}}
|
|
|
|
|
>--</span>
|
|
|
|
|
:
|
|
|
|
|
<a style={{"text-align": "center"}} className="color-blue"
|
|
|
|
|
href={`/courses/${this.props.match.params.coursesId}/exercises/${this.props.match.params.Id}/users/${record.myid}`}>{record.finalscore}</a>
|
|
|
|
|
:
|
|
|
|
|
<a style={{"text-align": "center"}} className="color-blue"
|
|
|
|
|
href={`/courses/${this.props.match.params.coursesId}/exercises/${this.props.match.params.Id}/users/${record.myid}`}>{record.finalscore}</a>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
@ -1114,8 +1115,8 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
<Tooltip placement="bottom" title={<div>
|
|
|
|
|
<div>未评分</div>
|
|
|
|
|
</div>}>
|
|
|
|
|
<a style={{"color": '#999999',
|
|
|
|
|
"text-align": "center",}}>--</a>
|
|
|
|
|
<a style={{"color": '#999999',
|
|
|
|
|
"text-align": "center",}}>--</a>
|
|
|
|
|
</Tooltip>
|
|
|
|
|
:
|
|
|
|
|
<span style={parseInt(record.efficiencyscore) > 90 ? {
|
|
|
|
@ -1149,9 +1150,9 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
:record.submitstate === "未提交"?
|
|
|
|
|
<span style={{"text-align": "center","color": '#999999'}}
|
|
|
|
|
>--</span>
|
|
|
|
|
:
|
|
|
|
|
<a style={{"text-align": "center"}} className="color-blue"
|
|
|
|
|
href={`/courses/${this.props.match.params.coursesId}/exercises/${this.props.match.params.Id}/users/${record.myid}`}>{record.finalscore}</a>
|
|
|
|
|
:
|
|
|
|
|
<a style={{"text-align": "center"}} className="color-blue"
|
|
|
|
|
href={`/courses/${this.props.match.params.coursesId}/exercises/${this.props.match.params.Id}/users/${record.myid}`}>{record.finalscore}</a>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
@ -1252,6 +1253,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
exercise_users: response.data.exercise_users,
|
|
|
|
|
current_answer_user: response.data.current_answer_user,
|
|
|
|
|
course_groups: response.data.course_groups,
|
|
|
|
|
mylistansum:response.data.exercise_types.answer_users+response.data.exercise_types.unanswer_users
|
|
|
|
|
})
|
|
|
|
|
if (response.data.current_answer_user === undefined || response.data.current_answer_user === null) {
|
|
|
|
|
// 学生未截止
|
|
|
|
@ -1389,7 +1391,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
loadingstate: true,
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
console.log(response);
|
|
|
|
|
console.log(response);
|
|
|
|
|
console.log(1393);
|
|
|
|
|
thiss.Generatenewdatasy(response.data.exercise_users, response);
|
|
|
|
|
}
|
|
|
|
@ -1622,6 +1624,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
commit_status: response.data.commit_status,
|
|
|
|
|
exercise_users: response.data.exercise_users,
|
|
|
|
|
current_answer_user: response.data.current_answer_user,
|
|
|
|
|
mylistansum:response.data.exercise_types.answer_users+response.data.exercise_types.unanswer_users,
|
|
|
|
|
})
|
|
|
|
|
if (response.data.exercise_types.subjective === 0) {
|
|
|
|
|
|
|
|
|
@ -1756,6 +1759,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
commit_status: response.data.commit_status,
|
|
|
|
|
exercise_users: response.data.exercise_users,
|
|
|
|
|
course_groups: response.data.course_groups,
|
|
|
|
|
mylistansum:response.data.exercise_types.answer_users+response.data.exercise_types.unanswer_users,
|
|
|
|
|
loadingstate: false,
|
|
|
|
|
columnsys: arr,
|
|
|
|
|
})
|
|
|
|
@ -1788,6 +1792,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
commit_status: response.data.commit_status,
|
|
|
|
|
exercise_users: response.data.exercise_users,
|
|
|
|
|
course_groups: response.data.course_groups,
|
|
|
|
|
mylistansum:response.data.exercise_types.answer_users+response.data.exercise_types.unanswer_users,
|
|
|
|
|
columnsys: arr,
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
@ -1799,7 +1804,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
//显示分班
|
|
|
|
|
//8ge
|
|
|
|
|
|
|
|
|
|
var arr =[];
|
|
|
|
|
var arr =[];
|
|
|
|
|
for(var i=0;i<this.state.columnsys.length;i++){
|
|
|
|
|
var item = this.state.columnsys[i];
|
|
|
|
|
if(item.title==="客观题得分"){
|
|
|
|
@ -1823,6 +1828,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
commit_status: response.data.commit_status,
|
|
|
|
|
exercise_users: response.data.exercise_users,
|
|
|
|
|
course_groups: response.data.course_groups,
|
|
|
|
|
mylistansum:response.data.exercise_types.answer_users+response.data.exercise_types.unanswer_users,
|
|
|
|
|
loadingstate: false,
|
|
|
|
|
columnsys: arr,
|
|
|
|
|
})
|
|
|
|
@ -1854,6 +1860,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
commit_status: response.data.commit_status,
|
|
|
|
|
exercise_users: response.data.exercise_users,
|
|
|
|
|
course_groups: response.data.course_groups,
|
|
|
|
|
mylistansum:response.data.exercise_types.answer_users+response.data.exercise_types.unanswer_users,
|
|
|
|
|
loadingstate: false,
|
|
|
|
|
columnsys: arr,
|
|
|
|
|
})
|
|
|
|
@ -1885,6 +1892,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
commit_status: response.data.commit_status,
|
|
|
|
|
exercise_users: response.data.exercise_users,
|
|
|
|
|
course_groups: response.data.course_groups,
|
|
|
|
|
mylistansum:response.data.exercise_types.answer_users+response.data.exercise_types.unanswer_users,
|
|
|
|
|
columnsys: arr,
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
@ -1909,6 +1917,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
commit_status: response.data.commit_status,
|
|
|
|
|
exercise_users: response.data.exercise_users,
|
|
|
|
|
course_groups: response.data.course_groups,
|
|
|
|
|
mylistansum:response.data.exercise_types.answer_users+response.data.exercise_types.unanswer_users,
|
|
|
|
|
columnsys:arr,
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
@ -1923,6 +1932,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
commit_status: response.data.commit_status,
|
|
|
|
|
exercise_users: response.data.exercise_users,
|
|
|
|
|
course_groups: response.data.course_groups,
|
|
|
|
|
mylistansum:response.data.exercise_types.answer_users+response.data.exercise_types.unanswer_users,
|
|
|
|
|
loadingstate: false,
|
|
|
|
|
columnsys: this.state.columnsystwo,
|
|
|
|
|
})
|
|
|
|
@ -1948,6 +1958,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
commit_status: response.data.commit_status,
|
|
|
|
|
exercise_users: response.data.exercise_users,
|
|
|
|
|
course_groups: response.data.course_groups,
|
|
|
|
|
mylistansum:response.data.exercise_types.answer_users+response.data.exercise_types.unanswer_users,
|
|
|
|
|
loadingstate: false,
|
|
|
|
|
columnsys: arr,
|
|
|
|
|
})
|
|
|
|
@ -2401,7 +2412,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
render() {
|
|
|
|
|
const isAdmin = this.props.isAdmin();
|
|
|
|
|
|
|
|
|
|
let {data, datas, page, columns, course_groupyslsthree, columnstwo, styletable, course_groupyslstwodatas, limit, course_groupysls, course_groupyslstwodata, course_groupyslstwo, teacherlists, Teacherliststudentlist, order, columnss, course_groupsdatas, course_groups, Evaluationarray, unlimited, unlimiteds, unlimitedtwo, teacherlist, searchtext, loadingstate, review, nocomment, commented, unsubmitted, submitted, columnsys, exercise_users} = this.state;
|
|
|
|
|
let {data, datas, page, columns, course_groupyslsthree, columnstwo, styletable, course_groupyslstwodatas, limit, course_groupysls, course_groupyslstwodata, course_groupyslstwo, teacherlists, Teacherliststudentlist, order, columnss, course_groupsdatas, course_groups, Evaluationarray, unlimited, unlimiteds, unlimitedtwo, teacherlist, searchtext, loadingstate, review, nocomment, commented, unsubmitted, submitted, columnsys, exercise_users,mylistansum} = this.state;
|
|
|
|
|
// console.log("Studentshavecompletedthelist");
|
|
|
|
|
// console.log(this.props.current_status);
|
|
|
|
|
return (
|
|
|
|
@ -2789,11 +2800,11 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
Teacherliststudentlist && Teacherliststudentlist.exercise_types.total_users && Teacherliststudentlist.exercise_types.total_users > limit ?
|
|
|
|
|
mylistansum && mylistansum > limit ?
|
|
|
|
|
<div className="edu-txt-center mt30 mb20">
|
|
|
|
|
<Pagination showQuickJumper current={page}
|
|
|
|
|
onChange={this.paginationonChanges} pageSize={limit}
|
|
|
|
|
total={Teacherliststudentlist.exercise_types.total_users}></Pagination>
|
|
|
|
|
total={mylistansum}></Pagination>
|
|
|
|
|
</div>
|
|
|
|
|
: ""
|
|
|
|
|
}
|
|
|
|
|