260625_06_ENH: table 간격 조정, body width 제한, 일부 label 수정, 지역 수정가능하게 열기, 지자체 양식 다운로드 버튼 제거

This commit is contained in:
2026-06-25 13:56:22 +09:00
parent 0853db0c2a
commit 3bcbfca4e9
6 changed files with 24 additions and 22 deletions

View File

@@ -90,14 +90,14 @@ const monitoringAddOptions: Code[] = [
codeGroup: "monitoring_add",
codeValue: 0,
codeGroupLabel: PERFORMANCE_FIELD_LABELS.monitoringAdd,
codeLabel: "추가 모니터링 X",
codeLabel: "추가 X",
memo: "",
},
{
codeGroup: "monitoring_add",
codeValue: 1,
codeGroupLabel: PERFORMANCE_FIELD_LABELS.monitoringAdd,
codeLabel: "추가 모니터링 O",
codeLabel: "추가 O",
memo: "",
},
];
@@ -353,10 +353,13 @@ const PerformancePage = () => {
cell: ({row}) => row.original.performanceDetail["performanceNo"] ?? "",
},
{accessorKey: "id", header: PERFORMANCE_FIELD_LABELS.id, cell: ({row}) => row.original.id},
{accessorKey: "monitoringAdd", header: PERFORMANCE_FIELD_LABELS.monitoringAdd,
accessorFn: (row) => row.id % 100 !== 1? "추가" : "",
cell: ({row}) => row.original.id % 100 !== 1? "추가" : "",
},
...(!isWrittenReviewer ? [
{accessorKey: "monitoringAdd", header: PERFORMANCE_FIELD_LABELS.monitoringAdd,
accessorFn: (row) => row.id % 100 !== 1? "추가" : "",
cell: ({row}) => row.original.id % 100 !== 1? "추가" : "",
enableSorting: false
},
]: []) as DataTableColumn<PerformanceFull>[],
{id: "businessType", header: PERFORMANCE_FIELD_LABELS.businessType, cell: ({row}) => getCodeLabel(codes, "business_type", row.original.businessType)},
{id: "genre", header: PERFORMANCE_FIELD_LABELS.performanceGenre, cell: ({row}) => getCodeLabel(codes, "genre", row.original.performanceGenre)},
{id: "area", header: PERFORMANCE_FIELD_LABELS.performanceArea, cell: ({row}) => getCodeLabel(codes, "area", row.original.performanceArea)},
@@ -383,7 +386,7 @@ const PerformancePage = () => {
]: []) as DataTableColumn<PerformanceFull>[],
{
id: "localReview",
header: "지자체 평가",
header: "자체 보고서",
cell: ({row}) => {
if(row.original.id % 100 !== 1){
return "-";
@@ -473,7 +476,7 @@ const PerformancePage = () => {
{!isWrittenReviewer && (
<MultiFilterSelect value={filters.monitoringAdd} onChange={(value) => updateFilters((prev) => ({...prev, monitoringAdd: value}))} options={monitoringAddOptions} placeholder={PERFORMANCE_FIELD_LABELS.monitoringAdd} />
)}
<MultiFilterSelect value={filters.localReviewStatus} onChange={(value) => updateFilters((prev) => ({...prev, localReviewStatus: value}))} options={localReviewStatusOptions} placeholder="지자체 평가 상태" />
<MultiFilterSelect value={filters.localReviewStatus} onChange={(value) => updateFilters((prev) => ({...prev, localReviewStatus: value}))} options={localReviewStatusOptions} placeholder="자체 보고서 상태" />
<MultiFilterSelect value={filters.monitoring1Status} onChange={(value) => updateFilters((prev) => ({...prev, monitoring1Status: value}))} options={monitoringStatusOptions} placeholder="모니터링1 상태" />
<MultiFilterSelect value={filters.monitoring2Status} onChange={(value) => updateFilters((prev) => ({...prev, monitoring2Status: value}))} options={monitoringStatusOptions} placeholder="모니터링2 상태" />
<MultiFilterSelect value={filters.writtenReviewStatus} onChange={(value) => updateFilters((prev) => ({...prev, writtenReviewStatus: value}))} options={writtenReviewStatusOptions} placeholder="서면평가 상태" />