@daeryun/dr_components 1.1.56 → 1.1.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/asset/images/myCase//bfileViewer/download.webp +0 -0
- package/dist/asset/images/myCase//bfileViewer/rotate_ccw.webp +0 -0
- package/dist/asset/images/myCase//bfileViewer/zoom_in.webp +0 -0
- package/dist/asset/images/myCase//bfileViewer/zoom_out.webp +0 -0
- package/dist/asset/images/myCase/icon/arrow.webp +0 -0
- package/dist/asset/images/myCase/icon/chat.webp +0 -0
- package/dist/asset/images/myCase/icon/check_ok.webp +0 -0
- package/dist/asset/images/myCase/icon/search.webp +0 -0
- package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
- package/dist/components/Daeryuntalk/index.jsx +58 -0
- package/dist/components/Daeryuntalk/index.tsx +66 -0
- package/dist/components/page/MyCase/[id]/_component/ContactInfo.jsx +1 -1
- package/dist/components/page/MyCase/[id]/_component/ContactInfo.tsx +1 -1
- package/dist/components/page/MyCase/[id]/_component/DetailInfo.jsx +1 -1
- package/dist/components/page/MyCase/[id]/_component/DetailInfo.tsx +9 -3
- package/dist/components/page/MyCase/[id]/_component/MyCaseDetailPageContainer.jsx +35 -14
- package/dist/components/page/MyCase/[id]/_component/MyCaseDetailPageContainer.tsx +19 -7
- package/dist/components/page/MyCase/[id]/_component/TimeLine.jsx +1 -1
- package/dist/components/page/MyCase/[id]/_component/TimeLine.tsx +1 -1
- package/dist/components/page/MyCase/[id]/_component/_badge/DocumentBadge.d.ts +4 -0
- package/dist/components/page/MyCase/[id]/_component/_badge/DocumentBadge.jsx +13 -0
- package/dist/components/page/MyCase/[id]/_component/_badge/DocumentBadge.tsx +18 -0
- package/dist/components/page/MyCase/[id]/_component/_caseInquiry/CaseInquiry.jsx +1 -1
- package/dist/components/page/MyCase/[id]/_component/_caseInquiry/CaseInquiry.tsx +1 -1
- package/dist/components/page/MyCase/[id]/_component/_document/Document.d.ts +2 -1
- package/dist/components/page/MyCase/[id]/_component/_document/Document.jsx +63 -21
- package/dist/components/page/MyCase/[id]/_component/_document/Document.tsx +97 -17
- package/dist/components/page/MyCase/[id]/_component/_document/DocumentLine.d.ts +2 -1
- package/dist/components/page/MyCase/[id]/_component/_document/DocumentLine.jsx +58 -13
- package/dist/components/page/MyCase/[id]/_component/_document/DocumentLine.tsx +124 -25
- package/dist/components/page/MyCase/[id]/_component/_document/FileDropZone.jsx +12 -7
- package/dist/components/page/MyCase/[id]/_component/_document/FileDropZone.tsx +12 -7
- package/dist/components/page/MyCase/[id]/_component/_modal/CaeeExamineAskSuccessModal.d.ts +5 -0
- package/dist/components/page/MyCase/[id]/_component/_modal/CaeeExamineAskSuccessModal.jsx +27 -0
- package/dist/components/page/MyCase/[id]/_component/_modal/CaeeExamineAskSuccessModal.tsx +46 -0
- package/dist/components/page/MyCase/[id]/_component/_modal/CaeeExamineStopModal.d.ts +6 -0
- package/dist/components/page/MyCase/[id]/_component/_modal/CaeeExamineStopModal.jsx +34 -0
- package/dist/components/page/MyCase/[id]/_component/_modal/CaeeExamineStopModal.tsx +65 -0
- package/dist/components/page/MyCase/[id]/_component/_modal/CaeeExamineSuccessModal.d.ts +5 -0
- package/dist/components/page/MyCase/[id]/_component/_modal/CaeeExamineSuccessModal.jsx +27 -0
- package/dist/components/page/MyCase/[id]/_component/_modal/CaeeExamineSuccessModal.tsx +47 -0
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseExamineDocumentModal.d.ts +7 -0
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseExamineDocumentModal.jsx +95 -0
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseExamineDocumentModal.tsx +141 -0
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseExamineModal.d.ts +10 -0
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseExamineModal.jsx +149 -0
- package/dist/components/page/MyCase/[id]/_component/_modal/CaseExamineModal.tsx +212 -0
- package/dist/components/page/MyCase/[id]/_component/_modal/ContractModal.d.ts +3 -4
- package/dist/components/page/MyCase/[id]/_component/_modal/ContractModal.jsx +51 -34
- package/dist/components/page/MyCase/[id]/_component/_modal/ContractModal.tsx +88 -59
- package/dist/components/page/MyCase/[id]/_component/_modal/FileSuccessModal.jsx +2 -2
- package/dist/components/page/MyCase/[id]/_component/_modal/FileSuccessModal.tsx +2 -2
- package/dist/components/page/MyCase/[id]/_component/_pdf/PdfInlineViewer.d.ts +6 -0
- package/dist/components/page/MyCase/[id]/_component/_pdf/PdfInlineViewer.jsx +154 -0
- package/dist/components/page/MyCase/[id]/_component/_pdf/PdfInlineViewer.tsx +177 -0
- package/dist/components/page/MyCase/_actions/action.d.ts +34 -0
- package/dist/components/page/MyCase/_actions/action.js +59 -0
- package/dist/components/page/MyCase/_actions/action.ts +79 -0
- package/dist/components/page/MyCase/_component/_button/SubMenuButton.jsx +2 -4
- package/dist/components/page/MyCase/_component/_button/SubMenuButton.tsx +2 -5
- package/dist/components/page/MyCase/_component/_empty/EmptyTable.d.ts +2 -1
- package/dist/components/page/MyCase/_component/_empty/EmptyTable.jsx +14 -6
- package/dist/components/page/MyCase/_component/_empty/EmptyTable.tsx +34 -6
- package/dist/components/page/MyCase/_component/_fileView/FilePreViewer.d.ts +14 -0
- package/dist/components/page/MyCase/_component/_fileView/FilePreViewer.jsx +278 -0
- package/dist/components/page/MyCase/_component/_fileView/FilePreViewer.tsx +411 -0
- package/dist/components/page/MyCase/_component/_fileView/HwpViewer.d.ts +8 -0
- package/dist/components/page/MyCase/_component/_fileView/HwpViewer.jsx +56 -0
- package/dist/components/page/MyCase/_component/_fileView/HwpViewer.tsx +111 -0
- package/dist/components/page/MyCase/_component/_fileView/TopOverlay.d.ts +3 -0
- package/dist/components/page/MyCase/_component/_fileView/TopOverlay.jsx +10 -0
- package/dist/components/page/MyCase/_component/_fileView/TopOverlay.tsx +10 -0
- package/dist/components/page/MyCase/_component/_table/CaseTabSwiper.jsx +8 -3
- package/dist/components/page/MyCase/_component/_table/CaseTabSwiper.tsx +3 -4
- package/dist/components/page/MyCase/_fetchers/addMyCaseExamine.d.ts +7 -0
- package/dist/components/page/MyCase/_fetchers/addMyCaseExamine.js +34 -0
- package/dist/components/page/MyCase/_fetchers/addMyCaseExamine.ts +36 -0
- package/dist/components/page/MyCase/_fetchers/getDaeryunFileList.d.ts +5 -0
- package/dist/components/page/MyCase/_fetchers/getDaeryunFileList.js +33 -0
- package/dist/components/page/MyCase/_fetchers/getDaeryunFileList.ts +25 -0
- package/dist/components/page/MyCase/_fetchers/getDocumentExamineHistory.d.ts +5 -0
- package/dist/components/page/MyCase/_fetchers/getDocumentExamineHistory.js +33 -0
- package/dist/components/page/MyCase/_fetchers/getDocumentExamineHistory.ts +25 -0
- package/dist/components/page/MyCase/_fetchers/getHwpToPdfFile.d.ts +4 -0
- package/dist/components/page/MyCase/_fetchers/getHwpToPdfFile.js +33 -0
- package/dist/components/page/MyCase/_fetchers/getHwpToPdfFile.ts +25 -0
- package/dist/components/page/MyCase/_type/type.d.ts +3 -1
- package/dist/components/page/MyCase/_type/type.ts +3 -1
- package/dist/styles/daeryuntalk.css +14 -0
- package/dist/styles/globals.css +501 -94
- package/dist/styles/homepage_login.css +3 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -2
|
@@ -5,7 +5,7 @@ import SubMenuButton from '../../_component/_button/SubMenuButton';
|
|
|
5
5
|
import HeaderLayout from '../../_component/_layout/HeaderLayout';
|
|
6
6
|
import DetailInfo from './../_component/DetailInfo';
|
|
7
7
|
import { useParams, useRouter, useSearchParams } from 'next/navigation';
|
|
8
|
-
import { useActionGetCourtFileList, useActionGetDetailList, useActionGetMyCaseQuestion, useActionGetMyFileList, useActionGetTimeLine } from '../../_actions/action';
|
|
8
|
+
import { useActionGetCourtFileList, useActionGetDetailList, useActionGetDaeryunFileList, useActionGetMyCaseQuestion, useActionGetMyFileList, useActionGetTimeLine } from '../../_actions/action';
|
|
9
9
|
import background from '../../../../../asset/images/myCase/background.webp';
|
|
10
10
|
import backgroundTb from '../../../../../asset/images/myCase/background_tb.webp';
|
|
11
11
|
import backgroundMo from '../../../../../asset/images/myCase/background_mo.webp';
|
|
@@ -28,6 +28,7 @@ const MyCaseDetailPageContainer = ({ jwt }) => {
|
|
|
28
28
|
const { data: timeLine, isLoading: timeLineLoading } = useActionGetTimeLine(id, jwt);
|
|
29
29
|
const { data: courtFileList, isLoading: courtFileListLoading } = useActionGetCourtFileList(id, jwt);
|
|
30
30
|
const { data: myFileList, isLoading: myFileListLoading, refetch: myFileListRefetch } = useActionGetMyFileList(id, jwt);
|
|
31
|
+
const { data: daeryunFileList, isLoading: daeryunFileListLoading, refetch: daeryunFileListRefetch } = useActionGetDaeryunFileList(id, jwt, !!id);
|
|
31
32
|
const { data: myCaseQuestion, isLoading: myCaseQuestionLoading, refetch: myCaseQuestionRefetch } = useActionGetMyCaseQuestion(id, pageNumber, pageSize, jwt);
|
|
32
33
|
const handleOnChange = (pageNum) => {
|
|
33
34
|
router.push(`/mycase/${id}?page=${pageNum}`);
|
|
@@ -41,23 +42,43 @@ const MyCaseDetailPageContainer = ({ jwt }) => {
|
|
|
41
42
|
return <></>;
|
|
42
43
|
}
|
|
43
44
|
return (<Suspense>
|
|
44
|
-
<div className=" relative mt-[
|
|
45
|
+
<div className=" relative mt-[109px] min-h-[700px] md:mt-[78px] md2:mt-[88px]">
|
|
45
46
|
<IntroWrapper title={'상세 사건 정보'} subTitle={'대륜과 진행하고 있는 나의 사건 현황을 한눈에 확인할 수 있습니다.'} backgroundImage={background} backgroundTbImage={backgroundTb} backgroundMoImage={backgroundMo} outerClassName="h-[300px] sm-top:h-[448px] lg:h-[513px]"/>
|
|
46
47
|
|
|
47
48
|
<div className={'relative z-[1] '}>
|
|
48
49
|
{/*header 크기 -> 115px max-lg2:90px max-xs:83px*/}
|
|
49
50
|
<HeaderLayout>
|
|
50
|
-
<div className="mt-[210px] sm-top:mt-[283px]
|
|
51
|
-
<div className="flex items-center justify-center gap-[16px] max-[
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
51
|
+
<div className="mx-auto mt-[210px] w-full sm-top:mt-[283px] sm-top:px-[60px] lg:mt-[302px] lg:px-[80px] 3xl:px-[140px] 6xl:px-0 ">
|
|
52
|
+
{/* <div className="flex items-center justify-center gap-[16px] py-[5px] max-[920px]:hidden sm-top:gap-[32px] sm-top:py-[5px] lg:gap-[28px]">
|
|
53
|
+
<SubMenuButton
|
|
54
|
+
title="사건 기본정보"
|
|
55
|
+
isSelected={selected === '사건 정보'}
|
|
56
|
+
onClick={() => setSelected('사건 정보')}
|
|
57
|
+
/>
|
|
58
|
+
<SubMenuButton
|
|
59
|
+
title="사건 타임라인"
|
|
60
|
+
isSelected={selected === '사건 타임라인'}
|
|
61
|
+
onClick={() => setSelected('사건 타임라인')}
|
|
62
|
+
/>
|
|
63
|
+
<SubMenuButton
|
|
64
|
+
title="문서함"
|
|
65
|
+
isSelected={selected === '문서함'}
|
|
66
|
+
onClick={() => setSelected('문서함')}
|
|
67
|
+
/>
|
|
68
|
+
<SubMenuButton
|
|
69
|
+
title="계약정보"
|
|
70
|
+
isSelected={selected === '계약정보'}
|
|
71
|
+
onClick={() => setSelected('계약정보')}
|
|
72
|
+
/>
|
|
73
|
+
<SubMenuButton
|
|
74
|
+
title="사건문의"
|
|
75
|
+
isSelected={selected === '사건문의'}
|
|
76
|
+
onClick={() => setSelected('사건문의')}
|
|
77
|
+
/>
|
|
78
|
+
</div> */}
|
|
79
|
+
<div className=" mx-auto bg-white sm-top:gap-[20px] sm-top:rounded-[30px] lg:max-w-[1340px] lg:gap-[28px] 3xl:max-w-[1240px] 6xl:max-w-[1520px] ">
|
|
80
|
+
<CaseTabSwiper id="case-tab-swiper3" scrollClassName="" containerClassName="!py-[5px] sm-top:!py-[6px] lg:py-[6px]">
|
|
81
|
+
<SubMenuButton title="사건 기본정보" isSelected={selected === '사건 정보'} onClick={() => setSelected('사건 정보')} outerClassName="ml-[20px] 2sm:ml-[40px] sm-top:ml-[6px] lg:ml-[6px] swiper-slide"/>
|
|
61
82
|
<SubMenuButton title="사건 타임라인" isSelected={selected === '사건 타임라인'} onClick={() => setSelected('사건 타임라인')} outerClassName=" swiper-slide"/>
|
|
62
83
|
<SubMenuButton title="문서함" isSelected={selected === '문서함'} onClick={() => setSelected('문서함')} outerClassName=" swiper-slide"/>
|
|
63
84
|
<SubMenuButton title="계약정보" isSelected={selected === '계약정보'} onClick={() => setSelected('계약정보')} outerClassName=" swiper-slide"/>
|
|
@@ -67,7 +88,7 @@ const MyCaseDetailPageContainer = ({ jwt }) => {
|
|
|
67
88
|
</div>
|
|
68
89
|
{selected === '사건 정보' && (<DetailInfo detailList={detailList === null || detailList === void 0 ? void 0 : detailList.data} isLoading={detailListLoading}/>)}
|
|
69
90
|
{selected === '사건 타임라인' && (<TimeLine timeLine={timeLine === null || timeLine === void 0 ? void 0 : timeLine.list} isLoading={timeLineLoading}/>)}
|
|
70
|
-
{selected === '문서함' && (<Document courtFileList={courtFileList === null || courtFileList === void 0 ? void 0 : courtFileList.data} myFileList={myFileList === null || myFileList === void 0 ? void 0 : myFileList.data} id={id} refetch={myFileListRefetch}/>)}
|
|
91
|
+
{selected === '문서함' && (<Document courtFileList={courtFileList === null || courtFileList === void 0 ? void 0 : courtFileList.data} myFileList={myFileList === null || myFileList === void 0 ? void 0 : myFileList.data} daeryunFileList={daeryunFileList === null || daeryunFileList === void 0 ? void 0 : daeryunFileList.data} id={id} refetch={myFileListRefetch}/>)}
|
|
71
92
|
{selected === '계약정보' && <ContactInfo id={id}/>}
|
|
72
93
|
{selected === '사건문의' && (<CaseInquiry myCaseQuestion={myCaseQuestion === null || myCaseQuestion === void 0 ? void 0 : myCaseQuestion.list} isLoading={myCaseQuestionLoading} id={id} refetch={myCaseQuestionRefetch} pageSize={pageSize} totalLength={(_a = myCaseQuestion === null || myCaseQuestion === void 0 ? void 0 : myCaseQuestion.totalLength) !== null && _a !== void 0 ? _a : 0} pageNumber={pageNumber} onChange={handleOnChange}/>)}
|
|
73
94
|
</HeaderLayout>
|
|
@@ -10,6 +10,7 @@ import { DetailList, FileList, Question, TimeLineData } from '../../_type/type';
|
|
|
10
10
|
import {
|
|
11
11
|
useActionGetCourtFileList,
|
|
12
12
|
useActionGetDetailList,
|
|
13
|
+
useActionGetDaeryunFileList,
|
|
13
14
|
useActionGetMyCaseQuestion,
|
|
14
15
|
useActionGetMyFileList,
|
|
15
16
|
useActionGetTimeLine
|
|
@@ -48,6 +49,12 @@ const MyCaseDetailPageContainer = ({ jwt }: { jwt?: string }) => {
|
|
|
48
49
|
refetch: myFileListRefetch
|
|
49
50
|
} = useActionGetMyFileList(id as string, jwt);
|
|
50
51
|
|
|
52
|
+
const {
|
|
53
|
+
data: daeryunFileList,
|
|
54
|
+
isLoading: daeryunFileListLoading,
|
|
55
|
+
refetch: daeryunFileListRefetch
|
|
56
|
+
} = useActionGetDaeryunFileList(id as string, jwt, !!id);
|
|
57
|
+
|
|
51
58
|
const {
|
|
52
59
|
data: myCaseQuestion,
|
|
53
60
|
isLoading: myCaseQuestionLoading,
|
|
@@ -67,7 +74,7 @@ const MyCaseDetailPageContainer = ({ jwt }: { jwt?: string }) => {
|
|
|
67
74
|
}
|
|
68
75
|
return (
|
|
69
76
|
<Suspense>
|
|
70
|
-
<div className=" relative mt-[
|
|
77
|
+
<div className=" relative mt-[109px] min-h-[700px] md:mt-[78px] md2:mt-[88px]">
|
|
71
78
|
<IntroWrapper
|
|
72
79
|
title={'상세 사건 정보'}
|
|
73
80
|
subTitle={'대륜과 진행하고 있는 나의 사건 현황을 한눈에 확인할 수 있습니다.'}
|
|
@@ -80,8 +87,8 @@ const MyCaseDetailPageContainer = ({ jwt }: { jwt?: string }) => {
|
|
|
80
87
|
<div className={'relative z-[1] '}>
|
|
81
88
|
{/*header 크기 -> 115px max-lg2:90px max-xs:83px*/}
|
|
82
89
|
<HeaderLayout>
|
|
83
|
-
<div className="mt-[210px] sm-top:mt-[283px]
|
|
84
|
-
<div className="flex items-center justify-center gap-[16px] max-[
|
|
90
|
+
<div className="mx-auto mt-[210px] w-full sm-top:mt-[283px] sm-top:px-[60px] lg:mt-[302px] lg:px-[80px] 3xl:px-[140px] 6xl:px-0 ">
|
|
91
|
+
{/* <div className="flex items-center justify-center gap-[16px] py-[5px] max-[920px]:hidden sm-top:gap-[32px] sm-top:py-[5px] lg:gap-[28px]">
|
|
85
92
|
<SubMenuButton
|
|
86
93
|
title="사건 기본정보"
|
|
87
94
|
isSelected={selected === '사건 정보'}
|
|
@@ -107,14 +114,18 @@ const MyCaseDetailPageContainer = ({ jwt }: { jwt?: string }) => {
|
|
|
107
114
|
isSelected={selected === '사건문의'}
|
|
108
115
|
onClick={() => setSelected('사건문의')}
|
|
109
116
|
/>
|
|
110
|
-
</div>
|
|
111
|
-
<div className="
|
|
112
|
-
<CaseTabSwiper
|
|
117
|
+
</div> */}
|
|
118
|
+
<div className=" mx-auto bg-white sm-top:gap-[20px] sm-top:rounded-[30px] lg:max-w-[1340px] lg:gap-[28px] 3xl:max-w-[1240px] 6xl:max-w-[1520px] ">
|
|
119
|
+
<CaseTabSwiper
|
|
120
|
+
id="case-tab-swiper3"
|
|
121
|
+
scrollClassName=""
|
|
122
|
+
containerClassName="!py-[5px] sm-top:!py-[6px] lg:py-[6px]"
|
|
123
|
+
>
|
|
113
124
|
<SubMenuButton
|
|
114
125
|
title="사건 기본정보"
|
|
115
126
|
isSelected={selected === '사건 정보'}
|
|
116
127
|
onClick={() => setSelected('사건 정보')}
|
|
117
|
-
outerClassName="ml-[20px] swiper-slide"
|
|
128
|
+
outerClassName="ml-[20px] 2sm:ml-[40px] sm-top:ml-[6px] lg:ml-[6px] swiper-slide"
|
|
118
129
|
/>
|
|
119
130
|
<SubMenuButton
|
|
120
131
|
title="사건 타임라인"
|
|
@@ -156,6 +167,7 @@ const MyCaseDetailPageContainer = ({ jwt }: { jwt?: string }) => {
|
|
|
156
167
|
<Document
|
|
157
168
|
courtFileList={courtFileList?.data as FileList[]}
|
|
158
169
|
myFileList={myFileList?.data as FileList[]}
|
|
170
|
+
daeryunFileList={daeryunFileList?.data as FileList[]}
|
|
159
171
|
id={id as string}
|
|
160
172
|
refetch={myFileListRefetch}
|
|
161
173
|
/>
|
|
@@ -37,7 +37,7 @@ const TimeContainer = ({ list, isFirst }) => {
|
|
|
37
37
|
</>);
|
|
38
38
|
};
|
|
39
39
|
const TimeLine = ({ timeLine, isLoading }) => {
|
|
40
|
-
return (<CaseLayout isMobilePadding={false} outerClassName="mt-[
|
|
40
|
+
return (<CaseLayout isMobilePadding={false} outerClassName="mt-[20px] sm-top:mt-[20px] lg:mt-[28px] mb-[50px] " innerClassName={'pt-[32px] px-[20px] 2sm:px-[40px] sm-top:px-[50px] sm-top:pt-[56px] sm-top:pb-[80px] lg:pt-[60px] lg:pb-[80px] lg:px-[60px]'}>
|
|
41
41
|
<div className="flex flex-col gap-[16px]">
|
|
42
42
|
{timeLine.length > 0 ? (timeLine === null || timeLine === void 0 ? void 0 : timeLine.map((list, index) => {
|
|
43
43
|
return <TimeContainer key={index} list={list} isFirst={index === timeLine.length - 1}/>;
|
|
@@ -58,7 +58,7 @@ const TimeLine = ({ timeLine, isLoading }: { timeLine: TimeLineData; isLoading:
|
|
|
58
58
|
return (
|
|
59
59
|
<CaseLayout
|
|
60
60
|
isMobilePadding={false}
|
|
61
|
-
outerClassName="mt-[
|
|
61
|
+
outerClassName="mt-[20px] sm-top:mt-[20px] lg:mt-[28px] mb-[50px] "
|
|
62
62
|
innerClassName={
|
|
63
63
|
'pt-[32px] px-[20px] 2sm:px-[40px] sm-top:px-[50px] sm-top:pt-[56px] sm-top:pb-[80px] lg:pt-[60px] lg:pb-[80px] lg:px-[60px]'
|
|
64
64
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const reviewStatus = {
|
|
2
|
+
[-1]: '보완요청',
|
|
3
|
+
[0]: '승인대기',
|
|
4
|
+
[1]: '승인완료'
|
|
5
|
+
};
|
|
6
|
+
const DocumentBadge = ({ review_status }) => {
|
|
7
|
+
return (<div className={`flex h-[24px] w-fit flex-row items-center rounded-[8px] px-[8px] sm-top:h-[32px] sm-top:px-[12px] lg:h-[35px] lg:px-[12px] ${review_status === -1 ? 'bg-mycaseMainColor' : review_status === 0 ? 'bg-subColor05' : 'bg-subColor04'} `}>
|
|
8
|
+
<p className="label_medium1_mo sm-top:label_medium1_tb lg:label_medium1 leading-none text-grayScale8">
|
|
9
|
+
{reviewStatus === null || reviewStatus === void 0 ? void 0 : reviewStatus[review_status]}
|
|
10
|
+
</p>
|
|
11
|
+
</div>);
|
|
12
|
+
};
|
|
13
|
+
export default DocumentBadge;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
const reviewStatus: { [key: number]: string } = {
|
|
2
|
+
[-1]: '보완요청',
|
|
3
|
+
[0]: '승인대기',
|
|
4
|
+
[1]: '승인완료'
|
|
5
|
+
};
|
|
6
|
+
const DocumentBadge = ({ review_status }: { review_status: number }) => {
|
|
7
|
+
return (
|
|
8
|
+
<div
|
|
9
|
+
className={`flex h-[24px] w-fit flex-row items-center rounded-[8px] px-[8px] sm-top:h-[32px] sm-top:px-[12px] lg:h-[35px] lg:px-[12px] ${review_status === -1 ? 'bg-mycaseMainColor' : review_status === 0 ? 'bg-subColor05' : 'bg-subColor04'} `}
|
|
10
|
+
>
|
|
11
|
+
<p className="label_medium1_mo sm-top:label_medium1_tb lg:label_medium1 leading-none text-grayScale8">
|
|
12
|
+
{reviewStatus?.[review_status as number]}
|
|
13
|
+
</p>
|
|
14
|
+
</div>
|
|
15
|
+
);
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export default DocumentBadge;
|
|
@@ -66,7 +66,7 @@ const AnswerBox = ({ item, isOpen, openId, setOpenId }) => {
|
|
|
66
66
|
const CaseInquiry = ({ myCaseQuestion, isLoading, id, refetch, pageSize, totalLength, pageNumber, onChange }) => {
|
|
67
67
|
const [openId, setOpenId] = useState('0');
|
|
68
68
|
const [isOpen, setIsOpen] = useState(false);
|
|
69
|
-
return (<CaseLayout isMobilePadding={false} outerClassName="mt-[
|
|
69
|
+
return (<CaseLayout isMobilePadding={false} outerClassName="mt-[20px] sm-top:mt-[20px] lg:mt-[28px] " innerClassName={'pt-[32px] px-[20px] pb-[80px] 2sm:px-[40px] sm-top:pt-[56px] sm-top:px-[50px] sm-top:pb-[60px] lg:pt-[70px] lg:pb-[80px] lg:px-[60px]'}>
|
|
70
70
|
{isLoading ? (<Loading />) : (<>
|
|
71
71
|
<div className="flex flex-col gap-[8px] sm-top:gap-[12px] lg:gap-[24px]">
|
|
72
72
|
{(myCaseQuestion === null || myCaseQuestion === void 0 ? void 0 : myCaseQuestion.length) > 0 ? (myCaseQuestion === null || myCaseQuestion === void 0 ? void 0 : myCaseQuestion.map((item, index) => (<AnswerBox key={index} item={item} isOpen={openId === item.idx.toString()} openId={openId} setOpenId={setOpenId}/>))) : (<EmptyTable tap="caseInquiry" subTap={0} isMinHeight={false}/>)}
|
|
@@ -145,7 +145,7 @@ const CaseInquiry = ({
|
|
|
145
145
|
return (
|
|
146
146
|
<CaseLayout
|
|
147
147
|
isMobilePadding={false}
|
|
148
|
-
outerClassName="mt-[
|
|
148
|
+
outerClassName="mt-[20px] sm-top:mt-[20px] lg:mt-[28px] "
|
|
149
149
|
innerClassName={
|
|
150
150
|
'pt-[32px] px-[20px] pb-[80px] 2sm:px-[40px] sm-top:pt-[56px] sm-top:px-[50px] sm-top:pb-[60px] lg:pt-[70px] lg:pb-[80px] lg:px-[60px]'
|
|
151
151
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { FileList } from '../../../_type/type';
|
|
2
|
-
declare const Document: ({ courtFileList, myFileList, id, refetch }: {
|
|
2
|
+
declare const Document: ({ courtFileList, myFileList, daeryunFileList, id, refetch }: {
|
|
3
3
|
courtFileList: FileList[];
|
|
4
4
|
myFileList: FileList[];
|
|
5
|
+
daeryunFileList: FileList[];
|
|
5
6
|
id: string;
|
|
6
7
|
refetch: () => void;
|
|
7
8
|
}) => import("react").JSX.Element;
|
|
@@ -1,33 +1,75 @@
|
|
|
1
|
-
import { useState } from 'react';
|
|
1
|
+
import { useMemo, useState } from 'react';
|
|
2
2
|
import CaseLayout from '../../../_component/_layout/CaseLayout';
|
|
3
3
|
import DocumentLine from './DocumentLine';
|
|
4
4
|
import EmptyTable from '../../../_component/_empty/EmptyTable';
|
|
5
5
|
import FileDropZone from './FileDropZone';
|
|
6
|
-
const Document = ({ courtFileList, myFileList, id, refetch }) => {
|
|
6
|
+
const Document = ({ courtFileList, myFileList, daeryunFileList, id, refetch }) => {
|
|
7
7
|
const [tap, setTap] = useState('my');
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
const [subTab, setSubTab] = useState(null);
|
|
9
|
+
const subTabList = [
|
|
10
|
+
{ title: '전체', value: null },
|
|
11
|
+
{ title: '승인대기', value: 0 },
|
|
12
|
+
{ title: '보완요청', value: -1 },
|
|
13
|
+
{ title: '완료', value: 1 }
|
|
14
|
+
];
|
|
15
|
+
const coerceStatus = (v) => {
|
|
16
|
+
if (v === null || v === undefined || v === '')
|
|
17
|
+
return 1; // ✅ null은 완료로
|
|
18
|
+
if (v === -1 || v === 0 || v === 1)
|
|
19
|
+
return v;
|
|
20
|
+
const n = typeof v === 'string' ? Number.parseInt(v, 10) : Number(v);
|
|
21
|
+
if (n === -1 || n === 0 || n === 1)
|
|
22
|
+
return n;
|
|
23
|
+
return undefined; // 알 수 없는 값은 매칭 제외
|
|
24
|
+
};
|
|
25
|
+
const filteredDaeryun = useMemo(() => {
|
|
26
|
+
if (!daeryunFileList)
|
|
27
|
+
return [];
|
|
28
|
+
if (subTab === null)
|
|
29
|
+
return daeryunFileList; // 전체
|
|
30
|
+
return daeryunFileList.filter(it => coerceStatus(it.review_status) === subTab);
|
|
31
|
+
}, [daeryunFileList, subTab]);
|
|
32
|
+
return (<CaseLayout isMobilePadding={false} outerClassName="mt-[20px] sm-top:mt-[14px] lg:mt-[28px] " innerClassName={'pt-[32px] px-[20px] 2sm:px-[40px] sm-top:pt-[56px] sm-top:px-[50px] sm-top:pb-[60px] lg:pt-[60px] lg:pb-[80px] lg:px-[60px]'}>
|
|
33
|
+
<div className="flex h-[29px] w-full overflow-hidden sm-top:h-[40px] lg:h-[45px]">
|
|
34
|
+
<button onClick={() => setTap('my')} className={`h-full w-full border-b-[1px] transition-all duration-300 ${tap === 'my' ? 'border-black' : 'border-grayScale4'} pb-[6px] sm-top:pb-[10px] lg:pb-[8px]`}>
|
|
35
|
+
<p className={`body_large1_mo sm-top:body_large1_tb lg:body_large1 ${tap === 'my' ? 'text-black' : 'text-grayScale4'}`}>
|
|
36
|
+
나의전달문서
|
|
37
|
+
</p>
|
|
12
38
|
</button>
|
|
13
|
-
<button onClick={() => setTap('
|
|
14
|
-
<p className=
|
|
39
|
+
<button onClick={() => setTap('daeryun')} className={`h-full w-full border-b-[1px] transition-all duration-300 ${tap === 'daeryun' ? 'border-black' : 'border-grayScale4'} pb-[6px] sm-top:pb-[10px] lg:pb-[8px]`}>
|
|
40
|
+
<p className={`body_large1_mo sm-top:body_large1_tb lg:body_large1 ${tap === 'daeryun' ? 'text-black' : 'text-grayScale4'}`}>
|
|
41
|
+
대륜전달문서
|
|
42
|
+
</p>
|
|
43
|
+
</button>
|
|
44
|
+
<button onClick={() => setTap('court')} className={`h-full w-full border-b-[1px] transition-all duration-300 ${tap === 'court' ? 'border-black' : 'border-grayScale4'} pb-[6px] sm-top:pb-[10px] lg:pb-[8px]`}>
|
|
45
|
+
<p className={`body_large1_mo sm-top:body_large1_tb lg:body_large1 ${tap === 'court' ? 'text-black' : 'text-grayScale4'}`}>
|
|
46
|
+
법원문서
|
|
47
|
+
</p>
|
|
15
48
|
</button>
|
|
16
49
|
</div>
|
|
17
|
-
<div className="mt-[16px] lg:mt-[20px]">
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
<div className="mt-[20px] flex flex-col lg:mt-[24px] ">
|
|
23
|
-
{tap === 'my' && (myFileList === null || myFileList === void 0 ? void 0 : myFileList.length) > 0
|
|
24
|
-
? myFileList.map((item, index) => <DocumentLine item={item} index={index} key={index}/>)
|
|
25
|
-
: tap === 'my' && <EmptyTable tap="file" subTap={0}/>}
|
|
26
|
-
{tap === 'court' && (courtFileList === null || courtFileList === void 0 ? void 0 : courtFileList.length) > 0
|
|
27
|
-
? courtFileList.map((item, index) => <DocumentLine item={item} index={index} key={index}/>)
|
|
28
|
-
: tap === 'court' && <EmptyTable tap="file" subTap={0}/>}
|
|
29
|
-
</div>
|
|
50
|
+
{/* <div className="mt-[16px] lg:mt-[20px]">
|
|
51
|
+
<p className="body_small2_mo sm-top:body_small2_tb lg:body_small2 text-black">
|
|
52
|
+
최근 제출순으로 조회됩니다.
|
|
53
|
+
</p>
|
|
54
|
+
</div> */}
|
|
30
55
|
{tap === 'my' && <FileDropZone id={id} refetch={refetch}/>}
|
|
56
|
+
<div className={` flex flex-col ${tap === 'daeryun' ? 'mt-[20px] sm-top:mt-[22px] lg:mt-[28px]' : 'mt-[30px] lg:mt-[38px] '}`}>
|
|
57
|
+
{tap === 'daeryun' && (<div className=" mb-[30px] flex items-center gap-[8px] sm-top:gap-[12px] lg:mb-[38px] lg:gap-[16px]">
|
|
58
|
+
{subTabList.map(title => (<button key={title.value} onClick={() => setSubTab(title.value)} className={`label_large2_mo sm-top:label_large2_tb lg:label_large2 flex h-[26px] items-center rounded-[20px] px-[12px] leading-none sm-top:h-[35px] sm-top:px-[14px] lg:h-[41px] lg:px-[28px] ${subTab === title.value ? 'border border-solid border-grayScale1 bg-grayScale1 text-white' : 'border border-solid border-grayScale3 bg-white text-grayScale3'}`}>
|
|
59
|
+
{title.title}
|
|
60
|
+
</button>))}
|
|
61
|
+
</div>)}
|
|
62
|
+
{tap === 'my' && (myFileList === null || myFileList === void 0 ? void 0 : myFileList.length) > 0 ? (<div className="flex flex-col gap-[12px] sm-top:gap-[20px] lg:gap-[28px]">
|
|
63
|
+
{myFileList.map((item, index) => (<DocumentLine item={item} index={index} key={index} id={id}/>))}
|
|
64
|
+
</div>) : (tap === 'my' && <EmptyTable tap="file" subTap={0} titleLabel="나의전달문서"/>)}
|
|
65
|
+
|
|
66
|
+
{tap === 'daeryun' && (filteredDaeryun === null || filteredDaeryun === void 0 ? void 0 : filteredDaeryun.length) > 0 ? (<div className="mb-[80px] flex flex-col gap-[12px] sm-top:gap-[20px] lg:gap-[28px]">
|
|
67
|
+
{filteredDaeryun.map((item, index) => (<DocumentLine item={item} index={index} key={index} id={id}/>))}
|
|
68
|
+
</div>) : (tap === 'daeryun' && <EmptyTable tap="file" subTap={0} titleLabel="대륜전달문서"/>)}
|
|
69
|
+
{tap === 'court' && (courtFileList === null || courtFileList === void 0 ? void 0 : courtFileList.length) > 0 ? (<div className="mb-[80px] flex flex-col gap-[12px] sm-top:gap-[20px] lg:gap-[28px]">
|
|
70
|
+
{courtFileList.map((item, index) => (<DocumentLine item={item} index={index} key={index} id={id}/>))}
|
|
71
|
+
</div>) : (tap === 'court' && <EmptyTable tap="file" subTap={0} titleLabel="법원문서"/>)}
|
|
72
|
+
</div>
|
|
31
73
|
</CaseLayout>);
|
|
32
74
|
};
|
|
33
75
|
export default Document;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useState } from 'react';
|
|
1
|
+
import { useMemo, useState } from 'react';
|
|
2
2
|
import CaseLayout from '../../../_component/_layout/CaseLayout';
|
|
3
3
|
|
|
4
4
|
import { FileList } from '../../../_type/type';
|
|
@@ -6,56 +6,136 @@ import { FileList } from '../../../_type/type';
|
|
|
6
6
|
import DocumentLine from './DocumentLine';
|
|
7
7
|
import EmptyTable from '../../../_component/_empty/EmptyTable';
|
|
8
8
|
import FileDropZone from './FileDropZone';
|
|
9
|
+
type ReviewStatus = -1 | 0 | 1;
|
|
9
10
|
|
|
11
|
+
type RawStatus = ReviewStatus | string | number | null | undefined;
|
|
10
12
|
const Document = ({
|
|
11
13
|
courtFileList,
|
|
12
14
|
myFileList,
|
|
15
|
+
daeryunFileList,
|
|
13
16
|
id,
|
|
14
17
|
refetch
|
|
15
18
|
}: {
|
|
16
19
|
courtFileList: FileList[];
|
|
17
20
|
myFileList: FileList[];
|
|
21
|
+
daeryunFileList: FileList[];
|
|
18
22
|
id: string;
|
|
19
23
|
refetch: () => void;
|
|
20
24
|
}) => {
|
|
21
25
|
const [tap, setTap] = useState('my');
|
|
22
26
|
|
|
27
|
+
const [subTab, setSubTab] = useState<number | null>(null);
|
|
28
|
+
const subTabList = [
|
|
29
|
+
{ title: '전체', value: null },
|
|
30
|
+
{ title: '승인대기', value: 0 },
|
|
31
|
+
{ title: '보완요청', value: -1 },
|
|
32
|
+
{ title: '완료', value: 1 }
|
|
33
|
+
];
|
|
34
|
+
const coerceStatus = (v: RawStatus): ReviewStatus | undefined => {
|
|
35
|
+
if (v === null || v === undefined || v === '') return 1; // ✅ null은 완료로
|
|
36
|
+
if (v === -1 || v === 0 || v === 1) return v;
|
|
37
|
+
const n = typeof v === 'string' ? Number.parseInt(v, 10) : Number(v);
|
|
38
|
+
if (n === -1 || n === 0 || n === 1) return n as ReviewStatus;
|
|
39
|
+
return undefined; // 알 수 없는 값은 매칭 제외
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
const filteredDaeryun = useMemo(() => {
|
|
43
|
+
if (!daeryunFileList) return [];
|
|
44
|
+
if (subTab === null) return daeryunFileList; // 전체
|
|
45
|
+
return daeryunFileList.filter(it => coerceStatus(it.review_status) === subTab);
|
|
46
|
+
}, [daeryunFileList, subTab]);
|
|
47
|
+
|
|
23
48
|
return (
|
|
24
49
|
<CaseLayout
|
|
25
50
|
isMobilePadding={false}
|
|
26
|
-
outerClassName="mt-[
|
|
51
|
+
outerClassName="mt-[20px] sm-top:mt-[14px] lg:mt-[28px] "
|
|
27
52
|
innerClassName={
|
|
28
53
|
'pt-[32px] px-[20px] 2sm:px-[40px] sm-top:pt-[56px] sm-top:px-[50px] sm-top:pb-[60px] lg:pt-[60px] lg:pb-[80px] lg:px-[60px]'
|
|
29
54
|
}
|
|
30
55
|
>
|
|
31
|
-
<div className="flex h-[
|
|
56
|
+
<div className="flex h-[29px] w-full overflow-hidden sm-top:h-[40px] lg:h-[45px]">
|
|
32
57
|
<button
|
|
33
58
|
onClick={() => setTap('my')}
|
|
34
|
-
className={`h-full w-full transition-all duration-300 ${tap === 'my' ? '
|
|
59
|
+
className={`h-full w-full border-b-[1px] transition-all duration-300 ${tap === 'my' ? 'border-black' : 'border-grayScale4'} pb-[6px] sm-top:pb-[10px] lg:pb-[8px]`}
|
|
60
|
+
>
|
|
61
|
+
<p
|
|
62
|
+
className={`body_large1_mo sm-top:body_large1_tb lg:body_large1 ${tap === 'my' ? 'text-black' : 'text-grayScale4'}`}
|
|
63
|
+
>
|
|
64
|
+
나의전달문서
|
|
65
|
+
</p>
|
|
66
|
+
</button>
|
|
67
|
+
<button
|
|
68
|
+
onClick={() => setTap('daeryun')}
|
|
69
|
+
className={`h-full w-full border-b-[1px] transition-all duration-300 ${tap === 'daeryun' ? 'border-black' : 'border-grayScale4'} pb-[6px] sm-top:pb-[10px] lg:pb-[8px]`}
|
|
35
70
|
>
|
|
36
|
-
<p
|
|
71
|
+
<p
|
|
72
|
+
className={`body_large1_mo sm-top:body_large1_tb lg:body_large1 ${tap === 'daeryun' ? 'text-black' : 'text-grayScale4'}`}
|
|
73
|
+
>
|
|
74
|
+
대륜전달문서
|
|
75
|
+
</p>
|
|
37
76
|
</button>
|
|
38
77
|
<button
|
|
39
78
|
onClick={() => setTap('court')}
|
|
40
|
-
className={`h-full w-full transition-all duration-300 ${tap === 'court' ? '
|
|
79
|
+
className={`h-full w-full border-b-[1px] transition-all duration-300 ${tap === 'court' ? 'border-black' : 'border-grayScale4'} pb-[6px] sm-top:pb-[10px] lg:pb-[8px]`}
|
|
41
80
|
>
|
|
42
|
-
<p
|
|
81
|
+
<p
|
|
82
|
+
className={`body_large1_mo sm-top:body_large1_tb lg:body_large1 ${tap === 'court' ? 'text-black' : 'text-grayScale4'}`}
|
|
83
|
+
>
|
|
84
|
+
법원문서
|
|
85
|
+
</p>
|
|
43
86
|
</button>
|
|
44
87
|
</div>
|
|
45
|
-
<div className="mt-[16px] lg:mt-[20px]">
|
|
88
|
+
{/* <div className="mt-[16px] lg:mt-[20px]">
|
|
46
89
|
<p className="body_small2_mo sm-top:body_small2_tb lg:body_small2 text-black">
|
|
47
90
|
최근 제출순으로 조회됩니다.
|
|
48
91
|
</p>
|
|
49
|
-
</div>
|
|
50
|
-
<div className="mt-[20px] flex flex-col lg:mt-[24px] ">
|
|
51
|
-
{tap === 'my' && myFileList?.length > 0
|
|
52
|
-
? myFileList.map((item, index) => <DocumentLine item={item} index={index} key={index} />)
|
|
53
|
-
: tap === 'my' && <EmptyTable tap="file" subTap={0} />}
|
|
54
|
-
{tap === 'court' && courtFileList?.length > 0
|
|
55
|
-
? courtFileList.map((item, index) => <DocumentLine item={item} index={index} key={index} />)
|
|
56
|
-
: tap === 'court' && <EmptyTable tap="file" subTap={0} />}
|
|
57
|
-
</div>
|
|
92
|
+
</div> */}
|
|
58
93
|
{tap === 'my' && <FileDropZone id={id} refetch={refetch} />}
|
|
94
|
+
<div
|
|
95
|
+
className={` flex flex-col ${tap === 'daeryun' ? 'mt-[20px] sm-top:mt-[22px] lg:mt-[28px]' : 'mt-[30px] lg:mt-[38px] '}`}
|
|
96
|
+
>
|
|
97
|
+
{tap === 'daeryun' && (
|
|
98
|
+
<div className=" mb-[30px] flex items-center gap-[8px] sm-top:gap-[12px] lg:mb-[38px] lg:gap-[16px]">
|
|
99
|
+
{subTabList.map(title => (
|
|
100
|
+
<button
|
|
101
|
+
key={title.value}
|
|
102
|
+
onClick={() => setSubTab(title.value as number | null)}
|
|
103
|
+
className={`label_large2_mo sm-top:label_large2_tb lg:label_large2 flex h-[26px] items-center rounded-[20px] px-[12px] leading-none sm-top:h-[35px] sm-top:px-[14px] lg:h-[41px] lg:px-[28px] ${subTab === title.value ? 'border border-solid border-grayScale1 bg-grayScale1 text-white' : 'border border-solid border-grayScale3 bg-white text-grayScale3'}`}
|
|
104
|
+
>
|
|
105
|
+
{title.title}
|
|
106
|
+
</button>
|
|
107
|
+
))}
|
|
108
|
+
</div>
|
|
109
|
+
)}
|
|
110
|
+
{tap === 'my' && myFileList?.length > 0 ? (
|
|
111
|
+
<div className="flex flex-col gap-[12px] sm-top:gap-[20px] lg:gap-[28px]">
|
|
112
|
+
{myFileList.map((item, index) => (
|
|
113
|
+
<DocumentLine item={item} index={index} key={index} id={id} />
|
|
114
|
+
))}
|
|
115
|
+
</div>
|
|
116
|
+
) : (
|
|
117
|
+
tap === 'my' && <EmptyTable tap="file" subTap={0} titleLabel="나의전달문서" />
|
|
118
|
+
)}
|
|
119
|
+
|
|
120
|
+
{tap === 'daeryun' && filteredDaeryun?.length > 0 ? (
|
|
121
|
+
<div className="mb-[80px] flex flex-col gap-[12px] sm-top:gap-[20px] lg:gap-[28px]">
|
|
122
|
+
{filteredDaeryun.map((item, index) => (
|
|
123
|
+
<DocumentLine item={item} index={index} key={index} id={id} />
|
|
124
|
+
))}
|
|
125
|
+
</div>
|
|
126
|
+
) : (
|
|
127
|
+
tap === 'daeryun' && <EmptyTable tap="file" subTap={0} titleLabel="대륜전달문서" />
|
|
128
|
+
)}
|
|
129
|
+
{tap === 'court' && courtFileList?.length > 0 ? (
|
|
130
|
+
<div className="mb-[80px] flex flex-col gap-[12px] sm-top:gap-[20px] lg:gap-[28px]">
|
|
131
|
+
{courtFileList.map((item, index) => (
|
|
132
|
+
<DocumentLine item={item} index={index} key={index} id={id} />
|
|
133
|
+
))}
|
|
134
|
+
</div>
|
|
135
|
+
) : (
|
|
136
|
+
tap === 'court' && <EmptyTable tap="file" subTap={0} titleLabel="법원문서" />
|
|
137
|
+
)}
|
|
138
|
+
</div>
|
|
59
139
|
</CaseLayout>
|
|
60
140
|
);
|
|
61
141
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { FileList } from '../../../_type/type';
|
|
2
|
-
declare const DocumentLine: ({ item, index }: {
|
|
2
|
+
declare const DocumentLine: ({ item, index, id }: {
|
|
3
3
|
item: FileList;
|
|
4
4
|
index: number;
|
|
5
|
+
id: string;
|
|
5
6
|
}) => import("react").JSX.Element;
|
|
6
7
|
export default DocumentLine;
|