fix: 修复列表错位

This commit is contained in:
@changcode
2021-08-02 15:41:43 +08:00
parent 1ba5f0ab23
commit 17c28cd4ec
7 changed files with 30 additions and 17 deletions

View File

@@ -147,12 +147,14 @@ export default {
}, { }, {
label: this.$t('alert.config.receiver'), label: this.$t('alert.config.receiver'),
prop: 'receivers', prop: 'receivers',
show: false show: false,
minWidth: 100
}, },
{ {
label: this.$t('alert.notify'), label: this.$t('alert.notify'),
prop: 'method', prop: 'method',
show: false show: false,
minWidth: 100
} }
] ]
} }

View File

@@ -157,7 +157,7 @@ export default {
label: this.$t('alert.silence.upTime'), label: this.$t('alert.silence.upTime'),
prop: 'utime', prop: 'utime',
show: false, show: false,
width: 120 width: 300
}, { }, {
label: this.$t('alert.silence.state'), label: this.$t('alert.silence.state'),
prop: 'state', prop: 'state',

View File

@@ -115,7 +115,8 @@ export default {
}, { }, {
label: this.$t('config.agent.checkTime'), label: this.$t('config.agent.checkTime'),
prop: 'checkTime', prop: 'checkTime',
show: false show: false,
minWidth: 150
} }
] ]
} }

View File

@@ -108,7 +108,7 @@ export default {
label: this.$t('config.mib.credential.type'), label: this.$t('config.mib.credential.type'),
prop: 'type', prop: 'type',
show: true, show: true,
minWidth: 200, minWidth: 160,
sortable: 'custom' sortable: 'custom'
}, { }, {
label: this.$t('config.mib.credential.port'), label: this.$t('config.mib.credential.port'),
@@ -117,7 +117,7 @@ export default {
}, { }, {
label: this.$t('overall.remark'), label: this.$t('overall.remark'),
prop: 'remark', prop: 'remark',
minWidth: 200, minWidth: 160,
show: true show: true
}] }]
} }

View File

@@ -129,7 +129,7 @@ export default {
label: this.$t('config.dc.cabinetNum'), label: this.$t('config.dc.cabinetNum'),
prop: 'cabinetNum', prop: 'cabinetNum',
show: true, show: true,
minWidth: 90, minWidth: 100,
sortable: 'custom' sortable: 'custom'
}, { }, {
label: this.$t('config.dc.assets'), label: this.$t('config.dc.assets'),
@@ -144,24 +144,28 @@ export default {
}, { }, {
label: this.$t('asset.tel'), label: this.$t('asset.tel'),
prop: 'tel', prop: 'tel',
show: false show: false,
minWidth: 100
}, { }, {
label: this.$t('asset.principal'), label: this.$t('asset.principal'),
prop: 'principal', prop: 'principal',
show: false show: false,
minWidth: 120
}, { }, {
label: this.$t('config.dc.longitude'), label: this.$t('config.dc.longitude'),
prop: 'longitude', prop: 'longitude',
show: false show: false,
minWidth: 100
}, { }, {
label: this.$t('config.dc.latitude'), label: this.$t('config.dc.latitude'),
prop: 'latitude', prop: 'latitude',
show: false show: false,
minWidth: 100
}, { }, {
label: this.$t('config.dc.state'), label: this.$t('config.dc.state'),
prop: 'state', prop: 'state',
show: true, show: true,
minWidth: 80, minWidth: 100,
sortable: 'custom' sortable: 'custom'
} }
] ]

View File

@@ -111,11 +111,13 @@ export default {
label: this.$t('overall.name'), label: this.$t('overall.name'),
prop: 'name', prop: 'name',
show: true, show: true,
sortable: 'custom' sortable: 'custom',
minWidth: 200
}, { }, {
label: this.$t('config.mib.fileName'), label: this.$t('config.mib.fileName'),
prop: 'fileName', prop: 'fileName',
show: true show: true,
minWidth: 100
}, { }, {
label: this.$t('config.mib.models'), label: this.$t('config.mib.models'),
prop: 'modelsDetail', prop: 'modelsDetail',
@@ -123,15 +125,18 @@ export default {
}, { }, {
label: this.$t('overall.remark'), label: this.$t('overall.remark'),
prop: 'remark', prop: 'remark',
show: true show: true,
minWidth: 100
}, { }, {
label: this.$t('config.mib.updateUser'), label: this.$t('config.mib.updateUser'),
prop: 'updateUser', prop: 'updateUser',
show: false show: false,
minWidth: 120
}, { }, {
label: this.$t('config.mib.updateAt'), label: this.$t('config.mib.updateAt'),
prop: 'updateAt', prop: 'updateAt',
show: false show: false,
minWidth: 150
} }
] ]
} }

View File

@@ -165,6 +165,7 @@ export default {
{ {
label: this.$t('config.terminallog.authtype'), label: this.$t('config.terminallog.authtype'),
prop: 'authType', prop: 'authType',
minWidth: 100,
show: false show: false
}, },
{ {