| | |
| | | $('#battList').on('click', 'ul li', function () {
|
| | | aLi = $(this).index();
|
| | | console.info(aLi);
|
| | | console.info(stationlist);
|
| | | station = getbatt(stationlist,aLi);
|
| | | var arr=setarrbatt(arrdata,station);
|
| | | console.info(arr);
|
| | | window.location.href="hcheckAccpet.html";
|
| | | if(arr){
|
| | | //window.location.href="hcheckAccpet.html";
|
| | | }
|
| | | });
|
| | | });
|
| | |
|
| | |
| | |
|
| | | // 查询内容
|
| | | function searchBattLife(){
|
| | | loadshow();
|
| | | var temp = JSON.stringify(getcreatArr());
|
| | | console.info(temp);
|
| | | arrTd = new Array();
|
| | |
| | | }
|
| | | }
|
| | | //console.info(model);
|
| | | stationlist=model; |
| | | |
| | | }
|
| | | stationlist=model;
|
| | | //console.info(model);
|
| | | //if(Page.pageCurr==1){
|
| | | loadclose();
|
| | | createUl($('#battList'),model);
|
| | | //}else{
|
| | | //addteUl($('#battList'),model);
|
| | | //}
|
| | | }
|
| | | }
|
| | | }); |
| | | |
| | | }); |
| | | loadclose(); |
| | | }
|
| | |
|
| | | function setarrbatt(arrdata,station){
|
| | |
| | | console.info(arr);
|
| | | //applyendyanshou(arr);//申请验收方法。
|
| | | var json=window.JSON.stringify(arr);
|
| | | setCookie("wapproval",json); //这里setcookie,若有上一条cookie则清空上一笔
|
| | | setCookie("happroval",json); //这里setcookie,若有上一条cookie则清空上一笔
|
| | | return arr;
|
| | | }
|
| | | function addteUl(ulCon,dataList){
|