| | |
| | | |
| | | <div className="case-info-container">{currentForm === 'dispute' && <BasicInfoForm onGuideClick={handleGuideClick} />}</div> |
| | | |
| | | <div className="bottom-button-area"> |
| | | <div className="caseDes-bottom-button-area"> |
| | | <Button className="previous-button" onClick={handlePrevious} disabled={submitting}> |
| | | 上一步 |
| | | </Button> |
| | |
| | | } |
| | | |
| | | /** 底部按钮区域样式 */ |
| | | .bottom-button-area { |
| | | .caseDes-bottom-button-area { |
| | | position: fixed; |
| | | bottom: 0; |
| | | left: 0; |
| | |
| | | |
| | | // 切换到手动填写 |
| | | const handleManualInput = () => { |
| | | console.log('handleManualInput'); |
| | | setIsManualInput(true); |
| | | }; |
| | | |
| | |
| | | ]; |
| | | |
| | | return ( |
| | | <> |
| | | <NavBarPage |
| | | title="纠纷发生地点" |
| | | leftContentFunc={() => history.goBack()} |
| | | rightContentFunc={handleManualInput} |
| | | rightChildren={ |
| | | <> |
| | | <WriteEditOutlined /> |
| | | 手动填写 |
| | | </> |
| | | } |
| | | /> |
| | | |
| | | <NavBarPage |
| | | title="纠纷发生地点" |
| | | rightContentFunc={handleManualInput} |
| | | rightChildren={ |
| | | <> |
| | | <WriteEditOutlined /> |
| | | 手动填写 |
| | | </> |
| | | } |
| | | > |
| | | <div className="location-picker-container"> |
| | | {!isManualInput ? ( |
| | | <div className="placeholder-container"> |
| | |
| | | </div> |
| | | )} |
| | | </div> |
| | | </> |
| | | </NavBarPage> |
| | | ); |
| | | }; |
| | | |
| | |
| | | return $$.ax.request({ urlAi: `case-law/getRepeatResult`, data, typeAi: 'post', service: 'mediate' }); |
| | | } |
| | | |
| | | function saveDispute(data) { |
| | | return $$.ax.request({ url: `casedraftInfo/caseDraftRegister`, type: 'post', service: 'mediate', data }); |
| | | } |
| | | |
| | | const Preview = () => { |
| | | const history = useHistory(); |
| | | const [formData, setFormData] = useState({}); |