| | |
| | | return; |
| | | } |
| | | if (savedate.activityPhone) { |
| | | if (!validator.phone(savedate.activityPhone)) { |
| | | return message.warning("联系电话格式不正确"); |
| | | if (!savedate.activityPhone) { |
| | | return message.warning("联系电话不能为空"); |
| | | } |
| | | } |
| | | Fetch.saveActive(savedate) |
| | |
| | | <Option value='act_3'>普法预约</Option> |
| | | </Select> |
| | | </Col> |
| | | <Col span={12} pull={0}></Col> |
| | | </Row> |
| | | </div> |
| | | <div style={divStyle}> |
| | | <Row type="flex" align='middle' justify="space-around"> |
| | | <Col span={6} pull={0} style={{ textAlign: 'center' }}><span>主持人</span></Col> |
| | | <Col span={6} push={0} ><Input disabled={disabled} placeholder="请输入主持人姓名" style={{ width: '300px' }} name='host' onChange={this.saveInputChange} value={savedate.host || ""} /></Col> |
| | | <Col span={6} pull={0} style={{ textAlign: 'center' }}><span>报名要求</span></Col> |
| | | <Col span={6} push={0} ><Input disabled={disabled} placeholder="请输入报名要求" style={{ width: '300px' }} name='requirement' onChange={this.saveInputChange} value={savedate.requirement || ""} /></Col> |
| | | </Row> |
| | | </div> |
| | | |
| | |
| | | <Col span={18} push={0} ><TextArea disabled={disabled} rows={4} placeholder="请输入活动描述" style={{ width: '92%' }} value={savedate.activityDesc || ""} onChange={this.saveInputChange} name='activityDesc' /></Col> |
| | | </Row> |
| | | </div> |
| | | <div style={divStyle}> |
| | | <Row type="flex" align='middle' justify="space-around"> |
| | | <Col span={6} pull={0} style={{ textAlign: 'center' }}><span>报名要求</span></Col> |
| | | <Col span={18} push={0} ><TextArea disabled={disabled} placeholder="请输入报名要求" style={{ width: '92%' }} name='requirement' onChange={this.saveInputChange} value={savedate.requirement || ""} /></Col> |
| | | </Row> |
| | | </div> |
| | | |
| | | <div style={divStyle}> |
| | | <Row type="flex" align='top' justify="space-around"> |