|
|
|
@ -436,7 +436,23 @@ export default () => {
|
|
|
|
|
{/** 一旦录入另一项将禁用,清空组卷后可选另一项 */}
|
|
|
|
|
<Row>
|
|
|
|
|
<Col span={12} style={{padding:5}}><Button size="large" onClick={()=>{handleSelectorModalVisible(true)}} value={1} style={{ display:'block', textAlign: 'center', width:'100%'}}>手动组卷</Button></Col>
|
|
|
|
|
<Col span={12} style={{padding:5}}><Button size="large" onClick={()=>{handleAutoModalVisible(true)}} value={2} style={{ display:'block', textAlign: 'center', width:'100%'}}>系统组卷</Button></Col>
|
|
|
|
|
<Col span={12} style={{padding:5}}>
|
|
|
|
|
{questions ?
|
|
|
|
|
<Popconfirm
|
|
|
|
|
title="目前已有题目,如果点击确定将清空之前题目数据?"
|
|
|
|
|
onConfirm={()=>{
|
|
|
|
|
handleAutoModalVisible(true)
|
|
|
|
|
}}
|
|
|
|
|
onCancel={()=>{}}
|
|
|
|
|
okText="是"
|
|
|
|
|
cancelText="否"
|
|
|
|
|
>
|
|
|
|
|
<Button size="large" value={2} style={{ display:'block', textAlign: 'center', width:'100%'}}>系统组卷</Button>
|
|
|
|
|
</Popconfirm>
|
|
|
|
|
:
|
|
|
|
|
<Button size="large" onClick={()=>{handleAutoModalVisible(true)}} value={2} style={{ display:'block', textAlign: 'center', width:'100%'}}>系统组卷</Button>
|
|
|
|
|
}
|
|
|
|
|
</Col>
|
|
|
|
|
</Row>
|
|
|
|
|
<Divider style={{ margin: '6px 0', opacity: 0.5 }} />
|
|
|
|
|
|
|
|
|
|