微调
This commit is contained in:
@@ -36,35 +36,20 @@ const proTable = ref<ProTableInstance>()
|
||||
const columns = reactive<ColumnProps<Log.LogList>[]>([
|
||||
{ type: 'selection', fixed: 'left', width: 50 },
|
||||
{
|
||||
prop: 'content',
|
||||
label: '内容',
|
||||
width: 600,
|
||||
},
|
||||
{
|
||||
prop: 'record_Time',
|
||||
label: '记录时间',
|
||||
width: 180,
|
||||
prop: 'id',
|
||||
label: '序号',
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
prop: 'user',
|
||||
label: '操作用户',
|
||||
search: { el: 'select', props: { filterable: true } },
|
||||
},
|
||||
|
||||
{
|
||||
prop: 'type',
|
||||
label: '日志类型',
|
||||
search: { el: 'select', props: { filterable: true } },
|
||||
},
|
||||
{
|
||||
prop: 'level',
|
||||
label: '日志等级',
|
||||
search: { el: 'select', props: { filterable: true } },
|
||||
width: 150,
|
||||
},
|
||||
{
|
||||
prop: 'record_Time',
|
||||
label: '记录时间',
|
||||
isShow: false,
|
||||
width: 200,
|
||||
search: {
|
||||
span: 2,
|
||||
render: ({ searchParam }) => {
|
||||
@@ -76,6 +61,24 @@ const columns = reactive<ColumnProps<Log.LogList>[]>([
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
prop: 'content',
|
||||
label: '内容',
|
||||
|
||||
},
|
||||
{
|
||||
prop: 'type',
|
||||
label: '日志类型',
|
||||
width: 200,
|
||||
search: { el: 'select', props: { filterable: true } },
|
||||
},
|
||||
{
|
||||
prop: 'level',
|
||||
label: '日志等级',
|
||||
width: 200,
|
||||
search: { el: 'select', props: { filterable: true } },
|
||||
},
|
||||
|
||||
])
|
||||
|
||||
//选中
|
||||
|
||||
Reference in New Issue
Block a user