From facf7f071ba03bd677226a85f32e4e3cbd8ca77e Mon Sep 17 00:00:00 2001 From: "STW_TTTY\\stwtt" Date: Fri, 30 Aug 2024 16:56:57 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=20map=20=E0=B9=80?= =?UTF-8?q?=E0=B9=80=E0=B8=95=E0=B9=88=20id?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/05_placement/components/probation/FormAssign.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/modules/05_placement/components/probation/FormAssign.vue b/src/modules/05_placement/components/probation/FormAssign.vue index f3565d906..e3e46c6c4 100644 --- a/src/modules/05_placement/components/probation/FormAssign.vue +++ b/src/modules/05_placement/components/probation/FormAssign.vue @@ -807,7 +807,6 @@ function putData(id: string) { * @param id personal id */ async function saveData(id: string) { - const data = putData(id); dialogConfirm($q, async () => await DataSave(id)); } @@ -858,7 +857,7 @@ async function getAssign() { chairman.value = data.chairman; commander.value = data.commander; - knowledge.value = data.knowledges.map((id: any) => id.id); + knowledge.value = data.knowledges knowledgeCount.value = data.knowledges.length; other_desc.value = data.assign.other_desc; other4_desc.value = data.assign.other4_desc;