|
@@ -232,6 +232,17 @@
|
|
|
>颜色导出
|
|
|
</el-button>
|
|
|
</el-col>
|
|
|
+ <el-col :span="1.5">
|
|
|
+ <el-button
|
|
|
+ type="warning"
|
|
|
+ plain
|
|
|
+ icon="el-icon-download"
|
|
|
+ size="mini"
|
|
|
+ @click="handleAlarmApparatusExport"
|
|
|
+ v-hasPermi="['zdsz:engineeringCivil:export']"
|
|
|
+ >报警器导出
|
|
|
+ </el-button>
|
|
|
+ </el-col>
|
|
|
<!-- <el-col :span="1.5">-->
|
|
|
<!-- <el-button-->
|
|
|
<!-- type="danger"-->
|
|
@@ -2399,6 +2410,17 @@ export default {
|
|
|
}, `民用工程-${new Date().getTime()}.xlsx`)
|
|
|
},
|
|
|
/** 导出按钮操作 */
|
|
|
+ handleAlarmApparatusExport() {
|
|
|
+ if ((this.queryParams1.district == undefined || this.queryParams1.district == null || this.queryParams1.district == '')&&
|
|
|
+ (this.queryParams1.areaId == undefined || this.queryParams1.areaId == null || this.queryParams1.areaId == '')) {
|
|
|
+ this.$message.warning("请选择行政区或小区")
|
|
|
+ return
|
|
|
+ }
|
|
|
+ this.download('zdsz/engineeringCivil/alarmApparatusExport', {
|
|
|
+ ...this.queryParams1
|
|
|
+ }, `民用工程-报警器-${new Date().getTime()}.xlsx`)
|
|
|
+ },
|
|
|
+ /** 导出按钮操作 */
|
|
|
exportObtainQualifiedRoom() {
|
|
|
if (this.queryParams1.beginTime == undefined || this.queryParams1.beginTime == null || this.queryParams1.beginTime.length <= 0) {
|
|
|
this.$message.warning("请选择施工时间")
|