diff --git a/src/views/content/ad/columns.ts b/src/views/content/ad/columns.ts index d967c81..7334e90 100644 --- a/src/views/content/ad/columns.ts +++ b/src/views/content/ad/columns.ts @@ -13,7 +13,7 @@ export const columns = [ { label: '广告标题', prop: 'title', - width: 250, + minWidth: 250, render(record) { return h( 'a', @@ -28,7 +28,7 @@ export const columns = [ { label: '广告封面', prop: 'cover', - width: 100, + minWidth: 100, render(record) { return h(ElAvatar, { size: 35, @@ -41,7 +41,7 @@ export const columns = [ { label: '广告类型', prop: 'type', - width: 100, + minWidth: 100, render(record) { let typeText = ''; switch (record.row.type) { @@ -63,7 +63,7 @@ export const columns = [ { label: '广告状态', prop: 'status', - width: 100, + minWidth: 100, render(record) { return h( ElTag, @@ -79,7 +79,7 @@ export const columns = [ { label: '广告尺寸', prop: 'size', - width: 100, + minWidth: 100, render(record) { return record.row.width + 'x' + record.row.height; }, @@ -87,7 +87,7 @@ export const columns = [ { label: '投放时间', prop: 'time', - width: 300, + minWidth: 300, render(record) { return record.row.startTime + '-' + record.row.endTime; }, @@ -95,17 +95,17 @@ export const columns = [ { label: '点击量', prop: 'click', - width: 100, + minWidth: 100, }, { label: '排序', prop: 'sort', - width: 100, + minWidth: 100, }, { label: '创建人', prop: 'createUser', - width: 100, + minWidth: 100, }, { label: '创建时间', diff --git a/src/views/content/adSort/columns.ts b/src/views/content/adSort/columns.ts index 6ae7ff9..c9de152 100644 --- a/src/views/content/adSort/columns.ts +++ b/src/views/content/adSort/columns.ts @@ -14,17 +14,17 @@ export const columns = [ { label: '广告位名称', prop: 'name', - width: 200, + minWidth: 200, }, { label: '广告位编号', prop: 'location', - width: 100, + minWidth: 100, }, { label: '广告位类型', prop: 'type', - width: 100, + minWidth: 100, render(record) { let typeText = ''; switch (record.row.type) { @@ -46,12 +46,12 @@ export const columns = [ { label: '排序', prop: 'sort', - width: 100, + minWidth: 100, }, { label: '创建人', prop: 'createUser', - width: 100, + minWidth: 100, }, { label: '创建时间', diff --git a/src/views/content/article/columns.ts b/src/views/content/article/columns.ts index 6c29b1b..794bc56 100644 --- a/src/views/content/article/columns.ts +++ b/src/views/content/article/columns.ts @@ -14,7 +14,7 @@ export const columns = [ { label: '文章标题', prop: 'title', - width: 250, + minWidth: 250, render(record) { return h( 'a', @@ -29,7 +29,7 @@ export const columns = [ { label: '文章封面', prop: 'cover', - width: 100, + minWidth: 100, render(record) { return h(ElAvatar, { size: 48, @@ -42,12 +42,12 @@ export const columns = [ { label: '文章分类', prop: 'categoryName', - width: 100, + minWidth: 100, }, { label: '文章作者', prop: 'author', - width: 100, + minWidth: 100, }, // { // label: '文章链接', @@ -57,7 +57,7 @@ export const columns = [ { label: '文章状态', prop: 'status', - width: 100, + minWidth: 100, render(record) { return h( ElTag, @@ -73,17 +73,17 @@ export const columns = [ { label: '点击率', prop: 'click', - width: 100, + minWidth: 100, }, { label: '文章排序', prop: 'sort', - width: 100, + minWidth: 100, }, { label: '创建人', prop: 'createUser', - width: 100, + minWidth: 100, }, { label: '创建时间', diff --git a/src/views/content/layout/columns.ts b/src/views/content/layout/columns.ts index 4977659..54ced73 100644 --- a/src/views/content/layout/columns.ts +++ b/src/views/content/layout/columns.ts @@ -14,22 +14,22 @@ export const columns = [ { label: '位置描述', prop: 'description', - width: 200, + minWidth: 200, }, { label: '位置编号', prop: 'location', - width: 100, + minWidth: 100, }, { label: '排序', prop: 'sort', - width: 100, + minWidth: 100, }, { label: '创建人', prop: 'createUser', - width: 100, + minWidth: 100, }, { label: '创建时间', diff --git a/src/views/content/layoutItem/columns.ts b/src/views/content/layoutItem/columns.ts index c74e785..6d04f1a 100644 --- a/src/views/content/layoutItem/columns.ts +++ b/src/views/content/layoutItem/columns.ts @@ -14,7 +14,7 @@ export const columns = [ { label: '位置描述', prop: 'description', - width: 250, + minWidth: 250, render(record) { return record.row.layoutDescription + '>>' + record.row.layoutLocation; }, @@ -22,12 +22,12 @@ export const columns = [ { label: '推荐类型', prop: 'typeText', - width: 100, + minWidth: 100, }, { label: '推荐ID', prop: 'typeId', - width: 100, + minWidth: 100, }, // { // label: '推荐图片', @@ -45,17 +45,17 @@ export const columns = [ { label: '推荐标题', prop: 'typeTitle', - width: 200, + minWidth: 200, }, { label: '排序', prop: 'sort', - width: 100, + minWidth: 100, }, { label: '创建人', prop: 'createUser', - width: 100, + minWidth: 100, }, { label: '创建时间', diff --git a/src/views/content/layoutItem/layout/article/columns.ts b/src/views/content/layoutItem/layout/article/columns.ts index dbcf117..750b570 100644 --- a/src/views/content/layoutItem/layout/article/columns.ts +++ b/src/views/content/layoutItem/layout/article/columns.ts @@ -11,14 +11,17 @@ export const columns = [ { label: '文章标题', prop: 'title', + minWidth: 250, }, { label: '文章分类', prop: 'categoryName', + minWidth: 100, }, { label: '文章状态', prop: 'status', + minWidth: 100, render(record) { return h('span', record.row.status === 1 ? '下架' : '正常'); }, @@ -26,9 +29,11 @@ export const columns = [ { label: '创建人', prop: 'createUser', + minWidth: 100, }, { label: '创建时间', prop: 'createTime', + minWidth: 180, }, ]; diff --git a/src/views/content/layoutItem/layout/notice/columns.ts b/src/views/content/layoutItem/layout/notice/columns.ts index 1cc9975..9b03447 100644 --- a/src/views/content/layoutItem/layout/notice/columns.ts +++ b/src/views/content/layoutItem/layout/notice/columns.ts @@ -11,7 +11,7 @@ export const columns2 = [ { label: '通知标题', prop: 'title', - width: 300, + minWidth: 250, }, { label: '通知类型', @@ -19,6 +19,7 @@ export const columns2 = [ // render(record) { // return h('span', record.row.type === 1 ? '通知' : '公告'); // }, + minWidth: 100, render(record) { return h( ElTag, @@ -34,6 +35,7 @@ export const columns2 = [ { label: '通知状态', prop: 'status', + minWidth: 100, // render(record) { // return h('span', record.row.status === 1 ? '正常' : '关闭') // }, @@ -52,14 +54,16 @@ export const columns2 = [ { label: '点击率', prop: 'clickNum', + minWidth: 100, }, { label: '创建人', prop: 'createUser', + minWidth: 100, }, { label: '创建时间', prop: 'createTime', - width: 180, + minWidth: 180, }, ]; diff --git a/src/views/content/link/columns.ts b/src/views/content/link/columns.ts index e5c91c3..361d1c2 100644 --- a/src/views/content/link/columns.ts +++ b/src/views/content/link/columns.ts @@ -14,12 +14,12 @@ export const columns = [ { label: '友链名称', prop: 'name', - width: 150, + minWidth: 150, }, { label: '友链类型', prop: 'type', - width: 100, + minWidth: 100, render(record) { return h('span', record.row.type === 1 ? '友情链接' : '合作伙伴'); }, @@ -27,7 +27,7 @@ export const columns = [ { label: '友链形式', prop: 'form', - width: 100, + minWidth: 100, render(record) { return h('span', record.row.form === 1 ? '文字链接' : '图片链接'); }, @@ -35,7 +35,7 @@ export const columns = [ { label: '友链地址', prop: 'url', - width: 200, + minWidth: 200, render(record) { return h( 'a', @@ -57,7 +57,7 @@ export const columns = [ { label: '状态', prop: 'status', - width: 100, + minWidth: 100, render(record) { return h( ElTag, @@ -73,12 +73,12 @@ export const columns = [ { label: '排序', prop: 'sort', - width: 100, + minWidth: 100, }, { label: '创建人', prop: 'createUser', - width: 100, + minWidth: 100, }, { label: '创建时间', diff --git a/src/views/content/tag/columns.ts b/src/views/content/tag/columns.ts index 0b61d3d..fbd428f 100644 --- a/src/views/content/tag/columns.ts +++ b/src/views/content/tag/columns.ts @@ -14,21 +14,21 @@ export const columns = [ { label: '标签名称', prop: 'name', - width: 200, + minWidth: 200, }, { label: '排序', prop: 'sort', - width: 100, + minWidth: 100, }, { label: '创建人', prop: 'createUser', - width: 100, + minWidth: 100, }, { label: '创建时间', prop: 'createTime', - width: 180, + minWidth: 180, }, ]; diff --git a/src/views/data/config/columns.ts b/src/views/data/config/columns.ts index 86d296f..bf05ba8 100644 --- a/src/views/data/config/columns.ts +++ b/src/views/data/config/columns.ts @@ -14,16 +14,16 @@ export const columns = [ { label: '配置名称', prop: 'name', - width: 100, + minWidth: 100, }, { label: '配置编码', prop: 'code', - width: 100, + minWidth: 100, }, { label: '排序', prop: 'sort', - width: 100, + minWidth: 100, }, ]; diff --git a/src/views/data/config/columnsItem.ts b/src/views/data/config/columnsItem.ts index bbf7755..4b550d5 100644 --- a/src/views/data/config/columnsItem.ts +++ b/src/views/data/config/columnsItem.ts @@ -13,22 +13,22 @@ export const columns = [ { label: '配置项名称', prop: 'name', - width: 100, + minWidth: 100, }, { label: '配置项编码', prop: 'code', - width: 150, + minWidth: 150, }, { label: '配置项值', prop: 'value', - width: 200, + minWidth: 200, }, { label: '配置项类型', prop: 'type', - width: 150, + minWidth: 150, render(record) { let typeText = ''; switch (record.row.type) { @@ -95,7 +95,7 @@ export const columns = [ { label: '配置项状态', prop: 'status', - width: 100, + minWidth: 100, render(record) { return h( ElTag, @@ -111,6 +111,6 @@ export const columns = [ { label: '排序', prop: 'sort', - width: 100, + minWidth: 100, }, ]; diff --git a/src/views/data/dict/columns.ts b/src/views/data/dict/columns.ts index d879bd2..8d125aa 100644 --- a/src/views/data/dict/columns.ts +++ b/src/views/data/dict/columns.ts @@ -11,11 +11,11 @@ export const columns = [ { label: '字典名称', prop: 'name', - width: 100, + minWidth: 100, }, { label: '字典编码', prop: 'code', - width: 100, + minWidth: 100, }, ]; diff --git a/src/views/data/dict/columnsItem.ts b/src/views/data/dict/columnsItem.ts index 33ce49d..3293a8b 100644 --- a/src/views/data/dict/columnsItem.ts +++ b/src/views/data/dict/columnsItem.ts @@ -11,32 +11,32 @@ export const columns = [ { label: '字典名称', prop: 'name', - width: 150, + minWidth: 150, }, { label: '字典项值', prop: 'value', - width: 150, + minWidth: 150, }, { label: '字典编码', prop: 'dictCode', - width: 150, + minWidth: 150, }, { label: '排序', prop: 'sort', - width: 100, + minWidth: 100, }, { label: '备注', prop: 'note', - width: 200, + minWidth: 200, }, { label: '创建人', prop: 'createUser', - width: 100, + minWidth: 100, }, { label: '创建时间', diff --git a/src/views/data/message/columns.ts b/src/views/data/message/columns.ts index 27cc847..2784210 100644 --- a/src/views/data/message/columns.ts +++ b/src/views/data/message/columns.ts @@ -14,12 +14,12 @@ export const columns = [ { label: '消息标题', prop: 'title', - width: 250, + minWidth: 250, }, { label: '消息类型', prop: 'type', - width: 100, + minWidth: 100, render(record) { let typeText = ''; switch (record.row.type) { @@ -41,7 +41,7 @@ export const columns = [ { label: '业务类型', prop: 'status', - width: 100, + minWidth: 100, render(record) { return h('span', record.row.bizType === 1 ? '订单' : '其他'); }, @@ -49,7 +49,7 @@ export const columns = [ { label: '消息状态', prop: 'status', - width: 100, + minWidth: 100, render(record) { return h('span', record.row.status === 1 ? '已读' : '未读'); }, @@ -58,7 +58,7 @@ export const columns = [ { label: '创建人', prop: 'createUser', - width: 100, + minWidth: 100, }, { label: '创建时间', diff --git a/src/views/data/notice/columns.ts b/src/views/data/notice/columns.ts index 1f723dd..110ce4a 100644 --- a/src/views/data/notice/columns.ts +++ b/src/views/data/notice/columns.ts @@ -14,12 +14,12 @@ export const columns = [ { label: '通知标题', prop: 'title', - width: 250, + minWidth: 250, }, { label: '通知封面', prop: 'cover', - width: 100, + minWidth: 100, render(record) { return h(ElAvatar, { size: 48, @@ -35,6 +35,7 @@ export const columns = [ // render(record) { // return h('span', record.row.type === 1 ? '通知' : '公告'); // }, + minWidth: 100, render(record) { return h( ElTag, @@ -50,7 +51,7 @@ export const columns = [ { label: '通知状态', prop: 'status', - width: 100, + minWidth: 100, // render(record) { // return h('span', record.row.status === 1 ? '正常' : '关闭') // }, @@ -69,12 +70,12 @@ export const columns = [ { label: '点击率', prop: 'clickNum', - width: 100, + minWidth: 100, }, { label: '创建人', prop: 'createUser', - width: 100, + minWidth: 100, }, { label: '创建时间', diff --git a/src/views/data/param/columns.ts b/src/views/data/param/columns.ts index 56047c8..9e1c671 100644 --- a/src/views/data/param/columns.ts +++ b/src/views/data/param/columns.ts @@ -14,22 +14,22 @@ export const columns = [ { label: '参数名称', prop: 'name', - width: 200, + minWidth: 200, }, { label: '参数编码', prop: 'code', - width: 250, + minWidth: 250, }, { label: '参数值', prop: 'value', - width: 200, + minWidth: 200, }, { label: '参数类型', prop: 'type', - width: 100, + minWidth: 100, render(record) { return h( ElTag, @@ -45,7 +45,7 @@ export const columns = [ { label: '参数状态', prop: 'status', - width: 100, + minWidth: 100, render(record) { return h( ElTag, @@ -61,17 +61,17 @@ export const columns = [ { label: '排序', prop: 'sort', - width: 100, + minWidth: 100, }, { label: '备注', prop: 'note', - width: 150, + minWidth: 150, }, { label: '创建人', prop: 'createUser', - width: 100, + minWidth: 100, }, { label: '创建时间', diff --git a/src/views/file/emailTemplate/columns.ts b/src/views/file/emailTemplate/columns.ts index 63b5e5d..c7058a0 100644 --- a/src/views/file/emailTemplate/columns.ts +++ b/src/views/file/emailTemplate/columns.ts @@ -14,17 +14,17 @@ export const columns = [ { label: '模板名称', prop: 'title', - width: 200, + minWidth: 200, }, { label: '模板编码', prop: 'code', - width: 150, + minWidth: 150, }, { label: '模板类型', prop: 'type', - width: 100, + minWidth: 100, render(record) { let typeText = ''; switch (record.row.type) { @@ -46,12 +46,12 @@ export const columns = [ { label: '文件名称', prop: 'fileName', - width: 100, + minWidth: 100, }, { label: '文件路径', prop: 'filePath', - width: 150, + minWidth: 150, render(record) { return h( 'a', @@ -66,7 +66,7 @@ export const columns = [ { label: '创建人', prop: 'createUser', - width: 100, + minWidth: 100, }, { label: '创建时间', diff --git a/src/views/file/fileTemplate/columns.ts b/src/views/file/fileTemplate/columns.ts index 02bb127..d689753 100644 --- a/src/views/file/fileTemplate/columns.ts +++ b/src/views/file/fileTemplate/columns.ts @@ -14,22 +14,22 @@ export const columns = [ { label: '模板名称', prop: 'name', - width: 150, + minWidth: 150, }, { label: '模板编码', prop: 'code', - width: 150, + minWidth: 150, }, { label: '文件名称', prop: 'fileName', - width: 150, + minWidth: 150, }, { label: '文件路径', prop: 'filePath', - width: 150, + minWidth: 150, render(record) { return h( 'a', @@ -44,7 +44,7 @@ export const columns = [ { label: '创建人', prop: 'createUser', - width: 100, + minWidth: 100, }, { label: '创建时间', diff --git a/src/views/file/messageTemplate/columns.ts b/src/views/file/messageTemplate/columns.ts index 72042fd..b989c9e 100644 --- a/src/views/file/messageTemplate/columns.ts +++ b/src/views/file/messageTemplate/columns.ts @@ -14,22 +14,22 @@ export const columns = [ { label: '模板编号', prop: 'number', - width: 100, + minWidth: 100, }, { label: '模板名称', prop: 'title', - width: 200, + minWidth: 200, }, { label: '模板编码', prop: 'code', - width: 150, + minWidth: 150, }, { label: '消息类型', prop: 'type', - width: 100, + minWidth: 100, render(record) { let typeText = ''; switch (record.row.type) { @@ -51,12 +51,12 @@ export const columns = [ { label: '模板内容', prop: 'content', - width: 350, + minWidth: 350, }, { label: '创建人', prop: 'createUser', - width: 100, + minWidth: 100, }, { label: '创建时间', diff --git a/src/views/file/smsTemplate/columns.ts b/src/views/file/smsTemplate/columns.ts index 3910f16..f5000dc 100644 --- a/src/views/file/smsTemplate/columns.ts +++ b/src/views/file/smsTemplate/columns.ts @@ -14,22 +14,22 @@ export const columns = [ { label: '模板编号', prop: 'number', - width: 100, + minWidth: 100, }, { label: '模板名称', prop: 'title', - width: 150, + minWidth: 150, }, { label: '模板编码', prop: 'code', - width: 150, + minWidth: 150, }, { label: '模板类型', prop: 'type', - width: 100, + minWidth: 100, render(record) { let typeText = ''; switch (record.row.type) { @@ -51,12 +51,12 @@ export const columns = [ { label: '模板内容', prop: 'content', - width: 350, + minWidth: 350, }, { label: '创建人', prop: 'createUser', - width: 100, + minWidth: 100, }, { label: '创建时间', diff --git a/src/views/logger/emailLog/columns.ts b/src/views/logger/emailLog/columns.ts index 3046891..37556be 100644 --- a/src/views/logger/emailLog/columns.ts +++ b/src/views/logger/emailLog/columns.ts @@ -14,12 +14,12 @@ export const columns = [ { label: '日志标题', prop: 'title', - width: 250, + minWidth: 250, }, { label: '日志类型', prop: 'type', - width: 100, + minWidth: 100, render(record) { let typeText = ''; switch (record.row.type) { @@ -47,17 +47,17 @@ export const columns = [ { label: '模板编号', prop: 'code', - width: 150, + minWidth: 150, }, { label: '接收人邮箱', prop: 'receiveEmail', - width: 150, + minWidth: 150, }, { label: '接收人类型', prop: 'receiveType', - width: 100, + minWidth: 100, render(record) { let typeText = ''; switch (record.row.receiveType) { @@ -79,12 +79,12 @@ export const columns = [ { label: '请求耗时', prop: 'consumeTime', - width: 100, + minWidth: 100, }, { label: '日志状态', prop: 'status', - width: 100, + minWidth: 100, render(record) { return h('span', record.row.status === 1 ? '已读' : '未读'); }, @@ -92,7 +92,7 @@ export const columns = [ { label: '创建人', prop: 'createUser', - width: 100, + minWidth: 100, }, { label: '创建时间', diff --git a/src/views/logger/fileLog/columns.ts b/src/views/logger/fileLog/columns.ts index 7f1a81e..22d3722 100644 --- a/src/views/logger/fileLog/columns.ts +++ b/src/views/logger/fileLog/columns.ts @@ -14,7 +14,7 @@ export const columns = [ { label: '文件名称', prop: 'originalName', - width: 200, + minWidth: 200, render(record) { return h( 'a', @@ -29,7 +29,7 @@ export const columns = [ { label: '日志类型', prop: 'type', - width: 100, + minWidth: 100, render(record) { let typeText = ''; switch (record.row.type) { @@ -51,12 +51,12 @@ export const columns = [ { label: '文件类型', prop: 'fileType', - width: 100, + minWidth: 100, }, { label: '文件大小', prop: 'fileSize', - width: 100, + minWidth: 100, render(record) { return h('span', record.row.fileSize + 'B'); }, @@ -64,12 +64,12 @@ export const columns = [ { label: '文件后缀', prop: 'fileExtension', - width: 100, + minWidth: 100, }, { label: '创建人', prop: 'createUser', - width: 100, + minWidth: 100, }, { label: '创建时间', diff --git a/src/views/logger/smsLog/columns.ts b/src/views/logger/smsLog/columns.ts index fdea25e..5886ec3 100644 --- a/src/views/logger/smsLog/columns.ts +++ b/src/views/logger/smsLog/columns.ts @@ -14,12 +14,12 @@ export const columns = [ { label: '日志标题', prop: 'title', - width: 100, + minWidth: 100, }, { label: '日志类型', prop: 'typeText', - width: 100, + minWidth: 100, // // 此处作为案例,禁止删除 // render(record) { // let typeText = '' @@ -48,17 +48,17 @@ export const columns = [ { label: '模板编号', prop: 'number', - width: 100, + minWidth: 100, }, { label: '接收人手机', prop: 'receiveMobile', - width: 120, + minWidth: 120, }, { label: '接收人类型', prop: 'receiveType', - width: 100, + minWidth: 100, render(record) { let typeText = ''; switch (record.row.receiveType) { @@ -80,12 +80,12 @@ export const columns = [ { label: '请求耗时', prop: 'consumeTime', - width: 100, + minWidth: 100, }, { label: '日志状态', prop: 'status', - width: 100, + minWidth: 100, render(record) { return h('span', record.row.status === 1 ? '已读' : '未读'); }, @@ -93,7 +93,7 @@ export const columns = [ { label: '创建人', prop: 'createUser', - width: 100, + minWidth: 100, }, { label: '创建时间', diff --git a/src/views/monitor/dataSource/columns.ts b/src/views/monitor/dataSource/columns.ts index 05e5237..5f80811 100644 --- a/src/views/monitor/dataSource/columns.ts +++ b/src/views/monitor/dataSource/columns.ts @@ -14,12 +14,12 @@ export const columns = [ { label: '数据源名称', prop: 'name', - width: 150, + minWidth: 150, }, { label: '数据库类型', prop: 'dbType', - width: 100, + minWidth: 100, render(record) { let typeText = ''; switch (record.row.dbType) { @@ -47,37 +47,37 @@ export const columns = [ { label: '数据源编码', prop: 'code', - width: 100, + minWidth: 100, }, { label: '数据库驱动类', prop: 'dbDriver', - width: 150, + minWidth: 150, }, { label: '数据源地址', prop: 'dbUrl', - width: 100, + minWidth: 100, }, { label: '数据库名称', prop: 'dbName', - width: 100, + minWidth: 100, }, { label: '数据库用户名', prop: 'dbUsername', - width: 120, + minWidth: 120, }, { label: '备注', prop: 'note', - width: 200, + minWidth: 200, }, { label: '创建人', prop: 'createUser', - width: 100, + minWidth: 100, }, { label: '创建时间', diff --git a/src/views/monitor/job/columns.ts b/src/views/monitor/job/columns.ts index d6b48bd..2b8c40b 100644 --- a/src/views/monitor/job/columns.ts +++ b/src/views/monitor/job/columns.ts @@ -14,32 +14,32 @@ export const columns = [ { label: '任务名称', prop: 'jobName', - width: 200, + minWidth: 200, }, { label: '任务分组', prop: 'jobGroup', - width: 100, + minWidth: 100, }, { label: '任务触发器', prop: 'jobTrigger', - width: 150, + minWidth: 150, }, { label: '执行表达式', prop: 'cronExpression', - width: 150, + minWidth: 150, }, { label: '执行策略', prop: 'executePolicyText', - width: 100, + minWidth: 100, }, { label: '同步任务', prop: 'isSync', - width: 100, + minWidth: 100, render(record) { return h( ElTag, @@ -55,18 +55,18 @@ export const columns = [ { label: 'URL', prop: 'url', - width: 150, + minWidth: 150, }, { label: '状态', isSlot: true, value: 'status', - width: 100, + minWidth: 100, }, { label: '备注', prop: 'note', - width: 200, + minWidth: 200, }, // { // label: '状态', diff --git a/src/views/monitor/job/log/columns.ts b/src/views/monitor/job/log/columns.ts index f37a1e6..f9c131c 100644 --- a/src/views/monitor/job/log/columns.ts +++ b/src/views/monitor/job/log/columns.ts @@ -14,32 +14,32 @@ export const columns = [ { label: '任务名称', prop: 'jobName', - width: 200, + minWidth: 200, }, { label: '任务组名', prop: 'jobGroup', - width: 100, + minWidth: 100, }, { label: '任务触发器', prop: 'jobTrigger', - width: 200, + minWidth: 200, }, { label: '任务日志信息', prop: 'jobMessage', - width: 300, + minWidth: 300, }, { label: '执行表达式', prop: 'cronExpression', - width: 150, + minWidth: 150, }, { label: '执行状态', prop: 'status', - width: 100, + minWidth: 100, render(record) { let typeText = ''; switch (record.row.status) { @@ -64,21 +64,21 @@ export const columns = [ { label: '任务开始时间', prop: 'startTime', - width: 180, + minWidth: 180, }, { label: '任务结束时间', prop: 'endTime', - width: 180, + minWidth: 180, }, { label: '任务执行时间', prop: 'createTime', - width: 180, + minWidth: 180, }, { label: '任务执行耗时', prop: 'consumeTime', - width: 120, + minWidth: 120, }, ]; diff --git a/src/views/system/level/columns.ts b/src/views/system/level/columns.ts index 6f3491f..2bf318e 100644 --- a/src/views/system/level/columns.ts +++ b/src/views/system/level/columns.ts @@ -14,12 +14,12 @@ export const columns = [ { label: '职级名称', prop: 'name', - width: 100, + minWidth: 200, }, { label: '职级状态', prop: 'status', - width: 100, + minWidth: 100, render(record) { return h( ElTag, @@ -35,12 +35,12 @@ export const columns = [ { label: '排序', prop: 'sort', - width: 100, + minWidth: 100, }, { label: '创建人', prop: 'createUser', - width: 100, + minWidth: 100, }, { label: '创建时间', diff --git a/src/views/system/logger/loginLog/columns.ts b/src/views/system/logger/loginLog/columns.ts index 089c962..0d71aaa 100644 --- a/src/views/system/logger/loginLog/columns.ts +++ b/src/views/system/logger/loginLog/columns.ts @@ -14,7 +14,7 @@ export const columns = [ { label: '访客', align: 'left', - width: 200, + minWidth: 200, render(record) { return h('div', [ h( @@ -46,7 +46,7 @@ export const columns = [ { label: '请求接口', align: 'left', - width: 200, + minWidth: 200, render(record) { return h('div', [ h( @@ -67,7 +67,7 @@ export const columns = [ { label: '接口响应', align: 'left', - width: 250, + minWidth: 250, render(record) { return h('div', [ h('span', '状态:'), @@ -95,7 +95,7 @@ export const columns = [ { label: '操作来源', align: 'left', - width: 200, + minWidth: 200, render(record) { return h('div', [ h('div', '系统:' + record.row.os), diff --git a/src/views/system/logger/operLog/columns.ts b/src/views/system/logger/operLog/columns.ts index 5fcbb86..45e6bf6 100644 --- a/src/views/system/logger/operLog/columns.ts +++ b/src/views/system/logger/operLog/columns.ts @@ -14,7 +14,7 @@ export const columns = [ { label: '访客', align: 'left', - width: 200, + minWidth: 200, render(record) { return h('div', [ h( @@ -46,7 +46,7 @@ export const columns = [ { label: '请求接口', align: 'left', - width: 200, + minWidth: 200, render(record) { return h('div', [ h( @@ -67,7 +67,7 @@ export const columns = [ { label: '接口响应', align: 'left', - width: 250, + minWidth: 250, render(record) { return h('div', [ h('span', '状态:'), @@ -95,7 +95,7 @@ export const columns = [ { label: '操作来源', align: 'left', - width: 200, + minWidth: 200, render(record) { return h('div', [ h('div', '系统:' + record.row.os), diff --git a/src/views/system/position/columns.ts b/src/views/system/position/columns.ts index 41cb900..383a266 100644 --- a/src/views/system/position/columns.ts +++ b/src/views/system/position/columns.ts @@ -14,12 +14,12 @@ export const columns = [ { label: '岗位名称', prop: 'name', - width: 100, + minWidth: 100, }, { label: '岗位状态', prop: 'status', - width: 100, + minWidth: 100, render(record) { return h( ElTag, @@ -35,12 +35,12 @@ export const columns = [ { label: '排序', prop: 'sort', - width: 100, + minWidth: 100, }, { label: '创建人', prop: 'createUser', - width: 100, + minWidth: 100, }, { label: '创建时间', diff --git a/src/views/system/role/columns.ts b/src/views/system/role/columns.ts index 4f7a1ca..a66fa28 100644 --- a/src/views/system/role/columns.ts +++ b/src/views/system/role/columns.ts @@ -14,27 +14,27 @@ export const columns = [ { label: '角色名称', prop: 'name', - width: 150, + minWidth: 150, }, { label: '角色编码', prop: 'code', - width: 250, + minWidth: 250, }, { label: '排序', prop: 'sort', - width: 100, + minWidth: 100, }, { label: '备注', prop: 'note', - width: 200, + minWidth: 200, }, { label: '创建人', prop: 'createUser', - width: 100, + minWidth: 100, }, { label: '创建时间', diff --git a/src/views/system/tenant/columns.ts b/src/views/system/tenant/columns.ts index 582298c..79733f0 100644 --- a/src/views/system/tenant/columns.ts +++ b/src/views/system/tenant/columns.ts @@ -14,17 +14,17 @@ export const columns = [ { label: '租户名称', prop: 'name', - width: 150, + minWidth: 150, }, { label: '租户编码', prop: 'code', - width: 100, + minWidth: 100, }, { label: '租户图片', prop: 'image', - width: 100, + minWidth: 100, render(record) { return h(ElAvatar, { size: 48, @@ -37,32 +37,32 @@ export const columns = [ { label: '统一社会信用代码', prop: 'license', - width: 160, + minWidth: 160, }, { label: '租户限额', prop: 'number', - width: 100, + minWidth: 100, }, { label: '租户人数', prop: 'userNum', - width: 100, + minWidth: 100, }, { label: '到期时间', prop: 'expireTime', - width: 180, + minWidth: 180, }, { label: '联系人姓名', prop: 'contactUser', - width: 140, + minWidth: 140, }, { label: '联系人电话', prop: 'contactMobile', - width: 140, + minWidth: 140, }, { label: '联系人姓名', @@ -72,12 +72,12 @@ export const columns = [ { label: '联系人邮箱', prop: 'contactEmail', - width: 200, + minWidth: 200, }, { label: '租户网址', prop: 'contactSite', - width: 140, + minWidth: 140, render(record) { return h( 'a', @@ -92,7 +92,7 @@ export const columns = [ { label: '状态', prop: 'status', - width: 100, + minWidth: 100, render(record) { return h( ElTag, @@ -108,7 +108,7 @@ export const columns = [ { label: '创建人', prop: 'createUser', - width: 100, + minWidth: 100, }, { label: '创建时间', diff --git a/src/views/system/user/columns.ts b/src/views/system/user/columns.ts index 1bc06f9..7322490 100644 --- a/src/views/system/user/columns.ts +++ b/src/views/system/user/columns.ts @@ -14,17 +14,17 @@ export const columns = [ { label: '登录账号', prop: 'username', - width: 100, + minWidth: 100, }, { label: '用户姓名', prop: 'realname', - width: 100, + minWidth: 100, }, { label: '头像', prop: 'avatar', - width: 100, + minWidth: 100, render(record) { return h(ElAvatar, { size: 48, @@ -37,7 +37,7 @@ export const columns = [ { label: '性别', prop: 'gender', - width: 100, + minWidth: 100, render(record) { let typeText = ''; let color = ''; @@ -71,12 +71,12 @@ export const columns = [ { label: '手机号', prop: 'mobile', - width: 160, + minWidth: 160, }, { label: '用户角色', prop: 'role', - width: 100, + minWidth: 100, render(record) { let roleNames = ''; if (record.row.roles.length > 0) { @@ -88,22 +88,22 @@ export const columns = [ { label: '职级', prop: 'levelName', - width: 100, + minWidth: 100, }, { label: '岗位', prop: 'positionName', - width: 100, + minWidth: 100, }, { label: '部门', prop: 'deptName', - width: 160, + minWidth: 160, }, { label: '状态', prop: 'status', - width: 100, + minWidth: 100, render(record) { return h( ElTag, @@ -119,7 +119,7 @@ export const columns = [ { label: '创建人', prop: 'createUser', - width: 100, + minWidth: 100, }, { label: '创建时间',