---修改表格列展示

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', launch: 'Launch',
fold: 'Fold', fold: 'Fold',
}, },
rowId: 'RowID', rowId: 'ID',
operate: 'Operate', operate: 'Operate',
units: { units: {
second: 'Second', second: 'Second',

View File

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

View File

@@ -72,11 +72,6 @@ let tableState: TabeStateType = reactive({
/**表格字段列 */ /**表格字段列 */
let tableColumns: ColumnsType = [ let tableColumns: ColumnsType = [
{
title: t('common.rowId'),
dataIndex: 'id',
align: 'center',
},
{ {
title: '网元类型', title: '网元类型',
dataIndex: 'neType', dataIndex: 'neType',
@@ -86,13 +81,17 @@ let tableColumns: ColumnsType = [
title: '黄金指标项', title: '黄金指标项',
dataIndex: 'enTitle', dataIndex: 'enTitle',
align: 'center', align: 'center',
sorter: (a:any, b:any) => { return 1}, sorter: (a: any, b: any) => {
return 1;
},
}, },
{ {
title: '值', title: '值',
dataIndex: 'value', dataIndex: 'value',
align: 'center', align: 'center',
sorter: (a:any, b:any) => { return 1}, sorter: (a: any, b: any) => {
return 1;
},
}, },
{ {
title: '开始时间', title: '开始时间',
@@ -102,7 +101,9 @@ let tableColumns: ColumnsType = [
if (!opt.value) return ''; if (!opt.value) return '';
return parseDateToStr(opt.value); return parseDateToStr(opt.value);
}, },
sorter: (a:any, b:any) => { return 1}, sorter: (a: any, b: any) => {
return 1;
},
}, },
{ {
title: '结束时间', title: '结束时间',

View File

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