Pre Merge pull request !32 from 愿丶/dev

This commit is contained in:
愿丶 2025-05-07 14:55:18 +00:00 committed by Gitee
commit b6a50b99f4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
17 changed files with 92 additions and 10 deletions

View File

@ -39,19 +39,22 @@ export const columns: VxeGridProps['columns'] = [
{ {
title: '用户账号', title: '用户账号',
field: 'userName', field: 'userName',
minWidth: 120,
}, },
{ {
title: '登录平台', title: '登录平台',
field: 'clientKey', field: 'clientKey',
minWidth: 100,
}, },
{ {
title: 'IP地址', title: 'IP地址',
field: 'ipaddr', field: 'ipaddr',
minWidth: 180,
}, },
{ {
title: 'IP地点', title: 'IP地点',
field: 'loginLocation', field: 'loginLocation',
width: 200, minWidth: 160,
}, },
{ {
title: '浏览器', title: '浏览器',
@ -61,6 +64,7 @@ export const columns: VxeGridProps['columns'] = [
return renderBrowserIcon(row.browser, true) as VNode; return renderBrowserIcon(row.browser, true) as VNode;
}, },
}, },
minWidth: 180,
}, },
{ {
title: '系统', title: '系统',
@ -80,6 +84,7 @@ export const columns: VxeGridProps['columns'] = [
return renderOsIcon(value, true) as VNode; return renderOsIcon(value, true) as VNode;
}, },
}, },
minWidth: 180,
}, },
{ {
title: '登录结果', title: '登录结果',
@ -89,20 +94,23 @@ export const columns: VxeGridProps['columns'] = [
return renderDict(row.status, DictEnum.SYS_COMMON_STATUS); return renderDict(row.status, DictEnum.SYS_COMMON_STATUS);
}, },
}, },
minWidth: 100,
}, },
{ {
title: '信息', title: '信息',
field: 'msg', field: 'msg',
minWidth: 120,
}, },
{ {
title: '日期', title: '日期',
field: 'loginTime', field: 'loginTime',
minWidth: 160,
}, },
{ {
field: 'action', field: 'action',
fixed: 'right', fixed: 'right',
slots: { default: 'action' }, slots: { default: 'action' },
title: '操作', title: '操作',
width: 150, width: 'auto',
}, },
]; ];

View File

