Merge branch 'iipbs/wr/dev' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs/wr/dev
This commit is contained in:
@@ -7,6 +7,95 @@ import { Title, UiTable } from "@common/business_components/ui";
|
||||
import { useSearchParams } from "next/navigation";
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
|
||||
export const htdflData ={
|
||||
"bdstInfoSn": 54,
|
||||
"ctpvCd": 11,
|
||||
"sggCd": 11110,
|
||||
"daddr": "청라동 100-80",
|
||||
"bdstNm": "한국중부발전(주)",
|
||||
"frstArchPrmsnDt": "2013-01-01",
|
||||
"archArea": "-1.000000000",
|
||||
"ctpvNm": null,
|
||||
"sggNm": null,
|
||||
"lat": 37.57096,
|
||||
"lot": 126.98143,
|
||||
"regDt": "2025-04-16",
|
||||
"rgtr": null,
|
||||
"mdfcnDt": "2025-04-16",
|
||||
"mdfr": null,
|
||||
"reuseBuilding": [
|
||||
{
|
||||
"bdstRuseFcltSn": 4881,
|
||||
"bdstInfoSn": 54,
|
||||
"instlCmptnDt": "2025-06-20",
|
||||
"instlCst": 300,
|
||||
"operMngCd": null,
|
||||
"anlOperCst": 400,
|
||||
"instlCstSprtYn": null,
|
||||
"instlCstSprtAmt": 0,
|
||||
"grntchBdstCertYn": null,
|
||||
"grntchBdstCertYr": null,
|
||||
"grntchBdstCertNo": "",
|
||||
"grntchBdstCertGrd": "",
|
||||
"crgRdctYn": null,
|
||||
"crgRdctBss": null,
|
||||
"crgRdctAmt": 0,
|
||||
"ruseFcltFlg": "HTB",
|
||||
"bdstUsgCd": 2,
|
||||
"lawTrgtYn": "N",
|
||||
"regDt": "2025-04-16",
|
||||
"rgtr": null,
|
||||
"mdfcnDt": "2025-04-16",
|
||||
"mdfr": null,
|
||||
"htdflObj": {
|
||||
"bdstRuseFcltSn": 4881,
|
||||
"etgtType": "",
|
||||
"fclCpct": 400,
|
||||
"plwtYn": "Y",
|
||||
"orgwtWtritSpt": "공장내",
|
||||
"orgwtOcrnProcs": "1",
|
||||
"wtritEntrcTp": 3,
|
||||
"amtgnr": 1,
|
||||
"prcsProcsYn": "Y",
|
||||
"prcsFcltCpct": 14,
|
||||
"regDt": "2025-04-16",
|
||||
"rgtr": null,
|
||||
"mdfcnDt": "2025-04-16",
|
||||
"mdfr": null,
|
||||
"fmYn": "Y",
|
||||
"utztnCpct": 1,
|
||||
"utztnUsg": "1",
|
||||
"grssClfg": 0,
|
||||
"combResdch": 0,
|
||||
"trbt": 4,
|
||||
"bod": 4,
|
||||
"smll": "불쾌하지않을것",
|
||||
"crmty": 4,
|
||||
"tn": 10,
|
||||
"tph": 10,
|
||||
"ph": '1~3',
|
||||
"clIonQnt": 1,
|
||||
"cdtnv": 0,
|
||||
"emsnExitTp": 5
|
||||
}
|
||||
}
|
||||
],
|
||||
"chgBuilding": [
|
||||
{
|
||||
"bdstInfoSn": 54,
|
||||
"archChgPrmsnDt": null,
|
||||
"archChgArea": null,
|
||||
"bdstChgNm": null,
|
||||
"regDt": "2025-04-16",
|
||||
"rgtr": null,
|
||||
"mdfcnDt": "2025-04-16",
|
||||
"mdfr": null
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
export default function MapFeaturePopup() {
|
||||
const [isFeatureCd, setIsFeatureCd] = useState<any>(null);
|
||||
const {
|
||||
@@ -61,7 +150,9 @@ export default function MapFeaturePopup() {
|
||||
});
|
||||
} else if (layerNm === "온배수시설") {
|
||||
htdfMapDetile(isFeatureCd).then((res) => {
|
||||
setIsDetail(res);
|
||||
//가짜데이터로 하였음!!!!!!!!! 기능 수정시 res를 넣어야함
|
||||
console.log(res)
|
||||
setIsDetail(htdflData);
|
||||
});
|
||||
} else if (layerNm === "잠재수요처") {
|
||||
ldrmntMapDetile(isFeatureCd).then((res) => {
|
||||
|
||||
@@ -389,9 +389,9 @@ export default function CoMatRvw() {
|
||||
className="w-full pr-16 border py-2 text-right rounded-md"
|
||||
placeholder=""
|
||||
value={
|
||||
field.value != -1
|
||||
field.value != -1 ||field.value != undefined
|
||||
? `${field.value}`
|
||||
: "불검출"
|
||||
: "불검출"
|
||||
}
|
||||
readOnly
|
||||
/>
|
||||
|
||||
@@ -79,11 +79,11 @@ export const DmdCoReqSchema = z.object({
|
||||
grssClfg: z.number().nullish(),
|
||||
combResdch: z.number().nullish(),
|
||||
trbt: z.number().nullish(),
|
||||
smll: z.number().nullish(),
|
||||
smll: z.string().nullish(),
|
||||
crmty: z.number().nullish(),
|
||||
tn: z.number().nullish(),
|
||||
tph: z.number().nullish(),
|
||||
ph: z.number().nullish(),
|
||||
ph: z.string().nullish(),
|
||||
clIonQnt: z.number().nullish(),
|
||||
cdtnv: z.number().nullish(),
|
||||
rmrk: z.string().nullish(),
|
||||
|
||||
Reference in New Issue
Block a user