处理邮箱日志页面中,折线图无数据的问题

This commit is contained in:
renpy 2023-08-17 09:47:32 +08:00
parent 7b0e2cecec
commit 51165b42a3

View File

@ -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;