设置列最小宽度

This commit is contained in:
zjl 2024-12-16 10:47:04 +08:00
parent a657c26329
commit 77e3ec78df
33 changed files with 208 additions and 198 deletions

View File

@ -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: '创建时间',

View File

@ -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: '创建时间',

View File

@ -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: '创建时间',

View File

@ -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: '创建时间',

View File

@ -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: '创建时间',

View File

@ -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,
},
];

View File

@ -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,
},
];

View File

@ -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: '创建时间',

View File

@ -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,
},
];

View File

@ -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,
},
];

View File

@ -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,
},
];

View File

@ -11,11 +11,11 @@ export const columns = [
{
label: '字典名称',
prop: 'name',
width: 100,
minWidth: 100,
},
{
label: '字典编码',
prop: 'code',
width: 100,
minWidth: 100,
},
];

View File

@ -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: '创建时间',

View File

@ -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: '创建时间',

View File

@ -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: '创建时间',

View File

@ -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: '创建时间',

View File

@ -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: '创建时间',

View File

@ -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: '创建时间',

View File

@ -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: '创建时间',

View File

@ -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: '创建时间',

View File

@ -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: '创建时间',

View File

@ -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: '创建时间',

View File

@ -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: '创建时间',

View File

@ -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: '创建时间',

View File

@ -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: '状态',

View File

@ -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,
},
];

View File

@ -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: '创建时间',

View File

@ -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),

View File

@ -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),

View File

@ -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: '创建时间',

View File

@ -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: '创建时间',

View File

@ -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: '创建时间',

View File

@ -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: '创建时间',