|
|
@@ -8,7 +8,7 @@ |
|
|
|
<div class="head-container"> |
|
|
|
<el-input v-model="deptName" placeholder="请输入区划名称" clearable size="small" prefix-icon="el-icon-search" style="margin-bottom: 20px" /> |
|
|
|
</div> |
|
|
|
<div class="head-container"> |
|
|
|
<div class="head-container container_main"> |
|
|
|
<el-tree :data="deptOptions" :props="defaultProps" :expand-on-click-node="false" :filter-node-method="filterNode" ref="tree" node-key="id" default-expand-all highlight-current @node-click="handleNodeClick" /> |
|
|
|
</div> |
|
|
|
</el-col> |
|
|
@@ -554,3 +554,9 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|
<style scoped type="scss"> |
|
|
|
.container_main{ |
|
|
|
height: 75vh; |
|
|
|
overflow-y: scroll; |
|
|
|
} |
|
|
|
</style> |