| | |
| | | ,data: null
|
| | | ,dataType: 'json'
|
| | | ,success:function(res) {
|
| | | //console.info(res);
|
| | | console.info(res);
|
| | | var data = JSON.parse(res.result);
|
| | | console.info(data);
|
| | | if(data.length!=0){
|
| | | data = data.data;
|
| | | dev_id = data;
|
| | |
| | | document.getElementById("FBSDeviceName").value = temp[11];
|
| | | //document.getElementById("GroupIndexInFBSDevice").value = temp[12];
|
| | | document.getElementById("BattGroupId").value = temp[13];
|
| | | document.getElementById("BattGroupNum").value = temp[14];
|
| | | document.getElementById("BattGroupNum").value = suoyin;
|
| | | //document.getElementById("BattGroupName").value = temp[15];
|
| | | document.getElementById("FloatVolLevel").value = temp[16];
|
| | | document.getElementById("OfflineVolLevel").value = temp[17];
|
| | |
| | | $(".unable").prop("readonly","readonly").attr("unselectable","on").addClass("uncheck");
|
| | | $("#sure").click(function(){
|
| | | addBatt();
|
| | | function backpage(){window.location.href="ele-param1.html";}
|
| | | setTimeout(backpage,500); |
| | | //function backpage(){window.location.href="ele-param1.html";}
|
| | | // setTimeout(backpage,500); |
| | | });
|
| | | // $("#cancel").click(function(){
|
| | | // window.location.href="ele-param1.html";
|