From 1cf633bd005f80b98b5063b35351a562ef6a3bec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=ED=95=9C=EC=A3=BC?= Date: Fri, 2 Aug 2024 11:11:54 +0900 Subject: [PATCH] =?UTF-8?q?[K5P-78]=20[fix]=20403,=20=ED=86=B5=EC=8B=A0?= =?UTF-8?q?=EC=98=A4=EB=A5=98=20=ED=99=94=EB=A9=B4=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/btn/WhiteIconBtn.vue | 30 +++++++++++ .../static/InvoiceDoughnutChart.vue | 2 +- src/components/static/ProgressBox.vue | 28 ++++++---- src/components/static/ThisMonthStatic.vue | 32 +++++++---- src/main.js | 2 +- src/router/index.js | 27 +++++++--- src/stores/error/errorHandle.js | 25 +++++++++ src/stores/{ => error}/loading.js | 0 src/utils/axios.js | 16 ++++-- src/utils/contract.js | 4 +- src/utils/invoice.js | 2 +- src/views/MainView.vue | 30 +++++++++-- src/views/auth/LoginView.vue | 3 +- src/views/contract/ContractDetailView.vue | 10 ++-- src/views/contract/ContractEditView.vue | 6 +-- src/views/error/AccessDeniedView.vue | 47 ++++++++++++++++ src/views/error/NoDataView.vue | 35 ------------ src/views/error/NotFoundView.vue | 47 ++++++++-------- src/views/error/ServerErrorView.vue | 53 +++++++++++++++++++ src/views/home/HomeView.vue | 3 ++ src/views/invoice/InvoiceDetailView.vue | 3 +- src/views/item/ItemDetailView.vue | 14 +++-- src/views/member/MemberDetailView.vue | 14 +++-- 23 files changed, 317 insertions(+), 116 deletions(-) create mode 100644 src/components/common/btn/WhiteIconBtn.vue create mode 100644 src/stores/error/errorHandle.js rename src/stores/{ => error}/loading.js (100%) create mode 100644 src/views/error/AccessDeniedView.vue delete mode 100644 src/views/error/NoDataView.vue create mode 100644 src/views/error/ServerErrorView.vue diff --git a/src/components/common/btn/WhiteIconBtn.vue b/src/components/common/btn/WhiteIconBtn.vue new file mode 100644 index 0000000..fb21484 --- /dev/null +++ b/src/components/common/btn/WhiteIconBtn.vue @@ -0,0 +1,30 @@ + + + + + \ No newline at end of file diff --git a/src/components/static/InvoiceDoughnutChart.vue b/src/components/static/InvoiceDoughnutChart.vue index 5fc4d4a..25a0946 100644 --- a/src/components/static/InvoiceDoughnutChart.vue +++ b/src/components/static/InvoiceDoughnutChart.vue @@ -64,7 +64,7 @@ export default { } }, // 생성시 통계 데이터 불러오기 - async created() { + async mounted() { const result = await getAllStatic(); if (result.code !== 200) { diff --git a/src/components/static/ProgressBox.vue b/src/components/static/ProgressBox.vue index b46fd92..1ec4583 100644 --- a/src/components/static/ProgressBox.vue +++ b/src/components/static/ProgressBox.vue @@ -1,7 +1,7 @@