| | |
| | | temp=JSON.parse(temp);
|
| | | tempindex = JSON.parse(tempindex);
|
| | | tempnum =JSON.parse(tempnum);
|
| | | console.info(tempnum);
|
| | | console.info(temp[30]);
|
| | | console.info(temp[33]);
|
| | | console.info(tempindex);
|
| | | |
| | | var suoyin = temp[33];
|
| | |
|
| | | $(function(){creatAllView(tempindex.length)});
|
| | |
| | | console.info(model);
|
| | | if(model.code ==1){
|
| | | alert("修改成功");
|
| | | window.location.href="batt-unapproved.html"
|
| | | }else{
|
| | | alert("修改失败!");
|
| | | window.location.href="batt-unapproved.html"
|
| | | }
|
| | | },
|
| | | error:function(){
|
| | | alert("修改电池组失败!");
|
| | | window.location.href="batt-unapproved.html"
|
| | | }
|
| | | });
|
| | | }
|