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