fix: panel 面板图表错位样式调整,dc,endpoint列表样式调整

This commit is contained in:
@changcode
2021-07-23 10:53:54 +08:00
parent ac236551ce
commit 8dd6fa475d
3 changed files with 11 additions and 10 deletions

View File

@@ -233,7 +233,7 @@ export default {
prop: 'id', prop: 'id',
show: true, show: true,
width: 160 width: 160
},{ }, {
label: this.$t('alert.alertName'), label: this.$t('alert.alertName'),
prop: 'alertRule', prop: 'alertRule',
show: true show: true
@@ -251,7 +251,8 @@ export default {
}, { }, {
label: this.$t('alert.summary'), label: this.$t('alert.summary'),
prop: 'summary', prop: 'summary',
show: true show: true,
minWidth: 200
}, { }, {
label: this.$t('overall.remark'), label: this.$t('overall.remark'),
prop: 'description', prop: 'description',
@@ -262,7 +263,7 @@ export default {
prop: 'state', prop: 'state',
show: true, show: true,
width: 100 width: 100
},{ }, {
label: this.$t('alert.startAt'), label: this.$t('alert.startAt'),
prop: 'startAt', prop: 'startAt',
show: true, show: true,
@@ -272,7 +273,7 @@ export default {
prop: 'duration', prop: 'duration',
show: true, show: true,
width: 150 width: 150
},{ }, {
label: this.$t('alert.endAt'), label: this.$t('alert.endAt'),
prop: 'endAt', prop: 'endAt',
show: true, show: true,

View File

@@ -129,13 +129,13 @@ export default {
label: this.$t('config.dc.cabinetNum'), label: this.$t('config.dc.cabinetNum'),
prop: 'cabinetNum', prop: 'cabinetNum',
show: true, show: true,
minWidth: 200, minWidth: 90,
sortable: 'custom' sortable: 'custom'
}, { }, {
label: this.$t('config.dc.assets'), label: this.$t('config.dc.assets'),
prop: 'assetNum', prop: 'assetNum',
show: true, show: true,
minWidth: 200, minWidth: 90,
sortable: 'custom' sortable: 'custom'
}, { }, {
label: this.$t('config.dc.alert'), label: this.$t('config.dc.alert'),
@@ -161,7 +161,7 @@ export default {
label: this.$t('config.dc.state'), label: this.$t('config.dc.state'),
prop: 'state', prop: 'state',
show: true, show: true,
minWidth: 200, minWidth: 80,
sortable: 'custom' sortable: 'custom'
} }
] ]

View File

@@ -153,14 +153,14 @@ export default {
label: this.$t('project.project.projectName'), label: this.$t('project.project.projectName'),
prop: 'project', prop: 'project',
show: true, show: true,
minWidth: 200, minWidth: 100,
sortable: 'custom' sortable: 'custom'
}, },
{ {
label: this.$t('project.endpoint.asset'), label: this.$t('project.endpoint.asset'),
prop: 'asset', prop: 'asset',
show: true, show: true,
minWidth: 200, minWidth: 90,
sortable: 'custom' sortable: 'custom'
}, },
{ {
@@ -183,7 +183,7 @@ export default {
label: this.$t('project.endpoint.state'), label: this.$t('project.endpoint.state'),
prop: 'state', prop: 'state',
show: true, show: true,
minWidth: 200, minWidth: 90,
sortable: 'custom' sortable: 'custom'
} }
// { // {