From 23fc08fd077194d990749fbc00a89684154c9c64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Fri, 15 Nov 2019 10:55:09 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../courses/coursesPublic/ModulationModal_exercise.js | 7 ++++++- .../courses/exercise/Studentshavecompletedthelist.js | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/public/react/src/modules/courses/coursesPublic/ModulationModal_exercise.js b/public/react/src/modules/courses/coursesPublic/ModulationModal_exercise.js index e87ad104b..bb44713ee 100644 --- a/public/react/src/modules/courses/coursesPublic/ModulationModal_exercise.js +++ b/public/react/src/modules/courses/coursesPublic/ModulationModal_exercise.js @@ -338,6 +338,7 @@ class ModulationModal_exercise extends Component { }} placeholder="请填写主观题成绩" onInput={this.setInputs} + onFocus={true} value={Inputsval === undefined || Inputsval === null ? "" : Inputsval}/> <p className="mexeheigth ml10">分 ,</p> <p className="mexeheigth"><span>总分:</span><span>{subjective_score}</span><span @@ -383,6 +384,7 @@ class ModulationModal_exercise extends Component { height: "40px", }} placeholder="请填写客观题成绩" + onFocus={true} onInput={this.setInputss} value={Inputsvals === undefined || Inputsvals === null ? "" : Inputsvals}/> <p className="mexeheigth ml10">分 ,</p> @@ -441,6 +443,7 @@ class ModulationModal_exercise extends Component { }} placeholder="请填写最终成绩" onInput={this.setInputsss} + onFocus={true} value={Inputsval === undefined || Inputsval === null ? "" : Inputsval}/> <p className="mexeheigth ml10"> 分 ,</p> <p className="mexeheigth"> @@ -493,7 +496,9 @@ class ModulationModal_exercise extends Component { }} placeholder="请填写最终成绩" onInput={this.setInputssss} - value={Inputsvals === undefined || Inputsvals === null ? "" : Inputsvals}/> + value={Inputsvals === undefined || Inputsvals === null ? "" : Inputsvals} + onFocus={true} + /> <p className="mexeheigth ml10"> 分 ,</p> <p className="mexeheigth"> <span>总分:</span><span>{subjective_score > 0 && objective_score === 0 ? subjective_score : ""} {objective_score > 0 && subjective_score === 0 ? objective_score : ""}</span><span diff --git a/public/react/src/modules/courses/exercise/Studentshavecompletedthelist.js b/public/react/src/modules/courses/exercise/Studentshavecompletedthelist.js index b7bee5e2d..a06cbbfa7 100644 --- a/public/react/src/modules/courses/exercise/Studentshavecompletedthelist.js +++ b/public/react/src/modules/courses/exercise/Studentshavecompletedthelist.js @@ -620,7 +620,7 @@ class Studentshavecompletedthelist extends Component { <span style={{width:"98px"}}> { record.submitstate === "未提交"||record.commit_method===5? - <span style={{textAlign: "center", color: '#999999',width:"98px"}}>--</span> + <span style={{textAlign: "center", color: '#999999',width:"98px"}}>-aa-</span> :record.submitstate === "已提交"? record.score_open===null||record.score_open===undefined?"": record.score_open===true?