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