From 3c9d80b24662832576d5f191b689193b6223edda Mon Sep 17 00:00:00 2001 From: wxc <191104855@qq.com> Date: Thu, 21 Mar 2024 18:13:42 +0800 Subject: [PATCH] =?UTF-8?q?BUG=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mail.ts | 8 + src/components/DeptTreeSelect.vue | 28 + src/components/FileList.vue | 32 +- src/layout/components/Header.vue | 6 +- src/style/public.scss | 2 +- src/utils/util.ts | 35 + src/views/Login.vue | 8 + src/views/datascreen/assets/css/index.css | 32 +- src/views/datascreen/countyData.vue | 2398 ++++++++------- src/views/datascreen/index.vue | 2646 ++++++++++------- src/views/home/components/Daily.vue | 39 +- src/views/home/components/DataStatistics.vue | 29 +- src/views/home/components/MailTable.vue | 59 +- src/views/home/components/Overall.vue | 2 +- src/views/permission/admin/index.vue | 32 +- src/views/work/Dissatisfied.vue | 20 +- src/views/work/Done.vue | 19 +- src/views/work/Fav.vue | 7 - src/views/work/Query.vue | 61 +- src/views/work/Todo.vue | 20 +- src/views/work/components/AppealProgress.vue | 5 - .../work/components/ApplicationCompleted.vue | 37 +- src/views/work/components/ApplyExtension.vue | 10 +- .../work/components/ConfirmedCompletion.vue | 2 +- src/views/work/components/HandleAppeal.vue | 3 - src/views/work/components/HandleOverrule.vue | 2 - .../work/components/InitiateCountersign.vue | 52 +- src/views/work/components/LaunchAppeal.vue | 2 - src/views/work/components/MailDialog.vue | 26 +- src/views/work/components/OverruleReason.vue | 5 - .../components/templates/CoHandlingDetail.vue | 20 +- .../work/components/templates/Comments.vue | 4 +- .../components/templates/DeptSelectForm.vue | 26 +- .../templates/MailApprovalDetail.vue | 73 +- .../components/templates/MainContactInfo.vue | 87 +- .../components/templates/ThreeHandling.vue | 25 +- .../templates/ThreeHandlingDetail.vue | 203 +- 37 files changed, 3467 insertions(+), 2598 deletions(-) create mode 100644 src/components/DeptTreeSelect.vue diff --git a/src/api/mail.ts b/src/api/mail.ts index c7d648d..1ada819 100644 --- a/src/api/mail.ts +++ b/src/api/mail.ts @@ -24,6 +24,14 @@ export function addCoHandling(body) { return request.post({ url: '/mail/coHandling/add', body}) } +export function updateMailHandleDetail(body) { + return request.put({ url: '/mail/handleDetail', body}) +} + +export function updateContactInfo(body) { + return request.put({ url: '/mail/contactInfo', body}) +} + export function deleteMail(body) { return request.post({ url: '/mail/delete', body}) } \ No newline at end of file diff --git a/src/components/DeptTreeSelect.vue b/src/components/DeptTreeSelect.vue new file mode 100644 index 0000000..c04b41a --- /dev/null +++ b/src/components/DeptTreeSelect.vue @@ -0,0 +1,28 @@ + + + \ No newline at end of file diff --git a/src/components/FileList.vue b/src/components/FileList.vue index 33160e8..9ff7b8d 100644 --- a/src/components/FileList.vue +++ b/src/components/FileList.vue @@ -276,9 +276,22 @@ function mousemove(event) { if (!moveFlag) { return; } - translateX.value += event.clientX - initialX; - console.log("x", translateX.value); - translateY.value += event.clientY - initialY; + if (rotate.value % 360 === 0) { + translateX.value += event.clientX - initialX; + translateY.value += event.clientY - initialY; + } + if (rotate.value === 90) { + translateY.value -= event.clientX - initialX; + translateX.value += event.clientY - initialY; + } + if (rotate.value === 180) { + translateX.value -= event.clientX - initialX; + translateY.value -= event.clientY - initialY; + } + if (rotate.value === 270) { + translateY.value += event.clientX - initialX; + translateX.value -= event.clientY - initialY; + } initialX = event.clientX; initialY = event.clientY; } @@ -288,12 +301,19 @@ function mouseup(event) { } function rotateLeft() { - rotate.value += 90; - console.log(rotate.value); + if (rotate.value === 360) { + rotate.value = 0; + } else { + rotate.value += 90; + } } function rotateRight() { - rotate.value -= 90; + if (rotate.value === 0) { + rotate.value = 270; + } else { + rotate.value -= 90; + } } function getIconName(filetype) { diff --git a/src/layout/components/Header.vue b/src/layout/components/Header.vue index 04c8690..28db053 100644 --- a/src/layout/components/Header.vue +++ b/src/layout/components/Header.vue @@ -15,7 +15,7 @@