[as] WIP: 기본계획조회 다이얼로그 구현
This commit is contained in:
@@ -12,11 +12,22 @@ export interface LvNowDmgMtncGnsvySearchDto {
|
||||
gnsvyYr?: string;
|
||||
}
|
||||
|
||||
export interface ClsfSystmRequestDto {
|
||||
export interface ClsfSystmParamsDto {
|
||||
clsfSystmNm?: string;
|
||||
upClsfSystmSn?: string;
|
||||
}
|
||||
|
||||
export interface FileParamsDto {
|
||||
sort?: string;
|
||||
clsfSystmSn?: string;
|
||||
vetPrcsYn?: string;
|
||||
}
|
||||
|
||||
export interface FileDownloadParamsDto {
|
||||
filePath?: string;
|
||||
fileName?: string;
|
||||
}
|
||||
|
||||
type NullableNumber = number | null;
|
||||
type NullableString = string | null;
|
||||
|
||||
@@ -67,14 +78,21 @@ export interface NowDmgMtncGnsvyResponseDto
|
||||
sggNm?: NullableString;
|
||||
}
|
||||
|
||||
/**
|
||||
* lvNowDmgMtncGnsvy 계층 노드.
|
||||
* - level 1: ctpvNm + children(구군)
|
||||
* - level 2: sggNm + children(연도)
|
||||
* - level 3: gnsvyYr + children(처리시설)
|
||||
* - 시설 리프: swtrmtFcltCd / swtrmtFcltNm (level 없음)
|
||||
*/
|
||||
export interface LvNowDmgMtncGnsvyResponseDto {
|
||||
level: number;
|
||||
ctpvNm: string;
|
||||
sggNm: string;
|
||||
gnsvyYr: string;
|
||||
swtrmtFcltCd: string;
|
||||
swtrmtFcltNm: string;
|
||||
children: LvNowDmgMtncGnsvyResponseDto[];
|
||||
level?: number;
|
||||
ctpvNm?: string;
|
||||
sggNm?: string;
|
||||
gnsvyYr?: string;
|
||||
swtrmtFcltCd?: string;
|
||||
swtrmtFcltNm?: string;
|
||||
children?: LvNowDmgMtncGnsvyResponseDto[];
|
||||
}
|
||||
|
||||
export interface ClsfSystmResponseDto {
|
||||
@@ -89,5 +107,8 @@ export interface ClsfSystmResponseDto {
|
||||
export interface DcService {
|
||||
getNowDmgMtncGnsvy(params: NowDmgMtncGnsvySearchDto): Promise<NowDmgMtncGnsvyResponseDto[]>;
|
||||
getLvNowDmgMtncGnsvy(params: LvNowDmgMtncGnsvySearchDto): Promise<LvNowDmgMtncGnsvyResponseDto[]>;
|
||||
getClsfSystm(params: ClsfSystmRequestDto): Promise<ClsfSystmResponseDto[]>;
|
||||
getClsfSystm(params: ClsfSystmParamsDto): Promise<ClsfSystmResponseDto[]>;
|
||||
getFile(params: FileParamsDto): Promise<unknown>;
|
||||
getFilePrcs(fileSn: string): Promise<unknown>;
|
||||
fileDownload(params: FileDownloadParamsDto): Promise<unknown>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user