|
@@ -8,7 +8,7 @@
|
|
|
<div class="search"
|
|
<div class="search"
|
|
|
><span class="searchLabel"> 搜索:</span><el-input v-model="searchKey" placeholder="请输入关键字进行搜索" />
|
|
><span class="searchLabel"> 搜索:</span><el-input v-model="searchKey" placeholder="请输入关键字进行搜索" />
|
|
|
</div>
|
|
</div>
|
|
|
- <el-table :data="filterData" row-key="id" :tree-props="treeProps" default-expand-all>
|
|
|
|
|
|
|
+ <el-table :data="filterData" row-key="id" :tree-props="treeProps" default-expand-all style="padding: 0 20px">
|
|
|
<el-table-column label="组织名称">
|
|
<el-table-column label="组织名称">
|
|
|
<template #default="{ row }">
|
|
<template #default="{ row }">
|
|
|
{{ `${row.deptName} (${row.userCount})` }}
|
|
{{ `${row.deptName} (${row.userCount})` }}
|
|
@@ -109,6 +109,7 @@
|
|
|
padding-top: 20px;
|
|
padding-top: 20px;
|
|
|
width: 300px;
|
|
width: 300px;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
.searchLabel {
|
|
.searchLabel {
|
|
|
width: 65px;
|
|
width: 65px;
|
|
|
}
|
|
}
|