|
@ -2,8 +2,9 @@ |
|
|
<div class="m-table"> |
|
|
<div class="m-table"> |
|
|
<div class="u-table-btn2"> |
|
|
<div class="u-table-btn2"> |
|
|
<div class="u-table-btn2-left"> |
|
|
<div class="u-table-btn2-left"> |
|
|
|
|
|
<!-- v-show="btnAuths.ic_house_add" --> |
|
|
<el-button v-if="agencyObj.level === 'building' || source !== 'search'" |
|
|
<el-button v-if="agencyObj.level === 'building' || source !== 'search'" |
|
|
v-show="btnAuths.ic_house_add" |
|
|
|
|
|
class="diy-button--blue" |
|
|
class="diy-button--blue" |
|
|
icon="el-icon-plus" |
|
|
icon="el-icon-plus" |
|
|
size="small" |
|
|
size="small" |
|
@ -18,9 +19,9 @@ |
|
|
trigger="hover"> |
|
|
trigger="hover"> |
|
|
|
|
|
|
|
|
<div class="table-more-btn"> |
|
|
<div class="table-more-btn"> |
|
|
|
|
|
<!-- v-if="btnAuths.ic_house_import" --> |
|
|
<el-upload ref="upload" |
|
|
<el-upload ref="upload" |
|
|
v-if="btnAuths.ic_house_import" |
|
|
|
|
|
:multiple="false" |
|
|
:multiple="false" |
|
|
style="text-align: center" |
|
|
style="text-align: center" |
|
|
:show-file-list="false" |
|
|
:show-file-list="false" |
|
@ -44,14 +45,15 @@ |
|
|
</el-popover> |
|
|
</el-popover> |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<!-- v-if="btnAuths.ic_house_export" --> |
|
|
<el-button style="float: left; margin-left: 10px" |
|
|
<el-button style="float: left; margin-left: 10px" |
|
|
v-if="btnAuths.ic_house_export" |
|
|
|
|
|
class="diy-button--white" |
|
|
class="diy-button--white" |
|
|
size="small" |
|
|
size="small" |
|
|
@click="handleExport">导出</el-button> |
|
|
@click="handleExport">导出</el-button> |
|
|
|
|
|
<!-- v-if="btnAuths.ic_house_batch_del" --> |
|
|
<el-button style="float: left; margin-left: 10px" |
|
|
<el-button style="float: left; margin-left: 10px" |
|
|
v-if="btnAuths.ic_house_batch_del" |
|
|
|
|
|
class="diy-button--white" |
|
|
class="diy-button--white" |
|
|
size="small" |
|
|
size="small" |
|
|
@click="deleteBatch">批量删除</el-button> |
|
|
@click="deleteBatch">批量删除</el-button> |
|
@ -67,14 +69,15 @@ |
|
|
|
|
|
|
|
|
<div v-if="showImportBtn" |
|
|
<div v-if="showImportBtn" |
|
|
class="table-more-btn"> |
|
|
class="table-more-btn"> |
|
|
|
|
|
<!-- v-if="btnAuths.ic_house_import" --> |
|
|
<el-button :headers="$getElUploadHeaders()" |
|
|
<el-button :headers="$getElUploadHeaders()" |
|
|
v-if="btnAuths.ic_house_import" |
|
|
|
|
|
class="diy-button--other" |
|
|
class="diy-button--other" |
|
|
size="small" |
|
|
size="small" |
|
|
type="text" |
|
|
type="text" |
|
|
@click="handleExportModule">下载房屋模板</el-button> |
|
|
@click="handleExportModule">下载房屋模板</el-button> |
|
|
</div> |
|
|
</div> |
|
|
<div v-if="btnAuths.ic_house_export_yhyd" |
|
|
<!-- v-if="btnAuths.ic_house_export_yhyd" --> |
|
|
|
|
|
<div |
|
|
class="table-more-btn"> |
|
|
class="table-more-btn"> |
|
|
<el-button style="" |
|
|
<el-button style="" |
|
|
class="diy-button--other" |
|
|
class="diy-button--other" |
|
@ -84,8 +87,8 @@ |
|
|
@click="handleExportYihuyidang()">导出一户一档</el-button> |
|
|
@click="handleExportYihuyidang()">导出一户一档</el-button> |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<!-- btnAuths.ic_house_smart_import && --> |
|
|
<div v-if="btnAuths.ic_house_smart_import && displayedBaobiaoBtn" |
|
|
<div v-if=" displayedBaobiaoBtn" |
|
|
class="table-more-btn"> |
|
|
class="table-more-btn"> |
|
|
<el-button size="small" |
|
|
<el-button size="small" |
|
|
class="diy-button--other" |
|
|
class="diy-button--other" |
|
@ -226,18 +229,19 @@ |
|
|
align="center" |
|
|
align="center" |
|
|
class="operate"> |
|
|
class="operate"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
|
|
|
<!-- v-if="btnAuths.ic_house_view" --> |
|
|
<el-button type="text" |
|
|
<el-button type="text" |
|
|
v-if="btnAuths.ic_house_view" |
|
|
|
|
|
class="div-table-button--blue" |
|
|
class="div-table-button--blue" |
|
|
size="small" |
|
|
size="small" |
|
|
@click="handleDetail(scope.row)">查看</el-button> |
|
|
@click="handleDetail(scope.row)">查看</el-button> |
|
|
<el-button v-if="btnAuths.ic_house_update && scope.row.showBtn" |
|
|
<!-- btnAuths.ic_house_update && --> |
|
|
|
|
|
<el-button v-if=" scope.row.showBtn" |
|
|
type="text" |
|
|
type="text" |
|
|
class="div-table-button--blue" |
|
|
class="div-table-button--blue" |
|
|
size="small" |
|
|
size="small" |
|
|
@click="handleEdit(scope.row)">编辑</el-button> |
|
|
@click="handleEdit(scope.row)">编辑</el-button> |
|
|
|
|
|
<!-- btnAuths.ic_house_del && --> |
|
|
<el-button v-if="btnAuths.ic_house_del && scope.row.showBtn" |
|
|
<el-button v-if=" scope.row.showBtn" |
|
|
type="text" |
|
|
type="text" |
|
|
class="div-table-button--blue" |
|
|
class="div-table-button--blue" |
|
|
size="small" |
|
|
size="small" |
|
@ -267,7 +271,6 @@ |
|
|
class="dialog-h" |
|
|
class="dialog-h" |
|
|
@closed="diaClose"> |
|
|
@closed="diaClose"> |
|
|
<room-form ref="ref_form" |
|
|
<room-form ref="ref_form" |
|
|
:view_real_data="btnAuths.ic_house_view_real_data" |
|
|
|
|
|
@dialogCancle="addFormCancle" |
|
|
@dialogCancle="addFormCancle" |
|
|
@dialogOk="addFormOk"></room-form> |
|
|
@dialogOk="addFormOk"></room-form> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
@ -281,8 +284,8 @@ |
|
|
top="5vh" |
|
|
top="5vh" |
|
|
class="dialog-h" |
|
|
class="dialog-h" |
|
|
@closed="detailFormCancle"> |
|
|
@closed="detailFormCancle"> |
|
|
|
|
|
<!-- :view_real_data="btnAuths.ic_house_view_real_data" --> |
|
|
<room-detail ref="ref_form_detail" |
|
|
<room-detail ref="ref_form_detail" |
|
|
:view_real_data="btnAuths.ic_house_view_real_data" |
|
|
|
|
|
@diaDetailClose="detailFormCancle"></room-detail> |
|
|
@diaDetailClose="detailFormCancle"></room-detail> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
|
|
|
|
|
|