diff --git a/src/views/abnormalAlarm/serverMonitor/instances/serviceProcess.vue b/src/views/abnormalAlarm/serverMonitor/instances/serviceProcess.vue index 00d2669..62cb2da 100644 --- a/src/views/abnormalAlarm/serverMonitor/instances/serviceProcess.vue +++ b/src/views/abnormalAlarm/serverMonitor/instances/serviceProcess.vue @@ -40,6 +40,10 @@
+ + + Refresh + item.sourceId === serverId).hostId || res.result[0].hostId + this.queryParams.server = serverId || res.result[0].hostId this.getRankProcesses() } else { this.$message.warning('This operation fails. Contact your system administrator') @@ -377,6 +388,12 @@ export default { this.getRankProcesses() }, onTimeChange(val) { + if (val !== 0) { + this.userDefined = false + } else { + this.userDefined = true + } + this.queryParams.timer = val this.getBeforeHours(val) this.getRankProcesses() }, @@ -720,4 +737,12 @@ export default { } } } +.view-btn { + background-color: #1397a3; + font-family: ArialMT; + color: #ffffff; + border: none; + margin-left: 20px; + box-shadow: 0px 1px 1px 0px #000000; +} \ No newline at end of file