wr: 지도점검 현황 팝업 table 항목명 수정
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
"use client";
|
||||
|
||||
/**
|
||||
* 재이용실적 현황 > 지도점검 현황
|
||||
*/
|
||||
import { useWrStore } from "@/app/store";
|
||||
import { btnClass } from "@/app/store/common/code";
|
||||
import { rainPageSize } from "@/app/store/prfmncReg/chkgdnReg/rainChkgdn";
|
||||
|
||||
@@ -124,7 +124,7 @@ export const rainMainHeadNmExport: chHeadType[] = [
|
||||
export const rainRuseHeadNmExport: chHeadType[] = [
|
||||
{ headNm: "useQuilty", text: "이용수질(필요시)", length: 3 },
|
||||
{ headNm: "feeHist", text: "과태료 부과내역", length: 3 },
|
||||
{ headNm: "ruseWater", text: "연간대체수 이용량(m³)", length: 13 },
|
||||
{ headNm: "ruseWater", text: "연간빗물이용량(m³)", length: 13 },
|
||||
{ headNm: "detailQulity", text: "분기", length: 11 },
|
||||
];
|
||||
|
||||
@@ -133,7 +133,7 @@ export const rainSplHeadNmExport: chHeadType[] = [
|
||||
{ headNm: "useQuilty", text: "이용수질(필요시)", length: 3 },
|
||||
{ headNm: "feeHist", text: "과태료 부과내역", length: 3 },
|
||||
{ headNm: "detailQulity", text: "분기", length: 11 },
|
||||
{ headNm: "splWater", text: "연간빗물 이용량(m³)", length: 13 },
|
||||
{ headNm: "splWater", text: "연간대체수이용량(m³)", length: 13 },
|
||||
];
|
||||
|
||||
export const rainChkgdnHeadListExport: TableUpperProps[] = [
|
||||
|
||||
@@ -29,8 +29,8 @@ export const rainChkTableData = (chkData: rainChkZodType[]) => {
|
||||
totalRuseFcltUtztnQnt: 0,
|
||||
};
|
||||
|
||||
acc[key].totalSplyUswtrUtztnQnt += cur.splyUswtrUtztnQnt;
|
||||
acc[key].totalRuseFcltUtztnQnt += cur.ruseFcltUtztnQnt;
|
||||
acc[key].totalSplyUswtrUtztnQnt += cur.splyUswtrUtztnQnt; // 연간대체수이용량(m³)
|
||||
acc[key].totalRuseFcltUtztnQnt += cur.ruseFcltUtztnQnt; // 연간빗물이용량(m³)
|
||||
|
||||
return acc;
|
||||
}, {});
|
||||
|
||||
@@ -63,8 +63,8 @@ export default function RainChkgdTable({
|
||||
|
||||
const handleCellClick = useCallback((index: number, headId: string) => {
|
||||
if (
|
||||
headId === "totalSplyUswtrUtztnQnt" ||
|
||||
headId === "totalRuseFcltUtztnQnt"
|
||||
headId === "totalSplyUswtrUtztnQnt" || // 연간대체수이용량(m³)
|
||||
headId === "totalRuseFcltUtztnQnt" // 연간빗물이용량(m³)
|
||||
) {
|
||||
|
||||
handleClick(makeTableData[index])
|
||||
|
||||
Reference in New Issue
Block a user