From 438e6258dcaeb3e10b7129937efb932129d6f2fc Mon Sep 17 00:00:00 2001 From: kric_jspark Date: Wed, 24 Jun 2026 09:53:34 +0900 Subject: [PATCH] =?UTF-8?q?260624=5F02=5FENH:=20=EC=82=AC=EC=9A=A9?= =?UTF-8?q?=EC=9E=90=20=EC=83=81=EC=84=B8=20=EC=A0=95=EB=B3=B4=20=EA=B0=80?= =?UTF-8?q?=EC=A0=B8=EC=98=A4=EA=B8=B0=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/dialog/AssignMonitoringDialog.tsx | 4 ++-- src/components/dialog/PerformanceDetailDialog.tsx | 10 +++++----- src/components/dialog/SmsSendDialog.tsx | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/dialog/AssignMonitoringDialog.tsx b/src/components/dialog/AssignMonitoringDialog.tsx index 46504e7..3ddfb28 100644 --- a/src/components/dialog/AssignMonitoringDialog.tsx +++ b/src/components/dialog/AssignMonitoringDialog.tsx @@ -119,12 +119,12 @@ export function AssignMonitoringDialog({ id: "area", header: "지역", cell: ({row}) => - getCodeLabel(codes, "area", getDetailValue(row.original.user?.userDetail, ["area", "userArea", "region"])) || "-", + getCodeLabel(codes, "area", getDetailValue(row.original.user?.userDetail, "userArea")) || "-", }, { id: "tel", header: "연락처", - cell: ({row}) => getDetailValue(row.original.user?.userDetail, ["tel", "phone", "userTel"], "-"), + cell: ({row}) => getDetailValue(row.original.user?.userDetail, "userTel", "-"), }, { id: "status", diff --git a/src/components/dialog/PerformanceDetailDialog.tsx b/src/components/dialog/PerformanceDetailDialog.tsx index 3ebfc28..6a642c6 100644 --- a/src/components/dialog/PerformanceDetailDialog.tsx +++ b/src/components/dialog/PerformanceDetailDialog.tsx @@ -86,13 +86,13 @@ function AssignedUserInfo({ type: "monitoring" | "written"; }>) { const detail = user?.userDetail; - const tel = getDetailValue(detail, ["tel", "phone", "userTel"], "-"); - const email = getDetailValue(detail, ["email", "userEmail"], "-"); + const tel = getDetailValue(detail, "userTel", "-"); + const email = getDetailValue(detail, "userEmail", "-"); const metaValue = type === "monitoring" - ? getCodeLabel(codes, "area", getDetailValue(detail, ["area", "userArea", "region"])) - : getCodeLabel(codes, "genre", getDetailValue(detail, ["userGenre", "genre", "reviewGenre"])); + ? getCodeLabel(codes, "area", getDetailValue(detail, "userArea")) + : getCodeLabel(codes, "genre", getDetailValue(detail, "userGenre")); const metaLabel = type === "monitoring" ? "지역" : "장르"; - const hasCar = getCodeLabel(codes, "has_car", getDetailValue(detail, ["userHasCar", "has_car", "hasCar"])) || "-"; + const hasCar = getCodeLabel(codes, "has_car", getDetailValue(detail, "userHasCar")) || "-"; return (
diff --git a/src/components/dialog/SmsSendDialog.tsx b/src/components/dialog/SmsSendDialog.tsx index dae3dfc..b1adced 100644 --- a/src/components/dialog/SmsSendDialog.tsx +++ b/src/components/dialog/SmsSendDialog.tsx @@ -75,7 +75,7 @@ export function SmsSendDialog({ return selectedUsers .map((user) => ({ sid: user.userId, - destTel: getDetailValue(user.userDetail, ["userTel"]), + destTel: getDetailValue(user.userDetail, "userTel"), destNm: user.userName || user.userId, msgParam: { ...buildUserMsgParam(user),