|
|
|
@ -94,7 +94,7 @@ const ScoreSetter = (props: any, ref: any) => {
|
|
|
|
|
{ (record?.code === 1) &&
|
|
|
|
|
<>
|
|
|
|
|
<span>错选、漏选得:</span>
|
|
|
|
|
<Form.Item style={{margin:0}} name={`score_harf`}><InputNumber min={0} type="number" defaultValue={questionTypeValues ? questionTypeValues[index]?.score_harf : 0} placeholder="请输入" size="small" name='score_harf' onChange={(value)=>{
|
|
|
|
|
<Form.Item style={{margin:0}} name={`score_harf`}><InputNumber min={0} max={99} maxLength={2} type="number" defaultValue={questionTypeValues ? questionTypeValues[index]?.score_harf : 0} placeholder="请输入" size="small" name='score_harf' onChange={(value)=>{
|
|
|
|
|
//
|
|
|
|
|
const _data = [];
|
|
|
|
|
console.log('typeScore',typeScore)
|
|
|
|
@ -202,7 +202,7 @@ const ScoreSetter = (props: any, ref: any) => {
|
|
|
|
|
>
|
|
|
|
|
<EditableProTable
|
|
|
|
|
title={()=>{
|
|
|
|
|
return <Space>共计 {sumQuestion} 题, 总计 {sumScore} 分 通过分数线
|
|
|
|
|
return <Space size="large"><span>共计 {sumQuestion} 题,</span><span>总计 {sumScore} 分</span> 通过分数线
|
|
|
|
|
<Form.Item style={{margin:0}} name='pass_socre' initialValue={0}><InputNumber min={0} onChange={(value)=>{
|
|
|
|
|
setPassScore(value)
|
|
|
|
|
}} /></Form.Item>
|
|
|
|
|