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

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.getEmailTotal()
this.getEmailSpace() this.getEmailSpace()
this.getEmailToday() this.getEmailToday()
this.$nextTick(() => { this.getEmailStatistics()
setTimeout(() => {
// this.drawTimeline ()
},0)
})
}, },
methods: { methods: {
moment, moment,
@ -315,11 +311,8 @@ export default {
}) })
}, },
getEmailToday() { getEmailToday() {
// getAction("/sysEmailLog/space",{emailId:this.currId}).then(res => { getAction("/sysEmailLog/today",{emailId:this.currId}).then(res => {
getAction("/sysEmailLog/today",{emailId:"e2"}).then(res => {
if (res.success) { if (res.success) {
// this.emailToday = res.result
let arr =[]
let arr_h1=[] let arr_h1=[]
let arr_h2=[] let arr_h2=[]
let arr_h3=[] let arr_h3=[]
@ -434,9 +427,6 @@ export default {
emailId: this.currId, emailId: this.currId,
startDate: this.startDate, startDate: this.startDate,
endDate: this.endDate endDate: this.endDate
// emailId: "1668823404678311937",
// startDate: "2022-12-30",
// endDate:"2023-01-02"
} }
getAction("/sysEmailLog/analysis",params).then(res => { getAction("/sysEmailLog/analysis",params).then(res => {
if (res.success) { if (res.success) {
@ -857,7 +847,6 @@ export default {
position: absolute; position: absolute;
left: 50%; left: 50%;
top: 55px; top: 55px;
// transform: translateX(-50%);
background: rgba(15, 57, 41,0.8); background: rgba(15, 57, 41,0.8);
transform: translateX(-50%) scaleX(1.04); transform: translateX(-50%) scaleX(1.04);
// background: url(~@/assets/images/abnormalAlarm/line.png) repeat; // background: url(~@/assets/images/abnormalAlarm/line.png) repeat;