+
{/* 公用的提示弹框 */}
{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/exercise/new/JudgeEditor.js b/public/react/src/modules/courses/exercise/new/JudgeEditor.js
index 2d6b20398..a5571aab4 100644
--- a/public/react/src/modules/courses/exercise/new/JudgeEditor.js
+++ b/public/react/src/modules/courses/exercise/new/JudgeEditor.js
@@ -189,8 +189,9 @@ class SingleEditor extends Component{
- 对
- 错
+ {/* disabled={exerciseIsPublish} */}
+ 对
+ 错
{/* not work */}
{/*
this.onOptionClick(0)} disabled={exerciseIsPublish}>对
diff --git a/public/react/src/modules/courses/exercise/new/SingleEditor.js b/public/react/src/modules/courses/exercise/new/SingleEditor.js
index 6120e9aea..8cbcdec06 100644
--- a/public/react/src/modules/courses/exercise/new/SingleEditor.js
+++ b/public/react/src/modules/courses/exercise/new/SingleEditor.js
@@ -165,9 +165,9 @@ class SingleEditor extends Component{
}
onOptionClick = (index) => {
- if (this.props.exerciseIsPublish) {
- return;
- }
+ // if (this.props.exerciseIsPublish) {
+ // return;
+ // }
let standard_answers = this.state.standard_answers.slice(0)
standard_answers[index] = !standard_answers[index]
this.setState({ standard_answers })
@@ -247,7 +247,7 @@ class SingleEditor extends Component{
{/*
*/}
this.onOptionClick(index)} style={{flex: '0 0 38px'}}>
-
+
{tagArray[index]}
diff --git a/public/react/src/modules/courses/shixunHomework/Listofworks.js b/public/react/src/modules/courses/shixunHomework/Listofworks.js
index 687351934..25f122cec 100644
--- a/public/react/src/modules/courses/shixunHomework/Listofworks.js
+++ b/public/react/src/modules/courses/shixunHomework/Listofworks.js
@@ -60,11 +60,10 @@ class Listofworks extends Component {
this.state = {
props: props,
data: [],
- b_order: "desc",
page: 1,
limit: 20,
loadingstate: true,
- order: undefined,
+ order: "updated_at",
search: null,
task_status: [],
course_group_info: [],
@@ -101,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}
)
},
@@ -113,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}
)
},
{
@@ -125,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}
),
},
@@ -140,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}
)
},
{
@@ -151,15 +146,15 @@ class Listofworks extends Component {
dataIndex: 'submitstate',
key: 'submitstate',
align: 'center',
+ className:'font-14',
render: (text, record) => (
-
- {record.submitstate}
+ {record.submitstate}
)
@@ -169,10 +164,9 @@ class Listofworks extends Component {
dataIndex: 'updatetime',
key: 'updatetime',
align: 'center',
+ className:'font-14',
render: (text, record) => (
-
- {record.updatetime}
-
+ {record.updatetime}
),
},
{
@@ -180,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}
@@ -197,18 +192,19 @@ 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}
+ = 90 ? {"color": '#DD1717', "text-align": "center"} : {
+ "color": '#747A7F',
+ "text-align": "center"
+ }}>{record.levelscore}
)
},
@@ -217,6 +213,7 @@ class Listofworks extends Component {
dataIndex: 'efficiencyscore',
key: 'efficiencyscore',
align: 'center',
+ className:'font-14',
render: (text, record) => (
{
@@ -225,18 +222,270 @@ class Listofworks extends Component {
作业截止时,系统根据学生在课堂成员中的效率表现自动评分
}>
+
+ --
+
+
+ :
+ record.submitstate==="延时提交"?
+
+ 补交结束时,系统根据学生在课堂成员中的效率表现自动评分
+ }>
+
+ --
+
+
+ :
--
+ )
+ :
+
= 90 ? {
+ "color": '#DD1717',
+ "text-align": "center"
+ } : {"color": '#747A7F', "text-align": "center"}}>{record.efficiencyscore}
+ }
+
+
+ )
+ },
+ {
+ title: '最终成绩',
+ dataIndex: 'finalscore',
+ key: 'finalscore',
+ align: 'center',
+ className:'font-14',
+ render: (text, record) => (
+
+ {
+ record.ultimate_score=== true?
+
+ {record.user_name}{record.user_login}
+ {record.finalscore === "--"?最终调整成绩:0分 :最终调整成绩:{record.finalscore}分}
+ }>
+ {
+ record.finalscore&&record.finalscore==="--"?
+
{record.finalscore}
+ :
+
= 90 ? {"color": '#DD1717', "text-align": "center"} : {
+ "color": '#747A7F',
+ "text-align": "center"
+ }}>{record.finalscore}
+ }
+
+ :
+
+ {record.user_name}{record.user_login}
+ {record.levelscore === "--"?关卡得分:0分 :关卡得分:{record.levelscore}分}
+ {record.efficiencyscore === "--"?效率评分:0分 :效率评分:{record.efficiencyscore}分}
+ {record.late_penalty === "--"?迟交扣分:0分 :迟交扣分:{record.late_penalty}分}
+ {record.finalscore === "--"?最终成绩:0分 :最终成绩:{record.finalscore}分}
+ }>
+ {
+ record.finalscore&&record.finalscore==="--"?
+
{record.finalscore}
+ :
+
= 90 ? {"color": '#DD1717', "text-align": "center"} : {
+ "color": '#747A7F',
+ "text-align": "center"
+ }}>{record.finalscore}
+ }
+
+
+ }
+
+ )
+ },
+ {
+ title: '操作',
+ dataIndex: 'operating',
+ key: 'operating',
+ display: 'block',
+ align: 'center',
+ className:'font-14',
+ render: (text, record) => (
+ record.submitstate === "未提交" ?
-- :
+
+
+ 直接调整最终成绩的分数
+ 其它评分全部作废
+ }>
+
this.Viewstudenttraininginformations(record)}>调分
+
+
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) => (
+