| | |
| | | const Option = Select.Option; |
| | | |
| | | // 获取附件 |
| | | function getFileListDataApi() { |
| | | return $$.ax.request({ url: `fileInfo/listFileByCat?mainId=${'10001'}&ownerCat=&createStart=&createEnd=&uploaderType=`, type: 'get', service: 'sys', }); |
| | | function getFileListDataApi(data) { |
| | | return $$.ax.request({ url: `fileInfo/listFileByCat`, type: 'get', service: 'sys', data }); |
| | | } |
| | | |
| | | const NewFileCheck = ({ caseId }) => { |
| | |
| | | const imgRef = useRef(); |
| | | const formRef = useRef(); |
| | | |
| | | useEffect(() => { |
| | | getFileListData(); |
| | | }, []); |
| | | |
| | | // 图片旋转 |
| | | function handleRotateImg(type) { |
| | |
| | | } |
| | | console.log(files,'filesfiles') |
| | | |
| | | useEffect(() => { |
| | | getFileListData(); |
| | | }, []); |
| | | |
| | | |
| | | // 监听鼠标滚动事件 |
| | | useEffect(() => { |
| | |
| | | </Tooltip> |
| | | </div> |
| | | </div> |
| | | {files[fileIndex]?.ownerCat === "22_00014-1" ? ( |
| | | {files[fileIndex]?.ownerCat === '22_00014_1' ? ( |
| | | <div className="filesCheck-main-imgBg" ref={imgBgRef}> |
| | | <img |
| | | ref={imgRef} |