| | |
| | | console.warn($(t).attr("but-index")+' 修改');
|
| | | var index = $(t).attr("but-index");
|
| | | var parm = seteditparm(index);
|
| | | console.info(getCookie("eleparm"));
|
| | | //window.location.href="batt-edit.html"; |
| | | // console.info(getCookie("eleparm"));
|
| | | window.location.href="batt-edit.html"; |
| | | return ;
|
| | | }
|
| | |
|
| | |
| | | arrTd.push(data[i].install_user); // 设备安装人员
|
| | | arrTd.push('<a onclick="getEditButIndex(this)" id="edit" class="ui-btn ui-btn-inline ui-corner-all operat-but" data-position-to="window"'+'but-index='+i+'>修改</a>');
|
| | | Page.pageAll = data[i].num;
|
| | | groupName.push(data[i].BattGroupName);
|
| | | |
| | | num.push(data.length);
|
| | | groupId.push(data[i].BattGroupId);
|
| | | |
| | | }
|
| | | var json = JSON.stringify(groupName);
|
| | | var json1 =JSON.stringify(num);
|
| | | var json2 = JSON.stringify(groupId);
|
| | |
|
| | | setCookie("eleparmindex",json); //电池组名称
|
| | | setCookie("eleparmnum",json1); //电池组编号
|
| | |
|
| | | setCookie("elegroupid",json2);
|
| | | }else{
|
| | | Page.pageAll = 0;
|
| | | }
|