From e6239a28dd1fece8cfac7450e2ee99cd4e6886b7 Mon Sep 17 00:00:00 2001 From: waruneeta Date: Tue, 22 Aug 2023 10:31:27 +0700 Subject: [PATCH] =?UTF-8?q?fix=20=E0=B8=97=E0=B8=94=E0=B8=A5=E0=B8=AD?= =?UTF-8?q?=E0=B8=87=E0=B8=87=E0=B8=B2=E0=B8=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/05_placement/api.probation.ts | 2 +- .../components/probation/FormEvaluation.vue | 4 - .../FormEvaluation/FormSaveResult.vue | 10 +- .../FormEvaluation/FormSaveResultAdd.vue | 492 ++++-------------- 4 files changed, 117 insertions(+), 391 deletions(-) diff --git a/src/api/05_placement/api.probation.ts b/src/api/05_placement/api.probation.ts index cdbdeed8f..f13c26d26 100644 --- a/src/api/05_placement/api.probation.ts +++ b/src/api/05_placement/api.probation.ts @@ -38,7 +38,7 @@ export default { formevaluate: (id: string) => `${evaluate}/evaluate-record?assign_id=${id}`, formevaluateround: (id: string, no: string) => `${evaluate}/evaluate-record?assign_id=${id}&evaluate_no=${no}`, formevaluateRecord: (id: string) => `${evaluate}/evaluate-record/create?assign_id=${id}`, - createformevaluate: (id: string) => `${evaluate}/evaluate-record?id=${id}`, + createformevaluate: (id: string) => `${evaluate}/evaluate-record?assign_id=${id}`, //แบบประเมินผล (ผู้บังคับบัญชา) evaluateCreate: (id: string) => `${evaluate}/evaluate/create?assign_id=${id}`, diff --git a/src/modules/05_placement/components/probation/FormEvaluation.vue b/src/modules/05_placement/components/probation/FormEvaluation.vue index ee62da9da..f480e2348 100644 --- a/src/modules/05_placement/components/probation/FormEvaluation.vue +++ b/src/modules/05_placement/components/probation/FormEvaluation.vue @@ -110,10 +110,6 @@ const onSubmit = () => { message: "ส่งแบบประเมินเเล้ว", }); }; - -const onReset = () => { - router.push({ name: "probation" }); -};