|
@ -79,7 +79,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
<div class="table-more-btn"> |
|
|
<div class="table-more-btn"> |
|
|
<el-button :headers="$getElUploadHeaders()" class="diy-button--other" size="small" type="text" |
|
|
<el-button :headers="$getElUploadHeaders()" class="diy-button--other" size="small" type="text" |
|
|
@click="handleExportModule('room')">下载电子门牌二维码</el-button> |
|
|
@click="handleExportIDCard()">下载电子门牌二维码</el-button> |
|
|
</div> |
|
|
</div> |
|
|
<!-- <div |
|
|
<!-- <div |
|
|
v-if=" |
|
|
v-if=" |
|
@ -388,6 +388,7 @@ export default { |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
this.getQueryConditions(); |
|
|
this.getQueryConditions(); |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
methods: { |
|
|
methods: { |
|
@ -430,6 +431,7 @@ export default { |
|
|
updateStartDate: this.updateStartDate, |
|
|
updateStartDate: this.updateStartDate, |
|
|
updateEndDate: this.updateEndDate, |
|
|
updateEndDate: this.updateEndDate, |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
this.$refs.baobiao.init({ |
|
|
this.$refs.baobiao.init({ |
|
|
elseParams: { |
|
|
elseParams: { |
|
|
categoryKeys: ["house_info"], |
|
|
categoryKeys: ["house_info"], |
|
@ -867,7 +869,52 @@ export default { |
|
|
} |
|
|
} |
|
|
); |
|
|
); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
//导入电子门牌信息 |
|
|
|
|
|
|
|
|
|
|
|
handleExportIDCard() { |
|
|
|
|
|
let title = this.agencyObj.label; |
|
|
|
|
|
title = title + "电子门牌信息"; |
|
|
|
|
|
let url = "/actual/base/communityHouse/downloadZip"; |
|
|
|
|
|
console.log(this.agencyObj) |
|
|
|
|
|
let params = { |
|
|
|
|
|
pageSize:this.pageSize, |
|
|
|
|
|
pageNo:this.pageNo, |
|
|
|
|
|
level:this.agencyObj.level , |
|
|
|
|
|
id:this.agencyObj.id, |
|
|
|
|
|
ownerName: this.ownerName, |
|
|
|
|
|
ownerPhone: this.ownerPhone, |
|
|
|
|
|
rentFlag: this.rentFlag, |
|
|
|
|
|
purpose: this.purpose, |
|
|
|
|
|
remark: this.remark, |
|
|
|
|
|
updateStartDate: this.updateStartDate, |
|
|
|
|
|
updateEndDate: this.updateEndDate, |
|
|
|
|
|
sortType:"asc", |
|
|
|
|
|
neighborHoodId:"", |
|
|
|
|
|
buildingId:"", |
|
|
|
|
|
buildingUnitId:"", |
|
|
|
|
|
houseId:"", |
|
|
|
|
|
}; |
|
|
|
|
|
// if (this.agencyObj.level === "grid") { |
|
|
|
|
|
// params.gridId = this.agencyObj.id; |
|
|
|
|
|
// params.agencyId = ""; |
|
|
|
|
|
// } else { |
|
|
|
|
|
// params.gridId = ""; |
|
|
|
|
|
// params.agencyId = this.agencyObj.id; |
|
|
|
|
|
// } |
|
|
|
|
|
|
|
|
|
|
|
app.ajax.exportFilePost( |
|
|
|
|
|
url, |
|
|
|
|
|
params, |
|
|
|
|
|
(data, rspMsg) => { |
|
|
|
|
|
console.log(data) |
|
|
|
|
|
this.download(data, title + ".zip"); |
|
|
|
|
|
}, |
|
|
|
|
|
(rspMsg, data) => { |
|
|
|
|
|
this.$message.error(rspMsg); |
|
|
|
|
|
} |
|
|
|
|
|
); |
|
|
|
|
|
}, |
|
|
//导出一户一档 |
|
|
//导出一户一档 |
|
|
handleExportYihuyidang() { |
|
|
handleExportYihuyidang() { |
|
|
this.yihuyidangDisabled = true; |
|
|
this.yihuyidangDisabled = true; |
|
|