1 files added
5 files modified
| | |
| | | * @Company: hugeInfo |
| | | * @Author: ldh |
| | | * @Date: 2022-02-16 11:25:57 |
| | | * @LastEditTime: 2024-09-10 10:36:24 |
| | | * @LastEditTime: 2024-09-10 16:53:01 |
| | | * @LastEditors: lwh |
| | | * @Version: 1.0.0 |
| | | * @Description: api地址 |
| | |
| | | export const debug = { |
| | | // web服务 |
| | | // baseUrl: 'http://gz.hugeinfo.com.cn', |
| | | baseUrl: "http://192.168.3.108:9002", |
| | | // baseUrl: 'http://mdqgnh.natappfree.cc', |
| | | // baseUrl: "http://192.168.3.108:9002", |
| | | baseUrl: 'http://6dycet.natappfree.cc', |
| | | |
| | | // 附件服务 |
| | | fileUrl: "http://192.168.3.108:9002", |
| | | // fileUrl: "http://192.168.3.108:9002", |
| | | // fileUrl: 'http://gz.hugeinfo.com.cn', |
| | | |
| | | fileUrl: 'http://6dycet.natappfree.cc', |
| | | // 文件查看url 后面接附件编号 |
| | | fileShowUrl: "/dyh-sys/api/v1/fileInfo/show/", |
| | | fileShowUrl: '/dyh-sys/api/v1/fileInfo/show/', |
| | | // 文件下载url 后面接附件编号 |
| | | fileDownUrl: "/dyh-sys/api/v1/fileInfo/down/", |
| | | fileDownUrl: '/dyh-sys/api/v1/fileInfo/down/', |
| | | // 在线文档编辑链接 |
| | | fileDocx: "/word/docDraft/showWord", |
| | | fileDocx: '/word/docDraft/showWord', |
| | | // 签章的文档编辑链接 |
| | | fileDocx2: "/InsertSeal/Word/AddSeal1/Word1", |
| | | fileDocx2: '/InsertSeal/Word/AddSeal1/Word1', |
| | | |
| | | // 不同服务接口type |
| | | mediate: "dyh-mediate", // dyh-mediate |
| | | cust: "dyh-cust", // dyh-cust |
| | | oper: "dyh-oper", // dyh-oper |
| | | sys: "dyh-sys", // dyh-sys |
| | | disp: "dyh-disp", //dyh-disp |
| | | utils: "dyh-utils", |
| | | mediate: 'dyh-mediate', // dyh-mediate |
| | | cust: 'dyh-cust', // dyh-cust |
| | | oper: 'dyh-oper', // dyh-oper |
| | | sys: 'dyh-sys', // dyh-sys |
| | | disp: 'dyh-disp', //dyh-disp |
| | | utils: 'dyh-utils', |
| | | }; |
| | | |
| | | // 正式版 |
| | | export const web = { |
| | | // web服务 |
| | | baseUrl: "https://zfw-dyh.by.gov.cn", |
| | | baseUrl: 'https://zfw-dyh.by.gov.cn', |
| | | // baseUrl: 'http://146.4.99.61:8088/byzfw', |
| | | |
| | | // 附件服务 |
| | | fileUrl: "https://zfw-dyh.by.gov.cn", |
| | | fileUrl: 'https://zfw-dyh.by.gov.cn', |
| | | |
| | | // 文件查看url 后面接附件编号 |
| | | fileShowUrl: '/dyh-sys/api/v1/fileInfo/show/', |
| | |
| | | fileDocx2: '/InsertSeal/Word/AddSeal1/Word1', |
| | | |
| | | // 不同服务接口type |
| | | mediate: "gzdyh-mediate", // dyh-mediate |
| | | cust: "gzdyh-cust", // dyh-cust |
| | | oper: "gzdyh-oper", // dyh-oper |
| | | sys: "gzdyh-sys", // dyh-sys |
| | | disp: "gzdyh-disp", //dyh-disp |
| | | utils: "gzdyh-utils", |
| | | mediate: 'gzdyh-mediate', // dyh-mediate |
| | | cust: 'gzdyh-cust', // dyh-cust |
| | | oper: 'gzdyh-oper', // dyh-oper |
| | | sys: 'gzdyh-sys', // dyh-sys |
| | | disp: 'gzdyh-disp', //dyh-disp |
| | | utils: 'gzdyh-utils', |
| | | }; |
| | |
| | | return ( |
| | | <Col span={12} key={t}> |
| | | <div |
| | | onClick={() => { x.value !== sourceType && setSourceType(x.value) }} |
| | | className={`casePerfection-cardTab-tab ${x.value === sourceType && 'casePerfection-cardTab-tabActive'}`} |
| | | > |
| | | <img src={x.value === sourceType ? personIconType(x.value)?.[1] : personIconType(x.value)?.[0]} alt="" style={{ width: '40px', height: '40px' }} /> |
| | |
| | | import * as $$ from '@/utils/utility'; |
| | | import { Form, Input, Modal, Upload } from '@arco-design/web-react'; |
| | | import { IconLink } from '@arco-design/web-react/icon'; |
| | | |
| | | import './index.less' |
| | | |
| | | const FormItem = Form.Item; |
| | | const appUrl = $$.appUrl; |
| | |
| | | |
| | | return ( |
| | | <> |
| | | |
| | | <Modal |
| | | style={{ width: '944px' }} |
| | | visible={scanImage} |
| | | onCancel={() => setScanImage(false)} |
| | | footer={null} |
| | | title='选择识别范围' |
| | | centered |
| | | unmountOnExit={true} |
| | | maskClosable={false} |
| | | > |
| | | <img |
| | | src={fileView?.url} |
| | | alt="" |
| | | style={{ |
| | | display: 'block', |
| | | margin: 'auto', |
| | | maxWidth: '100%', |
| | | maxHeight: '100%', |
| | | objectFit: 'contain', |
| | | }} |
| | | /> |
| | | <div><Button type="primary" onClick={() => handleScaned()} style={{ marginTop: '20px' }}>开始识别</Button></div> |
| | | </Modal> |
| | | <Modal |
| | | style={{ width: '1200px' }} |
| | | visible={visible} |
| | |
| | | |
| | | </Modal> |
| | | <Modal |
| | | style={{ width: '944px' }} |
| | | visible={scanImage} |
| | | onCancel={() => setScanImage(false)} |
| | | footer={null} |
| | | title='选择识别范围' |
| | | centered |
| | | unmountOnExit={true} |
| | | maskClosable={false} |
| | | > |
| | | <img |
| | | src={fileView?.url} |
| | | alt="" |
| | | style={{ |
| | | display: 'block', |
| | | margin: 'auto', |
| | | maxWidth: '100%', |
| | | maxHeight: '100%', |
| | | objectFit: 'contain', |
| | | }} |
| | | /> |
| | | <div><Button type="primary" onClick={() => handleScaned()} style={{ marginTop: '20px' }}>开始识别</Button></div> |
| | | </Modal> |
| | | <Modal |
| | | className='scan-modal' |
| | | style={{ width: '1200px' }} |
| | | wrapStyle={{ zIndex: 1002 }} |
| | | visible={scaned} |
| | | onCancel={() => setScaned(false)} |
| | | footer={null} |
| | |
| | | const [addVisabled, setAddVisabled] = useState(false);//添加当事人弹窗控制 |
| | | const [fakeData, setFakeData] = useState([]);//当事人信息数据 |
| | | const [scanFile, setScanFile] = useState(false); |
| | | const [ocrText, setOcrText] = useState(''); |
| | | |
| | | const [mapView, setMapView] = useState(false); |
| | | const [visible, setVisible] = useState(false); |
| | |
| | | |
| | | const handleConfirm = (scanContent) => { |
| | | // 处理确认逻辑 |
| | | props.formRef.current.setFieldValue('caseDes', scanContent) |
| | | props.formRef.current.setFieldValue(ocrText, scanContent) |
| | | setScanFile(false); |
| | | console.log(scanContent, 'scanContent') |
| | | |
| | |
| | | </Tooltip> |
| | | <div className="must" style={{ marginLeft: '4px' }}>必填</div> |
| | | <img src={scan} alt="" style={{ marginRight: '-2px', marginLeft: '8px' }} /> |
| | | <div style={{ marginLeft: '8px', color: '#1A6FB8', fontSize: '14px', cursor: 'pointer' }} onClick={() => setScanFile(true)}>识别上传材料</div> |
| | | <div style={{ marginLeft: '8px', color: '#1A6FB8', fontSize: '14px', cursor: 'pointer' }} onClick={() => { setScanFile(true); setOcrText('caseDes') }}>识别上传材料</div> |
| | | </div> |
| | | } |
| | | field='caseDes' |
| | |
| | | </Tooltip> */} |
| | | <div className="must">必填</div> |
| | | <img src={scan} alt="" style={{ marginRight: '-2px', marginLeft: '8px' }} /> |
| | | <div style={{ marginLeft: '8px', color: '#1A6FB8', fontSize: '14px', cursor: 'pointer' }} onClick={() => setScanFile(true)}>识别上传材料</div> |
| | | <div style={{ marginLeft: '8px', color: '#1A6FB8', fontSize: '14px', cursor: 'pointer' }} onClick={() => { setScanFile(true); setOcrText('caseClaim') }}>识别上传材料</div> |
| | | </div> |
| | | } |
| | | field='caseClaim' |
| | |
| | | /* |
| | | * @Author: dminyi 1301963064@qq.com |
| | | * @Date: 2024-08-09 09:59:43 |
| | | * @LastEditors: dminyi 1301963064@qq.com |
| | | * @LastEditTime: 2024-09-10 10:10:03 |
| | | * @LastEditors: lwh |
| | | * @LastEditTime: 2024-09-10 11:20:47 |
| | | * @FilePath: \gzDyh\gz-customerSystem\src\views\basicInformation\organization\index.jsx |
| | | * @Description: 来访登记 |
| | | */ |
| | |
| | | if (!errors) { |
| | | const { myCaseType, myQuesAddress, ...rest } = formRef.current.getFields() |
| | | const params = handleData(rest) |
| | | $$.modalInfo({ |
| | | title: '提醒', |
| | | content: '确定提交吗?', |
| | | cancelText: '我再想想', |
| | | onOk: () => { |
| | | reauestSubmit({ |
| | | ...params, |
| | | isSelfAccept: 0, |
| | | isDraft: 0, |
| | | operateType: 0, |
| | | }) |
| | | }, |
| | | }); |
| | | |
| | | } |
| | | }); |
| | | } |