lishifeng
2020-09-15 ce10677f47a14879424e7f562f78442cc03cfda1
src/pages/dataTest/HomeList.vue
@@ -3,7 +3,7 @@
    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>
            
@@ -11,7 +11,7 @@
            <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"
@@ -92,7 +92,7 @@
                let home = this.addData(county.children, item.StationName3, county, item);
                // 添加空白位置占位
                home.children.push({
                    id: home.id+'temp',
                    id: home.id+Math.random(),
                    label: '数据加载中...'
                });
            });
@@ -164,7 +164,7 @@
                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;
                    });