|
@@ -2,7 +2,7 @@
|
|
<div class="app-container">
|
|
<div class="app-container">
|
|
<el-row :gutter="20">
|
|
<el-row :gutter="20">
|
|
<!--地址数据-->
|
|
<!--地址数据-->
|
|
- <el-col :span="4" :xs="24">
|
|
|
|
|
|
+ <el-col :span="4" :xs="24" class="treeBox">
|
|
<div class="head-container">
|
|
<div class="head-container">
|
|
<el-input
|
|
<el-input
|
|
v-model="addrName"
|
|
v-model="addrName"
|
|
@@ -19,8 +19,8 @@
|
|
:props="defaultProps"
|
|
:props="defaultProps"
|
|
:expand-on-click-node="false"
|
|
:expand-on-click-node="false"
|
|
:filter-node-method="filterNode"
|
|
:filter-node-method="filterNode"
|
|
|
|
+ :accordion="true"
|
|
ref="tree"
|
|
ref="tree"
|
|
- default-expand-all
|
|
|
|
highlight-current
|
|
highlight-current
|
|
@node-click="handleNodeClick"
|
|
@node-click="handleNodeClick"
|
|
/>
|
|
/>
|
|
@@ -29,14 +29,6 @@
|
|
<!--用户数据-->
|
|
<!--用户数据-->
|
|
<el-col :span="20" :xs="24">
|
|
<el-col :span="20" :xs="24">
|
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
|
- <!-- <el-form-item label="楼栋" prop="buildingId">
|
|
|
|
- <el-input
|
|
|
|
- v-model="queryParams.buildingId"
|
|
|
|
- placeholder="请输入所属楼栋"
|
|
|
|
- clearable
|
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
|
- />
|
|
|
|
- </el-form-item> -->
|
|
|
|
<el-form-item label="单元" prop="unit">
|
|
<el-form-item label="单元" prop="unit">
|
|
<el-input
|
|
<el-input
|
|
v-model="queryParams.unit"
|
|
v-model="queryParams.unit"
|
|
@@ -378,3 +370,16 @@ export default {
|
|
}
|
|
}
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
|
|
+<style scoped>
|
|
|
|
+.treeBox {
|
|
|
|
+ height: 80vh;
|
|
|
|
+ overflow-y: auto;
|
|
|
|
+}
|
|
|
|
+::-webkit-scrollbar {
|
|
|
|
+ width: 1px;
|
|
|
|
+ background-color: skyblue;
|
|
|
|
+}
|
|
|
|
+::-webkit-scrollbar-thumb {
|
|
|
|
+ background-color: orange;
|
|
|
|
+}
|
|
|
|
+</style>
|