This commit is contained in:
yanran200730
2021-12-21 18:16:08 +08:00
2 changed files with 3 additions and 1 deletions

View File

@@ -20,9 +20,11 @@
<el-tree <el-tree
ref="tree" ref="tree"
node-key="id" node-key="id"
highlight-current
:filter-node-method="handleTreeFilter" :filter-node-method="handleTreeFilter"
:props="defaultProps" :data="list" :props="defaultProps" :data="list"
:default-expanded-keys="treeRoot" :default-expanded-keys="treeRoot"
:current-node-key="treeRoot"
@current-change="v=>selected=v"> @current-change="v=>selected=v">
<div class="tree-container" slot-scope="{ data }"> <div class="tree-container" slot-scope="{ data }">
<span>{{ data.name }}</span> <span>{{ data.name }}</span>

View File

@@ -89,7 +89,7 @@
<el-button size="small" type="primary" icon="iconfont iconAdd" v-if="tabIndex === 0" @click="toAdd('')">添加成员 <el-button size="small" type="primary" icon="iconfont iconAdd" v-if="tabIndex === 0" @click="toAdd('')">添加成员
</el-button> </el-button>
<ai-import :instance="instance" :dict="dict" v-if="tabIndex === 0" type="wxcp/wxuser" name="通讯录管理" <ai-import :instance="instance" :dict="dict" v-if="tabIndex === 0" type="wxcp/wxuser" name="通讯录管理"
:importParams="{departmentId:search.departmentId}"/> :importParams="{departmentId:search.departmentId}" @success="getList"/>
<el-button size="small" icon="iconfont iconUpdate_Files" v-if="tabIndex === 0" :loading="btnLoading" <el-button size="small" icon="iconfont iconUpdate_Files" v-if="tabIndex === 0" :loading="btnLoading"
@click="syncMembers">同步数据 @click="syncMembers">同步数据
</el-button> </el-button>