教师端调整

PCqiandao
杨树明 5 years ago
parent ed8b174ab9
commit f40728e51b

@ -70,7 +70,7 @@ const CollectionCreateForm = Form.create({ name: 'form_in_modal' })(
)} )}
</Form.Item> </Form.Item>
<Form.Item label="签到方式:" className="collection-create-form_last-form-item"> <Form.Item label="签到方式:" >
{getFieldDecorator('modifier', { {getFieldDecorator('modifier', {
rules: [{ required: true, message: 'Please input the title of collection!' }], rules: [{ required: true, message: 'Please input the title of collection!' }],
})( })(
@ -80,11 +80,22 @@ const CollectionCreateForm = Form.create({ name: 'form_in_modal' })(
<Radio value="QRCODE">二维码签到</Radio> <Radio value="QRCODE">二维码签到</Radio>
</Radio.Group>, </Radio.Group>,
)} )}
{Radiolist==="QUICK"?<div
style={{color:"#E6A23C",
height:"15px",
lineHeight: "15px"}}>学生点击签到按钮即可完成签到</div>:""}
{Radiolist==="NUMBER"?<div
style={{color:"#E6A23C",
height:"15px",
lineHeight: "15px"}}
>学生需要输入签到码才能完成签到</div>:""}
{Radiolist==="QRCODE"?<div
style={{color:"#E6A23C",
height:"15px",
lineHeight: "15px"}}
>学生需从小程序进入课堂扫码才能完成签到</div>:""}
</Form.Item> </Form.Item>
{Radiolist==="QUICK"?<div style={{color:"#E6A23C"}}>学生点击签到按钮即可完成签到</div>:""}
{Radiolist==="NUMBER"?<div style={{color:"#E6A23C"}}>学生需要输入签到码才能完成签到</div>:""}
{Radiolist==="QRCODE"?<div style={{color:"#E6A23C"}}>学生需从小程序进入课堂扫码才能完成签到</div>:""}
<Form.Item label="签到日期:"> <Form.Item label="签到日期:">
{getFieldDecorator('date-picker', { {getFieldDecorator('date-picker', {
rules: [{ type: 'object', required: true, message: 'Please select time!' }], rules: [{ type: 'object', required: true, message: 'Please select time!' }],

Loading…
Cancel
Save