48 lines
692 B
Plaintext
48 lines
692 B
Plaintext
import { h } from 'vue';
|
|
|
|
export const columns = [
|
|
{
|
|
title: 'ID',
|
|
dataIndex: 'id',
|
|
fixed: 'left',
|
|
width: 50,
|
|
},
|
|
{
|
|
title: '角色名称',
|
|
dataIndex: 'name',
|
|
width: 150,
|
|
},
|
|
{
|
|
title: '角色编码',
|
|
dataIndex: 'code',
|
|
width: 100,
|
|
},
|
|
{
|
|
title: '排序',
|
|
dataIndex: 'sort',
|
|
width: 100,
|
|
},
|
|
{
|
|
title: '备注',
|
|
dataIndex: 'note',
|
|
width: 200,
|
|
},
|
|
{
|
|
title: '创建人',
|
|
dataIndex: 'createUser',
|
|
width: 100,
|
|
},
|
|
{
|
|
title: '创建时间',
|
|
dataIndex: 'createTime',
|
|
width: 180,
|
|
},
|
|
{
|
|
title: '操作',
|
|
fixed: 'right',
|
|
dataIndex: 'action',
|
|
key: 'action',
|
|
width: 300,
|
|
},
|
|
];
|