From 26cf7fa5600d8cf4077b2f54902d2e1bd24b66f7 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Tue, 14 Oct 2025 11:08:58 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E7=A7=BB=E9=99=A4ID=E5=88=97=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/cbc/cbe/index.vue | 12 +++---- src/views/monitor/cache/index.vue | 36 +++++++++---------- src/views/monitor/job/index.vue | 26 +++++++------- src/views/monitor/job/log.vue | 19 ++++++---- src/views/monitor/online/index.vue | 20 +++++------ src/views/ne/neFile/index.vue | 22 ++++++++++++ src/views/ne/neHost/index.vue | 12 +++---- src/views/ne/neHostCommand/index.vue | 12 +++---- src/views/ne/neSoftware/index.vue | 12 +++---- .../base-station/components/history.vue | 12 +++---- src/views/perfManage/kpi-title/index.vue | 12 +++---- src/views/perfManage/perfThreshold/index.vue | 10 +++--- src/views/system/config/index.vue | 17 ++++----- src/views/system/login-source/index.vue | 12 +++---- .../tool/terminal/components/hostList.vue | 12 +++---- src/views/traceManage/task-hlr/index.vue | 12 +++---- src/views/traceManage/task/data.vue | 12 +++---- 17 files changed, 151 insertions(+), 119 deletions(-) diff --git a/src/views/cbc/cbe/index.vue b/src/views/cbc/cbe/index.vue index c7b86c33..a0174777 100644 --- a/src/views/cbc/cbe/index.vue +++ b/src/views/cbc/cbe/index.vue @@ -88,12 +88,12 @@ let tableState: TabeStateType = reactive({ /**表格字段列 */ let tableColumns: ColumnsType = [ - { - title: t('common.rowId'), - dataIndex: 'id', - align: 'left', - width: 100, - }, + // { + // title: t('common.rowId'), + // dataIndex: 'id', + // align: 'left', + // width: 100, + // }, { title: t('views.cbc.cbe.eventName'), dataIndex: 'messageJson', diff --git a/src/views/monitor/cache/index.vue b/src/views/monitor/cache/index.vue index 18a8673f..9da4a510 100644 --- a/src/views/monitor/cache/index.vue +++ b/src/views/monitor/cache/index.vue @@ -49,15 +49,15 @@ function fnCacheKeyInfo(cacheKey: string) { /**键名列表表格字段列 */ let cacheKeyTableColumns: ColumnsType = [ - { - title: t('common.rowId'), - dataIndex: 'num', - width: '50px', - align: 'center', - customRender(opt) { - return opt.index + 1; - }, - }, + // { + // title: t('common.rowId'), + // dataIndex: 'num', + // width: '50px', + // align: 'center', + // customRender(opt) { + // return opt.index + 1; + // }, + // }, { title: t('views.monitor.cache.cacheKey'), dataIndex: 'cacheKey', @@ -152,15 +152,15 @@ let cacheNameTable = reactive({ /**缓存列表表格字段列 */ let cacheNameTableColumns: ColumnsType = [ - { - title: t('common.rowId'), - dataIndex: 'num', - width: '50px', - align: 'center', - customRender(opt) { - return opt.index + 1; - }, - }, + // { + // title: t('common.rowId'), + // dataIndex: 'num', + // width: '50px', + // align: 'center', + // customRender(opt) { + // return opt.index + 1; + // }, + // }, { title: t('views.monitor.cache.cacheName'), dataIndex: 'cacheName', diff --git a/src/views/monitor/job/index.vue b/src/views/monitor/job/index.vue index 540615d2..35192929 100644 --- a/src/views/monitor/job/index.vue +++ b/src/views/monitor/job/index.vue @@ -98,11 +98,11 @@ let tableState: TabeStateType = reactive({ /**表格字段列 */ let tableColumns: ColumnsType = [ - { - title: t('common.rowId'), - dataIndex: 'jobId', - align: 'center', - }, + // { + // title: t('common.rowId'), + // dataIndex: 'jobId', + // align: 'center', + // }, { title: t('views.monitor.job.jobName'), dataIndex: 'jobName', @@ -680,14 +680,14 @@ onMounted(() => { {{ t('common.export') }} - {{ t('views.monitor.job.jobLog') }} - + --> { :size="tableState.size" :pagination="tablePagination" :scroll="{ x: tableColumns.length * 120 }" - :row-selection="{ - type: 'checkbox', - selectedRowKeys: tableState.selectedRowKeys, - onChange: fnTableSelectedRowKeys, - }" + :row-selection="hasPermissions(['monitor:job:remove']) + ? { + type: 'checkbox', + selectedRowKeys: tableState.selectedRowKeys, + onChange: fnTableSelectedRowKeys, + } + : undefined" >