|
|
@ -11,7 +11,8 @@ |
|
|
:datasource="datasource" |
|
|
:datasource="datasource" |
|
|
:show-overflow-tooltip="true" |
|
|
:show-overflow-tooltip="true" |
|
|
v-model:selections="selections" |
|
|
v-model:selections="selections" |
|
|
highlight-current-row |
|
|
:highlight-current-row="true" |
|
|
|
|
|
:export-config="{ fileName: '用户数据' }" |
|
|
cache-key="systemUserTable" |
|
|
cache-key="systemUserTable" |
|
|
> |
|
|
> |
|
|
<template #toolbar> |
|
|
<template #toolbar> |
|
|
@ -184,7 +185,9 @@ |
|
|
label: '操作', |
|
|
label: '操作', |
|
|
width: 200, |
|
|
width: 200, |
|
|
align: 'center', |
|
|
align: 'center', |
|
|
slot: 'action' |
|
|
slot: 'action', |
|
|
|
|
|
hideInPrint: true, |
|
|
|
|
|
hideInExport: true |
|
|
} |
|
|
} |
|
|
]); |
|
|
]); |
|
|
|
|
|
|
|
|
@ -201,8 +204,8 @@ |
|
|
const showImport = ref(false); |
|
|
const showImport = ref(false); |
|
|
|
|
|
|
|
|
/** 表格数据源 */ |
|
|
/** 表格数据源 */ |
|
|
const datasource: DatasourceFunction = ({ page, limit, where, orders }) => { |
|
|
const datasource: DatasourceFunction = ({ pages, where, orders }) => { |
|
|
return pageUsers({ ...where, ...orders, page, limit }); |
|
|
return pageUsers({ ...where, ...orders, ...pages }); |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
/** 搜索 */ |
|
|
/** 搜索 */ |
|
|
|