CaiYuanYiTiHua/src/views/demo/system/specialcolumn/index.data.ts

66 lines
1.0 KiB
TypeScript
Raw Normal View History

2024-07-02 17:53:02 +08:00
import { BasicColumn, FormSchema } from '@/components/Table';
// 专栏管理-table
export const columns: BasicColumn[] = [
{
title: 'id',
dataIndex: 'id',
ifShow: false,
},
{
title: '图片地址',
dataIndex: 'imgUrl',
ifShow: false,
},
{
title: '名称',
dataIndex: 'title',
width: 200,
},
{
title: 'LOGO名称',
dataIndex: 'logoTitle',
width: 200,
},
2024-07-04 14:01:13 +08:00
{
title: '类型',
dataIndex: 'isExternal',
width: 200,
},
{
title: '链接',
dataIndex: 'linkOrApi',
ifShow: false,
},
2024-07-02 17:53:02 +08:00
{
title: '状态',
dataIndex: 'isShow',
width: 200,
},
{
title: '是否开放',
dataIndex: 'isDevelop',
width: 200,
},
2024-07-02 17:53:02 +08:00
{
title: '排序',
dataIndex: 'sort',
width: 200,
},
2024-07-05 17:44:20 +08:00
{
title: '操作',
dataIndex: 'action',
width: 200,
},
2024-07-02 17:53:02 +08:00
];
// 专栏管理-搜索
export const searchFormSchema: FormSchema[] = [
{
field: 'keyword',
label: '名称',
component: 'Input',
colProps: { span: 8 },
},
];