@@ -3945,4 +5112,7 @@ class Studentshavecompletedthelist extends Component {
}
+// subjective 主要是用于判断答题列表页是否存在 主观题 一栏的
+// 客观题没有判断。当主观题存在时,就会有客观题出现,否则只有总成绩
+// 当subjective 等于1时,就出现3列,客观题,主观题,最终成绩。当subjective等于0时,你就只出现最终成绩一列就行了
export default Studentshavecompletedthelist;
\ No newline at end of file
diff --git a/public/react/src/modules/courses/exercise/Testpapersettinghomepage.js b/public/react/src/modules/courses/exercise/Testpapersettinghomepage.js
index 818c882e7..aaff6e4a8 100644
--- a/public/react/src/modules/courses/exercise/Testpapersettinghomepage.js
+++ b/public/react/src/modules/courses/exercise/Testpapersettinghomepage.js
@@ -159,7 +159,7 @@ class Testpapersettinghomepage extends Component{
return(
-
+
{/* 公用的提示弹框 */}
{this.state.Modalstype===true?
:""}
-
+
{this.props.coursedata.name}
>
@@ -195,7 +195,7 @@ class Testpapersettinghomepage extends Component{
`}
-
+
{Commonheadofthetestpaper === undefined?"":Commonheadofthetestpaper.exercise_name}
diff --git a/public/react/src/modules/courses/shixunHomework/Listofworks.js b/public/react/src/modules/courses/shixunHomework/Listofworks.js
index 6995db1ba..8fc4404fa 100644
--- a/public/react/src/modules/courses/shixunHomework/Listofworks.js
+++ b/public/react/src/modules/courses/shixunHomework/Listofworks.js
@@ -63,7 +63,7 @@ class Listofworks extends Component {
page: 1,
limit: 20,
loadingstate: true,
- order: undefined,
+ order: "updated_at",
search: null,
task_status: [],
course_group_info: [],
@@ -100,10 +100,9 @@ class Listofworks extends Component {
dataIndex: 'number',
key: 'number',
align: 'center',
- width:'96px',
+ className:'font-14',
render: (text, record) => (
-
- {record.number}
+ {record.number}
)
},
@@ -112,11 +111,9 @@ class Listofworks extends Component {
dataIndex: 'name',
key: 'name',
align: 'center',
- Width:'147px',
+ className:'font-14',
render: (text, record) => (
-
- {record.name}
-
+ {record.name}
)
},
{
@@ -124,13 +121,12 @@ class Listofworks extends Component {
dataIndex: 'stduynumber',
key: 'stduynumber',
align: 'center',
- width:'200px',
+ className:'font-14',
render: (text, record) => (
-
- {record.stduynumber === undefined ? "--" : record.stduynumber === null ? "--" : record.stduynumber === "" ? "--" : record.stduynumber}
+ }}>{record.stduynumber === undefined ? "--" : record.stduynumber === null ? "--" : record.stduynumber === "" ? "--" : record.stduynumber}
),
},
@@ -139,10 +135,10 @@ class Listofworks extends Component {
key: 'classroom',
dataIndex: 'classroom',
align: 'center',
+ className:'font-14',
+ width:'288px',
render: (text, record) => (
-
- {record.classroom}
-
+ {record.classroom}
)
},
{
@@ -150,15 +146,15 @@ class Listofworks extends Component {
dataIndex: 'submitstate',
key: 'submitstate',
align: 'center',
+ className:'font-14',
render: (text, record) => (
-
- {record.submitstate}
+ }}>{record.submitstate}
)
@@ -168,10 +164,9 @@ class Listofworks extends Component {
dataIndex: 'updatetime',
key: 'updatetime',
align: 'center',
+ className:'font-14',
render: (text, record) => (
-
- {record.updatetime}
-
+ {record.updatetime}
),
},
{
@@ -179,13 +174,14 @@ class Listofworks extends Component {
dataIndex: 'completion',
key: 'completion',
align: 'center',
+ className:'font-14',
render: (text, record) => (
已通过{record.completion}关,共{this.state.challenges_count}关
}>
-
{record.completion+"/"+this.state.challenges_count}
+
{record.completion+"/"+this.state.challenges_count}
@@ -196,9 +192,10 @@ class Listofworks extends Component {
dataIndex: 'levelscore',
key: 'levelscore',
align: 'center',
+ className:'font-14',
render: (text, record) => (
- = 90 ? {"color": '#DD1717', "text-align": "center"} : {
"color": '#747A7F',
"text-align": "center"
- }}>{record.levelscore}
+ }}>{record.levelscore}
)
},
@@ -216,6 +213,7 @@ class Listofworks extends Component {
dataIndex: 'efficiencyscore',
key: 'efficiencyscore',
align: 'center',
+ className:'font-14',
render: (text, record) => (
{
@@ -224,18 +222,18 @@ class Listofworks extends Component {
作业截止时,系统根据学生在课堂成员中的效率表现自动评分
}>
-
+
--
-
+
:
record.submitstate==="延时提交"?
补交结束时,系统根据学生在课堂成员中的效率表现自动评分
}>
-
+
--
-
+
:
@@ -243,7 +241,7 @@ class Listofworks extends Component {
)
:
-
= 90 ? {
"color": '#DD1717',
"text-align": "center"
- } : {"color": '#747A7F', "text-align": "center"}}>{record.efficiencyscore}
+ } : {"color": '#747A7F', "text-align": "center"}}>{record.efficiencyscore}
}
@@ -263,6 +261,7 @@ class Listofworks extends Component {
dataIndex: 'finalscore',
key: 'finalscore',
align: 'center',
+ className:'font-14',
render: (text, record) => (
{
@@ -273,13 +272,13 @@ class Listofworks extends Component {
}>
{
record.finalscore&&record.finalscore==="--"?
-
{record.finalscore}
+ }}>{record.finalscore}
:
-
= 90 ? {"color": '#DD1717', "text-align": "center"} : {
"color": '#747A7F',
"text-align": "center"
- }}>{record.finalscore}
+ }}>{record.finalscore}
}
:
@@ -301,13 +300,13 @@ class Listofworks extends Component {
}>
{
record.finalscore&&record.finalscore==="--"?
-
{record.finalscore}
+ }}>{record.finalscore}
:
-
= 90 ? {"color": '#DD1717', "text-align": "center"} : {
"color": '#747A7F',
"text-align": "center"
- }}>{record.finalscore}
+ }}>{record.finalscore}
}
@@ -330,7 +329,7 @@ class Listofworks extends Component {
key: 'operating',
display: 'block',
align: 'center',
- width:'93px',
+ className:'font-14',
render: (text, record) => (
record.submitstate === "未提交" ?
-- :
@@ -338,11 +337,263 @@ class Listofworks extends Component {
直接调整最终成绩的分数
其它评分全部作废
}>
-
this.Viewstudenttraininginformations(record)}>调分
+
this.Viewstudenttraininginformations(record)}>调分
-
this.Viewstudenttraininginformation(record)}>{record.operating}
+
this.Viewstudenttraininginformation(record)}>{record.operating}
+
+ )
+ },
+ ],
+ columnss: [
+ {
+ title: '序号',
+ dataIndex: 'number',
+ key: 'number',
+ align: 'center',
+ className:'font-14',
+ render: (text, record) => (
+
{record.number}
+
+ )
+ },
+ {
+ title: '姓名',
+ dataIndex: 'name',
+ key: 'name',
+ align: 'center',
+ className:'font-14',
+ render: (text, record) => (
+
{record.name}
+ )
+ },
+ {
+ title: '学号',
+ dataIndex: 'stduynumber',
+ key: 'stduynumber',
+ align: 'center',
+ className:'font-14',
+ render: (text, record) => (
+
{record.stduynumber === undefined ? "--" : record.stduynumber === null ? "--" : record.stduynumber === "" ? "--" : record.stduynumber}
+
+ ),
+ },
+ {
+ title: '分班',
+ key: 'classroom',
+ dataIndex: 'classroom',
+ align: 'center',
+ className:'font-14',
+ width:'288px',
+ render: (text, record) => (
+
{record.classroom}
+ )
+ },
+ {
+ title: '提交状态',
+ dataIndex: 'submitstate',
+ key: 'submitstate',
+ align: 'center',
+ className:'font-14',
+ render: (text, record) => (
+
{record.submitstate}
+
+ )
+
+ },
+ {
+ title: '更新时间',
+ dataIndex: 'updatetime',
+ key: 'updatetime',
+ align: 'center',
+ className:'font-14',
+ render: (text, record) => (
+
{record.updatetime}
+ ),
+ },
+ {
+ title: '完成情况',
+ dataIndex: 'completion',
+ key: 'completion',
+ align: 'center',
+ className:'font-14',
+ render: (text, record) => (
+
+
+
+ 已通过{record.completion}关,共{this.state.challenges_count}关
+
+
+
+
+ )
+ },
+ {
+ title: '关卡得分',
+ dataIndex: 'levelscore',
+ key: 'levelscore',
+ align: 'center',
+ className:'font-14',
+ render: (text, record) => (
+
+ )
+ },
+ {
+ title: '效率分',
+ dataIndex: 'efficiencyscore',
+ key: 'efficiencyscore',
+ align: 'center',
+ className:'font-14',
+ render: (text, record) => (
+