Merge branch 'dev_lxw' of https://whyclj@gitlab.com/whyclxw1/gx_tieta.git into dev_lxw
| | |
| | | var city = batt.StationName2;
|
| | | var county = batt.StationName5;
|
| | | var home = batt.StationName;
|
| | | $(this).attr('href', 'control.jsp?province='+province+'&city='+city+'&county='+county+'&home='+home);
|
| | | var homeid = batt.BattGroupId;
|
| | | $(this).attr('href', 'control.jsp?province='+province+'&city='+city+'&county='+county+'&home='+home+'&homeid='+homeid);
|
| | | });
|
| | | });
|
| | |
|
| | |
| | | var city = batt.StationName2;
|
| | | var county = batt.StationName5;
|
| | | var home = batt.StationName;
|
| | | $(this).attr('href', 'charge-test.jsp?province='+province+'&city='+city+'&county='+county+'&home='+home);
|
| | | var homeid = batt.BattGroupId;
|
| | | $(this).attr('href', 'charge-test.jsp?province='+province+'&city='+city+'&county='+county+'&home='+home+'&homeid='+homeid);
|
| | | });
|
| | | });
|
| | |
|
| | |
| | | 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 = "";
|