diff --git a/apps/st/src/components/css/DataGrid.css b/apps/st/src/components/css/DataGrid.css index 2d8eab48c..8a2d8d928 100644 --- a/apps/st/src/components/css/DataGrid.css +++ b/apps/st/src/components/css/DataGrid.css @@ -29,6 +29,13 @@ .rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell.rg-cell-verify-error-imr { @apply !bg-[#fff7bf] !text-[#b45309]; } + /* 검증결과 내역: 처리여부(prcsYn 0·4 미처리 등) */ + .rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell.rg-cell-vrf-prcs-bad { + @apply !font-semibold !text-[#dc2626]; + } + .rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell.rg-cell-vrf-prcs-ok { + @apply !font-semibold !text-[#3372cf]; + } .rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell.rg-cell-total { @apply !bg-[#e3eaf2]; } @@ -95,6 +102,12 @@ .rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell { @apply !bg-[#545556] !text-[#fff]; } + .rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell.rg-cell-vrf-prcs-bad { + @apply !text-[#f87171]; + } + .rg-grid .rg-body .rg-table .rg-data-row .rg-data-cell.rg-cell-vrf-prcs-ok { + @apply !text-[#3372cf]; + } } [data-theme="red"] { diff --git a/apps/st/src/components/module/SearchForm.tsx b/apps/st/src/components/module/SearchForm.tsx index cc938a282..c759b4a92 100644 --- a/apps/st/src/components/module/SearchForm.tsx +++ b/apps/st/src/components/module/SearchForm.tsx @@ -25,6 +25,7 @@ import { import { defaultSearchFormProps, + type SearchFormClsfCd, type SearchFormProps, type SearchFormValues, } from "../type/SearchForm.type"; @@ -81,6 +82,12 @@ const SearchForm = (props: SearchFormProps = {}) => { }, ); + const initialClsfCd: SearchFormClsfCd = (() => { + const d = props.defaultValues?.clsfCd; + if (d === "ALL" || d === "INPT" || d === "VRFC") return d; + return "ALL"; + })(); + const [values, setValues] = useState({ sido: props.defaultValues?.sido || "", gugun: props.defaultValues?.gugun || "", @@ -90,6 +97,7 @@ const SearchForm = (props: SearchFormProps = {}) => { bsnmCd: props.defaultValues?.bsnmCd || "", isDetail: false, isSummary: props.defaultValues?.isSummary || "", + clsfCd: initialClsfCd, }); const sggKey: [string, string, string, string] | null = @@ -134,6 +142,7 @@ const SearchForm = (props: SearchFormProps = {}) => { bsnmCd: "", isDetail: false, isSummary: "", + clsfCd: "ALL", }; setValues(resetValues); props.onReset?.(); @@ -250,6 +259,29 @@ const SearchForm = (props: SearchFormProps = {}) => { )} + {mergedProps.clsf && ( +
+ + +
+ )} {mergedProps.fctName && (