From 5e53663b240f1c21a1e6584c9dd5702e62c10ec1 Mon Sep 17 00:00:00 2001
From: kric_jspark
Date: Tue, 9 Jun 2026 16:48:19 +0900
Subject: [PATCH] =?UTF-8?q?260609=5F01=5FENH:=20=EB=A9=94=EC=9D=B8=20?=
=?UTF-8?q?=ED=8E=98=EC=9D=B4=EC=A7=80=20=EC=95=88=EB=82=B4=EB=AC=B8=20/?=
=?UTF-8?q?=EA=B8=B0=EC=A4=80=EC=9C=BC=EB=A1=9C=20=EC=95=9E=EB=92=A4=20?=
=?UTF-8?q?=EB=9D=84=EC=96=B4=EC=93=B0=EA=B8=B0=201=EA=B0=9C=EC=94=A9=20?=
=?UTF-8?q?=EC=B6=94=EA=B0=80=20=EB=B0=8F=20=EC=95=88=EB=82=B4=EB=AC=B8=20?=
=?UTF-8?q?1=EC=A4=84=20=EC=B6=94=EA=B0=80=20Comment=20=ED=85=8C=EC=9D=B4?=
=?UTF-8?q?=EB=B8=94=EC=97=90=EC=84=9C=20plan26=20=EC=A0=9C=EA=B1=B0=20?=
=?UTF-8?q?=EB=B0=8F=20label=20=EC=88=98=EC=A0=95,=20=ED=85=8C=EC=9D=B4?=
=?UTF-8?q?=EB=B8=94=20width=20=EC=A1=B0=EC=A0=95,=20=EC=95=88=EB=82=B4?=
=?UTF-8?q?=EB=AC=B8=20=EC=B6=94=EA=B0=80=20=EC=A0=84=EC=B2=B4=20=ED=98=84?=
=?UTF-8?q?=ED=99=A9=20=EC=99=B8=20=EC=B0=A8=ED=8A=B8=20=ED=85=8C=EC=9D=B4?=
=?UTF-8?q?=EB=B8=94=EC=9D=98=20=EC=B0=A8=ED=8A=B8=20=EC=8B=9C=EC=9E=91=20?=
=?UTF-8?q?=EC=9C=84=EC=B9=98=20=EC=88=98=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../(pages)/(main)/bridge-platform/page.tsx | 1 +
src/app/(pages)/(main)/consulting/page.tsx | 2 +-
.../(main)/fire-investigation/page.tsx | 2 +-
.../(main)/insurance-operations/page.tsx | 2 +-
.../(pages)/(main)/safety-inspection/page.tsx | 7 +++++-
src/app/(pages)/(main)/ucis/page.tsx | 1 +
src/app/globals.css | 4 +++-
src/components/kfpa/CommentNote.tsx | 9 ++++++++
src/components/kfpa/CsiFormulaNote.tsx | 12 ++++++----
.../kfpa/CustomerSatisfactionCommentTable.tsx | 22 +++++++++++--------
.../kfpa/CustomerSatisfactionDetail.tsx | 4 +++-
.../kfpa/CustomerSatisfactionTotal.tsx | 2 +-
src/config/kfpa.config.ts | 6 ++---
src/lib/kfpa-util.ts | 3 +--
14 files changed, 52 insertions(+), 25 deletions(-)
create mode 100644 src/components/kfpa/CommentNote.tsx
diff --git a/src/app/(pages)/(main)/bridge-platform/page.tsx b/src/app/(pages)/(main)/bridge-platform/page.tsx
index 20b20a3..8a55c7f 100644
--- a/src/app/(pages)/(main)/bridge-platform/page.tsx
+++ b/src/app/(pages)/(main)/bridge-platform/page.tsx
@@ -14,6 +14,7 @@ const BridgePlatformPage = () => {
selectedDiv={selectedDiv}
viewSubTitle={false}
sectionTitleSuffix={COMMENT_TABLE_TITLE}
+ widthClassName="w-[1200px]"
/>;
};
diff --git a/src/app/(pages)/(main)/consulting/page.tsx b/src/app/(pages)/(main)/consulting/page.tsx
index 9ff835c..3198bd2 100644
--- a/src/app/(pages)/(main)/consulting/page.tsx
+++ b/src/app/(pages)/(main)/consulting/page.tsx
@@ -7,7 +7,7 @@ import CustomerSatisfactionDetail from "@/components/kfpa/CustomerSatisfactionDe
const ConsultingPage = () => {
const { selectedDiv } = useLayoutFilter();
- return selectedDiv === "-1" ? : ;
+ return selectedDiv === "-1" ? : ;
};
export default ConsultingPage;
diff --git a/src/app/(pages)/(main)/fire-investigation/page.tsx b/src/app/(pages)/(main)/fire-investigation/page.tsx
index 12838c2..6acba52 100644
--- a/src/app/(pages)/(main)/fire-investigation/page.tsx
+++ b/src/app/(pages)/(main)/fire-investigation/page.tsx
@@ -7,7 +7,7 @@ import CustomerSatisfactionDetail from "@/components/kfpa/CustomerSatisfactionDe
const FireInvestigationPage = () => {
const { selectedDiv } = useLayoutFilter();
- return selectedDiv === "-1" ? : ;
+ return selectedDiv === "-1" ? : ;
};
export default FireInvestigationPage;
diff --git a/src/app/(pages)/(main)/insurance-operations/page.tsx b/src/app/(pages)/(main)/insurance-operations/page.tsx
index 4a89495..7ec2cd0 100644
--- a/src/app/(pages)/(main)/insurance-operations/page.tsx
+++ b/src/app/(pages)/(main)/insurance-operations/page.tsx
@@ -7,7 +7,7 @@ import CustomerSatisfactionDetail from "@/components/kfpa/CustomerSatisfactionDe
const InsuranceOperationsPage = () => {
const { selectedDiv } = useLayoutFilter();
- return selectedDiv === "-1" ? : ;
+ return selectedDiv === "-1" ? : ;
};
export default InsuranceOperationsPage;
diff --git a/src/app/(pages)/(main)/safety-inspection/page.tsx b/src/app/(pages)/(main)/safety-inspection/page.tsx
index 935e158..86402a9 100644
--- a/src/app/(pages)/(main)/safety-inspection/page.tsx
+++ b/src/app/(pages)/(main)/safety-inspection/page.tsx
@@ -7,7 +7,12 @@ import CustomerSatisfactionDetail from "@/components/kfpa/CustomerSatisfactionDe
const SafetyInspectionPage = () => {
const { selectedDiv } = useLayoutFilter();
- return selectedDiv === "-1" ? : ;
+ return selectedDiv === "-1"
+ ?
+ : ;
};
export default SafetyInspectionPage;
diff --git a/src/app/(pages)/(main)/ucis/page.tsx b/src/app/(pages)/(main)/ucis/page.tsx
index edc4313..de7560d 100644
--- a/src/app/(pages)/(main)/ucis/page.tsx
+++ b/src/app/(pages)/(main)/ucis/page.tsx
@@ -14,6 +14,7 @@ const UcisPage = () => {
selectedDiv={selectedDiv}
viewSubTitle={false}
sectionTitleSuffix={COMMENT_TABLE_TITLE}
+ widthClassName="w-[1200px]"
/>;
};
diff --git a/src/app/globals.css b/src/app/globals.css
index a09d3eb..8b10636 100644
--- a/src/app/globals.css
+++ b/src/app/globals.css
@@ -603,10 +603,11 @@
.kfpa-detail-table {
--kfpa-detail-table-head-height: 56px;
+ --kfpa-detail-table-row-height: 56px;
+ --kfpa-detail-comment-table-row-height: 112px;
}
.kfpa-detail-rank-table {
- --kfpa-detail-table-row-height: 56px;
min-width: 285px !important;
}
@@ -622,6 +623,7 @@
}
.kfpa-detail-comment-table tbody td {
+ height: var(--kfpa-detail-comment-table-row-height);
vertical-align: top;
}
diff --git a/src/components/kfpa/CommentNote.tsx b/src/components/kfpa/CommentNote.tsx
new file mode 100644
index 0000000..dd0e618
--- /dev/null
+++ b/src/components/kfpa/CommentNote.tsx
@@ -0,0 +1,9 @@
+const CommentNote = () => {
+ return (
+
+ ▶ : 완료 / ▷ : 진행 중
+
+ );
+};
+
+export default CommentNote;
diff --git a/src/components/kfpa/CsiFormulaNote.tsx b/src/components/kfpa/CsiFormulaNote.tsx
index a75f501..a14081e 100644
--- a/src/components/kfpa/CsiFormulaNote.tsx
+++ b/src/components/kfpa/CsiFormulaNote.tsx
@@ -7,12 +7,16 @@ const CsiFormulaNote = () => {
※ 주요 고객 대상 : 안전점검(특수건물 관계자)
- / UCIS(사원사 등) / Bridge 플랫폼(사원사, 일반회원 등)
- / 방재컨설팅(발주처 관계자 약 20명) / 보험업무(보험 계약 담당자 약 300명)
- / 화재조사(사원사 손해사정부서 총 11명)
+ / UCIS(사원사 등)
+ / Bridge 플랫폼(사원사, 일반회원 등)
+ / 방재컨설팅(발주처 관계자 약 20명)
+ / 보험업무(보험 계약 담당자 약 300명)
+ / 화재조사(사원사 손해사정부서 총 11명)
- ※ 방재컨설팅 고객만족도 조사는 각 용역이 완료되는 하반기에 진행 예정임.
+ ※ 응답 데이터 업데이트 주기 : 안전점검(매일 실시간)
+ / UCIS, Bridge플랫폼, 보험업무, 화재조사(매월 말)
+ / 방재컨설팅(각 용역이 완료되는 하반기에 진행 예정)
>
);
diff --git a/src/components/kfpa/CustomerSatisfactionCommentTable.tsx b/src/components/kfpa/CustomerSatisfactionCommentTable.tsx
index 21b0652..3795287 100644
--- a/src/components/kfpa/CustomerSatisfactionCommentTable.tsx
+++ b/src/components/kfpa/CustomerSatisfactionCommentTable.tsx
@@ -4,6 +4,7 @@ import DataTable from "@/components/table/DataTable";
import type { DataColumn } from "@/components/table/types";
import { cn } from "@/lib/utils";
import type { CommentColumn, CommentField, CommentValue, DashboardCommentRowConfig } from "@/types/kfpa";
+import CommentNote from "@/components/kfpa/CommentNote";
type CommentTableRow = DashboardCommentRowConfig & Record;
@@ -66,7 +67,7 @@ const CustomerSatisfactionCommentTable = ({
if (!isEditing) {
return (
{value || "-"}
@@ -77,7 +78,7 @@ const CustomerSatisfactionCommentTable = ({
return (
+ <>
+
+
+ >
);
};
diff --git a/src/components/kfpa/CustomerSatisfactionDetail.tsx b/src/components/kfpa/CustomerSatisfactionDetail.tsx
index 4b3bb18..ebeb579 100644
--- a/src/components/kfpa/CustomerSatisfactionDetail.tsx
+++ b/src/components/kfpa/CustomerSatisfactionDetail.tsx
@@ -36,12 +36,14 @@ export type CustomerSatisfactionDetailProps = {
selectedDiv: string;
sectionTitleSuffix?: string;
viewSubTitle?: boolean;
+ widthClassName?: string;
};
const CustomerSatisfactionDetail = ({
selectedDiv,
sectionTitleSuffix,
viewSubTitle = true,
+ widthClassName = "w-full",
}: CustomerSatisfactionDetailProps) => {
const searchParams = useSearchParams();
const queryClient = useQueryClient();
@@ -122,7 +124,7 @@ const CustomerSatisfactionDetail = ({
}
return (
-
+
diff --git a/src/components/kfpa/CustomerSatisfactionTotal.tsx b/src/components/kfpa/CustomerSatisfactionTotal.tsx
index 119b81e..b88fff0 100644
--- a/src/components/kfpa/CustomerSatisfactionTotal.tsx
+++ b/src/components/kfpa/CustomerSatisfactionTotal.tsx
@@ -236,7 +236,7 @@ const CustomerSatisfactionTotal = () => {
}}
yAxis={{
type: "value",
- min: 4,
+ min: 3.95,
max: 5,
axisLabel: { show: false },
axisTick: { show: false },
diff --git a/src/config/kfpa.config.ts b/src/config/kfpa.config.ts
index 3bdb719..9bdff7d 100644
--- a/src/config/kfpa.config.ts
+++ b/src/config/kfpa.config.ts
@@ -258,9 +258,9 @@ export const DASHBOARD_METRICS_BY_CATEGORY = {
} as const;
export const DASHBOARD_COMMENT_COLUMNS = [
- { key: "performance25", label: "25년 성과" },
- { key: "plan26", label: "26년 업무계획" },
- { key: "performance26", label: "26년 업무계획 진행률 및 성과" },
+ { key: "performance25", label: "25년 고객 관점 주요 성과" },
+ //{ key: "plan26", label: "26년 업무계획" },
+ { key: "performance26", label: "26년 고객 관점 주요 성과" },
] as const;
const DEFAULT_DASHBOARD_COMMENT_ROWS = [
diff --git a/src/lib/kfpa-util.ts b/src/lib/kfpa-util.ts
index 1a88d6a..40bcd0b 100644
--- a/src/lib/kfpa-util.ts
+++ b/src/lib/kfpa-util.ts
@@ -94,8 +94,7 @@ export const getSelectedDetail = (data: Record | undefine
};
export const getCommentColumns = (commentValues?: Record): CommentColumn[] => {
- const keys = Object.keys(commentValues ?? {});
- const selectedKeys = keys.length > 0 ? keys : DASHBOARD_COMMENT_COLUMNS.map((column) => column.key);
+ const selectedKeys = DASHBOARD_COMMENT_COLUMNS.map((column) => column.key);
return selectedKeys.map((key, index) => ({
key,