😎调整日志页面时间列序提前
This commit is contained in:
parent
b6191145f2
commit
24a61c1937
@ -166,6 +166,7 @@ const options = useVxeTable<SysLogDiff>(
|
||||
// { type: 'checkbox', width: 40 },
|
||||
{ type: 'seq', title: '序号', width: 60, fixed: 'left' },
|
||||
{ type: 'expand', width: 40, slots: { content: 'row_content' } },
|
||||
{ field: 'createTime', title: '操作时间', minWidth: 100, showOverflow: 'tooltip' },
|
||||
{ field: 'diffType', title: '差异操作', minWidth: 150, showOverflow: 'tooltip' },
|
||||
// { field: 'sql', title: 'Sql语句', minWidth: 150, showOverflow: 'tooltip' },
|
||||
// { field: 'parameters', title: '参数', minWidth: 150, showOverflow: 'tooltip' },
|
||||
@ -174,7 +175,6 @@ const options = useVxeTable<SysLogDiff>(
|
||||
// { field: 'beforeData', title: '操作前记录', minWidth: 150, showOverflow: 'tooltip' },
|
||||
// { field: 'afterData', title: '操作后记录', minWidth: 150, showOverflow: 'tooltip' },
|
||||
{ field: 'businessData', title: '业务对象', minWidth: 150, showOverflow: 'tooltip' },
|
||||
{ field: 'createTime', title: '操作时间', minWidth: 100, showOverflow: 'tooltip' },
|
||||
// { title: '操作', fixed: 'right', width: 100, showOverflow: true, slots: { default: 'row_buttons' } },
|
||||
],
|
||||
},
|
||||
|
||||
@ -169,6 +169,7 @@ const options = useVxeTable<SysLogEx>(
|
||||
columns: [
|
||||
// { type: 'checkbox', width: 40 },
|
||||
{ type: 'seq', title: '序号', width: 60, fixed: 'left' },
|
||||
{ field: 'logDateTime', title: '日志时间', minWidth: 160, showOverflow: 'tooltip' },
|
||||
{ field: 'controllerName', title: '模块名称', minWidth: 100, showOverflow: 'tooltip' },
|
||||
{ field: 'displayTitle', title: '显示名称', minWidth: 150, showOverflow: 'tooltip' },
|
||||
{ field: 'actionName', title: '方法名称', minWidth: 100, showOverflow: 'tooltip' },
|
||||
@ -188,7 +189,6 @@ const options = useVxeTable<SysLogEx>(
|
||||
{ field: 'os', title: '操作系统', minWidth: 100, showOverflow: 'tooltip' },
|
||||
{ field: 'status', title: '状态', minWidth: 70, showOverflow: 'tooltip', slots: { default: 'row_status' } },
|
||||
{ field: 'elapsed', title: '耗时(ms)', minWidth: 100, showOverflow: 'tooltip' },
|
||||
{ field: 'logDateTime', title: '日志时间', minWidth: 160, showOverflow: 'tooltip' },
|
||||
{ title: '操作', fixed: 'right', width: 100, showOverflow: true, slots: { default: 'row_buttons' } },
|
||||
],
|
||||
},
|
||||
|
||||
@ -160,6 +160,7 @@ const options = useVxeTable<SysLogOp>(
|
||||
columns: [
|
||||
// { type: 'checkbox', width: 40 },
|
||||
{ type: 'seq', title: '序号', width: 60, fixed: 'left' },
|
||||
{ field: 'logDateTime', title: '日志时间', minWidth: 160, showOverflow: 'tooltip' },
|
||||
{ field: 'controllerName', title: '模块名称', minWidth: 120, showOverflow: 'tooltip' },
|
||||
{ field: 'displayTitle', title: '显示名称', minWidth: 150, showOverflow: 'tooltip' },
|
||||
{ field: 'actionName', title: '方法名称', minWidth: 150, showOverflow: 'tooltip' },
|
||||
@ -181,7 +182,6 @@ const options = useVxeTable<SysLogOp>(
|
||||
{ field: 'elapsed', title: '耗时(ms)', minWidth: 100, showOverflow: 'tooltip' },
|
||||
// { field: 'exception', title: '异常对象', minWidth: 150, showOverflow: 'tooltip' },
|
||||
// { field: 'message', title: '日志消息', minWidth: 160, showOverflow: 'tooltip' },
|
||||
{ field: 'logDateTime', title: '日志时间', minWidth: 160, showOverflow: 'tooltip' },
|
||||
{ title: '操作', fixed: 'right', width: 100, showOverflow: true, slots: { default: 'row_buttons' } },
|
||||
],
|
||||
},
|
||||
|
||||
@ -121,6 +121,7 @@ const options = useVxeTable<SysLogVis>(
|
||||
columns: [
|
||||
// { type: 'checkbox', width: 40 },
|
||||
{ type: 'seq', title: '序号', width: 60, fixed: 'left' },
|
||||
{ field: 'logDateTime', title: '日志时间', minWidth: 150, showOverflow: 'tooltip' },
|
||||
{ field: 'displayTitle', title: '显示名称', minWidth: 150, showOverflow: 'tooltip' },
|
||||
{ field: 'actionName', title: '方法名称', minWidth: 150, showOverflow: 'tooltip' },
|
||||
{ field: 'account', title: '账号名称', minWidth: 150, showOverflow: 'tooltip' },
|
||||
@ -133,7 +134,6 @@ const options = useVxeTable<SysLogVis>(
|
||||
{ field: 'os', title: '操作系统', minWidth: 150, showOverflow: 'tooltip' },
|
||||
{ field: 'status', title: '状态', minWidth: 70, showOverflow: 'tooltip', slots: { default: 'row_status' } },
|
||||
{ field: 'elapsed', title: '耗时(ms)', minWidth: 100, showOverflow: 'tooltip' },
|
||||
{ field: 'logDateTime', title: '日志时间', minWidth: 150, showOverflow: 'tooltip' },
|
||||
],
|
||||
},
|
||||
// vxeGrid配置参数(此处可覆写任何参数),参考vxe-table官方文档
|
||||
|
||||
Loading…
Reference in New Issue
Block a user