|
|
@@ -26,7 +26,10 @@
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
|
|
- <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
|
|
+ <el-button type="primary" icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
|
|
+ <el-button type="primary" icon="el-icon-download" size="mini" @click="handleExport"
|
|
|
+ v-hasPermi="['core:resumptionReport:export']">导出
|
|
|
+ </el-button>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
<h1 class="title" style="text-align:center;">{{ this.title}}</h1>
|
|
|
@@ -116,6 +119,7 @@
|
|
|
title: "",
|
|
|
// 是否显示弹出层
|
|
|
open: false,
|
|
|
+ orgName:null,
|
|
|
// 查询参数
|
|
|
queryParams: {
|
|
|
pageNum: 1,
|
|
|
@@ -189,9 +193,9 @@
|
|
|
);
|
|
|
},
|
|
|
handleExport() {
|
|
|
- this.download('core/safetyInspectReport/export', {
|
|
|
+ this.download('core/resumptionReport/intrusionTestExport', {
|
|
|
...this.queryParams
|
|
|
- }, `${'【'+this.orgName+'】'+'-检查统计报表-'+this.formatTime(new Date(),'YYYYMMDD')}.xlsx`)
|
|
|
+ }, `${'【'+this.orgName+'】'+'-报警测试报表-'+this.formatTime(new Date(),'YYYYMMDD')}.xlsx`)
|
|
|
},
|
|
|
|
|
|
|
|
|
@@ -200,7 +204,7 @@
|
|
|
listIntrusionTestReport(this.queryParams).then(response => {
|
|
|
this.checkList = response.data;
|
|
|
this.title=response.title;
|
|
|
- // this.total = response.data.total;
|
|
|
+ this.orgName=response.orgName;
|
|
|
this.loading = false;
|
|
|
});
|
|
|
},
|