@@ -600,7 +600,9 @@
* 导出Excel
*/
function handleExportExcel() {
- handleExportXls("用户列表", getExportUrl, { queries: JSON.stringify(queries.value)})
+ console.log(selectedRowKeys.value)
+
+ handleExportXls("用户列表", getExportUrl, {queries: JSON.stringify(queries.value), selections: selectedRowKeys.value.toString()})
}
const cardBodyStyle = {
@@ -343,7 +343,10 @@ export const formPasswordSchema: FormSchema[] = [
label: '用户账号',
field: 'username',
component: 'Input',
- componentProps: { readOnly: true },
+ componentProps: {
+ readOnly: true,
+ allowClear: false
+ },
},
{
label: '登录密码',