Commit 57a0bc6a by maolipeng

feat:........

parent ba8e83e7
...@@ -107,6 +107,38 @@ class OperatePaper extends Component { ...@@ -107,6 +107,38 @@ class OperatePaper extends Component {
typeKey: "INDEFINITE_CHOICE", typeKey: "INDEFINITE_CHOICE",
}, },
], ],
gradeRule: [
{
typeKey: "SINGLE_CHOICE",
grade: 2,
halfGrade: 1,
totalQuestion: 0,
},
{
typeKey: "MULTI_CHOICE",
grade: 2,
halfGrade: 1,
totalQuestion: 0,
},
{
typeKey: "JUDGE",
grade: 2,
halfGrade: 1,
totalQuestion: 0,
},
{
typeKey: "GAP_FILLING",
grade: 2,
halfGrade: 1,
totalQuestion: 0,
},
{
typeKey: "INDEFINITE_CHOICE",
grade: 2,
halfGrade: 1,
totalQuestion: 0,
},
]
}; };
} }
......
.batchgrade { .batchgrade {
.content { .content {
.item { .item {
width: 512px; display: flex;
width: 612px;
height: 48px; height: 48px;
background: #F7F8F9; background: #F7F8F9;
font-size: 14px; font-size: 14px;
...@@ -9,6 +10,13 @@ ...@@ -9,6 +10,13 @@
font-weight: 400; font-weight: 400;
color: #333333; color: #333333;
padding-left: 16px; padding-left: 16px;
.type {
width: 112px;
}
.grade {
margin-left: 8px;
margin-right: 29px;
}
} }
.item:not(:last-of-type) { .item:not(:last-of-type) {
margin-bottom: 8px; margin-bottom: 8px;
......
...@@ -30,28 +30,28 @@ export default function BatchGrade(props:BatchGradeProps) { ...@@ -30,28 +30,28 @@ export default function BatchGrade(props:BatchGradeProps) {
onOk={onOk} onOk={onOk}
visible={props.visible} visible={props.visible}
maskClosable={false} maskClosable={false}
width={560} width={660}
> >
<div className="content"> <div className="content">
<div className="item"> <div className="item">
【单选题】 <span className="type">【单选题】</span>
<span>每题<InputNumber defaultValue={2} style={inputNumberStyle} /></span> <span className="grade">每题<InputNumber defaultValue={2} style={inputNumberStyle} /></span>
</div> </div>
<div className="item"> <div className="item">
【多选题】 <span className="type">【多选题】</span>
<span>每题<InputNumber style={inputNumberStyle} /></span> <span className="grade">每题<InputNumber style={inputNumberStyle} />分,漏选得<InputNumber defaultValue={1} style={inputNumberStyle} /></span>
</div> </div>
<div className="item"> <div className="item">
【不定项选择题】 <span className="type">【不定项选择题】</span>
<span>每题<InputNumber style={inputNumberStyle} /></span> <span className="grade">每题<InputNumber style={inputNumberStyle} />分,漏选得<InputNumber defaultValue={1} style={inputNumberStyle} /></span>
</div> </div>
<div className="item"> <div className="item">
【判断题】 <span className="type">【判断题】</span>
<span>每题<InputNumber style={inputNumberStyle} /></span> <span className="grade">每题<InputNumber style={inputNumberStyle} /></span>
</div> </div>
<div className="item"> <div className="item">
【填空题】 <span className="type">【填空题】</span>
<span>每题<InputNumber style={inputNumberStyle} /></span> <span className="grade">每题<InputNumber style={inputNumberStyle} />分,半对得<InputNumber defaultValue={1} style={inputNumberStyle} /></span>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment