@jdlinker/linker
Version:
jdLinker 系统模块
51 lines (50 loc) • 935 B
text/typescript
import {BasicColumn} from '@jdlinker/ui';
import {FormSchema} from '@jdlinker/ui';
//列表数据
export const columns: BasicColumn[] = [
{
title: '分组名称',
align:"center",
dataIndex: 'name'
},
{
title: '描述',
align:"center",
dataIndex: 'description'
},
];
//查询数据
export const searchFormSchema: FormSchema[] = [
{
label: "分组名称",
field: 'name',
component: 'JInput',
colProps: {span: 6},
},
{
label: "描述",
field: 'description',
component: 'JInput',
colProps: {span: 6},
},
];
//表单数据
export const formSchema: FormSchema[] = [
{
label: '分组名称',
field: 'name',
component: 'Input',
},
{
label: '描述',
field: 'description',
component: 'Input',
},
// TODO 主键隐藏字段,目前写死为ID
{
label: '',
field: 'id',
component: 'Input',
show: false
},
];