| | |
| | | temp=JSON.parse(temp);
|
| | | console.info(temp);
|
| | | console.info(temp[30]);
|
| | | console.info(temp[33]);
|
| | | installstartdata(temp);
|
| | |
|
| | | getUpdateArr();
|
| | | if(temp[33]&&temp[33]=="new"){
|
| | | |
| | | }else{
|
| | | |
| | | } |
| | | function installstartdata(temp){
|
| | | //$("#StationId").value=temp[0];
|
| | | //var t=document.getElementById("station_name1");
|
| | |
| | | $(function(){
|
| | | $(".unable").prop("readonly","readonly").attr("unselectable","on").addClass("uncheck");
|
| | | $("#sure").click(function(){
|
| | | editParm();
|
| | | function backpage(){window.location.href="ele-param.html";}
|
| | | setTimeout(backpage,3000); |
| | | });
|
| | | $("#cancel").click(function(){
|
| | | window.location.href="ele-param.html";
|
| | | });
|
| | | if(temp[33]&&temp[33]=="new"){
|
| | | addBatt();
|
| | | }else{
|
| | | editParm();
|
| | | } |
| | | function backpage(){window.location.href="ele-param.html";}
|
| | | setTimeout(backpage,3000); |
| | | });
|
| | | $("#cancel").click(function(){
|
| | | window.location.href="ele-param.html";
|
| | | });
|
| | | });
|
| | | function editParm(){
|
| | | var parm = getUpdateArr();
|