From 0eb7bc94977d8b5c58716162d7338c5ed2a36d16 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Tue, 26 Dec 2023 10:09:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=BD=AF=E4=BB=B6=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E4=B8=8A=E4=BC=A0=E7=89=88=E6=9C=AC=E5=8F=B7?= =?UTF-8?q?=E6=88=AA=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/software-history.vue | 58 ++++++++++++------- .../configManage/softwareManage/index.vue | 41 ++++++++----- 2 files changed, 62 insertions(+), 37 deletions(-) diff --git a/src/views/configManage/softwareManage/components/software-history.vue b/src/views/configManage/softwareManage/components/software-history.vue index b7c600db..34e5de31 100644 --- a/src/views/configManage/softwareManage/components/software-history.vue +++ b/src/views/configManage/softwareManage/components/software-history.vue @@ -78,41 +78,38 @@ let tableState: TabeStateType = reactive({ /**表格字段列 */ let tableColumns: ColumnsType = [ { - title:t('views.configManage.softwareManage.neType'), + title: t('views.configManage.softwareManage.neType'), dataIndex: 'neType', align: 'center', - width: 2, + width: 100, }, { title: t('views.configManage.neManage.neId'), dataIndex: 'neId', align: 'center', - width: 2, + width: 200, }, { title: t('views.configManage.softwareManage.versions'), dataIndex: 'version', align: 'center', - width: 2, }, { title: t('views.configManage.softwareManage.upVersions'), dataIndex: 'preVersion', align: 'center', - width: 2, }, { - title:t('views.configManage.softwareManage.backVersions'), + title: t('views.configManage.softwareManage.backVersions'), dataIndex: 'newVersion', align: 'center', - width: 2, }, { title: t('views.configManage.softwareManage.status'), dataIndex: 'status', key: 'status', align: 'center', - width: 2, + width: 100, }, { title: t('views.configManage.softwareManage.letUpTime'), @@ -122,7 +119,7 @@ let tableColumns: ColumnsType = [ if (!opt.value) return ''; return parseDateToStr(opt.value); }, - width: 2, + width: 200, }, ]; @@ -158,7 +155,7 @@ let tablePagination = reactive({ function fnGetList(pageNum?: number) { if (tableState.loading) return; tableState.loading = true; - if(pageNum){ + if (pageNum) { queryParams.pageNum = pageNum; } if (!queryRangePicker.value) { @@ -197,7 +194,8 @@ watch( @@ -776,11 +781,15 @@ onMounted(() => {