|
|
@ -64,7 +64,7 @@ |
|
|
|
</el-input> |
|
|
|
</el-form-item> --> |
|
|
|
|
|
|
|
<el-form-item v-if="dataForm.houseQrcodeUrl" |
|
|
|
<el-form-item |
|
|
|
label="" |
|
|
|
prop="coding" |
|
|
|
style="display: block"> |
|
|
@ -77,7 +77,7 @@ |
|
|
|
<a style="margin-left: 10px;" |
|
|
|
class="div-table-button--blue" |
|
|
|
:href="dataForm.houseQrcodeUrl" |
|
|
|
target="_blank"><i class="el-icon-download"></i>下载电子门牌二维码</a> |
|
|
|
target="_blank" @click="downloadQR"><i class="el-icon-download"></i>下载电子门牌二维码</a> |
|
|
|
</div> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
@ -284,7 +284,23 @@ export default { |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
downloadQR(){ |
|
|
|
let title = "二维码导入模板"; |
|
|
|
let url = "/gov/org/house/exportQRCardTemplate"; |
|
|
|
let params={} |
|
|
|
app.ajax.exportFilePost( |
|
|
|
url, |
|
|
|
params, |
|
|
|
|
|
|
|
(data, rspMsg) => { |
|
|
|
this.download(data, title + ".xls"); |
|
|
|
}, |
|
|
|
(rspMsg, data) => { |
|
|
|
this.$message.error(rspMsg); |
|
|
|
} |
|
|
|
); |
|
|
|
|
|
|
|
}, |
|
|
|
async loadHouseInfo () { |
|
|
|
|
|
|
|
const url = "/actual/base/communityHouse/getClearHouseDeatilById/" + this.houseId |
|
|
@ -295,12 +311,9 @@ export default { |
|
|
|
if (code === 0) { |
|
|
|
// debugger |
|
|
|
this.dataForm = { ...data } |
|
|
|
|
|
|
|
this.houseType = this.dataForm.houseType |
|
|
|
this.purpose = this.dataForm.purpose |
|
|
|
this.rentFlag = parseInt(this.dataForm.rentFlag) |
|
|
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
this.$message.error(msg) |
|
|
|
} |
|
|
|