From 7bab8e176a356322b28d8c81f47d555f46d44903 Mon Sep 17 00:00:00 2001 From: xy <271556543@qq.com> Date: Tue, 18 Jun 2024 17:36:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=BA=E5=B7=AE=E9=80=89=E6=8B=A9=E9=A2=84?= =?UTF-8?q?=E7=AE=97=E3=80=81=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/components/Progress/index.vue | 171 ++++++++ src/icons/svg/book.svg | 1 + src/icons/svg/calendar-check.svg | 1 + src/icons/svg/notice.svg | 1 + src/icons/svg/zhangdan.svg | 1 + src/icons/svg/zhifu.svg | 1 + src/views/away/addAway.vue | 411 ++++++++++++++++-- src/views/dashboard/components/BarChart.vue | 2 +- src/views/dashboard/components/PieChart.vue | 2 +- src/views/system/worker.vue | 4 + .../system/workerComponents/bookBorrow.vue | 13 +- src/views/system/workerComponents/toDo.vue | 15 +- src/views/system/workerComponents/total.vue | 109 +++-- 14 files changed, 659 insertions(+), 75 deletions(-) create mode 100644 src/components/Progress/index.vue create mode 100644 src/icons/svg/book.svg create mode 100644 src/icons/svg/calendar-check.svg create mode 100644 src/icons/svg/notice.svg create mode 100644 src/icons/svg/zhangdan.svg create mode 100644 src/icons/svg/zhifu.svg diff --git a/package.json b/package.json index 3e47794..a37fcba 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "dependencies": { "axios": "0.18.1", "core-js": "3.6.5", - "echarts": "^4.9.0", + "echarts": "^5.0.0", "element-resize-detector": "^1.2.4", "element-ui": "2.13.2", "html2canvas": "^1.4.1", diff --git a/src/components/Progress/index.vue b/src/components/Progress/index.vue new file mode 100644 index 0000000..71c8d3f --- /dev/null +++ b/src/components/Progress/index.vue @@ -0,0 +1,171 @@ + + + + + + + diff --git a/src/icons/svg/book.svg b/src/icons/svg/book.svg new file mode 100644 index 0000000..0107144 --- /dev/null +++ b/src/icons/svg/book.svg @@ -0,0 +1 @@ + diff --git a/src/icons/svg/calendar-check.svg b/src/icons/svg/calendar-check.svg new file mode 100644 index 0000000..a5c78db --- /dev/null +++ b/src/icons/svg/calendar-check.svg @@ -0,0 +1 @@ + diff --git a/src/icons/svg/notice.svg b/src/icons/svg/notice.svg new file mode 100644 index 0000000..b7b2780 --- /dev/null +++ b/src/icons/svg/notice.svg @@ -0,0 +1 @@ + diff --git a/src/icons/svg/zhangdan.svg b/src/icons/svg/zhangdan.svg new file mode 100644 index 0000000..a84346a --- /dev/null +++ b/src/icons/svg/zhangdan.svg @@ -0,0 +1 @@ + diff --git a/src/icons/svg/zhifu.svg b/src/icons/svg/zhifu.svg new file mode 100644 index 0000000..98f39e1 --- /dev/null +++ b/src/icons/svg/zhifu.svg @@ -0,0 +1 @@ + diff --git a/src/views/away/addAway.vue b/src/views/away/addAway.vue index 4a85270..e9e69c3 100644 --- a/src/views/away/addAway.vue +++ b/src/views/away/addAway.vue @@ -1,55 +1,293 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - 重置 - 提交 - - - + + + + + + + + + + + { + planSelect.year = e + getBudgets() + }" + > + + + + + { + planSelect.type = e[e.length - 1] || ''; + getBudgets(); + }" + /> + + + + + + + + + + + + + + { + planSelect.page = e; + getBudgets(); + } + " + /> + + + nextStep()" + >下一步 + + + + + + + + + + 查看已选预算计划({{ planSelections.length }}) + + + + + + + + + + + + + + + + + + + + + + + + + + 上一步 + 重置 + 提交 + + + + + + +