From eacddb549dbc860174542fe94ebdbddb73c005ae Mon Sep 17 00:00:00 2001 From: renpy Date: Mon, 21 Aug 2023 13:49:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4overView=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E4=B8=ADtable=E5=88=97=E8=A1=A8=E7=9A=84=E5=B8=83=E5=B1=80=20?= =?UTF-8?q?=E5=A4=84=E7=90=86history=E9=A1=B5=E9=9D=A2=E8=BF=9B=E5=85=A5?= =?UTF-8?q?=E8=AF=B7=E6=B1=82=E7=9A=84=E5=88=97=E8=A1=A8=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E6=90=BA=E5=B8=A6=E6=97=A5=E6=9C=9F=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E7=9A=84=E9=97=AE=E9=A2=98=0B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../analysisMonitor/alarmHistory/index.vue | 5 +- .../analysisMonitor/avgNuclide/index.vue | 15 +-- .../databaseMonitor/overview/index.vue | 20 +-- .../emailMonitor/instances/index.vue | 117 ------------------ .../emailMonitor/overview/index.vue | 22 ++-- .../serverMonitor/overview/index.vue | 14 +-- 6 files changed, 40 insertions(+), 153 deletions(-) diff --git a/src/views/abnormalAlarm/analysisMonitor/alarmHistory/index.vue b/src/views/abnormalAlarm/analysisMonitor/alarmHistory/index.vue index 2177b1f..060d103 100644 --- a/src/views/abnormalAlarm/analysisMonitor/alarmHistory/index.vue +++ b/src/views/abnormalAlarm/analysisMonitor/alarmHistory/index.vue @@ -240,7 +240,10 @@ export default { data() { return { stationOptions: [], - paramsArg: {}, + paramsArg: { + startDate: dateFormat(new Date(), 'yyyy-MM-dd'), + endDate: dateFormat(new Date(), 'yyyy-MM-dd') + }, columns, columns_info, dataSource: [], diff --git a/src/views/abnormalAlarm/analysisMonitor/avgNuclide/index.vue b/src/views/abnormalAlarm/analysisMonitor/avgNuclide/index.vue index b57dc0a..8c644b5 100644 --- a/src/views/abnormalAlarm/analysisMonitor/avgNuclide/index.vue +++ b/src/views/abnormalAlarm/analysisMonitor/avgNuclide/index.vue @@ -90,28 +90,23 @@ const columns = [ title: 'NUCLIDE', align: 'center', dataIndex: 'nuclide', - // width: 200, },{ title: 'VALUE', align: 'center', dataIndex: 'val', - // width: 200, - },{ - title: 'CYCLE', - align: 'center', - dataIndex: 'cycle', - // width: 200, },{ title: 'SOURCE TYPE', align: 'center', dataIndex: 'datasource', - // width: 200, },{ title: 'CACL DATE', align: 'center', dataIndex: 'caclDate', - // width: 200, - }, + },{ + title: 'CYCLE', + align: 'center', + dataIndex: 'cycle' + } ] export default { components: { diff --git a/src/views/abnormalAlarm/databaseMonitor/overview/index.vue b/src/views/abnormalAlarm/databaseMonitor/overview/index.vue index 7ae40f5..da1c710 100644 --- a/src/views/abnormalAlarm/databaseMonitor/overview/index.vue +++ b/src/views/abnormalAlarm/databaseMonitor/overview/index.vue @@ -168,55 +168,55 @@ import { getAction,postAction,httpAction,deleteAction } from '@/api/manage' const columns = [ { title: 'NAME', - align: 'left', + align: 'center', dataIndex: 'name' },{ title: 'STATUS', - align: 'left', + align: 'center', dataIndex: 'online', scopedSlots: { customRender: 'status' } },{ title: 'IP ADDRESS', - align: 'left', + align: 'center', dataIndex: 'ipAddress' },{ title: 'DB TYPE', - align: 'left', + align: 'center', dataIndex: 'type' },{ title: 'PROT', - align: 'left', + align: 'center', dataIndex: 'port' },{ title: 'SLOW QUERY', - align: 'left', + align: 'center', dataIndex: 'slowQuery' },{ title: 'ALARMS', - align: 'left', + align: 'center', dataIndex: 'alarms', scopedSlots: { customRender: 'alarms', } },{ title: 'CPU UTILIZATION', - align: 'left', + align: 'center', dataIndex: 'cpuUutilzation', scopedSlots: { customRender: 'cpu', } },{ title: 'MEMORY USAGE', - align: 'left', + align: 'center', dataIndex: 'memoryUsage', scopedSlots: { customRender: 'memory', } },{ title: 'DISK USAGE', - align: 'left', + align: 'center', dataIndex: 'diskUsage', scopedSlots: { customRender: 'disk', diff --git a/src/views/abnormalAlarm/emailMonitor/instances/index.vue b/src/views/abnormalAlarm/emailMonitor/instances/index.vue index 8df571c..b4dc70e 100644 --- a/src/views/abnormalAlarm/emailMonitor/instances/index.vue +++ b/src/views/abnormalAlarm/emailMonitor/instances/index.vue @@ -128,69 +128,6 @@