지도점검 엑셀 오류 및 변경이력 삭제
This commit is contained in:
@@ -208,7 +208,8 @@ export const excelToRainChkData = (excelData: any, year: string) => {
|
|||||||
`과태료부과금액(천원): 숫자 형식 아님 /입력값:${key.levyAmt}`
|
`과태료부과금액(천원): 숫자 형식 아님 /입력값:${key.levyAmt}`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (key.vltnDt?.length > 2 && isInvalidDate(key.vltnDt)) {
|
|
||||||
|
if (key.vltnDt?.length >= 1 && isInvalidDate(key.vltnDt)) {
|
||||||
issues.push(
|
issues.push(
|
||||||
defaultMessage +
|
defaultMessage +
|
||||||
`과태료 부과일(위반일): 날짜 형식 아님 /입력값:${key.vltnDt}`
|
`과태료 부과일(위반일): 날짜 형식 아님 /입력값:${key.vltnDt}`
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
import type { TableUpperProps } from "@/app/store/common/type/header";
|
import type { TableUpperProps } from "@/app/store/common/type/header";
|
||||||
import {
|
import {
|
||||||
|
deleteFectch,
|
||||||
fetchType,
|
fetchType,
|
||||||
getFetchWithCount,
|
getFetchWithCount,
|
||||||
postFectch,
|
postFectch,
|
||||||
@@ -244,6 +245,8 @@ export const rainFacActionsExport: (set: any) => rainFacSActions = (
|
|||||||
toast.error("건축물 증축/개축/중축 오류입니다.");
|
toast.error("건축물 증축/개축/중축 오류입니다.");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
await deleteFectch("/reuseFc/DeleteChgBuilding" , data.bdstInfoSn);
|
||||||
toast.success("건축물 수정이 완료되었습니다.");
|
toast.success("건축물 수정이 완료되었습니다.");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { getFetchWithCount, postFectch, putFectch } from "@/components/lib/api";
|
import { deleteFectch, getFetchWithCount, postFectch, putFectch } from "@/components/lib/api";
|
||||||
import { upHeadList, type chgBuilding } from "../rainReg";
|
import { upHeadList, type chgBuilding } from "../rainReg";
|
||||||
|
|
||||||
import type { TableUpperProps } from "@/app/store/common/type/header";
|
import type { TableUpperProps } from "@/app/store/common/type/header";
|
||||||
@@ -181,6 +181,7 @@ export const rswtFacActionsExport: (set: any) => rswtFacSActions = (
|
|||||||
toast.error("중수도 건축물 증축/개축/중축 오류입니다.");
|
toast.error("중수도 건축물 증축/개축/중축 오류입니다.");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
await deleteFectch("/reuseFc/DeleteChgBuilding" , data.bdstInfoSn);
|
||||||
toast.success("중수도 건축물 수정이 완료되었습니다.");
|
toast.success("중수도 건축물 수정이 완료되었습니다.");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user