From 51165b42a36e0d450d55a683bd7629f8e7e7a9a6 Mon Sep 17 00:00:00 2001 From: renpy Date: Thu, 17 Aug 2023 09:47:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E9=82=AE=E7=AE=B1=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E9=A1=B5=E9=9D=A2=E4=B8=AD=EF=BC=8C=E6=8A=98=E7=BA=BF?= =?UTF-8?q?=E5=9B=BE=E6=97=A0=E6=95=B0=E6=8D=AE=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../emailMonitor/instances/index.vue | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/src/views/abnormalAlarm/emailMonitor/instances/index.vue b/src/views/abnormalAlarm/emailMonitor/instances/index.vue index 5584120..e35a9d1 100644 --- a/src/views/abnormalAlarm/emailMonitor/instances/index.vue +++ b/src/views/abnormalAlarm/emailMonitor/instances/index.vue @@ -245,11 +245,7 @@ export default { this.getEmailTotal() this.getEmailSpace() this.getEmailToday() - this.$nextTick(() => { - setTimeout(() => { - // this.drawTimeline () - },0) - }) + this.getEmailStatistics() }, methods: { moment, @@ -315,11 +311,8 @@ export default { }) }, getEmailToday() { - // getAction("/sysEmailLog/space",{emailId:this.currId}).then(res => { - getAction("/sysEmailLog/today",{emailId:"e2"}).then(res => { + getAction("/sysEmailLog/today",{emailId:this.currId}).then(res => { if (res.success) { - // this.emailToday = res.result - let arr =[] let arr_h1=[] let arr_h2=[] let arr_h3=[] @@ -434,9 +427,6 @@ export default { emailId: this.currId, startDate: this.startDate, endDate: this.endDate - // emailId: "1668823404678311937", - // startDate: "2022-12-30", - // endDate:"2023-01-02" } getAction("/sysEmailLog/analysis",params).then(res => { if (res.success) { @@ -857,7 +847,6 @@ export default { position: absolute; left: 50%; top: 55px; - // transform: translateX(-50%); background: rgba(15, 57, 41,0.8); transform: translateX(-50%) scaleX(1.04); // background: url(~@/assets/images/abnormalAlarm/line.png) repeat;