|
|
@ -24,6 +24,7 @@ import {getImageUrl, toPath, sortDirections} from 'educoder';
|
|
|
|
import CheckBoxGroup from "../../page/component/CheckBoxGroup";
|
|
|
|
import CheckBoxGroup from "../../page/component/CheckBoxGroup";
|
|
|
|
import NoneData from '../../../modules/courses/coursesPublic/NoneData'
|
|
|
|
import NoneData from '../../../modules/courses/coursesPublic/NoneData'
|
|
|
|
import ModulationModal from "../coursesPublic/ModulationModal";
|
|
|
|
import ModulationModal from "../coursesPublic/ModulationModal";
|
|
|
|
|
|
|
|
import ModulationModal_exercise from "../coursesPublic/ModulationModal_exercise";
|
|
|
|
const Search = Input.Search;
|
|
|
|
const Search = Input.Search;
|
|
|
|
const RadioGroup = Radio.Group;
|
|
|
|
const RadioGroup = Radio.Group;
|
|
|
|
const CheckboxGroup = Checkbox.Group;
|
|
|
|
const CheckboxGroup = Checkbox.Group;
|
|
|
@ -1030,9 +1031,9 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
render: (text, record) => (
|
|
|
|
render: (text, record) => (
|
|
|
|
<span>
|
|
|
|
<span>
|
|
|
|
{record.finalscore==="--"?
|
|
|
|
{record.finalscore==="--"?
|
|
|
|
<span style={{color: "#9A9A9A"}}>
|
|
|
|
<a style={{textAlign: "center"}} className="color-blue"
|
|
|
|
--
|
|
|
|
target="_blank"
|
|
|
|
</span>
|
|
|
|
onClick={() => this.Adjustment(record.user_id)}>评阅</a>
|
|
|
|
:
|
|
|
|
:
|
|
|
|
<a style={{textAlign: "center"}} className="color-blue"
|
|
|
|
<a style={{textAlign: "center"}} className="color-blue"
|
|
|
|
target="_blank"
|
|
|
|
target="_blank"
|
|
|
@ -1227,9 +1228,9 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
render: (text, record) => (
|
|
|
|
render: (text, record) => (
|
|
|
|
<span>
|
|
|
|
<span>
|
|
|
|
{record.finalscore==="--"?
|
|
|
|
{record.finalscore==="--"?
|
|
|
|
<span style={{color: "#9A9A9A"}}>
|
|
|
|
<a style={{textAlign: "center"}} className="color-blue"
|
|
|
|
--
|
|
|
|
target="_blank"
|
|
|
|
</span>
|
|
|
|
onClick={() => this.Adjustment(record.user_id)}>评阅</a>
|
|
|
|
:
|
|
|
|
:
|
|
|
|
<a style={{textAlign: "center"}} className="color-blue"
|
|
|
|
<a style={{textAlign: "center"}} className="color-blue"
|
|
|
|
target="_blank"
|
|
|
|
target="_blank"
|
|
|
@ -2613,9 +2614,9 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
var exercise_id = this.props.match.params.Id;
|
|
|
|
var exercise_id = this.props.match.params.Id;
|
|
|
|
let url = `/exercises/${exercise_id}/adjust_score.json`;
|
|
|
|
let url = `/exercises/${exercise_id}/adjust_score.json`;
|
|
|
|
axios.post(url, {
|
|
|
|
axios.post(url, {
|
|
|
|
score: n,
|
|
|
|
|
|
|
|
user_id: this.state.exeuserid,
|
|
|
|
user_id: this.state.exeuserid,
|
|
|
|
comment: v,
|
|
|
|
subjective_score: n,
|
|
|
|
|
|
|
|
objective_score: v,
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.then((response) => {
|
|
|
|
.then((response) => {
|
|
|
|
if (response.data.status == '0') {
|
|
|
|
if (response.data.status == '0') {
|
|
|
@ -2661,11 +2662,18 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
:
|
|
|
|
:
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
{testpapergradingboll === true ? <ModulationModal
|
|
|
|
{/*{testpapergradingboll === true ? <ModulationModal*/}
|
|
|
|
|
|
|
|
{/* visible={testpapergradingboll}*/}
|
|
|
|
|
|
|
|
{/* Cancel={() => this.Adjustments()}*/}
|
|
|
|
|
|
|
|
{/* Saves={(value, num) => this.Testpapergrading(value, num)}*/}
|
|
|
|
|
|
|
|
{/*/> : ""}*/}
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
testpapergradingboll === true ? <ModulationModal_exercise
|
|
|
|
visible={testpapergradingboll}
|
|
|
|
visible={testpapergradingboll}
|
|
|
|
Cancel={() => this.Adjustments()}
|
|
|
|
Cancel={() => this.Adjustments()}
|
|
|
|
Saves={(value, num) => this.Testpapergrading(value, num)}
|
|
|
|
Saves={(value, num) => this.Testpapergrading(value, num)}
|
|
|
|
/> : ""}
|
|
|
|
/> : ""
|
|
|
|
|
|
|
|
}
|
|
|
|
<div className="edu-back-white" >
|
|
|
|
<div className="edu-back-white" >
|
|
|
|
<ul className="clearfix" style={{padding: '10px 30px 10px 30px'}}>
|
|
|
|
<ul className="clearfix" style={{padding: '10px 30px 10px 30px'}}>
|
|
|
|
|
|
|
|
|
|
|
|