diff --git a/apps/web-antd/src/views/monitor/logininfor/data.tsx b/apps/web-antd/src/views/monitor/logininfor/data.tsx
index 88825e4e..c929d45b 100644
--- a/apps/web-antd/src/views/monitor/logininfor/data.tsx
+++ b/apps/web-antd/src/views/monitor/logininfor/data.tsx
@@ -39,19 +39,22 @@ 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',
- width: 200,
+ minWidth: 160,
},
{
title: '浏览器',
@@ -61,6 +64,7 @@ export const columns: VxeGridProps['columns'] = [
return renderBrowserIcon(row.browser, true) as VNode;
},
},
+ minWidth: 180,
},
{
title: '系统',
@@ -80,6 +84,7 @@ export const columns: VxeGridProps['columns'] = [
return renderOsIcon(value, true) as VNode;
},
},
+ minWidth: 180,
},
{
title: '登录结果',
@@ -89,20 +94,23 @@ 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: 150,
+ width: 'auto',
},
];
diff --git a/apps/web-antd/src/views/monitor/online/data.ts b/apps/web-antd/src/views/monitor/online/data.ts
index 15944dc4..8e16ded7 100644
--- a/apps/web-antd/src/views/monitor/online/data.ts
+++ b/apps/web-antd/src/views/monitor/online/data.ts
@@ -24,22 +24,27 @@ 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: '浏览器',
@@ -49,6 +54,7 @@ export const columns: VxeGridProps['columns'] = [
return renderBrowserIcon(row.browser, true) as VNode;
},
},
+ minWidth: 180,
},
{
title: '系统',
@@ -66,6 +72,7 @@ export const columns: VxeGridProps['columns'] = [
return renderOsIcon(value, true) as VNode;
},
},
+ minWidth: 180,
},
{
title: '登录时间',
@@ -73,6 +80,7 @@ export const columns: VxeGridProps['columns'] = [
formatter: ({ cellValue }) => {
return dayjs(cellValue).format('YYYY-MM-DD HH:mm:ss');
},
+ minWidth: 160,
},
{
field: 'action',
diff --git a/apps/web-antd/src/views/monitor/operlog/data.tsx b/apps/web-antd/src/views/monitor/operlog/data.tsx
index d42b3709..6dc9c517 100644
--- a/apps/web-antd/src/views/monitor/operlog/data.tsx
+++ b/apps/web-antd/src/views/monitor/operlog/data.tsx
@@ -50,7 +50,7 @@ export const querySchema: FormSchemaGetter = () => [
export const columns: VxeGridProps['columns'] = [
{ type: 'checkbox', width: 60 },
- { field: 'title', title: '系统模块' },
+ { field: 'title', title: '系统模块', minWidth: 120 },
{
title: '操作类型',
field: 'businessType',
@@ -59,10 +59,11 @@ export const columns: VxeGridProps['columns'] = [
return renderDict(row.businessType, DictEnum.SYS_OPER_TYPE);
},
},
+ minWidth: 120,
},
- { field: 'operName', title: '操作人员' },
- { field: 'operIp', title: 'IP地址' },
- { field: 'operLocation', title: 'IP信息' },
+ { field: 'operName', title: '操作人员', minWidth: 120 },
+ { field: 'operIp', title: 'IP地址', minWidth: 180 },
+ { field: 'operLocation', title: 'IP信息', minWidth: 160 },
{
field: 'status',
title: '操作状态',
@@ -71,8 +72,9 @@ export const columns: VxeGridProps['columns'] = [
return renderDict(row.status, DictEnum.SYS_COMMON_STATUS);
},
},
+ minWidth: 100,
},
- { field: 'operTime', title: '操作日期', sortable: true },
+ { field: 'operTime', title: '操作日期', sortable: true, minWidth: 160 },
{
field: 'costTime',
title: '操作耗时',
@@ -80,6 +82,7 @@ export const columns: VxeGridProps['columns'] = [
formatter({ cellValue }) {
return `${cellValue} ms`;
},
+ minWidth: 100,
},
{
field: 'action',
diff --git a/apps/web-antd/src/views/system/config/data.ts b/apps/web-antd/src/views/system/config/data.ts
index 0b462e4f..84996299 100644
--- a/apps/web-antd/src/views/system/config/data.ts
+++ b/apps/web-antd/src/views/system/config/data.ts
@@ -39,14 +39,17 @@ export const columns: VxeGridProps['columns'] = [
{
title: '参数名称',
field: 'configName',
+ minWidth: 160,
},
{
title: '参数KEY',
field: 'configKey',
+ minWidth: 160,
},
{
title: '参数Value',
field: 'configValue',
+ minWidth: 200,
},
{
title: '系统内置',
@@ -61,10 +64,12 @@ export const columns: VxeGridProps['columns'] = [
{
title: '备注',
field: 'remark',
+ minWidth: 120,
},
{
title: '创建时间',
field: 'createTime',
+ minWidth: 160,
},
{
field: 'action',
diff --git a/apps/web-antd/src/views/system/dept/data.ts b/apps/web-antd/src/views/system/dept/data.ts
index 8ae8a96d..47566dd6 100644
--- a/apps/web-antd/src/views/system/dept/data.ts
+++ b/apps/web-antd/src/views/system/dept/data.ts
@@ -30,32 +30,36 @@ export const columns: VxeGridProps['columns'] = [
field: 'deptName',
title: '部门名称',
treeNode: true,
- width: 200,
+ resizable: false,
+ minWidth: 220,
},
{
field: 'deptCategory',
title: '类别编码',
+ resizable: false,
+ minWidth: 120,
},
{
field: 'orderNum',
title: '排序',
resizable: false,
- width: 'auto',
+ width: 80,
},
{
field: 'status',
resizable: false,
- width: 'auto',
title: '状态',
slots: {
default: ({ row }) => {
return renderDict(row.status, DictEnum.SYS_NORMAL_DISABLE);
},
},
+ width: 120,
},
{
field: 'createTime',
title: '创建时间',
+ minWidth: 160,
},
{
field: 'action',
diff --git a/apps/web-antd/src/views/system/dict/data/data.ts b/apps/web-antd/src/views/system/dict/data/data.ts
index 087e96b2..482ca1ec 100644
--- a/apps/web-antd/src/views/system/dict/data/data.ts
+++ b/apps/web-antd/src/views/system/dict/data/data.ts
@@ -23,22 +23,27 @@ export const columns: VxeGridProps['columns'] = [
return renderDictTag(dictValue, [row]);
},
},
+ minWidth: 120,
},
{
title: '字典键值',
field: 'dictValue',
+ minWidth: 100,
},
{
title: '字典排序',
field: 'dictSort',
+ minWidth: 80,
},
{
title: '备注',
field: 'remark',
+ minWidth: 120,
},
{
title: '创建时间',
field: 'createTime',
+ minWidth: 160,
},
{
field: 'action',
diff --git a/apps/web-antd/src/views/system/dict/type/data.ts b/apps/web-antd/src/views/system/dict/type/data.ts
index cfd584a7..dd766cad 100644
--- a/apps/web-antd/src/views/system/dict/type/data.ts
+++ b/apps/web-antd/src/views/system/dict/type/data.ts
@@ -21,18 +21,22 @@ export const columns: VxeGridProps['columns'] = [
{
title: '字典名称',
field: 'dictName',
+ minWidth: 120,
},
{
title: '字典类型',
field: 'dictType',
+ minWidth: 160,
},
{
title: '备注',
field: 'remark',
+ minWidth: 120,
},
{
title: '创建时间',
field: 'createTime',
+ minWidth: 160,
},
{
field: 'action',
diff --git a/apps/web-antd/src/views/system/menu/data.tsx b/apps/web-antd/src/views/system/menu/data.tsx
index f29cc4f3..9a29b9d5 100644
--- a/apps/web-antd/src/views/system/menu/data.tsx
+++ b/apps/web-antd/src/views/system/menu/data.tsx
@@ -111,10 +111,12 @@ export const columns: VxeGridProps['columns'] = [
{
title: '权限标识',
field: 'perms',
+ minWidth: 200,
},
{
title: '组件路径',
field: 'component',
+ minWidth: 200,
},
{
title: '状态',
@@ -139,6 +141,7 @@ export const columns: VxeGridProps['columns'] = [
{
title: '创建时间',
field: 'createTime',
+ minWidth: 160,
},
{
field: 'action',
diff --git a/apps/web-antd/src/views/system/notice/data.ts b/apps/web-antd/src/views/system/notice/data.ts
index 8e052c19..726e64b6 100644
--- a/apps/web-antd/src/views/system/notice/data.ts
+++ b/apps/web-antd/src/views/system/notice/data.ts
@@ -34,6 +34,7 @@ export const columns: VxeGridProps['columns'] = [
{
title: '公告标题',
field: 'noticeTitle',
+ minWidth: 220,
},
{
title: '公告类型',
@@ -63,6 +64,7 @@ export const columns: VxeGridProps['columns'] = [
{
title: '创建时间',
field: 'createTime',
+ minWidth: 160,
},
{
field: 'action',
diff --git a/apps/web-antd/src/views/system/oss-config/data.tsx b/apps/web-antd/src/views/system/oss-config/data.tsx
index 2d086210..f0439a05 100644
--- a/apps/web-antd/src/views/system/oss-config/data.tsx
+++ b/apps/web-antd/src/views/system/oss-config/data.tsx
@@ -40,19 +40,23 @@ export const columns: VxeGridProps['columns'] = [
{
title: '配置名称',
field: 'configKey',
+ minWidth: 120,
},
{
title: '访问站点',
field: 'endpoint',
showOverflow: true,
+ minWidth: 220,
},
{
title: '桶名称',
field: 'bucketName',
+ minWidth: 140,
},
{
title: '域',
field: 'region',
+ minWidth: 140,
},
{
title: '权限桶类型',
@@ -68,6 +72,7 @@ export const columns: VxeGridProps['columns'] = [
return '未知类型';
},
},
+ minWidth: 120,
},
{
title: '是否默认',
@@ -75,6 +80,7 @@ export const columns: VxeGridProps['columns'] = [
slots: {
default: 'status',
},
+ minWidth: 120,
},
{
field: 'action',
diff --git a/apps/web-antd/src/views/system/oss/data.tsx b/apps/web-antd/src/views/system/oss/data.tsx
index ec834796..b2ed399c 100644
--- a/apps/web-antd/src/views/system/oss/data.tsx
+++ b/apps/web-antd/src/views/system/oss/data.tsx
@@ -35,34 +35,41 @@ export const columns: VxeGridProps['columns'] = [
title: '文件名',
field: 'fileName',
showOverflow: true,
+ minWidth: 160,
},
{
title: '文件原名',
field: 'originalName',
showOverflow: true,
+ minWidth: 160,
},
{
title: '文件拓展名',
field: 'fileSuffix',
+ minWidth: 120,
},
{
title: '文件预览',
field: 'url',
showOverflow: true,
slots: { default: 'url' },
+ minWidth: 180,
},
{
title: '创建时间',
field: 'createTime',
sortable: true,
+ minWidth: 160,
},
{
title: '上传人',
field: 'createByName',
+ minWidth: 120,
},
{
title: '服务商',
field: 'service',
+ minWidth: 120,
},
{
field: 'action',
diff --git a/apps/web-antd/src/views/system/post/data.ts b/apps/web-antd/src/views/system/post/data.ts
index e8595553..9eb35a9a 100644
--- a/apps/web-antd/src/views/system/post/data.ts
+++ b/apps/web-antd/src/views/system/post/data.ts
@@ -34,18 +34,22 @@ export const columns: VxeGridProps['columns'] = [
{
title: '岗位编码',
field: 'postCode',
+ minWidth: 120,
},
{
title: '类别编码',
field: 'postCategory',
+ minWidth: 120,
},
{
title: '岗位名称',
field: 'postName',
+ minWidth: 120,
},
{
title: '排序',
field: 'postSort',
+ minWidth: 80,
},
{
title: '状态',
@@ -55,6 +59,7 @@ export const columns: VxeGridProps['columns'] = [
return renderDict(row.status, DictEnum.SYS_NORMAL_DISABLE);
},
},
+ minWidth: 120,
},
{
title: '创建时间',
diff --git a/apps/web-antd/src/views/system/role-assign/data.tsx b/apps/web-antd/src/views/system/role-assign/data.tsx
index a26bd164..456339be 100644
--- a/apps/web-antd/src/views/system/role-assign/data.tsx
+++ b/apps/web-antd/src/views/system/role-assign/data.tsx
@@ -19,18 +19,22 @@ export const columns: VxeGridProps['columns'] = [
{
title: '用户账号',
field: 'userName',
+ minWidth: 120,
},
{
title: '用户昵称',
field: 'nickName',
+ minWidth: 120,
},
{
title: '邮箱',
field: 'email',
+ minWidth: 180,
},
{
title: '手机号',
field: 'phonenumber',
+ minWidth: 160,
},
{
field: 'action',
diff --git a/apps/web-antd/src/views/system/role/data.tsx b/apps/web-antd/src/views/system/role/data.tsx
index 4fe79453..b2e87e84 100644
--- a/apps/web-antd/src/views/system/role/data.tsx
+++ b/apps/web-antd/src/views/system/role/data.tsx
@@ -51,6 +51,7 @@ export const columns: VxeGridProps['columns'] = [
{
title: '角色名称',
field: 'roleName',
+ minWidth: 100,
},
{
title: '权限字符',
@@ -60,6 +61,7 @@ export const columns: VxeGridProps['columns'] = [
return {row.roleKey};
},
},
+ minWidth: 120,
},
{
title: '数据权限',
@@ -75,19 +77,23 @@ export const columns: VxeGridProps['columns'] = [
return {row.dataScope};
},
},
+ minWidth: 160,
},
{
title: '排序',
field: 'roleSort',
+ minWidth: 60,
},
{
title: '状态',
field: 'status',
slots: { default: 'status' },
+ minWidth: 80,
},
{
title: '创建时间',
field: 'createTime',
+ minWidth: 160,
},
{
field: 'action',
diff --git a/apps/web-antd/src/views/system/tenant/data.tsx b/apps/web-antd/src/views/system/tenant/data.tsx
index 69af062b..25712819 100644
--- a/apps/web-antd/src/views/system/tenant/data.tsx
+++ b/apps/web-antd/src/views/system/tenant/data.tsx
@@ -35,18 +35,22 @@ export const columns: VxeGridProps['columns'] = [
{
title: '租户编号',
field: 'tenantId',
+ minWidth: 120,
},
{
title: '租户名称',
field: 'companyName',
+ minWidth: 240,
},
{
title: '联系人',
field: 'contactUserName',
+ minWidth: 120,
},
{
title: '联系电话',
field: 'contactPhone',
+ minWidth: 160,
},
{
title: '到期时间',
@@ -57,11 +61,13 @@ export const columns: VxeGridProps['columns'] = [
}
return cellValue;
},
+ minWidth: 160,
},
{
title: '租户状态',
field: 'status',
slots: { default: 'status' },
+ minWidth: 100,
},
{
field: 'action',
diff --git a/apps/web-antd/src/views/system/tenantPackage/data.ts b/apps/web-antd/src/views/system/tenantPackage/data.ts
index a80de6a5..b590984d 100644
--- a/apps/web-antd/src/views/system/tenantPackage/data.ts
+++ b/apps/web-antd/src/views/system/tenantPackage/data.ts
@@ -14,15 +14,18 @@ export const columns: VxeGridProps['columns'] = [
{
title: '套餐名称',
field: 'packageName',
+ minWidth: 160,
},
{
title: '备注',
field: 'remark',
+ minWidth: 180,
},
{
title: '状态',
field: 'status',
slots: { default: 'status' },
+ minWidth: 100,
},
{
field: 'action',
diff --git a/apps/web-antd/src/views/workflow/category/data.ts b/apps/web-antd/src/views/workflow/category/data.ts
index 9dfe1940..8c6d34cf 100644
--- a/apps/web-antd/src/views/workflow/category/data.ts
+++ b/apps/web-antd/src/views/workflow/category/data.ts
@@ -19,14 +19,17 @@ export const columns: VxeGridProps['columns'] = [
field: 'categoryName',
title: '分类名称',
treeNode: true,
+ minWidth: 200,
},
{
field: 'orderNum',
title: '排序',
+ minWidth: 80,
},
{
field: 'createTime',
title: '创建时间',
+ minWidth: 160,
},
{
field: 'action',