import React, {Component} from "react"; import {Modal, Checkbox, Upload, Button, Icon, message, Input, Form} from "antd"; import {WordNumberTextarea} from 'educoder'; import './Newshixunmodel.css' //调分 class ModulationModal_exercise extends Component { constructor(props) { super(props); this.state = { score: 0, subjective_questions: 0, objective_questions: 0, } //因为主观题加客观题的和是总分 } componentDidMount = () => { } Saves = () => { let {textareaval, subjective_questions, objective_questions, score} = this.state; // this.props.Saves(textareaval, Inputsval) } settextarea = (e) => { this.setState({ textareaval: e.target.value }) } setInputs = (e) => { } render() { let {Inputsvaltype, subjective_questions, objective_questions, score} = this.state; return (
主观题成绩:
this.setInputs(e)} value={subjective_questions === undefined || subjective_questions === null ? "" : subjective_questions}/>分 ,
总分:45.0 分
客观题成绩:
this.setInputs(e)} value={objective_questions === undefined || objective_questions === null ? "" : objective_questions}/>分 ,
总分:45.0 分
最终成绩:
this.setInputs(e)} value={score === undefined || score === null ? "" : score}/>分 ,
总分:45.0 分
// // 该学生的最终成绩将不会按照评分规则进行计算 // //
// // //