[ST] - refactor: 지난검증결과 불러오기 필드 추가(시설명)

This commit is contained in:
2026-08-27 15:32:12 +09:00
parent 9b53c1ae08
commit d7cc579335
2 changed files with 12 additions and 5 deletions
@@ -141,6 +141,7 @@ const verificationResultColumnInfo: ColumnInfo = {
columns: [
{ name: "ctpvNm", fieldName: "ctpvNm", header: { text: "시도" }, editable: false },
{ name: "admdstNm", fieldName: "admdstNm", header: { text: "행정구역" }, editable: false },
{ name: "fcltNm", fieldName: "fcltNm", header: { text: "시설명" }, editable: false },
{ name: "vrfcTrgtNm", fieldName: "vrfcTrgtNm", header: { text: "검증대상" }, editable: false },
{ name: "rsnExpln", fieldName: "rsnExpln", header: { text: "사유" }, editable: false },
{ name: "nowVlCn", fieldName: "nowVlCn", header: { text: "입력값" }, editable: false },
@@ -157,6 +158,7 @@ const verificationResultColumnInfo: ColumnInfo = {
columnLayout: [
"ctpvNm",
"admdstNm",
"fcltNm",
"vrfcTrgtNm",
"rsnExpln",
"nowVlCn",
@@ -178,7 +180,7 @@ export interface VerificationResultHistoryDialogProps {
queryContext?: {
sewerBzmnCd: string;
ctpvNm: string;
sggNm: string;
sggNm?: string;
statsYr: string;
statsCd: string;
} | null;
@@ -378,8 +380,9 @@ export function VerificationResultHistoryDialog({
return {
vrfcSn: item.vrfcSn,
__checked: isChecked ? 1 : 0,
ctpvNm: item.ctpvNm,
ctpvNm: item.ctpvNm ?? "-",
admdstNm: item.admdstNm ?? item.sggNm ?? "-",
fcltNm: item.fcltNm ?? "-",
vrfcTrgtNm: item.vrfcTrgtNm,
rsnExpln: item.rsnExpln,
nowVlCn: item.nowVlCn ?? "-",
@@ -562,7 +565,7 @@ export function VerificationResultHistoryDialog({
<Dialog open={open} onOpenChange={onOpenChange}>
<DialogContent className="max-w-[80%]" aria-describedby={undefined}>
<DialogHeader>
<DialogTitle>{`${title} - ${queryContext?.statsYr} ${queryContext?.ctpvNm} ${queryContext?.sggNm}`}</DialogTitle>
<DialogTitle>{`${title} - ${queryContext?.statsYr} ${queryContext?.ctpvNm} ${queryContext?.sggNm ? queryContext?.sggNm : ''}`}</DialogTitle>
</DialogHeader>
<div className="max-h-[85vh] space-y-5 overflow-auto">
{errorMessage && (
@@ -2,6 +2,8 @@ export interface Sido {
adstDstrCd: string;
sido: string;
bsnmCd: string;
/** Y: 시군구 생략(광역시 등), N: 시군구 필요(도) */
gugunSkipYn: "Y" | "N";
}
export interface SearchCondition {
@@ -18,7 +20,7 @@ export interface Sgg {
export interface cancelSubmitRequest {
statsYr: string;
ctpvNm: string;
sggNm: string;
sggNm?: string;
sewerBzmnCd: string;
statsCd: string;
mdfrId: string;
@@ -208,6 +210,7 @@ export interface VerificationResultReportItem {
prcrId?: string | null;
pbcpAprvYn?: string;
mdfrId?: string | null;
fcltNm?: string | null;
}
export interface VerificationResultListPageInfo {
@@ -233,7 +236,7 @@ export interface SubmitExceptionRequest {
statsYr: string;
statsCd: string;
ctpvNm: string;
sggNm: string;
sggNm?: string;
sewerBzmnCd: string;
userId: string;
superAdmin?: string;
@@ -545,6 +548,7 @@ export interface unSubmitDataResponse {
export interface StatisticsService {
getSidoList(params?: { instSeCd?: string }): Promise<ApiResponse<SearchCondition>>;
getSidoListInput(params?: { instSeCd?: string }): Promise<ApiResponse<SearchCondition>>;
getSggList(sidoName: string, params?: { instSeCd?: string; gugunSkipYn?: "Y" | "N" }): Promise<ApiResponse<Sgg[]>>;
getSggAllList(sidoName: string, params?: { instSeCd?: string; gugunSkipYn?: "Y" | "N" }): Promise<ApiResponse<Sgg[]>>;
getStatsInputPeriodList(params?: StatsInputPeriodListRequest): Promise<StatsInputPeriodListApiResponse>;