Merge branch 'iipbs/sn/dev'
This commit is contained in:
@@ -717,17 +717,19 @@ export function CtyFldngPrvtnBizListPage() {
|
||||
/>
|
||||
</div>
|
||||
|
||||
<Button type="submit" className="w-[7.4rem]">
|
||||
조회
|
||||
</Button>
|
||||
<Button
|
||||
type="button"
|
||||
color="white"
|
||||
className="w-[8.8rem]"
|
||||
onClick={handleReset}
|
||||
>
|
||||
초기화
|
||||
</Button>
|
||||
<div className="flex min-w-fit flex-1 items-center justify-end gap-2">
|
||||
<Button type="submit" className="w-[7.4rem]">
|
||||
조회
|
||||
</Button>
|
||||
<Button
|
||||
type="button"
|
||||
color="white"
|
||||
className="w-[8.8rem]"
|
||||
onClick={handleReset}
|
||||
>
|
||||
초기화
|
||||
</Button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
{notice && (
|
||||
@@ -755,6 +757,12 @@ export function CtyFldngPrvtnBizListPage() {
|
||||
onRowClick={handleOpenDetail}
|
||||
actions={
|
||||
<>
|
||||
<Button type="button" onClick={handleRegister}>
|
||||
등록
|
||||
</Button>
|
||||
<Button type="button" onClick={() => fileRef.current?.click()}>
|
||||
업로드
|
||||
</Button>
|
||||
<Button type="button" onClick={() => void handleDownload()}>
|
||||
엑셀다운로드
|
||||
</Button>
|
||||
@@ -764,12 +772,6 @@ export function CtyFldngPrvtnBizListPage() {
|
||||
>
|
||||
양식다운로드
|
||||
</Button>
|
||||
<Button type="button" onClick={handleRegister}>
|
||||
등록
|
||||
</Button>
|
||||
<Button type="button" onClick={() => fileRef.current?.click()}>
|
||||
업로드
|
||||
</Button>
|
||||
</>
|
||||
}
|
||||
/>
|
||||
|
||||
@@ -240,7 +240,7 @@ export default function FldngPredcPrstPopupContent() {
|
||||
const sggOptions = useMemo(
|
||||
() =>
|
||||
filters.ctpvCd === "0"
|
||||
? sgg
|
||||
? []
|
||||
: sgg.filter((item) =>
|
||||
String(item.val).startsWith(filters.ctpvCd.slice(0, 2)),
|
||||
),
|
||||
|
||||
@@ -40,12 +40,15 @@ export const buildObsltPplRepresentativeSggOptions = (
|
||||
sggOptions: RegionOption[],
|
||||
ctpvCd: string,
|
||||
) => {
|
||||
// 시도가 전체(0)이면 시군구를 선택할 수 없도록 목록을 비운다.
|
||||
if (ctpvCd === "0") return [];
|
||||
|
||||
const representativeMap = new Map<string, RegionOption>();
|
||||
|
||||
sggOptions
|
||||
.filter((option) => {
|
||||
const optionCode = String(option.val ?? "").trim();
|
||||
return ctpvCd === "0" || optionCode.startsWith(ctpvCd.slice(0, 2));
|
||||
return optionCode.startsWith(ctpvCd.slice(0, 2));
|
||||
})
|
||||
.forEach((option) => {
|
||||
const representativeName = normalizeObsltPplSigunName(option.text);
|
||||
|
||||
@@ -619,17 +619,19 @@ export function ObsltPplListPage() {
|
||||
/>
|
||||
</div>
|
||||
|
||||
<Button type="submit" className="w-[7.4rem]">
|
||||
조회
|
||||
</Button>
|
||||
<Button
|
||||
type="button"
|
||||
color="white"
|
||||
className="w-[8.8rem]"
|
||||
onClick={handleReset}
|
||||
>
|
||||
초기화
|
||||
</Button>
|
||||
<div className="flex min-w-fit flex-1 items-center justify-end gap-2">
|
||||
<Button type="submit" className="w-[7.4rem]">
|
||||
조회
|
||||
</Button>
|
||||
<Button
|
||||
type="button"
|
||||
color="white"
|
||||
className="w-[8.8rem]"
|
||||
onClick={handleReset}
|
||||
>
|
||||
초기화
|
||||
</Button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@@ -652,15 +654,12 @@ export function ObsltPplListPage() {
|
||||
onRowClick={handleOpenDetail}
|
||||
actions={
|
||||
<>
|
||||
<Button type="button" onClick={() => void handleDownload()}>
|
||||
엑셀다운로드
|
||||
<Button type="button" onClick={handleOpenCfmtnBgt}>
|
||||
최종확정예산사업
|
||||
</Button>
|
||||
<Button type="button" onClick={handleRegister}>
|
||||
등록
|
||||
</Button>
|
||||
<Button type="button" onClick={handleOpenCfmtnBgt}>
|
||||
최종확정예산사업
|
||||
</Button>
|
||||
<input
|
||||
ref={fileInputRef}
|
||||
type="file"
|
||||
@@ -674,6 +673,9 @@ export function ObsltPplListPage() {
|
||||
>
|
||||
업로드
|
||||
</Button>
|
||||
<Button type="button" onClick={() => void handleDownload()}>
|
||||
엑셀다운로드
|
||||
</Button>
|
||||
</>
|
||||
}
|
||||
/>
|
||||
|
||||
@@ -191,7 +191,7 @@ export const windowPopupDefinitions = {
|
||||
agedPipeStatusByCtpvPopup: {
|
||||
key: "agedPipeStatusByCtpvPopup",
|
||||
title: "시도별 노후관로현황",
|
||||
width: 1160,
|
||||
width: 1400,
|
||||
height: 820,
|
||||
},
|
||||
fldngHstryPopup: {
|
||||
|
||||
Vendored
+1
@@ -26,6 +26,7 @@ declare module "lucide-react" {
|
||||
export const Circle: LucideIcon;
|
||||
export const CloudUpload: LucideIcon;
|
||||
export const History: LucideIcon;
|
||||
export const ListTree: LucideIcon;
|
||||
export const Move: LucideIcon;
|
||||
export const MoreHorizontal: LucideIcon;
|
||||
export const PanelsTopLeft: LucideIcon;
|
||||
|
||||
Reference in New Issue
Block a user