From 8dd6fa475dcdf0d19cb06adbb7bb00c345ac1079 Mon Sep 17 00:00:00 2001 From: "@changcode" Date: Fri, 23 Jul 2021 10:53:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20panel=20=E9=9D=A2=E6=9D=BF=E5=9B=BE?= =?UTF-8?q?=E8=A1=A8=E9=94=99=E4=BD=8D=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= =?UTF-8?q?=EF=BC=8Cdc=EF=BC=8Cendpoint=E5=88=97=E8=A1=A8=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/charts/chart-alert-list.vue | 9 +++++---- .../src/components/common/table/settings/dcTable.vue | 6 +++--- .../components/common/table/settings/endpointTable.vue | 6 +++--- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/nezha-fronted/src/components/charts/chart-alert-list.vue b/nezha-fronted/src/components/charts/chart-alert-list.vue index 78c00c29d..5c7607274 100644 --- a/nezha-fronted/src/components/charts/chart-alert-list.vue +++ b/nezha-fronted/src/components/charts/chart-alert-list.vue @@ -233,7 +233,7 @@ export default { prop: 'id', show: true, width: 160 - },{ + }, { label: this.$t('alert.alertName'), prop: 'alertRule', show: true @@ -251,7 +251,8 @@ export default { }, { label: this.$t('alert.summary'), prop: 'summary', - show: true + show: true, + minWidth: 200 }, { label: this.$t('overall.remark'), prop: 'description', @@ -262,7 +263,7 @@ export default { prop: 'state', show: true, width: 100 - },{ + }, { label: this.$t('alert.startAt'), prop: 'startAt', show: true, @@ -272,7 +273,7 @@ export default { prop: 'duration', show: true, width: 150 - },{ + }, { label: this.$t('alert.endAt'), prop: 'endAt', show: true, diff --git a/nezha-fronted/src/components/common/table/settings/dcTable.vue b/nezha-fronted/src/components/common/table/settings/dcTable.vue index 6387a7edc..2dcf7d78d 100644 --- a/nezha-fronted/src/components/common/table/settings/dcTable.vue +++ b/nezha-fronted/src/components/common/table/settings/dcTable.vue @@ -129,13 +129,13 @@ export default { label: this.$t('config.dc.cabinetNum'), prop: 'cabinetNum', show: true, - minWidth: 200, + minWidth: 90, sortable: 'custom' }, { label: this.$t('config.dc.assets'), prop: 'assetNum', show: true, - minWidth: 200, + minWidth: 90, sortable: 'custom' }, { label: this.$t('config.dc.alert'), @@ -161,7 +161,7 @@ export default { label: this.$t('config.dc.state'), prop: 'state', show: true, - minWidth: 200, + minWidth: 80, sortable: 'custom' } ] diff --git a/nezha-fronted/src/components/common/table/settings/endpointTable.vue b/nezha-fronted/src/components/common/table/settings/endpointTable.vue index 3895ece7c..c2da5f1db 100644 --- a/nezha-fronted/src/components/common/table/settings/endpointTable.vue +++ b/nezha-fronted/src/components/common/table/settings/endpointTable.vue @@ -153,14 +153,14 @@ export default { label: this.$t('project.project.projectName'), prop: 'project', show: true, - minWidth: 200, + minWidth: 100, sortable: 'custom' }, { label: this.$t('project.endpoint.asset'), prop: 'asset', show: true, - minWidth: 200, + minWidth: 90, sortable: 'custom' }, { @@ -183,7 +183,7 @@ export default { label: this.$t('project.endpoint.state'), prop: 'state', show: true, - minWidth: 200, + minWidth: 90, sortable: 'custom' } // {