From 6400d59288f4e3443c0066c6f32d7579970c6bfc Mon Sep 17 00:00:00 2001 From: wxc <191104855@qq.com> Date: Thu, 7 Nov 2024 17:25:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20BUG=E4=BF=AE=E5=A4=8D=E3=80=81=E5=A4=A7?= =?UTF-8?q?=E5=B1=8F=E6=9F=B1=E7=8A=B6=E5=9B=BE=E7=BB=84=E4=BB=B6=E5=AE=8C?= =?UTF-8?q?=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + src/assets/icons/rotate-left.svg | 1 + src/assets/icons/rotate-right.svg | 1 + src/components/datav/chart-bar.vue | 15 +- src/components/file/list.vue | 67 +++- src/components/negative/add.vue | 54 +++- .../negative/confirmation-completion.vue | 68 ++++ src/components/negative/countdown.vue | 8 +- src/components/negative/description.vue | 15 +- src/components/negative/dialog.vue | 1 + src/enums/dictEnums.ts | 2 + src/utils/util.ts | 2 +- src/views/Home.vue | 2 +- .../sensitivePerception/DepartNegative.vue | 19 +- src/views/system/User.vue | 1 + src/views/work/Query.vue | 301 +++++++++++------- vite.config.ts | 8 +- 17 files changed, 425 insertions(+), 141 deletions(-) create mode 100644 src/assets/icons/rotate-left.svg create mode 100644 src/assets/icons/rotate-right.svg create mode 100644 src/components/negative/confirmation-completion.vue diff --git a/.gitignore b/.gitignore index 321ac6f..8ae1f8e 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ /node_modules/ /v2/ *.zip +.idea package-lock.json pnpm-lock.yaml diff --git a/src/assets/icons/rotate-left.svg b/src/assets/icons/rotate-left.svg new file mode 100644 index 0000000..cc30306 --- /dev/null +++ b/src/assets/icons/rotate-left.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/rotate-right.svg b/src/assets/icons/rotate-right.svg new file mode 100644 index 0000000..3906d45 --- /dev/null +++ b/src/assets/icons/rotate-right.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/components/datav/chart-bar.vue b/src/components/datav/chart-bar.vue index 3a3434c..ebcfc66 100644 --- a/src/components/datav/chart-bar.vue +++ b/src/components/datav/chart-bar.vue @@ -5,16 +5,16 @@
- + {{ item.label }} -
+
- {{ item.value }} + {{ item.value }} @@ -154,7 +154,10 @@ function getColor(val) { } } .bar-item_content { - width: calc(100% - var(--label-width) - 80px); + width: calc(100% - var(--label-width) - 16px - 20px); + &[long=false] { + width: calc(100% - var(--label-width) - 36px - 58px); + } .bar-item_content-bar { width: 0; height: 9px; diff --git a/src/components/file/list.vue b/src/components/file/list.vue index 1d8f4e9..b5fd65d 100644 --- a/src/components/file/list.vue +++ b/src/components/file/list.vue @@ -64,11 +64,11 @@
剩余处理时间
+
延期{{ extensionDays }}天
@@ -49,7 +50,8 @@
- 已超时 +
已超时
+
延期{{ extensionDays }}天