forked from gzzfw/frontEnd/gzDyh

zhangyongtian
2024-09-07 8ff0ff99f54eced3348c4cc6a2f54df03d509572
Merge branch 'master' of http://120.79.193.119:9090/r/gzzfw/frontEnd/gzDyh
2 files modified
21 ■■■■■ changed files
gz-customerSystem/src/views/register/matterDetail/FileUpLoad.jsx 1 ●●●● patch | view | raw | blame | history
gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx 20 ●●●●● patch | view | raw | blame | history
gz-customerSystem/src/views/register/matterDetail/FileUpLoad.jsx
@@ -84,7 +84,6 @@
              }}
              tip='支持png、 jpg、pdf等格式文件上传,每次上传大小不超过10M'
              showUploadList={{
                // Please dont remove this comment
                fileIcon: <IconLink style={{ color: '#1D2129' }} />,
              }}
              // onChange={(info, currentFile) => {
gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx
@@ -33,6 +33,9 @@
  return $$.ax.request({ url: `fileInfo/deleteFileById`, type: 'get', service: 'sys', data: { id } });
}
function listIdTypeInfoApi(data) {
  return $$.ax.request({ url: `fileInfo/listIdTypeInfo`, type: 'post', service: 'sys', data });
}
const VisitorRegister = (props) => {
  const formRef = useRef();
@@ -102,6 +105,19 @@
      $$.infoSuccess({ content: '删除成功!' });
    }
  }
  const listIdTypeInfo = async () => {
    const res = await listIdTypeInfoApi({
      mainId: "2409061125411006", //事项ID
      ownerIdList: ["2409061125411006"], //具体所属编号
    })
    if (res.type) {
      console.log(res,'resres')
    }
  }
  const formType = (type) => {
@@ -336,7 +352,9 @@
  // console.log(sourceType, 'sourceType')
  // console.log(props.formRef?.current?.getFields(),'formRef.current.getFields()')
  useEffect(() => {
    listIdTypeInfo()
  }, [])
  return (
    <div className='dataSync-page' style={{ ...props.style, marginTop: '8px' }}>