feaature:增加市民编号筛选与显示,增加法院诉前调节号
| | |
| | | { type: 'Select', name: 'agreeType', placeholder: '请选择', label: '结案协议类型', selectdata: $$.options.caseAgreeType }, |
| | | { type: 'RangePicker', name: 'closeTime', label: '办结时间', shortcutsPlacementLeft: true, shortcuts: $$.shortcutsList(), span: 8 }, |
| | | { type: 'RangePicker', name: 'fileTime', label: '归档时间', shortcutsPlacementLeft: true, shortcuts: $$.shortcutsList(), span: 8 }, |
| | | { type: 'Input', name: 'cityCode', label: '市民编号' }, |
| | | ]} |
| | | handleReset={() => { |
| | | form.resetFields(); |
| | |
| | | </Col> |
| | | <Col span={8}> |
| | | <div><div className="title-text">市民编号</div></div> |
| | | <div>{infoData?.cityCode || '-'}</div> |
| | | <div>{props.data?.cityCode || '-'}</div> |
| | | </Col> |
| | | </> |
| | | } |
| | |
| | | const FormItem = Form.Item; |
| | | const InputSearch = Input.Search; |
| | | |
| | | // 获取案号接口 |
| | | function getCaseNoApi() { |
| | | return $$.ax.request({ url: 'caseInfo/getCaseNo', type: 'get', service: 'mediate' }); |
| | | } |
| | | |
| | | const VisitorRegister = (props) => { |
| | | const isOrganization = $$.getQueryString('isOrganization'); |
| | | const [dialogType, setDialogType] = useState(); //添加当事人的类型 |
| | |
| | | '24_00006-2': '被申请方代理人', |
| | | }; |
| | | |
| | | // 自动获取案号 |
| | | const autoGetCaseNo = async () => { |
| | | try { |
| | | const userInfo = $$.getSessionStorage('customerSystemUser'); |
| | | if (userInfo && userInfo.unitType === 104) { |
| | | global.setSpinning(true); |
| | | const res = await getCaseNoApi(); |
| | | global.setSpinning(false); |
| | | if (res.type && res.data) { |
| | | props.formRef.current.setFieldValue('caseNo', res.data); |
| | | } |
| | | } |
| | | } catch (error) { |
| | | global.setSpinning(false); |
| | | console.error('获取案号失败:', error); |
| | | } |
| | | }; |
| | | |
| | | useEffect(() => { |
| | | if (props.formRef.current) { |
| | | //引入当事人数据 |
| | |
| | | useEffect(() => { |
| | | setFakeData(props.partyList || []); |
| | | }, [props.partyList]); |
| | | |
| | | // 组件初始化时自动获取案号 |
| | | useEffect(() => { |
| | | autoGetCaseNo(); |
| | | }, []); |
| | | |
| | | //获取当前时间 |
| | | const getFormattedDateTime = () => { |
| | |
| | | /> |
| | | </FormItem> |
| | | </Col> |
| | | <Col span={8}> |
| | | <FormItem label="诉前调解案号" field="caseNo"> |
| | | <Input placeholder="请填写" /> |
| | | </FormItem> |
| | | </Col> |
| | | <Col span={24}> |
| | | <FormItem |
| | | label={ |
| | |
| | | setIsShowModal(false); |
| | | if (isModalSelfAccept) { |
| | | getRiskResult({ caseId: id, caseText: (isShowModalData.caseDes || '') + '/n' + (isShowModalData.caseClaim || '') }); |
| | | embeddingTextToMilvus({ caseId: id, caseDes: isShowModalData.caseDes || '', caseClaim: isShowModalData.caseClaim || '' }); |
| | | // embeddingTextToMilvus({ caseId: id, caseDes: isShowModalData.caseDes || '', caseClaim: isShowModalData.caseClaim || '' }); |
| | | //自行受理 |
| | | Message.success({ |
| | | content: ( |
| | |
| | | navigate(`/mediate/visit/handleFeedback?caseTaskId=${isModalResult.data}&caseId=${id}`); |
| | | } else { |
| | | getRiskResult({ caseId: id, caseText: (isShowModalData.caseDes || '') + '/n' + (isShowModalData.caseClaim || '') }); |
| | | embeddingTextToMilvus({ caseId: id, caseDes: isShowModalData.caseDes || '', caseClaim: isShowModalData.caseClaim || '' }); |
| | | // embeddingTextToMilvus({ caseId: id, caseDes: isShowModalData.caseDes || '', caseClaim: isShowModalData.caseClaim || '' }); |
| | | Message.success('提交成功!'); |
| | | navigate(`/mediate/visit/visitWorkBench`, { replace: true }); |
| | | setCurrent(2); |