| | |
| | | }
|
| | | }*/
|
| | |
|
| | | var temp = getCookie("county");
|
| | | var temp = getCookie("battselect");
|
| | | temp = JSON.parse(temp);
|
| | | console.info(temp);
|
| | | //根据机房id查询电池组
|
| | |
| | | var data = {
|
| | | StationName1: temp.StationName1,
|
| | | StationName2: temp.StationName2,
|
| | | StationName5: temp.StationName5
|
| | | StationName5: temp.StationName5,
|
| | | StationName: temp.StationName,
|
| | | StationId: temp.StationId
|
| | | };
|
| | | $.ajax({
|
| | | type: "post",
|
| | | url: "BattInfAction!serchStationName3", |
| | | url: "BattInfAction!serchBattByStation", |
| | | async:true,
|
| | | dataType:'text',
|
| | | data:"json = "+JSON.stringify(data),
|
| | |
| | | for (var i = 0; i < dataList.length; i++){
|
| | | var _li = $('<li></li');
|
| | |
|
| | | var _a = $('<a href="javascript:void(0);" target="_top" data-ajax="false" value="" data-transition="slide">'+dataList[i].StationName3+'</a>');
|
| | | var _a = $('<a href="javascript:void(0);" target="_top" data-ajax="false" value="" data-transition="slide">'+dataList[i].BattGroupName+'</a>');
|
| | | // 将_a添加到_li,将_li添加到_ul中
|
| | | _li.append(_a);
|
| | | _ul.append(_li);
|