|
|
@ -49,8 +49,11 @@ |
|
|
|
</el-scrollbar> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div :style="{ height: rowHeight }" class="div_left"> |
|
|
|
<div class="m-search hflex"> |
|
|
|
<div class="div_left"> |
|
|
|
<div class="m-search" style="flex-direction: column;"> |
|
|
|
<section |
|
|
|
:class="boxHeight ? 'm-form-box-height' : 'm-form-box-height-auto'" |
|
|
|
> |
|
|
|
<el-form |
|
|
|
:inline="true" |
|
|
|
class="communityHeight" |
|
|
@ -233,13 +236,10 @@ |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<!-- </div> --> |
|
|
|
<div class="u-search-btn"> |
|
|
|
<el-button |
|
|
|
size="small" |
|
|
|
class="diy-button--white" |
|
|
|
@click="resetSearch" |
|
|
|
>重置</el-button |
|
|
|
> |
|
|
|
</el-form> |
|
|
|
</section> |
|
|
|
<el-row> |
|
|
|
<el-col :span="24" align="right"> |
|
|
|
<el-button |
|
|
|
style="margin-left: 10px" |
|
|
|
size="small" |
|
|
@ -247,33 +247,25 @@ |
|
|
|
@click="handleSearch" |
|
|
|
>查询</el-button |
|
|
|
> |
|
|
|
<!-- <el-button style="margin-left:15px" |
|
|
|
<el-button |
|
|
|
size="small" |
|
|
|
class="div-table-button--blue communityUnfold" |
|
|
|
type="text" |
|
|
|
@click="boxHeight = !boxHeight">{{ boxHeight ? '收起' : '展开' }}<i :class="boxHeight ? 'el-icon-arrow-up' : 'el-icon-arrow-down'"></i></el-button> --> |
|
|
|
</div> |
|
|
|
</el-form> |
|
|
|
<!-- <el-row class="flex endpoint"> |
|
|
|
<el-col :span="24"> |
|
|
|
<span></span> |
|
|
|
<div class="u-search-btn"> |
|
|
|
<el-button size="small" |
|
|
|
class="diy-button--white" |
|
|
|
@click="resetSearch">重置</el-button> |
|
|
|
<el-button style="margin-left:10px" |
|
|
|
size="small" |
|
|
|
class="diy-button--blue" |
|
|
|
@click="handleSearch">查询</el-button> |
|
|
|
<el-button style="margin-left:15px" |
|
|
|
@click="resetSearch" |
|
|
|
>重置</el-button |
|
|
|
> |
|
|
|
<el-button |
|
|
|
style="margin:0 6px 0 10px" |
|
|
|
size="small" |
|
|
|
class="div-table-button--blue communityUnfold" |
|
|
|
class="div-table-button--blue" |
|
|
|
type="text" |
|
|
|
@click="boxHeight = !boxHeight">{{ boxHeight ? '收起' : '展开' }}<i :class="boxHeight ? 'el-icon-arrow-up' : 'el-icon-arrow-down'"></i></el-button> |
|
|
|
|
|
|
|
</div> |
|
|
|
@click="boxHeight = !boxHeight" |
|
|
|
>{{ boxHeight ? "展开" : "收起" |
|
|
|
}}<i |
|
|
|
:class="boxHeight ? 'el-icon-arrow-down' : 'el-icon-arrow-up'" |
|
|
|
></i |
|
|
|
></el-button> |
|
|
|
</el-col> |
|
|
|
</el-row> --> |
|
|
|
</el-row> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class=""> |
|
|
@ -540,9 +532,7 @@ export default { |
|
|
|
async getValiheList() { |
|
|
|
const { user } = this.$store.state; |
|
|
|
if (!this.selGridId) { |
|
|
|
this.selAgencyId = this.selAgencyId |
|
|
|
? this.selAgencyId |
|
|
|
: user.agencyId; |
|
|
|
this.selAgencyId = this.selAgencyId ? this.selAgencyId : user.agencyId; |
|
|
|
} |
|
|
|
|
|
|
|
const url = "/actual/base/communityQuarters/listQuartersOptions"; |
|
|
@ -668,10 +658,7 @@ export default { |
|
|
|
this.showRoomTable = true; |
|
|
|
|
|
|
|
this.$nextTick(() => { |
|
|
|
this.$refs["ref_buildingTable"].loadTable( |
|
|
|
"search", |
|
|
|
this.selTreeObj |
|
|
|
); |
|
|
|
this.$refs["ref_buildingTable"].loadTable("search", this.selTreeObj); |
|
|
|
}); |
|
|
|
// } else { |
|
|
|
// this.$message.warning('请输入查询条件') |
|
|
@ -786,10 +773,7 @@ export default { |
|
|
|
if (obj.level === "building") { |
|
|
|
//点击楼栋 |
|
|
|
setTimeout(() => { |
|
|
|
this.$refs["ref_buildingTable"].loadTable( |
|
|
|
"tree", |
|
|
|
this.selTreeObj |
|
|
|
); |
|
|
|
this.$refs["ref_buildingTable"].loadTable("tree", this.selTreeObj); |
|
|
|
}, 100); |
|
|
|
this.selAgencyId = ""; |
|
|
|
this.selGridId = ""; |
|
|
@ -810,10 +794,7 @@ export default { |
|
|
|
await this.getBuildList(); |
|
|
|
this.vDisabled = true; |
|
|
|
} else { |
|
|
|
this.$refs["ref_communityTable"].loadTable( |
|
|
|
true, |
|
|
|
this.selTreeObj |
|
|
|
); |
|
|
|
this.$refs["ref_communityTable"].loadTable(true, this.selTreeObj); |
|
|
|
|
|
|
|
if (obj.level === "grid") { |
|
|
|
this.selAgencyId = ""; |
|
|
@ -884,9 +865,7 @@ export default { |
|
|
|
//点击楼栋 |
|
|
|
let neighborHoodNode = this.$refs.ref_tree.getNode(obj.pid); //所属小区 |
|
|
|
|
|
|
|
let gridNode = this.$refs.ref_tree.getNode( |
|
|
|
neighborHoodNode.data.pid |
|
|
|
); //所属网格 |
|
|
|
let gridNode = this.$refs.ref_tree.getNode(neighborHoodNode.data.pid); //所属网格 |
|
|
|
let agencyNode = this.$refs.ref_tree.getNode(gridNode.data.pid); //所属社区 |
|
|
|
obj.agencyId = agencyNode.data.id; |
|
|
|
obj.agencyName = agencyNode.data.label; |
|
|
|