diff --git a/src/views/abnormalAlarm/serverMonitor/instances/details.vue b/src/views/abnormalAlarm/serverMonitor/instances/details.vue index c9dd8fc..4847008 100644 --- a/src/views/abnormalAlarm/serverMonitor/instances/details.vue +++ b/src/views/abnormalAlarm/serverMonitor/instances/details.vue @@ -1264,6 +1264,7 @@ export default { height: 52px; letter-spacing: 1px; color: #ade6ee; + justify-content: flex-start; } .ant-list-item:nth-child(odd){ background-color: rgba(13, 109, 118, 0.2); @@ -1275,12 +1276,18 @@ export default { margin-left: 12px; } &-info{ + width: 188px; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + margin-left: 15px; display: inline-block; color: #ffffff; } &-date{ display: inline-block; color: #90b4c5; + margin-left: 35px; } &-actions{ diff --git a/src/views/abnormalAlarm/serverMonitor/instances/lineChart.vue b/src/views/abnormalAlarm/serverMonitor/instances/lineChart.vue index afed8bd..d4606ec 100644 --- a/src/views/abnormalAlarm/serverMonitor/instances/lineChart.vue +++ b/src/views/abnormalAlarm/serverMonitor/instances/lineChart.vue @@ -19,7 +19,8 @@ export default { }, data() { return { - option: {} + option: {}, + xData: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] } }, mounted () { @@ -82,10 +83,19 @@ export default { } }, axisLabel: { - color: "rgba(173, 230, 238, 1)" + color: "rgba(173, 230, 238, 1)", + formatter: (value,index)=>{ + if(index === 0) { + return ' ' + value; + } + if(index === this.xData.length -1) { + return value + ' '; + } + return value + } }, boundaryGap: false, - data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] + data: this.xData }, yAxis: { type: 'value', diff --git a/src/views/abnormalAlarm/serverMonitor/instances/monitor.vue b/src/views/abnormalAlarm/serverMonitor/instances/monitor.vue index c6861c7..ed2c4cb 100644 --- a/src/views/abnormalAlarm/serverMonitor/instances/monitor.vue +++ b/src/views/abnormalAlarm/serverMonitor/instances/monitor.vue @@ -36,7 +36,7 @@
- Create Alert RULES + Create Alert Rules
@@ -121,7 +121,7 @@
- +