@jdlinker/linker
Version:
jdLinker 系统模块
45 lines (43 loc) • 799 B
text/typescript
import { BasicColumn, FormSchema } from '@jdlinker/ui';
//列表数据
export const columns: BasicColumn[] = [
{
title: '证书名称',
align: 'center',
dataIndex: 'name',
},
{
title: '证书类型',
align: 'center',
dataIndex: 'instance',
customRender: ({ record }) => {
return record.type.text;
},
},
{
title: '描述',
align: 'center',
dataIndex: 'description',
},
];
//查询数据
export const searchFormSchema: FormSchema[] = [
{
label: '证书名称',
field: 'name',
component: 'Input',
},
{
label: '证书类型',
field: 'instance',
component: 'Select',
componentProps: {
options: [
{
label: '国际标准',
value: 'common',
},
],
},
},
];