@ -24,22 +24,27 @@ export const columns: VxeGridProps['columns'] = [
{ {
title: '登录平台', title: '登录平台',
field: 'deviceType', field: 'deviceType',
minWidth: 100,
}, },
{ {
title: '登录账号', title: '登录账号',
field: 'userName', field: 'userName',
minWidth: 120,
}, },
{ {
title: '部门名称', title: '部门名称',
field: 'deptName', field: 'deptName',
minWidth: 160,
}, },
{ {
title: 'IP地址', title: 'IP地址',
field: 'ipaddr', field: 'ipaddr',
minWidth: 180,
}, },
{ {
title: '登录地址', title: '登录地址',
field: 'loginLocation', field: 'loginLocation',
minWidth: 160,
}, },
{ {
title: '浏览器', title: '浏览器',
@ -49,6 +54,7 @@ export const columns: VxeGridProps['columns'] = [
return renderBrowserIcon(row.browser, true) as VNode; return renderBrowserIcon(row.browser, true) as VNode;
}, },
}, },
minWidth: 180,
}, },
{ {
title: '系统', title: '系统',
@ -66,6 +72,7 @@ export const columns: VxeGridProps['columns'] = [
return renderOsIcon(value, true) as VNode; return renderOsIcon(value, true) as VNode;
}, },
}, },
minWidth: 180,
}, },
{ {
title: '登录时间', title: '登录时间',
@ -73,6 +80,7 @@ export const columns: VxeGridProps['columns'] = [
formatter: ({ cellValue }) => { formatter: ({ cellValue }) => {
return dayjs(cellValue).format('YYYY-MM-DD HH:mm:ss'); return dayjs(cellValue).format('YYYY-MM-DD HH:mm:ss');
}, },
minWidth: 160,
}, },
{ {
field: 'action', field: 'action',

View File

@ -50,7 +50,7 @@ export const querySchema: FormSchemaGetter = () => [
export const columns: VxeGridProps['columns'] = [ export const columns: VxeGridProps['columns'] = [
{ type: 'checkbox', width: 60 }, { type: 'checkbox', width: 60 },
{ field: 'title', title: '系统模块' }, { field: 'title', title: '系统模块', minWidth: 120 },
{ {
title: '操作类型', title: '操作类型',
field: 'businessType', field: 'businessType',
@ -59,10 +59,11 @@ export const columns: VxeGridProps['columns'] = [
return renderDict(row.businessType, DictEnum.SYS_OPER_TYPE); return renderDict(row.businessType, DictEnum.SYS_OPER_TYPE);
}, },
}, },
minWidth: 120,
}, },
{ field: 'operName', title: '操作人员' }, { field: 'operName', title: '操作人员', minWidth: 120 },
{ field: 'operIp', title: 'IP地址' }, { field: 'operIp', title: 'IP地址', minWidth: 180 },
{ field: 'operLocation', title: 'IP信息' }, { field: 'operLocation', title: 'IP信息', minWidth: 160 },
{ {
field: 'status', field: 'status',
title: '操作状态', title: '操作状态',
@ -71,8 +72,9 @@ export const columns: VxeGridProps['columns'] = [
return renderDict(row.status, DictEnum.SYS_COMMON_STATUS); return renderDict(row.status, DictEnum.SYS_COMMON_STATUS);
}, },
}, },
minWidth: 100,
}, },
{ field: 'operTime', title: '操作日期', sortable: true }, { field: 'operTime', title: '操作日期', sortable: true, minWidth: 160 },
{ {
field: 'costTime', field: 'costTime',
title: '操作耗时', title: '操作耗时',
@ -80,6 +82,7 @@ export const columns: VxeGridProps['columns'] = [
formatter({ cellValue }) { formatter({ cellValue }) {
return `${cellValue} ms`; return `${cellValue} ms`;
}, },
minWidth: 100,
}, },
{ {
field: 'action', field: 'action',

View File

@ -39,14 +39,17 @@ export const columns: VxeGridProps['columns'] = [
{ {
title: '参数名称', title: '参数名称',
field: 'configName', field: 'configName',
minWidth: 160,
}, },
{ {
title: '参数KEY', title: '参数KEY',
field: 'configKey', field: 'configKey',
minWidth: 160,
}, },
{ {
title: '参数Value', title: '参数Value',
field: 'configValue', field: 'configValue',
minWidth: 200,
}, },
{ {
title: '系统内置', title: '系统内置',
@ -61,10 +64,12 @@ export const columns: VxeGridProps['columns'] = [
{ {
title: '备注', title: '备注',
field: 'remark', field: 'remark',
minWidth: 120,
}, },
{ {
title: '创建时间', title: '创建时间',
field: 'createTime', field: 'createTime',
minWidth: 160,
}, },
{ {
field: 'action', field: 'action',

View File

@ -30,32 +30,36 @@ export const columns: VxeGridProps['columns'] = [
field: 'deptName', field: 'deptName',
title: '部门名称', title: '部门名称',
treeNode: true, treeNode: true,
width: 200, resizable: false,
minWidth: 220,
}, },
{ {
field: 'deptCategory', field: 'deptCategory',
title: '类别编码', title: '类别编码',
resizable: false,
minWidth: 120,
}, },
{ {
field: 'orderNum', field: 'orderNum',
title: '排序', title: '排序',
resizable: false, resizable: false,
width: 'auto', width: 80,
}, },
{ {
field: 'status', field: 'status',
resizable: false, resizable: false,
width: 'auto',
title: '状态', title: '状态',
slots: { slots: {
default: ({ row }) => { default: ({ row }) => {
return renderDict(row.status, DictEnum.SYS_NORMAL_DISABLE); return renderDict(row.status, DictEnum.SYS_NORMAL_DISABLE);
}, },
}, },
width: 120,
}, },
{ {
field: 'createTime', field: 'createTime',
title: '创建时间', title: '创建时间',
minWidth: 160,
}, },
{ {
field: 'action', field: 'action',

View File

@ -23,22 +23,27 @@ export const columns: VxeGridProps['columns'] = [
return renderDictTag(dictValue, [row]); return renderDictTag(dictValue, [row]);
}, },
}, },
minWidth: 120,
}, },
{ {
title: '字典键值', title: '字典键值',
field: 'dictValue', field: 'dictValue',
minWidth: 100,
}, },
{ {
title: '字典排序', title: '字典排序',
field: 'dictSort', field: 'dictSort',
minWidth: 80,
}, },
{ {
title: '备注', title: '备注',
field: 'remark', field: 'remark',
minWidth: 120,
}, },
{ {
title: '创建时间', title: '创建时间',
field: 'createTime', field: 'createTime',
minWidth: 160,
}, },
{ {
field: 'action', field: 'action',

View File

@ -21,18 +21,22 @@ export const columns: VxeGridProps['columns'] = [
{ {
title: '字典名称', title: '字典名称',
field: 'dictName', field: 'dictName',
minWidth: 120,
}, },
{ {
title: '字典类型', title: '字典类型',
field: 'dictType', field: 'dictType',
minWidth: 160,
}, },
{ {
title: '备注', title: '备注',
field: 'remark', field: 'remark',
minWidth: 120,
}, },
{ {
title: '创建时间', title: '创建时间',
field: 'createTime', field: 'createTime',
minWidth: 160,
}, },
{ {
field: 'action', field: 'action',

View File

@ -111,10 +111,12 @@ export const columns: VxeGridProps['columns'] = [
{ {
title: '权限标识', title: '权限标识',
field: 'perms', field: 'perms',
minWidth: 200,
}, },
{ {
title: '组件路径', title: '组件路径',
field: 'component', field: 'component',
minWidth: 200,
}, },
{ {
title: '状态', title: '状态',
@ -139,6 +141,7 @@ export const columns: VxeGridProps['columns'] = [
{ {
title: '创建时间', title: '创建时间',
field: 'createTime', field: 'createTime',
minWidth: 160,
}, },
{ {
field: 'action', field: 'action',

View File

@ -34,6 +34,7 @@ export const columns: VxeGridProps['columns'] = [
{ {
title: '公告标题', title: '公告标题',
field: 'noticeTitle', field: 'noticeTitle',
minWidth: 220,
}, },
{ {
title: '公告类型', title: '公告类型',
@ -63,6 +64,7 @@ export const columns: VxeGridProps['columns'] = [
{ {
title: '创建时间', title: '创建时间',
field: 'createTime', field: 'createTime',
minWidth: 160,
}, },
{ {
field: 'action', field: 'action',

View File

@ -40,19 +40,23 @@ export const columns: VxeGridProps['columns'] = [
{ {
title: '配置名称', title: '配置名称',
field: 'configKey', field: 'configKey',
minWidth: 120,
}, },
{ {
title: '访问站点', title: '访问站点',
field: 'endpoint', field: 'endpoint',
showOverflow: true, showOverflow: true,
minWidth: 220,
}, },
{ {
title: '桶名称', title: '桶名称',
field: 'bucketName', field: 'bucketName',
minWidth: 140,
}, },
{ {
title: '域', title: '域',
field: 'region', field: 'region',
minWidth: 140,
}, },
{ {
title: '权限桶类型', title: '权限桶类型',
@ -68,6 +72,7 @@ export const columns: VxeGridProps['columns'] = [
return '未知类型'; return '未知类型';
}, },
}, },
minWidth: 120,
}, },
{ {
title: '是否默认', title: '是否默认',
@ -75,6 +80,7 @@ export const columns: VxeGridProps['columns'] = [
slots: { slots: {
default: 'status', default: 'status',
}, },
minWidth: 120,
}, },
{ {
field: 'action', field: 'action',

View File

@ -35,34 +35,41 @@ export const columns: VxeGridProps['columns'] = [
title: '文件名', title: '文件名',
field: 'fileName', field: 'fileName',
showOverflow: true, showOverflow: true,
minWidth: 160,
}, },
{ {
title: '文件原名', title: '文件原名',
field: 'originalName', field: 'originalName',
showOverflow: true, showOverflow: true,
minWidth: 160,
}, },
{ {
title: '文件拓展名', title: '文件拓展名',
field: 'fileSuffix', field: 'fileSuffix',
minWidth: 120,
}, },
{ {
title: '文件预览', title: '文件预览',
field: 'url', field: 'url',
showOverflow: true, showOverflow: true,
slots: { default: 'url' }, slots: { default: 'url' },
minWidth: 180,
}, },
{ {
title: '创建时间', title: '创建时间',
field: 'createTime', field: 'createTime',
sortable: true, sortable: true,
minWidth: 160,
}, },
{ {
title: '上传人', title: '上传人',
field: 'createByName', field: 'createByName',
minWidth: 120,
}, },
{ {
title: '服务商', title: '服务商',
field: 'service', field: 'service',
minWidth: 120,
}, },
{ {
field: 'action', field: 'action',

View File

@ -34,18 +34,22 @@ export const columns: VxeGridProps['columns'] = [
{ {
title: '岗位编码', title: '岗位编码',
field: 'postCode', field: 'postCode',
minWidth: 120,
}, },
{ {
title: '类别编码', title: '类别编码',
field: 'postCategory', field: 'postCategory',
minWidth: 120,
}, },
{ {
title: '岗位名称', title: '岗位名称',
field: 'postName', field: 'postName',
minWidth: 120,
}, },
{ {
title: '排序', title: '排序',
field: 'postSort', field: 'postSort',
minWidth: 80,
}, },
{ {
title: '状态', title: '状态',
@ -55,6 +59,7 @@ export const columns: VxeGridProps['columns'] = [
return renderDict(row.status, DictEnum.SYS_NORMAL_DISABLE); return renderDict(row.status, DictEnum.SYS_NORMAL_DISABLE);
}, },
}, },
minWidth: 120,
}, },
{ {
title: '创建时间', title: '创建时间',

View File

@ -19,18 +19,22 @@ export const columns: VxeGridProps['columns'] = [
{ {
title: '用户账号', title: '用户账号',
field: 'userName', field: 'userName',
minWidth: 120,
}, },
{ {
title: '用户昵称', title: '用户昵称',
field: 'nickName', field: 'nickName',
minWidth: 120,
}, },
{ {
title: '邮箱', title: '邮箱',
field: 'email', field: 'email',
minWidth: 180,
}, },
{ {
title: '手机号', title: '手机号',
field: 'phonenumber', field: 'phonenumber',
minWidth: 160,
}, },
{ {
field: 'action', field: 'action',

View File

@ -51,6 +51,7 @@ export const columns: VxeGridProps['columns'] = [
{ {
title: '角色名称', title: '角色名称',
field: 'roleName', field: 'roleName',
minWidth: 100,
}, },
{ {
title: '权限字符', title: '权限字符',
@ -60,6 +61,7 @@ export const columns: VxeGridProps['columns'] = [
return <Tag color="processing">{row.roleKey}</Tag>; return <Tag color="processing">{row.roleKey}</Tag>;
}, },
}, },
minWidth: 120,
}, },
{ {
title: '数据权限', title: '数据权限',
@ -75,19 +77,23 @@ export const columns: VxeGridProps['columns'] = [
return <Tag>{row.dataScope}</Tag>; return <Tag>{row.dataScope}</Tag>;
}, },
}, },
minWidth: 160,
}, },
{ {
title: '排序', title: '排序',
field: 'roleSort', field: 'roleSort',
minWidth: 60,
}, },
{ {
title: '状态', title: '状态',
field: 'status', field: 'status',
slots: { default: 'status' }, slots: { default: 'status' },
minWidth: 80,
}, },
{ {
title: '创建时间', title: '创建时间',
field: 'createTime', field: 'createTime',
minWidth: 160,
}, },
{ {
field: 'action', field: 'action',

View File

@ -35,18 +35,22 @@ export const columns: VxeGridProps['columns'] = [
{ {
title: '租户编号', title: '租户编号',
field: 'tenantId', field: 'tenantId',
minWidth: 120,
}, },
{ {
title: '租户名称', title: '租户名称',
field: 'companyName', field: 'companyName',
minWidth: 240,
}, },
{ {
title: '联系人', title: '联系人',
field: 'contactUserName', field: 'contactUserName',
minWidth: 120,
}, },
{ {
title: '联系电话', title: '联系电话',
field: 'contactPhone', field: 'contactPhone',
minWidth: 160,
}, },
{ {
title: '到期时间', title: '到期时间',
@ -57,11 +61,13 @@ export const columns: VxeGridProps['columns'] = [
} }
return cellValue; return cellValue;
}, },
minWidth: 160,
}, },
{ {
title: '租户状态', title: '租户状态',
field: 'status', field: 'status',
slots: { default: 'status' }, slots: { default: 'status' },
minWidth: 100,
}, },
{ {
field: 'action', field: 'action',

View File

@ -14,15 +14,18 @@ export const columns: VxeGridProps['columns'] = [
{ {
title: '套餐名称', title: '套餐名称',
field: 'packageName', field: 'packageName',
minWidth: 160,
}, },
{ {
title: '备注', title: '备注',
field: 'remark', field: 'remark',
minWidth: 180,
}, },
{ {
title: '状态', title: '状态',
field: 'status', field: 'status',
slots: { default: 'status' }, slots: { default: 'status' },
minWidth: 100,
}, },
{ {
field: 'action', field: 'action',

View File

@ -19,14 +19,17 @@ export const columns: VxeGridProps['columns'] = [
field: 'categoryName', field: 'categoryName',
title: '分类名称', title: '分类名称',
treeNode: true, treeNode: true,
minWidth: 200,
}, },
{ {
field: 'orderNum', field: 'orderNum',
title: '排序', title: '排序',
minWidth: 80,
}, },
{ {
field: 'createTime', field: 'createTime',
title: '创建时间', title: '创建时间',
minWidth: 160,
}, },
{ {
field: 'action', field: 'action',