From a2ce6fcb57be2d4927d72ff026bf39d95d243910 Mon Sep 17 00:00:00 2001 From: puriphatt Date: Wed, 20 Mar 2024 15:58:53 +0700 Subject: [PATCH 1/2] =?UTF-8?q?=E0=B8=97=E0=B8=B0=E0=B9=80=E0=B8=9A?= =?UTF-8?q?=E0=B8=B5=E0=B8=A2=E0=B8=99=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7?= =?UTF-8?q?=E0=B8=B1=E0=B8=95=E0=B8=B4:=20=E0=B8=9C=E0=B8=A5=E0=B8=81?= =?UTF-8?q?=E0=B8=B2=E0=B8=A3=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B9=80=E0=B8=A1?= =?UTF-8?q?=E0=B8=B4=E0=B8=99=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=9B=E0=B8=8F?= =?UTF-8?q?=E0=B8=B4=E0=B8=9A=E0=B8=B1=E0=B8=95=E0=B8=B4=E0=B8=A3=E0=B8=B2?= =?UTF-8?q?=E0=B8=8A=E0=B8=81=E0=B8=B2=E0=B8=A3=20(=E0=B9=81=E0=B8=81?= =?UTF-8?q?=E0=B9=89=20history=20api)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/detail/Achievement/05_ResultsPerformance.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/04_registryNew/components/detail/Achievement/05_ResultsPerformance.vue b/src/modules/04_registryNew/components/detail/Achievement/05_ResultsPerformance.vue index 859fafaff..60fe26374 100644 --- a/src/modules/04_registryNew/components/detail/Achievement/05_ResultsPerformance.vue +++ b/src/modules/04_registryNew/components/detail/Achievement/05_ResultsPerformance.vue @@ -374,7 +374,7 @@ async function clickHistory(row: ResponseObject) { showLoader(); try { - const res = await http.get(config.API.profileAssessmentHisId(row.id)); + const res = await http.get(config.API.profileNewAssessmentsHisById(row.id)); console.log(res.data); rowsHistory.value = res.data.result; From 5949ca3213a4a3edb3333f51abfc642b6fd62d0e Mon Sep 17 00:00:00 2001 From: puriphatt Date: Wed, 20 Mar 2024 15:59:59 +0700 Subject: [PATCH 2/2] =?UTF-8?q?=E0=B8=97=E0=B8=B0=E0=B9=80=E0=B8=9A?= =?UTF-8?q?=E0=B8=B5=E0=B8=A2=E0=B8=99=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7?= =?UTF-8?q?=E0=B8=B1=E0=B8=95=E0=B8=B4:=20=E0=B9=80=E0=B8=AD=E0=B8=81?= =?UTF-8?q?=E0=B8=AA=E0=B8=B2=E0=B8=A3=E0=B8=AB=E0=B8=A5=E0=B8=B1=E0=B8=81?= =?UTF-8?q?=E0=B8=90=E0=B8=B2=E0=B8=99=20(upload=20delete=20download)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/detail/Other/02_Document.vue | 215 ++++++++++++------ 1 file changed, 147 insertions(+), 68 deletions(-) diff --git a/src/modules/04_registryNew/components/detail/Other/02_Document.vue b/src/modules/04_registryNew/components/detail/Other/02_Document.vue index cf77a9f8b..35e57e652 100644 --- a/src/modules/04_registryNew/components/detail/Other/02_Document.vue +++ b/src/modules/04_registryNew/components/detail/Other/02_Document.vue @@ -1,91 +1,171 @@ @@ -151,7 +230,7 @@ function confirmDelete(idOrder: string) { dense color="blue" icon="mdi-download" - @click="downloadFile(data.pathName)" + @click="downloadFile(data.fileName)" >ดาวน์โหลดไฟล์ ลบไฟล์