|  |  | 
 |  |  |     </el-form> | 
 |  |  |     <!-- 表格和分页 --> | 
 |  |  |     <template v-slot:table-wrap> | 
 |  |  |       <div style="display: flex;"> | 
 |  |  |         <div style="width: 15%; border-right: 1px solid #ececec;"> | 
 |  |  |           <Tree | 
 |  |  |             :list="data" | 
 |  |  |             :defaultProps="defaultProps" | 
 |  |  |             @callback="callback" | 
 |  |  |           ></Tree> | 
 |  |  |         </div> | 
 |  |  |         <div style="width: 84%; margin-left: 1%;"> | 
 |  |  |        | 
 |  |  |          | 
 |  |  |         <div> | 
 |  |  |           <div class="zdy_box"> | 
 |  |  |             <div style="display: flex; align-items: center;"> | 
 |  |  |               <span>{{name ? name : '全部'}} ({{tableData.pagination.total}})</span> | 
 |  |  | 
 |  |  |                 /> | 
 |  |  |               </li> | 
 |  |  |               <li v-permissions="['system:user:create']"><el-button type="primary" @click="$refs.operaUserWindow.open('新建用户')">添加用户</el-button></li> | 
 |  |  |               <li v-permissions="['system:user:create']"><el-button type="primary" @click="changeZZ">更换组织</el-button></li> | 
 |  |  |               <!-- <li v-permissions="['system:user:create']"><el-button type="primary" @click="changeZZ">更换组织</el-button></li> --> | 
 |  |  |               <li v-permissions="['system:user:delete']"><el-button @click="deleteByIdInBatch">删除</el-button></li> | 
 |  |  |             </ul> | 
 |  |  |           </div> | 
 |  |  | 
 |  |  |             :pagination="tableData.pagination" | 
 |  |  |           ></pagination> | 
 |  |  |         </div> | 
 |  |  |       </div> | 
 |  |  |     </template> | 
 |  |  |     <!-- 新建/修改 --> | 
 |  |  |     <OperaUserWindow ref="operaUserWindow" @success="handlePageChange(tableData.pagination.pageIndex)"/> | 
 |  |  | 
 |  |  |         id: item.id, | 
 |  |  |         status: item.status | 
 |  |  |       }).then(res => { | 
 |  |  |         this.search() | 
 |  |  |          | 
 |  |  |       }).catch(e => { | 
 |  |  |         this.$tip.apiFailed(e) | 
 |  |  |       }).finally(() => { | 
 |  |  |         this.handlePageChange() | 
 |  |  |       }) | 
 |  |  |     }, | 
 |  |  |     resPwd() { |