|
@@ -0,0 +1,31 @@
|
|
|
+export const columns = [
|
|
|
+ { title: '序号', dataIndex: 'key',rowScope: 'row'},
|
|
|
+ { title: '用户ID', dataIndex: 'id', align: 'center', width:100 },
|
|
|
+ { title: '员工账号', dataIndex: 'username', align: 'center', width:100 },
|
|
|
+ { title: '用户工号', dataIndex: 'jobId', align: 'center' , width:100 },
|
|
|
+ { title: '用户姓名', dataIndex: 'name', align: 'center', width:100 },
|
|
|
+ {
|
|
|
+ title: '登录角色',
|
|
|
+ dataIndex: 'roleList',
|
|
|
+ slotName: 'roleList',
|
|
|
+ align: 'center',
|
|
|
+ width:200
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '用户状态',
|
|
|
+ dataIndex: 'state',
|
|
|
+ align: 'center',
|
|
|
+ slotName: 'state',
|
|
|
+ width:200
|
|
|
+ },
|
|
|
+ { title: '更新时间', dataIndex: 'updatedAt', align: 'center', width:200 },
|
|
|
+ { title: '创建时间', dataIndex: 'createdAt', align: 'center', width:200 },
|
|
|
+ {
|
|
|
+ title: '操作',
|
|
|
+ dataIndex: 'id',
|
|
|
+ slotName: 'id',
|
|
|
+ align: 'center',
|
|
|
+ width: 180,
|
|
|
+ fixed: "right",
|
|
|
+ }
|
|
|
+]
|