---修改表格列展示

This commit is contained in:
lai
2023-10-25 17:59:30 +08:00
parent daa74f148c
commit cdb8057736
4 changed files with 11 additions and 15 deletions

View File

@@ -40,7 +40,7 @@ export default {
launch: 'Launch',
fold: 'Fold',
},
rowId: 'RowID',
rowId: 'ID',
operate: 'Operate',
units: {
second: 'Second',

View File

@@ -40,7 +40,7 @@ export default {
launch: '展开',
fold: '折叠',
},
rowId: '记录编号',
rowId: '编号',
operate: '操作',
units: {
second: '秒',

View File

@@ -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: '结束时间',

View File

@@ -74,11 +74,6 @@ let tableState: TabeStateType = reactive({
/**表格字段列 */
let tableColumns: ColumnsType = [
{
title: t('common.rowId'),
dataIndex: 'id',
align: 'center',
},
{
title: '任务ID',
dataIndex: 'taskId',