var data1 = {
  "levels": {
    "level1": [
      {
        "name": "朗申测试代理",
        "id": 289,
        "level1": 0,
        "level2": 0,
        "level3": 0,
        "level4": 0
      },
      {
        "name": "南京通广E线牵",
        "id": 294,
        "level1": 0,
        "level2": 0,
        "level3": 0,
        "level4": 0
      },
      {
        "name": "合肥朗申工程技术有限公司",
        "id": 295,
        "level1": 0,
        "level2": 0,
        "level3": 0,
        "level4": 0
      },
      {
        "name": "中能光电滁州有限公司",
        "id": 306,
        "level1": 0,
        "level2": 0,
        "level3": 0,
        "level4": 0
      },
      {
        "name": "詹昌凯测试一级代理",
        "id": 308,
        "level1": 0,
        "level2": 0,
        "level3": 0,
        "level4": 0
      }
    ],
    "level2": [
      {
        "name": "内蒙古",
        "id": 296,
        "level1": 294,
        "level2": 0,
        "level3": 0,
        "level4": 0
      },
      {
        "name": "北京刘晓鹏",
        "id": 297,
        "level1": 294,
        "level2": 0,
        "level3": 0,
        "level4": 0
      },
      {
        "name": "滁州二附小",
        "id": 307,
        "level1": 306,
        "level2": 0,
        "level3": 0,
        "level4": 0
      },
      {
        "name": "詹昌凯测试二级代理",
        "id": 309,
        "level1": 308,
        "level2": 0,
        "level3": 0,
        "level4": 0
      }
    ],
    "level3": [
      {
        "name": "詹昌凯测试三级代理",
        "id": 310,
        "level1": 308,
        "level2": 309,
        "level3": 0,
        "level4": 0
      }
    ],
    "level4": [
      {
        "name": "詹昌凯测试四级代理",
        "id": 311,
        "level1": 308,
        "level2": 309,
        "level3": 310,
        "level4": 0
      }
    ]
  },
  "level": "level0"
}

var data2 = {
  "levels": {
    "level2": [
      {
        "name": "詹昌凯测试二级代理",
        "id": 309,
        "level1": 308,
        "level2": 0,
        "level3": 0,
        "level4": 0
      }
    ],
    "level3": [
      {
        "name": "詹昌凯测试三级代理",
        "id": 310,
        "level1": 308,
        "level2": 309,
        "level3": 0,
        "level4": 0
      }
    ],
    "level4": [
      {
        "name": "詹昌凯测试四级代理",
        "id": 311,
        "level1": 308,
        "level2": 309,
        "level3": 310,
        "level4": 0
      }
    ]
  },
  "level": "level1"
}

var data3 = {
  "levels": {},
  "level": "level4"
}


