|
|
@ -83,6 +83,7 @@ |
|
|
|
plain |
|
|
|
plain |
|
|
|
icon="el-icon-download" |
|
|
|
icon="el-icon-download" |
|
|
|
size="mini" |
|
|
|
size="mini" |
|
|
|
|
|
|
|
:loading="exportLoading" |
|
|
|
@click="handleExport" |
|
|
|
@click="handleExport" |
|
|
|
v-hasPermi="['monitor:logininfor:export']" |
|
|
|
v-hasPermi="['monitor:logininfor:export']" |
|
|
|
>导出</el-button> |
|
|
|
>导出</el-button> |
|
|
@ -126,6 +127,8 @@ export default { |
|
|
|
return { |
|
|
|
return { |
|
|
|
// 遮罩层 |
|
|
|
// 遮罩层 |
|
|
|
loading: true, |
|
|
|
loading: true, |
|
|
|
|
|
|
|
// 导出遮罩层 |
|
|
|
|
|
|
|
exportLoading: false, |
|
|
|
// 选中数组 |
|
|
|
// 选中数组 |
|
|
|
ids: [], |
|
|
|
ids: [], |
|
|
|
// 非多个禁用 |
|
|
|
// 非多个禁用 |
|
|
@ -221,10 +224,12 @@ export default { |
|
|
|
confirmButtonText: "确定", |
|
|
|
confirmButtonText: "确定", |
|
|
|
cancelButtonText: "取消", |
|
|
|
cancelButtonText: "取消", |
|
|
|
type: "warning" |
|
|
|
type: "warning" |
|
|
|
}).then(function() { |
|
|
|
}).then(() => { |
|
|
|
|
|
|
|
this.exportLoading = true; |
|
|
|
return exportLogininfor(queryParams); |
|
|
|
return exportLogininfor(queryParams); |
|
|
|
}).then(response => { |
|
|
|
}).then(response => { |
|
|
|
this.download(response.msg); |
|
|
|
this.download(response.msg); |
|
|
|
|
|
|
|
this.exportLoading = false; |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|