| | |
| | | } |
| | | |
| | | const handleSubmit = () => { |
| | | formRef.current.validate(undefined, (errors, values) => { |
| | | if (formRef.current) { |
| | | formRef.current.validate(undefined, (errors, values) => { |
| | | if (!errors) { |
| | | handleEscala({ |
| | | id, |
| | | caseId: props.caseId, |
| | | caseTaskId: props.caseTaskId, |
| | | returnContent: values.returnContent, |
| | | ...unitData |
| | | }) |
| | | } |
| | | }) |
| | | } |
| | | }) |
| | | if (formRef.current) { |
| | | formRef.current.validate(undefined, (errors, values) => { |
| | | if (!errors) { |
| | | handleEscala({ |
| | | id, |
| | | caseId: props.caseId, |
| | | caseTaskId: props.caseTaskId, |
| | | appearContent: values.appearContent, |
| | | ...unitData |
| | | }) |
| | | } |
| | | }) |
| | | } |
| | | } |
| | | |
| | | const handleTemplate = (type) => { |
| | |
| | | <Col span={24}> |
| | | <FormItem |
| | | label='上报至' |
| | | field='trueName' |
| | | field='name' |
| | | > |
| | | <div className='myTag' > |
| | | <img src={escalation} alt="" className="title-file" />白云区综治中心 |
| | | <img src={escalation} alt="" className="title-file" />{unitData.auditUnitName} |
| | | </div> |
| | | </FormItem> |
| | | </Col> |
| | |
| | | </div> |
| | | <FormItem |
| | | label={(<div style={{ display: 'flex' }}>上报意见<div className="must">必填</div></div>)} |
| | | field='returnContent' |
| | | field='appearContent' |
| | | rules={[{ required: true, message: '请选择回退理由' }]} |
| | | > |
| | | <TextArea |