헤더 변경사항 수정

This commit is contained in:
leedj312
2025-07-08 10:25:54 +09:00
parent 4691f3b981
commit 234f2bc0a7
3 changed files with 3 additions and 16 deletions
@@ -125,7 +125,7 @@ export const htdflSttNodeListExport: CommonTableProps[] = [
visible: true,
row: 1,
rowSpan: 1,
colSpan: 11,
colSpan: 10,
},
{
@@ -255,7 +255,7 @@ export const htdflSttNodeListExport: CommonTableProps[] = [
{
id: "prcsProcsYn",
title: "처리공정여부",
upName: "prcsProcs",
upName: "htdflMngInfo",
visible: true,
row: 2,
rowSpan: 2,
@@ -343,7 +343,7 @@ export const rainSttNodeListExport: CommonTableProps[] = [
id: "filtrTrtmfct",
title: "여과등 처리시설",
visible: true,
upName: "insenInfo",
upName: "rainFcltInfo",
row: 2,
rowSpan: 1,
colSpan: 3,
@@ -13,19 +13,6 @@ export default function HeadChModal({ headList, type }: { headList: z.infer<type
let items = headList.map(item => ({ id: item.id, title: item.title, val: item.visible }));
/*const form = useForm<z.infer<typeof sttnHeadListType>>({
resolver: zodResolver(sttnHeadListType),
defaultValues: [],
})
useEffect(() =>{
form.reset(headList)
},[headList])*/
const form = useForm<z.infer<typeof sttnHeadListType>>({
resolver: zodResolver(sttnHeadListType),
defaultValues: headList,