用于记录 直接上代码
<!--
树形控件 -- 实现全选、反选、过滤
-->
<template>
<div>
<div class="tree-layout">
<el-input placeholder="输入关键字进行过滤" v-model="filterText"></el-input>
<div class="tree">
<el-tree
:data="treeData"
ref="tree"
:props="channelProps"
@check-change="upper_lowerChange"
:default-expanded-keys="['']"
default-expand-all
:filter-node-method="filterNode"
show-checkbox
:indent="16"
v-loading="upLowLoading"
node-key="id"
></el-tree>
</div>
</div>
<span slot="footer" class="dialog-footer dialog-tools">
<el-button type="success&