columns: [ | columns: [ | ||||
{ | { | ||||
title: '编号', | title: '编号', | ||||
dataIndex: 'name', | |||||
dataIndex: 'id', | |||||
align: 'center', | align: 'center', | ||||
width: 160, | width: 160, | ||||
}, | }, | ||||
width: 150, | width: 150, | ||||
}, | }, | ||||
{ | { | ||||
title: '租户编码', | |||||
dataIndex: 'code', | |||||
title: '租户账号', | |||||
dataIndex: 'username', | |||||
align: 'code', | align: 'code', | ||||
width: 100, | width: 100, | ||||
}, | }, | ||||
align: 'center', | align: 'center', | ||||
width: 150, | width: 150, | ||||
}, | }, | ||||
{ | |||||
title: '租户邮箱', | |||||
dataIndex: 'email', | |||||
align: 'center', | |||||
width: 150, | |||||
}, | |||||
{ | |||||
title: '租户地址', | |||||
dataIndex: 'address', | |||||
align: 'center', | |||||
width: 250, | |||||
}, | |||||
// { | |||||
// title: '租户邮箱', | |||||
// dataIndex: 'email', | |||||
// align: 'center', | |||||
// width: 150, | |||||
// }, | |||||
// { | |||||
// title: '租户地址', | |||||
// dataIndex: 'address', | |||||
// align: 'center', | |||||
// width: 250, | |||||
// }, | |||||
{ | { | ||||
title: '租户状态', | title: '租户状态', | ||||
dataIndex: 'status', | dataIndex: 'status', | ||||
align: 'center', | align: 'center', | ||||
slots: {customRender: 'status'} | slots: {customRender: 'status'} | ||||
}, | }, | ||||
{ | |||||
title: '排序', | |||||
dataIndex: 'sort', | |||||
width: 100, | |||||
align: 'center' | |||||
}, | |||||
{ | |||||
title: '备注', | |||||
dataIndex: 'note', | |||||
width: 200, | |||||
align: 'center' | |||||
}, | |||||
// { | |||||
// title: '排序', | |||||
// dataIndex: 'sort', | |||||
// width: 100, | |||||
// align: 'center' | |||||
// }, | |||||
// { | |||||
// title: '备注', | |||||
// dataIndex: 'note', | |||||
// width: 200, | |||||
// align: 'center' | |||||
// }, | |||||
{ | { | ||||
title: '创建时间', | title: '创建时间', | ||||
dataIndex: 'createTime', | dataIndex: 'createTime', |
// plugins: [new DynamicAntdLess()] | // plugins: [new DynamicAntdLess()] | ||||
plugins: [new DynamicAntdLess({ | plugins: [new DynamicAntdLess({ | ||||
replaces: { | replaces: { | ||||
'darken(@shadow-color, 5%)': '@shadow-color' | |||||
'darken(@shadow-color, 5%)': '@shadow-color' | |||||
} | } | ||||
})] | })] | ||||
} | } |