From e97943bf10b81900501e3ef7f45ba07952ef8b75 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Wed, 1 Nov 2023 19:16:32 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E6=95=B0=E6=8D=AE=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E5=88=97=E5=AE=BD=E5=9B=BA=E5=AE=9A=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/configManage/backupManage/index.vue | 27 ++++++++----- src/views/configManage/license/index.vue | 7 +++- src/views/configManage/neManage/index.vue | 15 +++++++- .../components/software-history.vue | 11 ++++-- .../configManage/softwareManage/index.vue | 9 ++++- src/views/faultManage/active-alarm/index.vue | 35 +++++++++++++++-- src/views/faultManage/history-alarm/index.vue | 38 ++++++++++++++----- 7 files changed, 112 insertions(+), 30 deletions(-) diff --git a/src/views/configManage/backupManage/index.vue b/src/views/configManage/backupManage/index.vue index 859e465b..7b6eb734 100644 --- a/src/views/configManage/backupManage/index.vue +++ b/src/views/configManage/backupManage/index.vue @@ -69,21 +69,25 @@ let tableColumns: ColumnsType = [ title: t('common.rowId'), dataIndex: 'id', align: 'center', + width: 1, }, { title: t('views.configManage.backupManage.neType'), dataIndex: 'neType', align: 'center', + width: 2, }, { title: t('views.configManage.backupManage.neID'), dataIndex: 'neId', align: 'center', + width: 2, }, { title: t('views.configManage.backupManage.fileName'), dataIndex: 'fileName', align: 'center', + width: 3, }, { title: t('views.configManage.backupManage.createAt'), @@ -93,11 +97,14 @@ let tableColumns: ColumnsType = [ if (!opt.value) return ''; return parseDateToStr(opt.value); }, + width: 3, }, { title: t('common.operate'), key: 'id', align: 'center', + fixed: 'right', + width: 2, }, ]; @@ -395,15 +402,15 @@ onMounted(() => { :selected-keys="[tableState.size as string]" @click="fnTableSize" > - {{ - t('common.size.default') - }} - {{ - t('common.size.middle') - }} - {{ - t('common.size.small') - }} + + {{ t('common.size.default') }} + + + {{ t('common.size.middle') }} + + + {{ t('common.size.small') }} + @@ -420,7 +427,7 @@ onMounted(() => { :data-source="tableState.data" :size="tableState.size" :pagination="tablePagination" - :scroll="{ x: true }" + :scroll="{ x: 1200, y: 400 }" >