From adfbe1a2f87da5fcbb6e464668b11d2c8407996e Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Tue, 28 Jan 2025 17:26:29 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=20=E0=B8=9C?= =?UTF-8?q?=E0=B8=A5=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=97=E0=B8=94=E0=B8=A5?= =?UTF-8?q?=E0=B8=AD=E0=B8=87=E0=B8=9B=E0=B8=8F=E0=B8=B4=E0=B8=9A=E0=B8=B1?= =?UTF-8?q?=E0=B8=95=E0=B8=B4=E0=B8=AB=E0=B8=99=E0=B9=89=E0=B8=B2=E0=B8=97?= =?UTF-8?q?=E0=B8=B5=E0=B9=88=E0=B8=A3=E0=B8=B2=E0=B8=8A=E0=B8=81=E0=B8=B2?= =?UTF-8?q?=E0=B8=A3=E0=B9=81=E0=B8=A5=E0=B8=B0=E0=B9=81=E0=B8=9A=E0=B8=9A?= =?UTF-8?q?=E0=B8=AA=E0=B8=B3=E0=B8=A3=E0=B8=A7=E0=B8=88=E0=B8=84=E0=B8=A7?= =?UTF-8?q?=E0=B8=B2=E0=B8=A1=E0=B8=84=E0=B8=B4=E0=B8=94=E0=B9=80=E0=B8=AB?= =?UTF-8?q?=E0=B9=87=E0=B8=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/api.development.ts | 6 +- .../components/02_ResultPage.vue | 157 +++++++++++++++++- .../components/03_AssignPage.vue | 53 +++--- src/modules/15_probationReport/views/main.vue | 50 ++---- 4 files changed, 188 insertions(+), 78 deletions(-) diff --git a/src/api/api.development.ts b/src/api/api.development.ts index 308e9fc..5f74103 100644 --- a/src/api/api.development.ts +++ b/src/api/api.development.ts @@ -3,7 +3,7 @@ import env from "./index"; const development = `${env.API_URI}/development`; const urlFile = `${env.API_URI}/salary`; const orgProfile = `${env.API_URI}/org/profile`; - +const url = `${env.API_URI}/salary`; export default { // portfolio portfolio: `${development}/portfolio`, @@ -21,5 +21,7 @@ export default { subId: string, fileName: string ) => `${urlFile}/sub-file/${name}/${group}/${id}/${subId}/${fileName}`, - developmentRequest:`${orgProfile}/development-request` + developmentRequest:`${orgProfile}/development-request`, + + fileByPath:(path:string)=> `${url}/file/${path}`, }; diff --git a/src/modules/15_probationReport/components/02_ResultPage.vue b/src/modules/15_probationReport/components/02_ResultPage.vue index 7b172b4..94f0197 100644 --- a/src/modules/15_probationReport/components/02_ResultPage.vue +++ b/src/modules/15_probationReport/components/02_ResultPage.vue @@ -1,19 +1,170 @@