feat: oss
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { FormSchemaGetter } from '#/adapter';
|
||||
import type { FormSchemaGetter, VxeGridProps } from '#/adapter';
|
||||
|
||||
export const querySchema: FormSchemaGetter = () => [
|
||||
{
|
||||
@@ -27,3 +27,46 @@ export const querySchema: FormSchemaGetter = () => [
|
||||
label: '创建时间',
|
||||
},
|
||||
];
|
||||
|
||||
export const columns: VxeGridProps['columns'] = [
|
||||
{ type: 'checkbox', width: 60 },
|
||||
{
|
||||
title: '文件名',
|
||||
field: 'fileName',
|
||||
showOverflow: true,
|
||||
},
|
||||
{
|
||||
title: '文件原名',
|
||||
field: 'originalName',
|
||||
showOverflow: true,
|
||||
},
|
||||
{
|
||||
title: '文件拓展名',
|
||||
field: 'fileSuffix',
|
||||
},
|
||||
{
|
||||
title: '文件预览',
|
||||
field: 'url',
|
||||
showOverflow: true,
|
||||
slots: { default: 'url' },
|
||||
},
|
||||
{
|
||||
title: '创建时间',
|
||||
field: 'createTime',
|
||||
},
|
||||
{
|
||||
title: '上传人',
|
||||
field: 'createByName',
|
||||
},
|
||||
{
|
||||
title: '服务商',
|
||||
field: 'service',
|
||||
},
|
||||
{
|
||||
field: 'action',
|
||||
fixed: 'right',
|
||||
slots: { default: 'action' },
|
||||
title: '操作',
|
||||
width: 180,
|
||||
},
|
||||
];
|
||||
|
Reference in New Issue
Block a user