|
|
@ -366,7 +366,8 @@ class ExamPaperAdd extends Component<any, States> { |
|
|
|
questionSelectList, |
|
|
|
questionSelectList, |
|
|
|
selectedRowKeys, |
|
|
|
selectedRowKeys, |
|
|
|
skipValidation, |
|
|
|
skipValidation, |
|
|
|
questionCountSum |
|
|
|
questionCountSum, |
|
|
|
|
|
|
|
total |
|
|
|
} = this.state; |
|
|
|
} = this.state; |
|
|
|
|
|
|
|
|
|
|
|
const changePage = (current: number, pageSize: number) => { |
|
|
|
const changePage = (current: number, pageSize: number) => { |
|
|
@ -584,7 +585,7 @@ class ExamPaperAdd extends Component<any, States> { |
|
|
|
<Form.Item |
|
|
|
<Form.Item |
|
|
|
label="总分值:" |
|
|
|
label="总分值:" |
|
|
|
name="totalScore" |
|
|
|
name="totalScore" |
|
|
|
style={{ width: 240 }} |
|
|
|
style={{ width: 220 }} |
|
|
|
rules={[{ required: true, message: '请输入总分值' }]} |
|
|
|
rules={[{ required: true, message: '请输入总分值' }]} |
|
|
|
> |
|
|
|
> |
|
|
|
<Input type="number" style={{ textAlign: 'right' }} placeholder="请输入总分值" min={1} /> |
|
|
|
<Input type="number" style={{ textAlign: 'right' }} placeholder="请输入总分值" min={1} /> |
|
|
@ -693,6 +694,9 @@ class ExamPaperAdd extends Component<any, States> { |
|
|
|
> |
|
|
|
> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<h3 style={{fontWeight: 'bold'}}>已选列表</h3> |
|
|
|
<h3 style={{fontWeight: 'bold'}}>已选列表</h3> |
|
|
|
|
|
|
|
<div style={{textAlign: 'right'}}> |
|
|
|
|
|
|
|
{selectedQuestionList.length}/{total} |
|
|
|
|
|
|
|
</div> |
|
|
|
<Table |
|
|
|
<Table |
|
|
|
dataSource={selectedQuestionList} |
|
|
|
dataSource={selectedQuestionList} |
|
|
|
columns={columns} |
|
|
|
columns={columns} |
|
|
|