From a17d9d07a297cd730014858bbadb485902067b67 Mon Sep 17 00:00:00 2001 From: lu tailin Date: Wed, 11 Sep 2024 22:47:25 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20commit=E3=80=81issue=E5=9B=BE=E8=A1=A8?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/CustomChart.vue | 72 ++++++++++++++++++++++ frontend/src/components/LineChart.vue | 58 ----------------- frontend/src/lang/en.js | 5 +- frontend/src/lang/zh.js | 5 +- frontend/src/pages/user/workspace/Home.vue | 71 +++++++++++++-------- 5 files changed, 127 insertions(+), 84 deletions(-) create mode 100644 frontend/src/components/CustomChart.vue delete mode 100644 frontend/src/components/LineChart.vue diff --git a/frontend/src/components/CustomChart.vue b/frontend/src/components/CustomChart.vue new file mode 100644 index 0000000..34b0539 --- /dev/null +++ b/frontend/src/components/CustomChart.vue @@ -0,0 +1,72 @@ + + + + + diff --git a/frontend/src/components/LineChart.vue b/frontend/src/components/LineChart.vue deleted file mode 100644 index 4830577..0000000 --- a/frontend/src/components/LineChart.vue +++ /dev/null @@ -1,58 +0,0 @@ - - - - - diff --git a/frontend/src/lang/en.js b/frontend/src/lang/en.js index d359bbe..4396ae1 100644 --- a/frontend/src/lang/en.js +++ b/frontend/src/lang/en.js @@ -217,5 +217,8 @@ export default { 'Upload attachment': 'Upload attachment', "Didn't get the email? Check junk folder or": "Didn't get the email? Check junk folder or ", 'send again': 'send again', - 'No content yet': 'No content yet' + 'No content yet': 'No content yet', + 'open': 'open', + 'resolved': 'resolved', + 'unresolved': 'unresolved' } diff --git a/frontend/src/lang/zh.js b/frontend/src/lang/zh.js index 1acde64..0b99a97 100644 --- a/frontend/src/lang/zh.js +++ b/frontend/src/lang/zh.js @@ -225,5 +225,8 @@ export default { CLOSED: '已关闭', REJECTED: '已拒绝', APPLYING: '申请中', - ACCEPTING: '接受中' + ACCEPTING: '接受中', + 'open': '未解决', + 'resolved': '已解决', + 'unresolved': '未解决总计' } diff --git a/frontend/src/pages/user/workspace/Home.vue b/frontend/src/pages/user/workspace/Home.vue index be36cd7..70e2acf 100644 --- a/frontend/src/pages/user/workspace/Home.vue +++ b/frontend/src/pages/user/workspace/Home.vue @@ -445,7 +445,7 @@ {{ $t('TO BE IMPLEMENTED.') }} -->
- +
@@ -493,7 +493,7 @@
- +