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',