| | |
| | | function creatBattView(index){
|
| | | var count=index+1
|
| | | ,battTitle='<div>'+'<h1 class="hbg">'+'电池组'+count+'</h1>'+
|
| | | '<table class="layout-set">'+'<tbody>'+'<tr>'+'<td>'+'电池品牌'+'</td>'+'<td>'+'<fieldset data-role="controlgroup" id="battproducer" data-type="horizontal">'+'<select>'
|
| | | '<table class="layout-set">'+'<tbody>'+'<tr>'+'<td>'+'电池品牌'+'</td>'+'<td>'+'<fieldset data-role="controlgroup" data-type="horizontal">'+'<select id="battproducer'+index+'>'
|
| | | ,battBrand=selectedIndex(index)+'</select>'+'</fieldset>'+'</td>'+'</tr>'
|
| | | ,battType='<tr>'+'<td>'+'电池型号'+'</td>'+'<td>'+'<input type="text" '+'id='+'batttype'+index+' data-mini="true"'+'value='+'电池型号'+count+' />'+'</td>'+'</tr>'
|
| | | ,battNum='<tr>'+'<td>'+'电池数量'+'</td>'+'<td>'+'<input type="text" '+'id='+'battnum'+index+' data-mini="true"'+'value='+'电池数量'+count+' />'+'</td>'+'</tr>'
|
| | |
| | | //console.info(data);
|
| | | //console.info(data.code);
|
| | | if(data.code==1&&data.data.length>0){
|
| | | var $Ostation_name1=$("#country");
|
| | | var $Ostation_name1=$("#county");
|
| | | $Ostation_name1.text("");
|
| | | var arr = new Array();
|
| | | for(var i=0;i<data.data.length;i++)
|
| | |
| | | binf:{
|
| | | StationName1:$('#mainteArea').val(),
|
| | | StationName2:$('#city').val(),
|
| | | StationName5: $('#country').val(),
|
| | | StationName5: $('#county').val(),
|
| | | StationName:$('#homeName').val(),
|
| | | },
|
| | | };
|
| | |
| | | StationName1 : $("#mainteArea").val(), // 省
|
| | | StationName2 : $("#city").val(), // 市
|
| | | StationName5 : $("#county").val(), // 区/县
|
| | | homeName : $("#homeName").val(), // 机房名称
|
| | | StationName3 : $("#homeName").val(), // 机房名称
|
| | | StationName4 : $("#StationName4").val(), // 设备名称
|
| | | StationIp : $("#StationIp").val(), //机房ip
|
| | | FBSDeviceId : $("#FBSDeviceId").val(), //设备id
|
| | |
| | | DisCurrMax : $("#DisCurrMax").val(), //最大核容电流
|
| | | station_phone : $("#station_phone").val(), //基站号码
|
| | |
|
| | | BattProducer : battproducer, //电池品牌
|
| | | BattProducer : $(battproducer).val(), //电池品牌
|
| | | BattModel : $(battModel).val(), //电池型号
|
| | | BattProductDate : $("#startTestrecord").val()+" 00:00:00", //电池生产日期
|
| | | BattInUseDate : $("#endTestrecord").val()+" 00:00:00", //电池使用日期
|