export const columns = [
    {
        title: 'id',
        dataIndex: 'typeId',
        key: 'typeId',
        hidden: true
    },
    {
        title: '分类编号',
        dataIndex: 'typeCode',
        key: 'typeCode',
        width: 300
    },
    {
        title: '分类名称',
        dataIndex: 'typeName',
        key: 'typeName',
    },
    {
        title: '备注',
        dataIndex: 'typeDesc',
        ellipsis:true,
        key: 'typeDesc',
    },
    {
        title: '启用标识',
        dataIndex: 'isEnable',
        key: 'isEnable',
        width: 70,
        scopedSlots: { customRender: 'isEnable' },
    },
    {
        title: '操作',
        dataIndex: 'operator',
        key: 'operator',
        width: 140,
        scopedSlots: { customRender: 'operator' },
    },
];

export const dictColumns = [
    {
        title: 'id',
        dataIndex: 'dictId',
        key: 'dictId',
        hidden: true
    },
    {
        title: '字典编号',
        dataIndex: 'dictCode',
        key: 'dictCode',
        width: 300
    },
    {
        title: '字典名称',
        dataIndex: 'dictName',
        key: 'dictName',
    },
    {
        title: '分组1',
        dataIndex: 'attr1',
        key: 'attr1',
        width: 160
    },
    {
        title: '分组2',
        dataIndex: 'attr2',
        key: 'attr2',
        width: 160
    },
    {
        title: '分组3',
        dataIndex: 'attr3',
        key: 'attr3',
        width: 160
    },
    {
        title: '分组4',
        dataIndex: 'attr4',
        key: 'attr4',
        width: 160
    },
    {
        title: '分组5',
        dataIndex: 'attr5',
        key: 'attr5',
        width: 160
    },
    {
        title: '备注',
        dataIndex: 'dictDesc',
        ellipsis:true,
        key: 'dictDesc',
    },
    {
        title: '启用标识',
        dataIndex: 'isEnable',
        key: 'isEnable',
        width: 70,
        scopedSlots: { customRender: 'isEnable' },
    },
    {
        title: '操作',
        dataIndex: 'operator',
        key: 'operator',
        width: 100,
        scopedSlots: { customRender: 'operator' },
    },
];
