From ee0233a27ec14e3beb1087a0bb0765af0f00d6b4 Mon Sep 17 00:00:00 2001 From: AnandaTon Date: Fri, 22 Dec 2023 17:37:36 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=95=E0=B9=88=E0=B8=AD=20api=20download=20?= =?UTF-8?q?=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=8A?= =?UTF-8?q?=E0=B8=B8=E0=B8=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/12_evaluatePersonal/api.evaluate.ts | 12 +- .../components/Meeting/Form.vue | 197 ++++++++++-------- .../interface/index/meeting.ts | 18 +- 3 files changed, 137 insertions(+), 90 deletions(-) diff --git a/src/api/12_evaluatePersonal/api.evaluate.ts b/src/api/12_evaluatePersonal/api.evaluate.ts index b7feed1e7..c3970dd3c 100644 --- a/src/api/12_evaluatePersonal/api.evaluate.ts +++ b/src/api/12_evaluatePersonal/api.evaluate.ts @@ -1,7 +1,7 @@ import env from "../index"; const evaluateDirectorMain = `${env.API_URI}/evaluation/director`; const evaluation = `${env.API_URI}/evaluation`; -const evaluationFile = `${env.API_URI}/evaluation/document` +const evaluationFile = `${env.API_URI}/evaluation/document`; export default { evaluateDirectorMain: () => `${evaluateDirectorMain}`, evaluateDirectorById: (id: string) => `${evaluateDirectorMain}/${id}`, @@ -10,7 +10,13 @@ export default { `${evaluation}?page=${page}&pageSize=${pageSize}&keyword=${keyword}`, meeting: () => `${evaluation}/meeting`, meetingById: (id: string) => `${evaluation}/meeting/${id}`, + meetingFilebyId: (volume: string, id: string) => + `${evaluation}/document/${volume}/${id}`, + meetingFileDowloadbyId: (volume: string, id: string, file: string) => + `${evaluation}/document/${volume}/${id}/${file}`, - evaluationFilebyId:(volume:string,id:string,file:string) => `${evaluationFile}/${volume}/${id}/${file}`, - evaluationFileListbyId:(volume:string,id:string) => `${evaluationFile}/${volume}/${id}` + evaluationFilebyId: (volume: string, id: string, file: string) => + `${evaluationFile}/${volume}/${id}/${file}`, + evaluationFileListbyId: (volume: string, id: string) => + `${evaluationFile}/${volume}/${id}`, }; diff --git a/src/modules/12_evaluatePersonal/components/Meeting/Form.vue b/src/modules/12_evaluatePersonal/components/Meeting/Form.vue index f2f98247b..44caa93bc 100644 --- a/src/modules/12_evaluatePersonal/components/Meeting/Form.vue +++ b/src/modules/12_evaluatePersonal/components/Meeting/Form.vue @@ -1,7 +1,8 @@