From cdb805773626bcec229dbdfed34c3db35f4fbf44 Mon Sep 17 00:00:00 2001 From: lai <371757574@qq.com> Date: Wed, 25 Oct 2023 17:59:30 +0800 Subject: [PATCH] =?UTF-8?q?---=E4=BF=AE=E6=94=B9=E8=A1=A8=E6=A0=BC?= =?UTF-8?q?=E5=88=97=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/locales/en-US.ts | 2 +- src/i18n/locales/zh-CN.ts | 2 +- src/views/perfManage/goldTarget/index.vue | 17 +++++++++-------- src/views/perfManage/perfData/index.vue | 5 ----- 4 files changed, 11 insertions(+), 15 deletions(-) diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index a8ea6a43..e4fb0217 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -40,7 +40,7 @@ export default { launch: 'Launch', fold: 'Fold', }, - rowId: 'RowID', + rowId: 'ID', operate: 'Operate', units: { second: 'Second', diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index 869d7a19..c1d05891 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -40,7 +40,7 @@ export default { launch: '展开', fold: '折叠', }, - rowId: '记录编号', + rowId: '编号', operate: '操作', units: { second: '秒', diff --git a/src/views/perfManage/goldTarget/index.vue b/src/views/perfManage/goldTarget/index.vue index e6ac862f..2d9f2808 100644 --- a/src/views/perfManage/goldTarget/index.vue +++ b/src/views/perfManage/goldTarget/index.vue @@ -72,11 +72,6 @@ let tableState: TabeStateType = reactive({ /**表格字段列 */ let tableColumns: ColumnsType = [ - { - title: t('common.rowId'), - dataIndex: 'id', - align: 'center', - }, { title: '网元类型', dataIndex: 'neType', @@ -86,13 +81,17 @@ let tableColumns: ColumnsType = [ title: '黄金指标项', dataIndex: 'enTitle', align: 'center', - sorter: (a:any, b:any) => { return 1}, + sorter: (a: any, b: any) => { + return 1; + }, }, { title: '值', dataIndex: 'value', align: 'center', - sorter: (a:any, b:any) => { return 1}, + sorter: (a: any, b: any) => { + return 1; + }, }, { title: '开始时间', @@ -102,7 +101,9 @@ let tableColumns: ColumnsType = [ if (!opt.value) return ''; return parseDateToStr(opt.value); }, - sorter: (a:any, b:any) => { return 1}, + sorter: (a: any, b: any) => { + return 1; + }, }, { title: '结束时间', diff --git a/src/views/perfManage/perfData/index.vue b/src/views/perfManage/perfData/index.vue index 6e4e5525..e2ce78b0 100644 --- a/src/views/perfManage/perfData/index.vue +++ b/src/views/perfManage/perfData/index.vue @@ -74,11 +74,6 @@ let tableState: TabeStateType = reactive({ /**表格字段列 */ let tableColumns: ColumnsType = [ - { - title: t('common.rowId'), - dataIndex: 'id', - align: 'center', - }, { title: '任务ID', dataIndex: 'taskId',