@@ -39,22 +39,19 @@ export const columns: VxeGridProps['columns'] = [
|
||||
{
|
||||
title: '用户账号',
|
||||
field: 'userName',
|
||||
minWidth: 120,
|
||||
},
|
||||
{
|
||||
title: '登录平台',
|
||||
field: 'clientKey',
|
||||
minWidth: 100,
|
||||
},
|
||||
{
|
||||
title: 'IP地址',
|
||||
field: 'ipaddr',
|
||||
minWidth: 180,
|
||||
},
|
||||
{
|
||||
title: 'IP地点',
|
||||
field: 'loginLocation',
|
||||
minWidth: 160,
|
||||
width: 200,
|
||||
},
|
||||
{
|
||||
title: '浏览器',
|
||||
@@ -64,7 +61,6 @@ export const columns: VxeGridProps['columns'] = [
|
||||
return renderBrowserIcon(row.browser, true) as VNode;
|
||||
},
|
||||
},
|
||||
minWidth: 180,
|
||||
},
|
||||
{
|
||||
title: '系统',
|
||||
@@ -84,7 +80,6 @@ export const columns: VxeGridProps['columns'] = [
|
||||
return renderOsIcon(value, true) as VNode;
|
||||
},
|
||||
},
|
||||
minWidth: 180,
|
||||
},
|
||||
{
|
||||
title: '登录结果',
|
||||
@@ -94,23 +89,20 @@ export const columns: VxeGridProps['columns'] = [
|
||||
return renderDict(row.status, DictEnum.SYS_COMMON_STATUS);
|
||||
},
|
||||
},
|
||||
minWidth: 100,
|
||||
},
|
||||
{
|
||||
title: '信息',
|
||||
field: 'msg',
|
||||
minWidth: 120,
|
||||
},
|
||||
{
|
||||
title: '日期',
|
||||
field: 'loginTime',
|
||||
minWidth: 160,
|
||||
},
|
||||
{
|
||||
field: 'action',
|
||||
fixed: 'right',
|
||||
slots: { default: 'action' },
|
||||
title: '操作',
|
||||
width: 'auto',
|
||||
width: 150,
|
||||
},
|
||||
];
|
||||
|
@@ -24,27 +24,22 @@ export const columns: VxeGridProps['columns'] = [
|
||||
{
|
||||
title: '登录平台',
|
||||
field: 'deviceType',
|
||||
minWidth: 100,
|
||||
},
|
||||
{
|
||||
title: '登录账号',
|
||||
field: 'userName',
|
||||
minWidth: 120,
|
||||
},
|
||||
{
|
||||
title: '部门名称',
|
||||
field: 'deptName',
|
||||
minWidth: 160,
|
||||
},
|
||||
{
|
||||
title: 'IP地址',
|
||||
field: 'ipaddr',
|
||||
minWidth: 180,
|
||||
},
|
||||
{
|
||||
title: '登录地址',
|
||||
field: 'loginLocation',
|
||||
minWidth: 160,
|
||||
},
|
||||
{
|
||||
title: '浏览器',
|
||||
@@ -54,7 +49,6 @@ export const columns: VxeGridProps['columns'] = [
|
||||
return renderBrowserIcon(row.browser, true) as VNode;
|
||||
},
|
||||
},
|
||||
minWidth: 180,
|
||||
},
|
||||
{
|
||||
title: '系统',
|
||||
@@ -72,7 +66,6 @@ export const columns: VxeGridProps['columns'] = [
|
||||
return renderOsIcon(value, true) as VNode;
|
||||
},
|
||||
},
|
||||
minWidth: 180,
|
||||
},
|
||||
{
|
||||
title: '登录时间',
|
||||
@@ -80,7 +73,6 @@ export const columns: VxeGridProps['columns'] = [
|
||||
formatter: ({ cellValue }) => {
|
||||
return dayjs(cellValue).format('YYYY-MM-DD HH:mm:ss');
|
||||
},
|
||||
minWidth: 160,
|
||||
},
|
||||
{
|
||||
field: 'action',
|
||||
|
@@ -50,7 +50,7 @@ export const querySchema: FormSchemaGetter = () => [
|
||||
|
||||
export const columns: VxeGridProps['columns'] = [
|
||||
{ type: 'checkbox', width: 60 },
|
||||
{ field: 'title', title: '系统模块', minWidth: 120 },
|
||||
{ field: 'title', title: '系统模块' },
|
||||
{
|
||||
title: '操作类型',
|
||||
field: 'businessType',
|
||||
@@ -59,11 +59,10 @@ export const columns: VxeGridProps['columns'] = [
|
||||
return renderDict(row.businessType, DictEnum.SYS_OPER_TYPE);
|
||||
},
|
||||
},
|
||||
minWidth: 120,
|
||||
},
|
||||
{ field: 'operName', title: '操作人员', minWidth: 120 },
|
||||
{ field: 'operIp', title: 'IP地址', minWidth: 180 },
|
||||
{ field: 'operLocation', title: 'IP信息', minWidth: 160 },
|
||||
{ field: 'operName', title: '操作人员' },
|
||||
{ field: 'operIp', title: 'IP地址' },
|
||||
{ field: 'operLocation', title: 'IP信息' },
|
||||
{
|
||||
field: 'status',
|
||||
title: '操作状态',
|
||||
@@ -72,9 +71,8 @@ export const columns: VxeGridProps['columns'] = [
|
||||
return renderDict(row.status, DictEnum.SYS_COMMON_STATUS);
|
||||
},
|
||||
},
|
||||
minWidth: 100,
|
||||
},
|
||||
{ field: 'operTime', title: '操作日期', sortable: true, minWidth: 160 },
|
||||
{ field: 'operTime', title: '操作日期', sortable: true },
|
||||
{
|
||||
field: 'costTime',
|
||||
title: '操作耗时',
|
||||
@@ -82,7 +80,6 @@ export const columns: VxeGridProps['columns'] = [
|
||||
formatter({ cellValue }) {
|
||||
return `${cellValue} ms`;
|
||||
},
|
||||
minWidth: 100,
|
||||
},
|
||||
{
|
||||
field: 'action',
|
||||
|
Reference in New Issue
Block a user