|
|
@@ -145,34 +145,34 @@
|
|
|
fixed: 'left'
|
|
|
},
|
|
|
{
|
|
|
- prop: 'username',
|
|
|
+ prop: 'loginName',
|
|
|
label: '用户账号',
|
|
|
sortable: 'custom',
|
|
|
showOverflowTooltip: true,
|
|
|
minWidth: 110
|
|
|
},
|
|
|
- {
|
|
|
- prop: 'nickname',
|
|
|
- label: '用户名',
|
|
|
- sortable: 'custom',
|
|
|
- showOverflowTooltip: true,
|
|
|
- minWidth: 110,
|
|
|
- slot: 'nickname'
|
|
|
- },
|
|
|
- {
|
|
|
- prop: 'sexName',
|
|
|
- label: '性别',
|
|
|
- sortable: 'custom',
|
|
|
- showOverflowTooltip: true,
|
|
|
- minWidth: 80
|
|
|
- },
|
|
|
- {
|
|
|
- prop: 'phone',
|
|
|
- label: '手机号',
|
|
|
- sortable: 'custom',
|
|
|
- showOverflowTooltip: true,
|
|
|
- minWidth: 110
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // prop: 'nickname',
|
|
|
+ // label: '用户名',
|
|
|
+ // sortable: 'custom',
|
|
|
+ // showOverflowTooltip: true,
|
|
|
+ // minWidth: 110,
|
|
|
+ // slot: 'nickname'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // prop: 'sexName',
|
|
|
+ // label: '性别',
|
|
|
+ // sortable: 'custom',
|
|
|
+ // showOverflowTooltip: true,
|
|
|
+ // minWidth: 80
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // prop: 'phone',
|
|
|
+ // label: '手机号',
|
|
|
+ // sortable: 'custom',
|
|
|
+ // showOverflowTooltip: true,
|
|
|
+ // minWidth: 110
|
|
|
+ // },
|
|
|
{
|
|
|
columnKey: 'roles',
|
|
|
label: '角色',
|
|
|
@@ -223,7 +223,7 @@
|
|
|
methods: {
|
|
|
/* 表格数据源 */
|
|
|
datasource({ page, limit, where, order }) {
|
|
|
- return pageUsers({ ...where, ...order, page, limit });
|
|
|
+ return pageUsers({ ...where, ...order, pageNum:page, size:limit });
|
|
|
},
|
|
|
/* 刷新表格 */
|
|
|
reload(where) {
|