-
Store capacity
-
-
total:{{ emailSpace.total||0 }}
-
residue:{{ emailSpace.residue||0 }}
+
+
+
+
+
+
+
+
-
+
+
Mailbox connection status
+
{{ emailStatus?"NORMAL":"ABNORMAL" }}
+
+
-
-
+
+
+
+
+
+
+
+
+
Total mail volume for today
+
{{emailTotal.today||0}}
+
+
+
+
+
+
+
+
+
+
+
+
Total mail volume of yesterday
+
{{emailTotal.yesterday||0}}
+
+
+
+
+
+
+
+
+
+
+
+
Total mail volume of the past week
+
{{emailTotal.week||0}}
+
+
+
+
+
+
+
Store capacity
+
+
total:{{ emailSpace.total||0 }}
+ residue:{{ emailSpace.residue||0 }}
+
+
+
+
+
+
-
-
-
@@ -200,6 +202,7 @@ export default {
},
data() {
return {
+ spinning:false,
emailStatus: null,
emailTotal: {},
emailSpace: {},
@@ -285,6 +288,7 @@ export default {
})
},
onEmailChange(val) {
+ this.spinning = true
this.guageStore.clear()
this.emailId = val
},
@@ -301,6 +305,7 @@ export default {
},
getEmailStatus() {
getAction("/sysEmailLog/status",{emailId:this.currId}).then(res => {
+ this.spinning = false
if (res.success) {
this.emailStatus = res.result
} else {
@@ -309,7 +314,8 @@ export default {
})
},
getEmailTotal() {
- getAction("/sysEmailLog/total",{emailId:this.currId}).then(res => {
+ getAction("/sysEmailLog/total", { emailId: this.currId }).then(res => {
+ this.spinning = false
if (res.success) {
this.emailTotal = res.result
} else {
@@ -318,7 +324,8 @@ export default {
})
},
getEmailSpace() {
- getAction("/sysEmailLog/space",{emailId:this.currId}).then(res => {
+ getAction("/sysEmailLog/space", { emailId: this.currId }).then(res => {
+ this.spinning = false
if (res.success) {
let s = res.result.usage
s = s.substring(0, s.length - 1)
@@ -691,7 +698,7 @@ export default {
},
yAxis: {
type: 'value',
- name: "number",
+ name: "count",
nameLocation: "middle",
nameTextStyle: {
color: "#5b9cba",
diff --git a/src/views/abnormalAlarm/emailMonitor/overview/index.vue b/src/views/abnormalAlarm/emailMonitor/overview/index.vue
index e5ded80..f3add93 100644
--- a/src/views/abnormalAlarm/emailMonitor/overview/index.vue
+++ b/src/views/abnormalAlarm/emailMonitor/overview/index.vue
@@ -49,6 +49,12 @@
{{ record.online?"Connecting":"Disconnect" }}
@@ -199,9 +205,12 @@ const columns = [
customRender: 'status'
}
},{
- title: 'ENABLE OR NOT',
+ title: 'ENABLE',
align: 'left',
- dataIndex: 'enabled'
+ dataIndex: 'enabled',
+ scopedSlots: {
+ customRender: 'enabled'
+ }
},{
title: 'E-MAIL',
align: 'left',
diff --git a/src/views/abnormalAlarm/serverMonitor/instances/monitor.vue b/src/views/abnormalAlarm/serverMonitor/instances/monitor.vue
index 4e6e641..da66926 100644
--- a/src/views/abnormalAlarm/serverMonitor/instances/monitor.vue
+++ b/src/views/abnormalAlarm/serverMonitor/instances/monitor.vue
@@ -352,7 +352,6 @@ export default {
this.currLabel = val.label
},
onTimeChange(val) {
- console.log(val);
this.getBeforeHours(val)
},
onRangeDateChange(date, dateString) {