|
|
|
@ -243,7 +243,7 @@ const CardList = () => {
|
|
|
|
|
>
|
|
|
|
|
<Space direction="vertical" style={{ width: '100%', padding: '24px 48px' }}>
|
|
|
|
|
<Typography style={{ marginBottom: 16, fontSize: 18 }}>
|
|
|
|
|
{JSON.stringify(questionNow) !== {} ? questionNow.index[1] + 1 : ""} 、{questionNow?.question_stem}
|
|
|
|
|
、{questionNow?.question_stem}
|
|
|
|
|
|
|
|
|
|
</Typography>
|
|
|
|
|
<Space direction="vertical" style={{ fontSize: 16 }}>
|
|
|
|
@ -368,6 +368,12 @@ const CardList = () => {
|
|
|
|
|
// runSavePersonAnswer({
|
|
|
|
|
// answer_ids: e.target.value,
|
|
|
|
|
// question_id: questionNow.question_id,
|
|
|
|
|
// record_id: rulesPaperInfo.record_id
|
|
|
|
|
// })
|
|
|
|
|
// console.log("答题:", questionAnswer, qArr, questionNow)
|
|
|
|
|
// 修改答题卡状态 写入答案以及修改答题状态
|
|
|
|
|
const qX = questionNow?.question_type;
|
|
|
|
|
const qI = questionNow?.index;
|
|
|
|
|
questionList[questionNow.index[0]].question_list[questionNow.index[1]].answerSelect = questionAnswer;
|
|
|
|
|
if (questionAnswer === questionNow.answertrue) {
|
|
|
|
|
questionList[questionNow.index[0]].question_list[questionNow.index[1]].state = 0
|
|
|
|
@ -385,7 +391,24 @@ const CardList = () => {
|
|
|
|
|
|
|
|
|
|
})}</Space></Radio.Group>
|
|
|
|
|
) : ""
|
|
|
|
|
} <div style={{ background: '#ffffff', padding: 24 }}>
|
|
|
|
|
}
|
|
|
|
|
</Form.Item>
|
|
|
|
|
</Form>
|
|
|
|
|
</Space>
|
|
|
|
|
|
|
|
|
|
<Radio.Group onChange={() => { return true }} value={0} size="large">
|
|
|
|
|
<Space direction="vertical" style={{ fontSize: 16 }}>
|
|
|
|
|
<Button type="primary" onClick={() => {
|
|
|
|
|
setParsingShow(!parsingShow)
|
|
|
|
|
}}>查看答案</Button>
|
|
|
|
|
<div style={{ display: (parsingShow ? 'block' : 'none') }} dangerouslySetInnerHTML={{ __html: questionNow.parsing }} />
|
|
|
|
|
</Space>
|
|
|
|
|
</Radio.Group>
|
|
|
|
|
</Space>
|
|
|
|
|
</ProCard>
|
|
|
|
|
</Col>
|
|
|
|
|
<Col span={5} style={{ paddingLeft: 24 }}>
|
|
|
|
|
<div style={{ background: '#ffffff', padding: 24 }}>
|
|
|
|
|
<Space direction="vertical" style={{ width: '100%' }}>
|
|
|
|
|
<Divider style={{ margin: '6px 0', opacity: 0.5 }} />
|
|
|
|
|
<strong>答题序号</strong>
|
|
|
|
|