From 1c93bca3df5017a1574b72112da7e30e79703698 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Mon, 25 Sep 2023 12:10:08 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=88=E0=B9=89=E0=B8=87=E0=B8=81?= =?UTF-8?q?=E0=B8=B2=E0=B8=A3=E0=B8=96=E0=B8=B6=E0=B8=87=E0=B9=81=E0=B8=81?= =?UTF-8?q?=E0=B9=88=E0=B8=81=E0=B8=A3=E0=B8=A3=E0=B8=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../06_retirement/components/resign/Deceased.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/modules/06_retirement/components/resign/Deceased.vue b/src/modules/06_retirement/components/resign/Deceased.vue index 02cda7b90..02bf8e424 100644 --- a/src/modules/06_retirement/components/resign/Deceased.vue +++ b/src/modules/06_retirement/components/resign/Deceased.vue @@ -110,11 +110,12 @@ const fectListDecased = async () => { rows.value = res.data.result.map((e: any) => ({ personalId: e.id, fullname: `${e.prefix ?? ""}${e.firstName ?? ""} ${e.lastName ?? ""}`, - positionType: e.positionType, - position: e.positionLine, - positionLevel: e.positionLevel, - positionExecutive: e.positionExecutive, - oc: e.organization, + positionType: e.positionType == null ? "-" : e.positionType, + position: e.positionLine == null ? "-" : e.positionLine, + positionLevel: e.positionLevel === null ? "-" : e.positionLevel, + positionExecutive: + e.positionExecutive == null ? "-" : e.positionExecutive, + oc: e.organization == null ? "-" : e.organization, createdAt: date2Thai(e.createdAt), })); })