调整试卷学生

dev_home
杨树明 6 years ago
parent 28f88b258e
commit 4ea4c22593

@ -21,9 +21,7 @@ import moment from 'moment';
import 'moment/locale/zh-cn'; import 'moment/locale/zh-cn';
import './yslexercisetable.css'; import './yslexercisetable.css';
import {getImageUrl, toPath, sortDirections} from 'educoder'; import {getImageUrl, toPath, sortDirections} from 'educoder';
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_exercise from "../coursesPublic/ModulationModal_exercise"; import ModulationModal_exercise from "../coursesPublic/ModulationModal_exercise";
const Search = Input.Search; const Search = Input.Search;
const RadioGroup = Radio.Group; const RadioGroup = Radio.Group;
@ -488,34 +486,34 @@ class Studentshavecompletedthelist extends Component {
width:'98px', width:'98px',
render: (text, record) => ( render: (text, record) => (
<span> <span>
{record.completion === "--" ? {record.completion === "--" ?
<span style={{ <span style={{
color: '#999999', color: '#999999',
textAlign: "center", textAlign: "center",
width:'98px', width:'98px',
}}> }}>
-- --
</span> </span>
: :
<span style={parseInt(record.completion) > 90 ? { <span style={parseInt(record.completion) > 90 ? {
color: '#DD1717', color: '#DD1717',
textAlign: "center", textAlign: "center",
width:'98px', width:'98px',
} : parseInt(record.completion) <= 90 ? { } : parseInt(record.completion) <= 90 ? {
color: '#FF6800', color: '#FF6800',
textAlign: "center", textAlign: "center",
width:'98px', width:'98px',
} : parseInt(record.completion) <= 60 ? { } : parseInt(record.completion) <= 60 ? {
color: '#747A7F', color: '#747A7F',
textAlign: "center", textAlign: "center",
width:'98px', width:'98px',
} : { } : {
color: '#747A7F', color: '#747A7F',
textAlign: "center", textAlign: "center",
width:'98px', width:'98px',
}}>{record.completion}</span> }}>{record.completion}</span>
} }
</span> </span>
) )
}, },
@ -559,7 +557,7 @@ class Studentshavecompletedthelist extends Component {
dataIndex: 'efficiencyscore', dataIndex: 'efficiencyscore',
key: 'efficiencyscore', key: 'efficiencyscore',
align: 'center', align: 'center',
className: "edu-txt-center tabletd font-14", className: "edu-txt-center tabletd font-14 columnstwoachievement",
render: (text, record) => ( render: (text, record) => (
<span> <span>
{ {
@ -596,7 +594,7 @@ class Studentshavecompletedthelist extends Component {
dataIndex: 'finalscore', dataIndex: 'finalscore',
key: 'finalscore', key: 'finalscore',
align: 'center', align: 'center',
className: "edu-txt-center font-14", className: "edu-txt-center tabletd font-14",
render: (text, record) => ( render: (text, record) => (
<span> <span>
{ {

@ -55,3 +55,8 @@
white-space: nowrap; white-space: nowrap;
cursor: default; cursor: default;
} }
.columnstwoachievement{
width: 216px;
text-align: right !important;
padding-right: 60px !important;
}
Loading…
Cancel
Save