优化日志、角色、文件、消息、配置、布局、广告等
This commit is contained in:
parent
43848f0bcd
commit
97e0cd4488
@ -84,7 +84,7 @@ export const columns = [
|
||||
{
|
||||
title: '投放时间',
|
||||
dataIndex: 'time',
|
||||
width: 180,
|
||||
width: 300,
|
||||
customRender({ record }) {
|
||||
return record.startTime + '-' + record.endTime;
|
||||
},
|
||||
|
@ -3,17 +3,17 @@ export const schemas2: FormSchema[] = [
|
||||
{
|
||||
name: 'title',
|
||||
component: 'Input',
|
||||
label: '标题',
|
||||
label: '通知标题',
|
||||
componentProps: {
|
||||
placeholder: '请输入标题',
|
||||
placeholder: '请输入通知标题',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'type',
|
||||
component: 'Select',
|
||||
label: '类型',
|
||||
label: '通知类型',
|
||||
componentProps: {
|
||||
placeholder: '请选择类型',
|
||||
placeholder: '请选择通知类型',
|
||||
clearable: true,
|
||||
options: [
|
||||
{
|
||||
@ -30,9 +30,9 @@ export const schemas2: FormSchema[] = [
|
||||
{
|
||||
name: 'status',
|
||||
component: 'Select',
|
||||
label: '状态',
|
||||
label: '通知状态',
|
||||
componentProps: {
|
||||
placeholder: '请选择状态',
|
||||
placeholder: '请选择通知状态',
|
||||
clearable: true,
|
||||
options: [
|
||||
{
|
||||
|
@ -11,7 +11,7 @@ export const columns = [
|
||||
{
|
||||
title: '友链名称',
|
||||
dataIndex: 'name',
|
||||
width: 100,
|
||||
width: 150,
|
||||
},
|
||||
{
|
||||
title: '友链类型',
|
||||
|
@ -12,7 +12,7 @@ export const columns = [
|
||||
title: '城市拼音',
|
||||
dataIndex: 'pinyin',
|
||||
key: 'pinyin',
|
||||
width: 100,
|
||||
width: 150,
|
||||
},
|
||||
{
|
||||
title: '城市级别',
|
||||
@ -53,7 +53,7 @@ export const columns = [
|
||||
title: '行政编码',
|
||||
dataIndex: 'areaCode',
|
||||
key: 'areaCode',
|
||||
width: 100,
|
||||
width: 150,
|
||||
},
|
||||
{
|
||||
title: '城市邮编',
|
||||
|
@ -15,12 +15,12 @@ export const columns = [
|
||||
{
|
||||
title: '配置项编码',
|
||||
dataIndex: 'code',
|
||||
width: 100,
|
||||
width: 150,
|
||||
},
|
||||
{
|
||||
title: '配置项值',
|
||||
dataIndex: 'value',
|
||||
width: 100,
|
||||
width: 200,
|
||||
},
|
||||
{
|
||||
title: '配置项类型',
|
||||
|
@ -11,7 +11,7 @@ export const columns = [
|
||||
{
|
||||
title: '消息标题',
|
||||
dataIndex: 'title',
|
||||
width: 100,
|
||||
width: 250,
|
||||
},
|
||||
{
|
||||
title: '消息类型',
|
||||
|
@ -6,7 +6,7 @@ export const columns = [
|
||||
title: 'ID',
|
||||
dataIndex: 'id',
|
||||
width: 50,
|
||||
fixed:'left'
|
||||
fixed: 'left',
|
||||
},
|
||||
{
|
||||
title: '参数名称',
|
||||
@ -63,7 +63,7 @@ export const columns = [
|
||||
{
|
||||
title: '备注',
|
||||
dataIndex: 'note',
|
||||
width: 150,
|
||||
width: 200,
|
||||
},
|
||||
{
|
||||
title: '创建人',
|
||||
|
@ -15,7 +15,7 @@ export const columns = [
|
||||
{
|
||||
title: '模板名称',
|
||||
dataIndex: 'title',
|
||||
width: 150,
|
||||
width: 200,
|
||||
},
|
||||
{
|
||||
title: '模板编码',
|
||||
|
@ -11,7 +11,7 @@ export const columns = [
|
||||
{
|
||||
title: '日志标题',
|
||||
dataIndex: 'title',
|
||||
width: 100,
|
||||
width: 250,
|
||||
},
|
||||
{
|
||||
title: '日志类型',
|
||||
@ -44,12 +44,12 @@ export const columns = [
|
||||
{
|
||||
title: '模板编号',
|
||||
dataIndex: 'code',
|
||||
width: 100,
|
||||
width: 150,
|
||||
},
|
||||
{
|
||||
title: '接收人邮箱',
|
||||
dataIndex: 'receiveEmail',
|
||||
width: 100,
|
||||
width: 150,
|
||||
},
|
||||
{
|
||||
title: '接收人类型',
|
||||
|
@ -11,7 +11,7 @@ export const columns = [
|
||||
{
|
||||
title: '文件名称',
|
||||
dataIndex: 'originalName',
|
||||
width: 100,
|
||||
width: 200,
|
||||
customRender({ record }) {
|
||||
return h(
|
||||
'a',
|
||||
|
@ -26,7 +26,7 @@ export const columns = [
|
||||
{
|
||||
title: '接收人手机',
|
||||
dataIndex: 'receiveMobile',
|
||||
width: 100,
|
||||
width: 120,
|
||||
},
|
||||
{
|
||||
title: '接收人类型',
|
||||
|
@ -57,7 +57,7 @@ export const columns = [
|
||||
title: '部门备注',
|
||||
dataIndex: 'note',
|
||||
key: 'note',
|
||||
width: 100,
|
||||
width: 200,
|
||||
},
|
||||
{
|
||||
title: '创建人',
|
||||
|
@ -6,19 +6,28 @@ export const columns = [
|
||||
title: 'ID',
|
||||
dataIndex: 'id',
|
||||
fixed: 'left',
|
||||
width: 100
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
title: '访客',
|
||||
align:'left',
|
||||
align: 'left',
|
||||
width: 200,
|
||||
customRender({ record }) {
|
||||
return h('div', [
|
||||
h('div',{
|
||||
style: {marginBottom:'5px'}
|
||||
}, record.username),
|
||||
h('div',{
|
||||
style: { marginBottom:'5px'}
|
||||
}, record.ip),
|
||||
h(
|
||||
'div',
|
||||
{
|
||||
style: { marginBottom: '5px' },
|
||||
},
|
||||
record.username,
|
||||
),
|
||||
h(
|
||||
'div',
|
||||
{
|
||||
style: { marginBottom: '5px' },
|
||||
},
|
||||
record.ip,
|
||||
),
|
||||
h(
|
||||
Tag,
|
||||
{
|
||||
@ -28,22 +37,25 @@ export const columns = [
|
||||
default: () => record.location,
|
||||
},
|
||||
),
|
||||
])
|
||||
}
|
||||
]);
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '请求接口',
|
||||
align:'left',
|
||||
align: 'left',
|
||||
width: 200,
|
||||
customRender({ record }) {
|
||||
return h('div', [
|
||||
h(Tag,
|
||||
h(
|
||||
Tag,
|
||||
{
|
||||
color: 'default',
|
||||
style: {marginBottom:'5px'}
|
||||
style: { marginBottom: '5px' },
|
||||
},
|
||||
{
|
||||
default: () => (record.requestMethod),
|
||||
}),
|
||||
default: () => record.requestMethod,
|
||||
},
|
||||
),
|
||||
h(
|
||||
'div',
|
||||
{
|
||||
@ -52,24 +64,26 @@ export const columns = [
|
||||
'接口:' + record.url,
|
||||
),
|
||||
h('div', '名称:' + record.title),
|
||||
|
||||
])
|
||||
}
|
||||
]);
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '接口响应',
|
||||
align:'left',
|
||||
align: 'left',
|
||||
width: 250,
|
||||
customRender({ record }) {
|
||||
return h('div', [
|
||||
h('span', '状态:'),
|
||||
h(Tag,
|
||||
h(
|
||||
Tag,
|
||||
{
|
||||
color: record.status == 0 ? 'success' : 'error',
|
||||
style: {marginBottom:'5px'}
|
||||
style: { marginBottom: '5px' },
|
||||
},
|
||||
{
|
||||
default: () => (record.status == 0 ? '正常' : '异常'),
|
||||
}),
|
||||
},
|
||||
),
|
||||
h(
|
||||
'div',
|
||||
{
|
||||
@ -78,19 +92,20 @@ export const columns = [
|
||||
'请求耗时:' + record.consumeTime + 'ms',
|
||||
),
|
||||
h('div', '响应时间:' + record.updateTime),
|
||||
])
|
||||
}
|
||||
]);
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '操作来源',
|
||||
align:'left',
|
||||
align: 'left',
|
||||
width: 200,
|
||||
customRender({ record }) {
|
||||
return h('div', [
|
||||
h('div', '系统:'+record.os),
|
||||
h('div', '类型:'+record.typeText),
|
||||
h('div', '来源:'+record.sourceText),
|
||||
])
|
||||
}
|
||||
h('div', '系统:' + record.os),
|
||||
h('div', '类型:' + record.typeText),
|
||||
h('div', '来源:' + record.sourceText),
|
||||
]);
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '创建时间',
|
||||
|
@ -10,15 +10,24 @@ export const columns = [
|
||||
},
|
||||
{
|
||||
title: '访客',
|
||||
align:'left',
|
||||
align: 'left',
|
||||
width: 200,
|
||||
customRender({ record }) {
|
||||
return h('div', [
|
||||
h('div',{
|
||||
style: {marginBottom:'5px'}
|
||||
}, record.createUser),
|
||||
h('div',{
|
||||
style: { marginBottom:'5px'}
|
||||
}, record.ip),
|
||||
h(
|
||||
'div',
|
||||
{
|
||||
style: { marginBottom: '5px' },
|
||||
},
|
||||
record.createUser,
|
||||
),
|
||||
h(
|
||||
'div',
|
||||
{
|
||||
style: { marginBottom: '5px' },
|
||||
},
|
||||
record.ip,
|
||||
),
|
||||
h(
|
||||
Tag,
|
||||
{
|
||||
@ -28,41 +37,47 @@ export const columns = [
|
||||
default: () => record.location,
|
||||
},
|
||||
),
|
||||
])
|
||||
}
|
||||
]);
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '请求接口',
|
||||
align:'left',
|
||||
align: 'left',
|
||||
width: 300,
|
||||
customRender({ record }) {
|
||||
return h('div', [
|
||||
h(Tag,
|
||||
h(
|
||||
Tag,
|
||||
{
|
||||
color: 'default',
|
||||
style: {marginBottom:'5px'}
|
||||
style: { marginBottom: '5px' },
|
||||
},
|
||||
{
|
||||
default: () => (record.requestMethod),
|
||||
}),
|
||||
h('div', '接口:'+record.url),
|
||||
h('div', '名称:'+record.title),
|
||||
])
|
||||
}
|
||||
default: () => record.requestMethod,
|
||||
},
|
||||
),
|
||||
h('div', '接口:' + record.url),
|
||||
h('div', '名称:' + record.title),
|
||||
]);
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '接口响应',
|
||||
align:'left',
|
||||
align: 'left',
|
||||
width: 250,
|
||||
customRender({ record }) {
|
||||
return h('div', [
|
||||
h('span', '状态:'),
|
||||
h(Tag,
|
||||
h(
|
||||
Tag,
|
||||
{
|
||||
color: record.status == 0 ? 'success' : 'error',
|
||||
style: {marginBottom:'5px'}
|
||||
style: { marginBottom: '5px' },
|
||||
},
|
||||
{
|
||||
default: () => (record.status == 0 ? '正常' : '异常'),
|
||||
}),
|
||||
},
|
||||
),
|
||||
h(
|
||||
'div',
|
||||
{
|
||||
@ -71,19 +86,20 @@ export const columns = [
|
||||
'请求耗时:' + record.consumeTime + 'ms',
|
||||
),
|
||||
h('div', '响应时间:' + record.updateTime),
|
||||
])
|
||||
}
|
||||
]);
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '操作来源',
|
||||
align:'left',
|
||||
align: 'left',
|
||||
width: 200,
|
||||
customRender({ record }) {
|
||||
return h('div', [
|
||||
h('div', '系统:'+record.os),
|
||||
h('div', '类型:'+record.typeText),
|
||||
h('div', '来源:'+record.sourceText),
|
||||
])
|
||||
}
|
||||
h('div', '系统:' + record.os),
|
||||
h('div', '类型:' + record.typeText),
|
||||
h('div', '来源:' + record.sourceText),
|
||||
]);
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '创建时间',
|
||||
|
@ -15,7 +15,7 @@ export const columns = [
|
||||
{
|
||||
title: '角色编码',
|
||||
dataIndex: 'code',
|
||||
width: 100,
|
||||
width: 250,
|
||||
},
|
||||
{
|
||||
title: '排序',
|
||||
|
Loading…
Reference in New Issue
Block a user