|
|
@ -22,7 +22,7 @@ const ProcessJudge = (props) => {
|
|
|
|
const getImgList = (row) => {
|
|
|
|
const getImgList = (row) => {
|
|
|
|
findJudgeImages(row).then((res) => {
|
|
|
|
findJudgeImages(row).then((res) => {
|
|
|
|
const { arrFrecadImg, arrContadImg, arrPicadImg } = res;
|
|
|
|
const { arrFrecadImg, arrContadImg, arrPicadImg } = res;
|
|
|
|
// console.log(arrFrecadImg, arrContadImg, arrPicadImg);
|
|
|
|
console.log(arrFrecadImg, arrContadImg, arrPicadImg);
|
|
|
|
setFrecadImgs(arrFrecadImg);
|
|
|
|
setFrecadImgs(arrFrecadImg);
|
|
|
|
setContadImgs(arrContadImg);
|
|
|
|
setContadImgs(arrContadImg);
|
|
|
|
setPicadImgs(arrPicadImg);
|
|
|
|
setPicadImgs(arrPicadImg);
|
|
|
@ -96,19 +96,25 @@ const ProcessJudge = (props) => {
|
|
|
|
<Grid container spacing={1}>
|
|
|
|
<Grid container spacing={1}>
|
|
|
|
<Grid item xs={6}>
|
|
|
|
<Grid item xs={6}>
|
|
|
|
<ImageList cols={4}>
|
|
|
|
<ImageList cols={4}>
|
|
|
|
{frecadImgs?.map((img, idx) => (
|
|
|
|
{frecadImgs
|
|
|
|
<ImgItem key={idx} idx={idx} title={`진술서${idx + 1}`} imgInfo={img} onViewImage={viewImage} />
|
|
|
|
?.filter((img) => img.imgName !== '')
|
|
|
|
))}
|
|
|
|
.map((img, idx) => (
|
|
|
|
|
|
|
|
<ImgItem key={idx} idx={idx} title={`진술서${idx + 1}`} imgInfo={img} onViewImage={viewImage} />
|
|
|
|
|
|
|
|
))}
|
|
|
|
</ImageList>
|
|
|
|
</ImageList>
|
|
|
|
<ImageList cols={4}>
|
|
|
|
<ImageList cols={4}>
|
|
|
|
{contadImgs?.map((img, idx) => (
|
|
|
|
{contadImgs
|
|
|
|
<ImgItem key={idx} idx={idx} title={`첨부파일${idx + 1}`} imgInfo={img} onViewImage={viewImage} />
|
|
|
|
?.filter((img) => img.imgName !== '')
|
|
|
|
))}
|
|
|
|
.map((img, idx) => (
|
|
|
|
|
|
|
|
<ImgItem key={idx} idx={idx} title={`첨부파일${idx + 1}`} imgInfo={img} onViewImage={viewImage} />
|
|
|
|
|
|
|
|
))}
|
|
|
|
</ImageList>
|
|
|
|
</ImageList>
|
|
|
|
<ImageList cols={4}>
|
|
|
|
<ImageList cols={4}>
|
|
|
|
{picadImgs?.map((img, idx) => (
|
|
|
|
{picadImgs
|
|
|
|
<ImgItem key={idx} idx={idx} title={`단속사진${idx + 1}`} imgInfo={img} onViewImage={viewImage} />
|
|
|
|
?.filter((img) => img.imgName !== '')
|
|
|
|
))}
|
|
|
|
.map((img, idx) => (
|
|
|
|
|
|
|
|
<ImgItem key={idx} idx={idx} title={`단속사진${idx + 1}`} imgInfo={img} onViewImage={viewImage} />
|
|
|
|
|
|
|
|
))}
|
|
|
|
</ImageList>
|
|
|
|
</ImageList>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
<Grid item xs={5.9} ml={0.8} border={1}>
|
|
|
|
<Grid item xs={5.9} ml={0.8} border={1}>
|
|
|
|