From 42b92c1caefc0ee6853f6164a4a1a1a9cdfb2684 Mon Sep 17 00:00:00 2001 From: wxc <191104855@qq.com> Date: Wed, 30 Oct 2024 19:30:04 +0800 Subject: [PATCH 1/3] =?UTF-8?q?fit:=20=E5=AF=BC=E5=85=A5=E8=AD=A6=E5=91=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/feedback.ts | 16 ++++++++--- src/views/system/Police.vue | 53 ++++++++++++++++++++++++++++++++++++- 2 files changed, 65 insertions(+), 4 deletions(-) diff --git a/src/utils/feedback.ts b/src/utils/feedback.ts index 3452224..ea16a3d 100644 --- a/src/utils/feedback.ts +++ b/src/utils/feedback.ts @@ -19,15 +19,25 @@ export class Feedback { } // 错误消息 msgError(msg: string) { - ElMessage.error(msg) + ElMessage.error({ + message: msg, + type: 'error', + duration: 5000 + }) } // 成功消息 msgSuccess(msg: string) { - ElMessage.success(msg) + ElMessage.success({ + message: msg, + type: 'success' + }) } // 警告消息 msgWarning(msg: string) { - ElMessage.warning(msg) + ElMessage.warning({ + message: msg, + type: 'warning' + }) } // 弹出提示 alert(msg: string) { diff --git a/src/views/system/Police.vue b/src/views/system/Police.vue index 3624f7e..7cbc047 100644 --- a/src/views/system/Police.vue +++ b/src/views/system/Police.vue @@ -78,7 +78,7 @@
-
+
新增警员 + + + + + 导入警员 + + + 数字督察警员权限导入模板
@@ -445,6 +476,8 @@ \ No newline at end of file From 61d3b31543e51cf575666c988d2639fa7a4366ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E7=88=B1=E5=AD=A6=E4=B9=A0=E7=9A=84=E7=9F=B3?= =?UTF-8?q?=E5=90=8C=E5=AD=A6?= <2936013465@qq.com> Date: Thu, 31 Oct 2024 10:19:19 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E4=BF=A1=E8=AE=BF=E5=A4=A7=E5=B1=8F1.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/datav.ts | 8 + src/views/datav/MailVisits.vue | 984 +++++++++++++++++++-------------- 2 files changed, 582 insertions(+), 410 deletions(-) diff --git a/src/api/datav.ts b/src/api/datav.ts index 768c59d..ede1d8a 100644 --- a/src/api/datav.ts +++ b/src/api/datav.ts @@ -6,6 +6,14 @@ export function getCaseVerifData(times) { }); } +export function getMailVisitsData(times) { + return request.get({ + url: `/datav/mailVisits?beginTime=${times[0]}&endTime=${times[1]}` + }); +} + + + export function getRightsComfortData(times) { return request.get({ url: `/datav/rightsComfort?beginTime=${times[0]}&endTime=${times[1]}` diff --git a/src/views/datav/MailVisits.vue b/src/views/datav/MailVisits.vue index 699fc79..f56e544 100644 --- a/src/views/datav/MailVisits.vue +++ b/src/views/datav/MailVisits.vue @@ -1,448 +1,612 @@ + + \ No newline at end of file