| | |
| | | toggle |
| | | @toggleChange="toggleChange" |
| | | style="width:320px"> |
| | | <div slot="box-tools" class="box-tools"> |
| | | <!-- <div slot="box-tools" class="box-tools"> |
| | | <el-tooltip class="item" effect="dark" content="站点信息" placement="bottom"> |
| | | <i class="iconfont el-icon-xinxi"></i> |
| | | |
| | |
| | | <el-tooltip class="item" effect="dark" content="站点搜索" placement="bottom"> |
| | | <i class="iconfont el-icon-chazhao"></i> |
| | | </el-tooltip> |
| | | </div> |
| | | </div> --> |
| | | <my-el-tree |
| | | :data="data" |
| | | :default-expanded-keys="expandedKeys" |
| | |
| | | let home = this.addData(county.children, item.StationName3, county, item); |
| | | // 添加空白位置占位 |
| | | home.children.push({ |
| | | id: home.id+'temp', |
| | | id: home.id+Math.random(), |
| | | label: '数据加载中...' |
| | | }); |
| | | }); |
| | |
| | | if(rs.code == 1) { |
| | | result = rs.data.map(item=>{ |
| | | item.id = item.BattGroupId; |
| | | item.label = item.BattGroupName; |
| | | item.label = item.StationName4+"-"+item.BattGroupName; |
| | | item.leaf = true; |
| | | return item; |
| | | }); |