| | |
| | | var city = getQueryString('city'); // 市
|
| | | var county = getQueryString('county'); // 区/县
|
| | | var home = getQueryString('home'); // 机房
|
| | | |
| | | var homeid = getQueryString('homeid'); // 电池组id
|
| | | //console.log(province);
|
| | |
|
| | | // 生成一级导航-省
|
| | |
| | | treeView.treeView(container, formatData);
|
| | | //console.info(formatData);
|
| | | if(active) {
|
| | | treeView.activeFile(container,'eleGroup', '');
|
| | | treeView.activeFile(container,'eleGroup', homeid);
|
| | | var battId = formatData[0].id;
|
| | | location.hash="#"+battId;
|
| | | location.hash = "";
|
| | |
| | | if(container.find('ul').length !=0) {
|
| | | location.hash="#"+homeInfo.StationName;
|
| | | location.hash="";
|
| | | treeView.spreadFolder('home', homeInfo.StationName3, fourthSpread, true);
|
| | | treeView.spreadFolder('home', homeInfo.StationName, fourthSpread, true);
|
| | | return;
|
| | | }
|
| | | treeView.addProgress(container);
|