From b740ef18cccf3c3a04d2b8769806fc9b3d897dc0 Mon Sep 17 00:00:00 2001 From: Huichan Bak Date: Tue, 17 Dec 2024 17:41:10 +0900 Subject: [PATCH 1/5] =?UTF-8?q?chore:=20axios=20baseURL,=20=ED=99=98?= =?UTF-8?q?=EA=B2=BD=EB=B3=80=EC=88=98=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 ++- SCM/frontend/src/axios.js | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 SCM/frontend/src/axios.js diff --git a/.gitignore b/.gitignore index 47470ca0..72574faa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ env.properties -.idea \ No newline at end of file +.env +.idea diff --git a/SCM/frontend/src/axios.js b/SCM/frontend/src/axios.js new file mode 100644 index 00000000..c3017359 --- /dev/null +++ b/SCM/frontend/src/axios.js @@ -0,0 +1,15 @@ +import axios from 'axios'; + +const instance = axios.create({ + baseURL: import.meta.env.VITE_API_URL, +// headers: { +// common: { +// 'Authorization': 'AUTH_TOKEN' +// }, +// post: { +// 'Content-Type': 'application/x-www-form-urlencoded' +// } +// } +}); + +export default instance; From b838a9c55b40dadaff4cc22718a792dbcc9b0e42 Mon Sep 17 00:00:00 2001 From: Huichan Bak Date: Tue, 17 Dec 2024 17:43:22 +0900 Subject: [PATCH 2/5] =?UTF-8?q?feat:=20=EA=B2=AC=EC=A0=81=EC=84=9C=20?= =?UTF-8?q?=EB=AA=A9=EB=A1=9D=20=ED=94=84=EB=A1=A0=ED=8A=B8=20=EA=B5=AC?= =?UTF-8?q?=ED=98=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/quotation/QuotationList.vue | 119 +++++++++++++----- 1 file changed, 86 insertions(+), 33 deletions(-) diff --git a/SCM/frontend/src/components/quotation/QuotationList.vue b/SCM/frontend/src/components/quotation/QuotationList.vue index a43d0375..0394bb4c 100644 --- a/SCM/frontend/src/components/quotation/QuotationList.vue +++ b/SCM/frontend/src/components/quotation/QuotationList.vue @@ -1,22 +1,42 @@