From f0bb5c3c5b95ec825e4e444b7688c595d5ebebc7 Mon Sep 17 00:00:00 2001
From: D:/workspace/chenjingjing/git/gx_tieta/gx_tieta/.gitignore <chenjingjing@LAPTOP-E51P2139>
Date: 星期六, 29 十二月 2018 14:24:54 +0800
Subject: [PATCH] 修改。

---
 gx_tieta/WebRoot/mobil/batt-edit2.html                  |   50 +++------
 gx_tieta/WebRoot/mobil/batt-approved1.html              |   47 +++++++--
 gx_tieta/WebRoot/mobil/conductanceM.html                |   11 +-
 gx_tieta/WebRoot/mobil/batt-infor-conf-temp1.html       |  111 ++++++++-------------
 gx_tieta/WebRoot/mobil/voltageM.html                    |   27 +++-
 gx_tieta/WebRoot/mobil/temperatureM.html                |    9 +
 gx_tieta/WebRoot/mobil/control.html                     |    6 
 gx_tieta/WebRoot/mobil/batt-infor-unapproved-edit2.html |   10 +
 gx_tieta/WebRoot/mobil/internalresistanceM.html         |    9 +
 9 files changed, 140 insertions(+), 140 deletions(-)

diff --git a/gx_tieta/WebRoot/mobil/batt-approved1.html b/gx_tieta/WebRoot/mobil/batt-approved1.html
index 1de45c5..294304e 100644
--- a/gx_tieta/WebRoot/mobil/batt-approved1.html
+++ b/gx_tieta/WebRoot/mobil/batt-approved1.html
@@ -27,17 +27,17 @@
 			white-space: nowrap;
 		}
 		.uncheck{
-		    background-color: #dddddde0!important;
+		    background-color: #ddd!important;
             color: #000!important;
 		}
 		.ui-btn-icon-right {
             padding-right: 8.5em;
         }
         .hbg{
-            background-color:#ddd9;
+            background-color:#ddd;
         }
         #battdata {
-            background-color:#dddddd54
+            background-color:#eee;
         }
         .ui-select .ui-btn select{
             width:77%;
@@ -145,7 +145,7 @@
 												<input type="hidden" id="DisCurrMax" class="unable" data-mini="true" />
 
 										<tr>
-											<td>鍩虹珯鐢佃瘽鍙风爜</td>
+											<td>*鍩虹珯鐢佃瘽鍙风爜</td>
 											<td>
 												<input type="text" id="station_phone" class="unable" data-mini="true" />
 											</td>
@@ -264,15 +264,18 @@
 	
 	function battnumber(){
        var selected=''
-       for(var i=1;i<=temp.length;i++){
-       		selected+= '<option '+'value='+i+'>'+"鐢垫睜缁�"+i+'</option>';	
+       console.info(temp);
+       if(temp.length>0){
+	       for(var i=0;i<temp.length;i++){
+	       		selected+= '<option '+'value='+temp[i].binf.BattGroupName+'>'+temp[i].binf.BattGroupName+'</option>';	
+	       }
+	       return $('#newbattnum').html(selected); 
        }
-       return $('#newbattnum').html(selected); 
   	}	
 		
    function creatBattView(index){
          var count=index+1
-            ,battTitle='<div>'+'<h1 class="hbg">'+'鐢垫睜缁�'+count+'</h1>'+
+            ,battTitle='<div>'+'<h1 class="hbg">'+temp[index].binf.BattGroupName+'</h1>'+
              '<table class="layout-set">'+'<tbody>'/*+'<tr>'+'<td>'+'鐢垫睜鍝佺墝'+'</td>'+'<td>'+'<fieldset data-role="controlgroup" data-type="horizontal" >'+'<select '+'id='+'battproducer'+index+' class="unable" '+'>'
             ,battBrand=selectedIndex(index)+'</select>'+'</fieldset>'+'</td>'+'</tr>'*/
             ,battBrand='<tr>'+'<td>'+'鐢垫睜鍝佺墝'+'</td>'+'<td>'+'<input type="text" '+' class="unable" '+'id='+'battproducer'+index+' data-mini="true"'+'value='+'鐢垫睜鍝佺墝'+count+' />'+'</td>'+'</tr>' 
@@ -376,7 +379,10 @@
 		//setTimes($("#startTestrecord"),'2000-01-01');
 		//setTimes($("#endTestrecord"),new Date().format('yyyy-MM-dd'));
 		
-		installstartdata(temp);
+		timeer = window.setTimeout(function() {
+							installstartdata(temp);
+						}, 4000);	
+		//4绉掑埛鏂颁竴娆¢〉闈�
 	});
     
     function applyendyanshou(arr){   //鐢宠楠屾敹
@@ -397,7 +403,7 @@
 			});
 		
 		}
-  	  // 璁剧疆娴厖鐢靛帇闃�鍊�/璁剧疆绂荤嚎鐢靛帇闃�鍊�   //
+  	// 璁剧疆娴厖鐢靛帇闃�鍊�/璁剧疆绂荤嚎鐢靛帇闃�鍊�   //
   	function setFloatAndoutLine(index) {
   		var monvolstd = "#MonVolStd"+index;
   		var MonCount = "#MonCount" +index;
@@ -477,7 +483,7 @@
 	}
 	
 	 function getCookienumber(id){//杈撳叆ID锛岃繑鍥為�氳璁℃暟銆傛暟鎹粠缂撳瓨鑾峰彇銆�
-	 	//var a = getnumber();
+	 	var a = getnumber();
 	 	//console.info(a);
 	 	if(getCookie("numberget")){
 		 	var number = getCookie("numberget");
@@ -493,6 +499,25 @@
 	 	}
 	 	return 0;
 	 }
+	 function getnumber(){ 	//鍚戣幏鍙栨墍鏈夐�氳璁℃暟骞跺瓨鍏ョ紦瀛�
+		$.ajax({
+ 			type: 'post',
+			async: true,
+			url: 'Battinf_applyAction!devCommNum',
+			data: null,
+			dataType: 'json',
+			success:function(data) {
+				data = JSON.parse(data.result);
+				if(data.code==1){
+					console.info(data.data);
+					var json =JSON.stringify(data.data);
+					setCookie("numberget",json);
+					//return data.data;	
+				}
+			}
+		});
+	 }
+	 
 	 function getCookiediubao(id){   //涓㈠寘鐜�
 	 	if(getCookie("numberget")){
 		 	var number = getCookie("numberget");
diff --git a/gx_tieta/WebRoot/mobil/batt-edit2.html b/gx_tieta/WebRoot/mobil/batt-edit2.html
index d4b4fb0..cd8cb34 100644
--- a/gx_tieta/WebRoot/mobil/batt-edit2.html
+++ b/gx_tieta/WebRoot/mobil/batt-edit2.html
@@ -26,17 +26,17 @@
 			white-space: nowrap;
 		}
 		.uncheck{
-		    background-color: #dddddd38!important;
-            color: #bdbdbdc4!important;
+		    background-color: #ddd!important;
+            color: #000!important;
 		}
 		.ui-btn-icon-right {
             padding-right: 8.5em;
         }
         .hbg{
-            background-color:#ddd9;
+            background-color:#ddd;
         }
         #battdata {
-            background-color:#dddddd54
+            background-color:#eee;
         }
         .ui-select .ui-btn select{
             width:77%;
@@ -95,8 +95,7 @@
 										<tr>
 											<td>鏈烘埧鍚嶇О</td>
 											<td>
-												<input type="text" id="homeName"  data-mini="true">
-									            	
+												<textarea id="homeName" class="unable" data-mini="true"></textarea>		
 											</td>
 										</tr>
 										
@@ -105,30 +104,18 @@
 											
 										
 												<input type="hidden" id="StationIp" data-mini="true" />
-											
-										
-										
-										
-											
+																
 												<input type="hidden" id="FbsDeviceIp_YM" class="unable" data-mini="true" value="456"/>	
+												
 												<input type="hidden" id="FbsDeviceIp_WG" class="unable"  data-mini="true" value="456"/>
+												
 												<input type="hidden" id="FBSDeviceName" data-mini="true" />
-											
-										
 									
-										
-										
-											
 												<input type="hidden" readonly unselectable="on" value="123" id="BattGroupNum" class="unable" class="uncheck" data-mini="true" />
-											
-										
+																			
 												<input type="hidden" id="FloatVolLevel" data-mini="true" />
-											
-										
-											
+																				
 												<input type="hidden" id="OfflineVolLevel" class="unable" data-mini="true" />
-											
-										
 											
 												<input type="hidden" id="BattFloatCurrent" class="unable" data-mini="true" />
 											
@@ -144,9 +131,7 @@
 											        <label for="twentyfour">24涓�</label>
 											        <input type="radio" name="battnum" id="twentyfour" value="24"> 
 											      </fieldset>
-											        
-											    
-												
+											        												
 											</td>
 										</tr>
 										<tr>
@@ -181,7 +166,7 @@
 											
 										
 										<tr>
-											<td>鍩虹珯鐢佃瘽鍙风爜</td>
+											<td>*鍩虹珯鐢佃瘽鍙风爜</td>
 											<td>
 												<input type="text" id="station_phone" data-mini="true" />
 											</td>
@@ -323,10 +308,6 @@
    
    });
  
-    
-   
-   
-
 	$(function () {
 		//setTimes($("#startTestrecord"),'2000-01-01');
 		//setTimes($("#endTestrecord"),new Date().format('yyyy-MM-dd'));
@@ -459,7 +440,6 @@
 		function getUpdateArr(){
 			mon=$('#MonVolStd').val();
 		
-			
 			var arr = new Array();
 			
 			for(var i=0;i<temp.length;i++){
@@ -542,7 +522,13 @@
 	});
  	
  	function nullOrn(){
+ 		console.info($("#homeName").val());
+ 		console.info($("#station_phone").val());
+ 		if($("#homeName").val!=""&&$("#station_phone").val()!=""&&$("#install_user").val()!=""){
 	 		return true;	
+ 		}else{
+ 			alert("璇峰~鍐�*鍐呭");
+ 		}
  	}
  	
  	function editBatt(){//
diff --git a/gx_tieta/WebRoot/mobil/batt-infor-conf-temp1.html b/gx_tieta/WebRoot/mobil/batt-infor-conf-temp1.html
index b528e22..d92f858 100644
--- a/gx_tieta/WebRoot/mobil/batt-infor-conf-temp1.html
+++ b/gx_tieta/WebRoot/mobil/batt-infor-conf-temp1.html
@@ -33,10 +33,10 @@
             padding-right: 8.5em;
         }
         .hbg{
-            background-color:#ddd9;
+            background-color:#ddd;
         }
         #battdata {
-            background-color:#dddddd54
+            background-color:#eee;
         }
         .ui-select .ui-btn select{
             width:77%;
@@ -101,29 +101,22 @@
 									            	
 											</td>
 										</tr>
-										
-											
+	
 												<input type="hidden" id="StationName4" data-mini="true" />
 											
-										
-												<input type="hidden" id="StationIp" data-mini="true" />
-											
+												<input type="hidden" id="StationIp" data-mini="true" />											
 
 												<input type="hidden" id="FbsDeviceIp_YM" class="unable" data-mini="true" value="456"/>	
+												
 												<input type="hidden" id="FbsDeviceIp_WG" class="unable"  data-mini="true" value="456"/>
+												
 												<input type="hidden" id="FBSDeviceName" data-mini="true" />
 											
-						
 												<input type="hidden" readonly unselectable="on" value="123" id="BattGroupNum" class="unable" class="uncheck" data-mini="true" />
 											
-										
 												<input type="hidden" id="FloatVolLevel" data-mini="true" />
 											
-										
-											
 												<input type="hidden" id="OfflineVolLevel" class="unable" data-mini="true" />
-											
-										
 											
 												<input type="hidden" id="BattFloatCurrent" class="unable" data-mini="true" />
 											
@@ -161,7 +154,9 @@
 										</tr> -->
 										
 												<input type="hidden" id="MonResStd" data-mini="true" />	
+												
 												<input type="hidden" id="MonSerStd" data-mini="true" />
+												
 												<input type="hidden" id="MonVolLowToAvg" data-mini="true" />
 										
 										<tr>
@@ -182,6 +177,7 @@
 										</tr>
 
 											<input id="startTestrecord"  type="hidden" name="appDate" class="appDatefir"  value="2000-01-01 00:00:00" />
+											
 											<input id="endTestrecord" type="hidden" name="appDate" class="appDatesec"  value="2017-01-01 00:00:00" />
 											
 										<tr>
@@ -234,20 +230,10 @@
             ,battTitle='<div>'+'<h1 class="hbg">'+'鐢垫睜缁�'+count+'</h1>'+
              '<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>'  
-             
-             
-             
-             
-             
-            
-             
+            ,battType='<tr>'+'<td>'+'鐢垫睜鍨嬪彿'+'</td>'+'<td>'+'<input type="text" '+'id='+'batttype'+index+' data-mini="true"'+'value='+'鐢垫睜鍨嬪彿'+count+' />'+'</td>'+'</tr>'   
              
             ,battNum='<tr>'+'<td>'+'*鍗曚綋鏁伴噺'+'</td>'+'<td>'+'<fieldset data-role="controlgroup"  data-type="horizontal">'+'<select '+ 'id='+'MonCount'+index+'>'
-            ,battNumOpt=selectedNum(index)+'</select>'+'</fieldset>'+'</td>'+'</tr>'  
-             
-             
-             
+            ,battNumOpt=selectedNum(index)+'</select>'+'</fieldset>'+'</td>'+'</tr>'           
              
             ,MonVolStd='<tr>'+'<td>'+'*鏍囩О鍗曚綋鐢靛帇(V)'+'</td>'+'<td>'+'<input type="text" '+'id='+'MonVolStd'+index+' data-mini="true"'+' class="unable" '+'/>'+'</td>'+'</tr>'
             ,nomCap='<tr>'+'<td>'+'*鏍囩О瀹归噺(AH)'+'</td>'+'<td>'+'<fieldset data-role="controlgroup" >'+'<select '+'id='+'MonCapStd'+index+' data-mini="true"'+'>'+creatMonCapOpt()+'</select>'
@@ -267,25 +253,25 @@
  function selectedIndex(index){
        var selected='',
            i=0;
-       selected+= '<option '+'value='+'鐞嗗+'+'>'+'鐞嗗+'+'</option>';
-       selected+= '<option '+'value='+'鍦i槼'+'>'+'鍦i槼'+'</option>';
-       selected+= '<option '+'value='+'鍙岀櫥'+'>'+'鍙岀櫥'+'</option>';
-       selected+= '<option '+'value='+'SENRY'+'>'+'SENRY'+'</option>';
-       selected+= '<option '+'value='+'鍗楅兘'+'>'+'鍗楅兘'+'</option>';
-       selected+= '<option '+'value='+'鐖遍粯鐢�'+'>'+'鐖遍粯鐢�'+'</option>';
-       selected+= '<option '+'value='+'绉戝+杈�'+'>'+'绉戝+杈�'+'</option>';
-       selected+= '<option '+'value='+'閾舵嘲'+'>'+' 閾舵嘲'+'</option>';
-       selected+= '<option '+'value='+'涓版棩'+'>'+' 涓版棩'+'</option>';
-       selected+= '<option '+'value='+'涓叴鑳芥淳'+'>'+' 涓叴鑳芥淳'+'</option>';
-		selected+= '<option '+'value='+'鍏夊畤'+'>'+' 鍏夊畤'+'</option>';  
-		selected+= '<option '+'value='+'鑹捐鏂崕杈�'+'>'+'鑹捐鏂崕杈�'+'</option>';
-		selected+= '<option '+'value='+'闆勯煬'+'>'+' 闆勯煬'+'</option>';
-		selected+= '<option '+'value='+'椋庡竼'+'>'+' 椋庡竼'+'</option>';
-		selected+= '<option '+'value='+'鏂囬殕'+'>'+' 鏂囬殕'+'</option>';
-		selected+= '<option '+'value='+'椋庡竼'+'>'+' 椋庡竼'+'</option>';
-		selected+= '<option '+'value='+'涓北'+'>'+' 涓北'+'</option>';
-  		selected+= '<option '+'value='+'缇庣殑'+'>'+' 缇庣殑'+'</option>';
-  		selected+= '<option '+'value='+'鏈楄揪'+'>'+' 鏈楄揪'+'</option>';
+	       selected+= '<option '+'value='+'鐞嗗+'+'>'+'鐞嗗+'+'</option>';
+	       selected+= '<option '+'value='+'鍦i槼'+'>'+'鍦i槼'+'</option>';
+	       selected+= '<option '+'value='+'鍙岀櫥'+'>'+'鍙岀櫥'+'</option>';
+	       selected+= '<option '+'value='+'SENRY'+'>'+'SENRY'+'</option>';
+	       selected+= '<option '+'value='+'鍗楅兘'+'>'+'鍗楅兘'+'</option>';
+	       selected+= '<option '+'value='+'鐖遍粯鐢�'+'>'+'鐖遍粯鐢�'+'</option>';
+	       selected+= '<option '+'value='+'绉戝+杈�'+'>'+'绉戝+杈�'+'</option>';
+	       selected+= '<option '+'value='+'閾舵嘲'+'>'+' 閾舵嘲'+'</option>';
+	       selected+= '<option '+'value='+'涓版棩'+'>'+' 涓版棩'+'</option>';
+	       selected+= '<option '+'value='+'涓叴鑳芥淳'+'>'+' 涓叴鑳芥淳'+'</option>';
+			selected+= '<option '+'value='+'鍏夊畤'+'>'+' 鍏夊畤'+'</option>';  
+			selected+= '<option '+'value='+'鑹捐鏂崕杈�'+'>'+'鑹捐鏂崕杈�'+'</option>';
+			selected+= '<option '+'value='+'闆勯煬'+'>'+' 闆勯煬'+'</option>';
+			selected+= '<option '+'value='+'椋庡竼'+'>'+' 椋庡竼'+'</option>';
+			selected+= '<option '+'value='+'鏂囬殕'+'>'+' 鏂囬殕'+'</option>';
+			selected+= '<option '+'value='+'椋庡竼'+'>'+' 椋庡竼'+'</option>';
+			selected+= '<option '+'value='+'涓北'+'>'+' 涓北'+'</option>';
+			selected+= '<option '+'value='+'缇庣殑'+'>'+' 缇庣殑'+'</option>';
+			selected+= '<option '+'value='+'鏈楄揪'+'>'+' 鏈楄揪'+'</option>';
        return selected; 
   }	
   	var temp = getCookie("eleparm");
@@ -582,7 +568,6 @@
 		//setFloatAndoutLine();
 	}
 	
-
 		function getUpdateArr(){
 			mon=$('#MonVolStd').val();
 			var moncount = 0;
@@ -674,13 +659,13 @@
 	});
  	
  	function nullOrn(){
-	 //	if($("#BattFloatCurrent").val()&&$("#MonCapStd").val()){
-	 		return true;
-	 	//}else{
-	 		//alert("*椤逛负蹇呭~椤癸紝涓嶈兘涓虹┖锛岃閲嶆柊杈撳叆");
-	 		//return false;
-	 //	}	
- 	
+ 		console.info($("#homeName").val());
+ 		console.info($("#station_phone").val());
+ 		if($("#homeName").val!=""&&$("#station_phone").val()!=""&&$("#install_user").val()!=""){
+	 		return true;	
+ 		}else{
+ 			alert("璇峰~鍐�*鍐呭");
+ 		}
  	}
  	
  	function addBattnew(){//鏂板缓鐢垫睜缁勶紝娣诲姞鍒扮敵璇�
@@ -709,24 +694,14 @@
    
    
    
-   function creatMonCapOpt(suoyin){
-        
-       var k,optionStr='',allString;
-       
+   function creatMonCapOpt(suoyin){       
+       var k,optionStr='',allString   
         for(var i=1;i<11;i++){
-        
-          k=i*50;
-          
+          k=i*50;         
            //optionStr+='<option'+' value='+k+'>'+k+'</option>';
           optionStr+='<option'+' value='+k+'>'+k+'</option>';
-           
-          
-           
           }
         return  allString=optionStr+'<option'+' selected = selected '+' value='+1000+'>'+1000+'</option>';
-           
-      
-        
    }
    
    function getRadioValue(na){
@@ -748,8 +723,7 @@
 	                 if($(this).find("option:selected").val()==4){$(vol).val(12);}
 	                 if($(this).find("option:selected").val()==24){$(vol).val(2);} 
 	          })
-          })(u)
-               
+          })(u)               
          }    
    }
    setchangedMonVolStd(suoyin);
@@ -757,8 +731,7 @@
           for(var i=0;i<index;i++){
              var s='#MonVolStd'+i;
              $(s).val(12);
-          }
-         
+          }         
     }
    
     /* 鎿嶄綔鎴愬姛 
diff --git a/gx_tieta/WebRoot/mobil/batt-infor-unapproved-edit2.html b/gx_tieta/WebRoot/mobil/batt-infor-unapproved-edit2.html
index bbf408b..e3af823 100644
--- a/gx_tieta/WebRoot/mobil/batt-infor-unapproved-edit2.html
+++ b/gx_tieta/WebRoot/mobil/batt-infor-unapproved-edit2.html
@@ -26,17 +26,17 @@
 			white-space: nowrap;
 		}
 		.uncheck{
-		    background-color: #dddddde0!important;
+		    background-color: #ddd!important;
             color: #000!important;
 		}
 		.ui-btn-icon-right {
             padding-right: 8.5em;
         }
         .hbg{
-            background-color:#ddd9;
+            background-color:#ddd;
         }
         #battdata {
-            background-color:#dddddd54
+            background-color:#eee;
         }
         .ui-select .ui-btn select{
             width:77%;
@@ -241,8 +241,9 @@
 		}); 	
   }  	
   function creatBattView(index){
+  		if(temp.length>0){
          var count=index+1
-            ,battTitle='<div>'+'<h1 class="hbg">'+'鐢垫睜缁�'+count+'</h1>'+
+            ,battTitle='<div>'+'<h1 class="hbg">'+temp[index].binf.BattGroupNamet+'</h1>'+
              '<table class="layout-set">'+'<tbody>'/*+'<tr>'+'<td>'+'鐢垫睜鍝佺墝'+'</td>'+'<td>'+'<fieldset data-role="controlgroup" data-type="horizontal" >'+'<select '+'id='+'battproducer'+index+' class="unable" '+'>'
             ,battBrand=selectedIndex(index)+'</select>'+'</fieldset>'+'</td>'+'</tr>'*/
             ,battBrand='<tr>'+'<td>'+'鐢垫睜鍝佺墝'+'</td>'+'<td>'+'<input type="text" '+' class="unable" '+'id='+'battproducer'+index+' data-mini="true"'+'value='+'鐢垫睜鍝佺墝'+count+' />'+'</td>'+'</tr>' 
@@ -257,6 +258,7 @@
             ,battIndex='<tr>'+'<input type="hidden" '+'id='+'battindex'+index+' data-mini="true"'+'value='+count+' class="unable" '+' />'+'</tr>' 
             ,battName='<tr>'+'<input type="hidden" '+'id='+'battname'+index+' data-mini="true"'+'value='+'鐢垫睜缁�'+count+' class="unable" '+' />'+'</tr>'+'</tbody>'+'</table>'+'</div>';
          return battTitle+battBrand+battType+battNum+MonVolStd+nomCap+battIndex+battName;             
+		}  
   }	
    function selectedNum(index){
       var selected='';
diff --git a/gx_tieta/WebRoot/mobil/conductanceM.html b/gx_tieta/WebRoot/mobil/conductanceM.html
index 735eeb4..5203883 100644
--- a/gx_tieta/WebRoot/mobil/conductanceM.html
+++ b/gx_tieta/WebRoot/mobil/conductanceM.html
@@ -65,7 +65,7 @@
 	<div data-role="page">
 		<div data-role="header" data-position="fixed">
 			<a href="control.html" class="ui-btn ui-corner-all ui-shadow ui-icon-arrow-l ui-btn-icon-left" target="_top" style="padding-bottom:0.7em; padding-top:0.7em;">杩斿洖</a>
-			<h1>鐢靛</h1>	
+			<h1 id="biaoti">鐢靛</h1>	
 			<div  data-role="collapsible"  data-type="horizontal"  class="ui-btn-right"  style="padding-bottom:-0.7em; padding-top:-0.7em;" >
             	<h1 id="alwaysRight">鏇村</h1>
             	<div class="clear" ></div>
@@ -89,9 +89,9 @@
         <div data-role="main" class="ui-content">
 	
 	         <div class="ui-grid-b">
-                  <div class="ui-block-a">MAX&nbsp;<span class="max">&nbsp;</span></div>
-                  <div class="ui-block-b">MIN&nbsp;<span class="min">&nbsp;</span></div>
-                  <div class="ui-block-c">AVG&nbsp;<span class="avg">&nbsp;</span></div>
+                  <div class="ui-block-a">鏈�澶у��&nbsp;<span class="max">&nbsp;</span></div>
+                  <div class="ui-block-b">鏈�灏忓��&nbsp;<span class="min">&nbsp;</span></div>
+                  <div class="ui-block-c">骞冲潎鍊�&nbsp;<span class="avg">&nbsp;</span></div>
              </div>
             <table data-role="table" class="ui-responsive" data-mode="">
                   <thead>
@@ -145,7 +145,8 @@
 	 function findtmp(){
 	 	var temp=getCookie("batt");
 	 	if(temp.length>0){
-	 		var batt=eval("("+temp+")");	 
+	 		var batt=eval("("+temp+")");
+	 		$("#biaoti").text("鐢靛("+batt.BattGroupName+")");//鏍囬娣诲姞鐢垫睜缁勭紪鍙�	 
 		    $.ajax({
 		      url : "Batt_rtdataAction_serchByCondition",
 		      async: true,
diff --git a/gx_tieta/WebRoot/mobil/control.html b/gx_tieta/WebRoot/mobil/control.html
index f7861fb..ec9d6b4 100644
--- a/gx_tieta/WebRoot/mobil/control.html
+++ b/gx_tieta/WebRoot/mobil/control.html
@@ -19,7 +19,7 @@
 <div data-role="page">
 	<div data-role="header" data-position="fixed">
 		<a id= "return" class="ui-btn ui-corner-all ui-shadow ui-icon-back ui-btn-icon-left" target="_top" style="padding-top:0.7em;padding-bottom:0.7em;">杩斿洖</a>
-		<h1>瀹炴椂鈥旀娴嬫暟鎹�</h1>
+		<h1 id="biaoti">瀹炴椂鈥旀娴嬫暟鎹�</h1>
 	</div>
 
 	<div data-role="content">
@@ -46,7 +46,7 @@
 			</li> -->
 		</ul>
 		<div data-role="collapsible" data-collapsed="false">
-	      <h1>鐢垫睜缁勭姸鎬�</h1>
+	      <h1 id="zhuangtai">鐢垫睜缁勭姸鎬�</h1>
 	      <div class="tbl-container"></div>
 	    </div>
 	</div>
@@ -151,7 +151,7 @@
 						}else{
 							arrTd.push("------");
 						}
-						
+						$("#zhuangtai").find("a").text("鐢垫睜缁勭姸鎬�("+batt.BattGroupName+")");
 						createTbl(tbl, arrTh, arrTd);				
 						window.clearTimeout(timeer);
 						timeer = window.setTimeout(function() {
diff --git a/gx_tieta/WebRoot/mobil/internalresistanceM.html b/gx_tieta/WebRoot/mobil/internalresistanceM.html
index 5e21664..5b9f00e 100644
--- a/gx_tieta/WebRoot/mobil/internalresistanceM.html
+++ b/gx_tieta/WebRoot/mobil/internalresistanceM.html
@@ -56,7 +56,7 @@
 	<div data-role="page">
 		<div data-role="header" data-position="fixed">
 			<a href="control.html" class="ui-btn ui-corner-all ui-shadow ui-icon-arrow-l ui-btn-icon-left" target="_top" style="padding-bottom:0.7em; padding-top:0.7em;">杩斿洖</a>
-			<h1>鍐呴樆</h1>
+			<h1 id="biaoti">鍐呴樆</h1>
 	
 			<div  data-role="collapsible"  data-type="horizontal"  class="ui-btn-right"  style="padding-bottom:-0.7em; padding-top:-0.7em;" >
 	            	<h1 id="alwaysRight">鏇村</h1>
@@ -81,9 +81,9 @@
 			     	  
 		<div data-role="main" class="ui-content">
 		     <div class="ui-grid-b">
-		         <div class="ui-block-a">MAX&nbsp;<span class="max">&nbsp;</span></div>
-		         <div class="ui-block-b">MIN&nbsp;<span class="min">&nbsp;</span></div>
-		         <div class="ui-block-c">AVG&nbsp;<span class="avg">&nbsp;</span></div>
+		         <div class="ui-block-a">鏈�澶у��&nbsp;<span class="max">&nbsp;</span></div>
+		         <div class="ui-block-b">鏈�灏忓��&nbsp;<span class="min">&nbsp;</span></div>
+		         <div class="ui-block-c">骞冲潎鍊�&nbsp;<span class="avg">&nbsp;</span></div>
 		     </div>
 		      <table data-role="table" data-mode="" class="ui-responsive"  id="myTable">
 		            <thead>
@@ -138,6 +138,7 @@
 	 	if(temp.length>0){
 	 		var batt=eval("("+temp+")");
 	 		//console.info(batt);
+	 		$("#biaoti").text("鍐呴樆("+batt.BattGroupName+")");//鏍囬娣诲姞鐢垫睜缁勭紪鍙�
 	 		$.ajax({
 				url : "Batt_rtdataAction_serchByCondition",
 				async: true,
diff --git a/gx_tieta/WebRoot/mobil/temperatureM.html b/gx_tieta/WebRoot/mobil/temperatureM.html
index de82ea2..902b561 100644
--- a/gx_tieta/WebRoot/mobil/temperatureM.html
+++ b/gx_tieta/WebRoot/mobil/temperatureM.html
@@ -56,7 +56,7 @@
 	<div data-role="page">
 		<div data-role="header" data-position="fixed">
 			<a href="control.html" class="ui-btn ui-corner-all ui-shadow ui-icon-arrow-l ui-btn-icon-left" target="_top" style="padding-bottom:0.7em; padding-top:0.7em;">杩斿洖</a>
-			<h1>娓╁害</h1>	
+			<h1 id="biaoti">娓╁害</h1>	
 			<div  data-role="collapsible"  data-type="horizontal"  class="ui-btn-right"  style="padding-bottom:-0.7em; padding-top:-0.7em;" >
             	<h1 id="alwaysRight">鏇村</h1>
             	<h1 class="full-width">
@@ -79,9 +79,9 @@
         <div data-role="main" class="ui-content">
 	
 	         <div class="ui-grid-b">
-                  <div class="ui-block-a">MAX&nbsp;<span class="max">&nbsp;</span></div>
-                  <div class="ui-block-b">MIN&nbsp;<span class="min">&nbsp;</span></div>
-                  <div class="ui-block-c">AVG&nbsp;<span class="avg">&nbsp;</span></div>
+                  <div class="ui-block-a">鏈�澶у��&nbsp;<span class="max">&nbsp;</span></div>
+                  <div class="ui-block-b">鏈�灏忓��&nbsp;<span class="min">&nbsp;</span></div>
+                  <div class="ui-block-c">骞冲潎鍊�&nbsp;<span class="avg">&nbsp;</span></div>
              </div>
             <table data-role="table" class="ui-responsive" data-mode="">
                   <thead>
@@ -171,6 +171,7 @@
 	 	if(temp.length>0){
 	 		var batt=eval("("+temp+")");
 	 		//console.info(batt);
+	 		$("#biaoti").text("娓╁害("+batt.BattGroupName+")");//鏍囬娣诲姞鐢垫睜缁勭紪鍙�
 	 		$.ajax({
 				url : "Batt_rtdataAction_serchByCondition",
 				async: true,
diff --git a/gx_tieta/WebRoot/mobil/voltageM.html b/gx_tieta/WebRoot/mobil/voltageM.html
index d2cb3e5..72c6133 100644
--- a/gx_tieta/WebRoot/mobil/voltageM.html
+++ b/gx_tieta/WebRoot/mobil/voltageM.html
@@ -49,6 +49,13 @@
 		height:1px;
 		clear:both;
 	}
+	.ui-grid-c>.ui-block-a, .ui-grid-c>.ui-block-b, .ui-grid-c>.ui-block-c, .ui-grid-c>.ui-block-d {
+    width: 20%;
+    font-size: 0.9em;
+    }
+    .ui-grid-c>.ui-block-c, .ui-grid-c>.ui-block-d {
+    width:30%;
+    }
 </style>
 
 
@@ -57,7 +64,7 @@
 	<div data-role="page">
 		<div data-role="header" data-position="fixed">
 			<a href="control.html" class="ui-btn ui-corner-all ui-shadow ui-icon-arrow-l ui-btn-icon-left" target="_top" style="padding-bottom:0.7em; padding-top:0.7em;">杩斿洖</a>
-			<h1>鐢靛帇</h1>
+			<h1 id="biaoti">鐢靛帇</h1>
 	
 			<div  data-role="collapsible"  data-type="horizontal"  class="ui-btn-right"  style="padding-bottom:-0.7em; padding-top:-0.7em;" >
             	<h1 id="alwaysRight">鏇村</h1>
@@ -80,10 +87,11 @@
 		</div>
 			     	  
 		<div data-role="main" class="ui-content">
-		     <div class="ui-grid-b">
-		         <div class="ui-block-a">MAX&nbsp;<span class="max">&nbsp;</span></div>
-		         <div class="ui-block-b">MIN&nbsp;<span class="min">&nbsp;</span></div>
-		         <div class="ui-block-c">AVG&nbsp;<span class="avg">&nbsp;</span></div>
+		     <div class="ui-grid-c">
+		         <div class="ui-block-a">鏈�澶у��<span class="max">&nbsp;</span></div>
+		         <div class="ui-block-b">鏈�灏忓��<span class="min">&nbsp;</span></div>
+		         <div class="ui-block-c">骞冲潎鍊�<span class="avg">&nbsp;</span></div>
+		         <div class="ui-block-d">绱姞鍜�<span class="leijiasum">&nbsp;</span></div>
 		     </div>
 		      <table data-role="table" data-mode="" class="ui-responsive"  id="myTable">
 		            <thead>
@@ -135,8 +143,10 @@
 	 
 	 function findtmp(){
 	 	var temp=getCookie("batt");
+	 	console.info(temp);
 	 	if(temp.length>0){
 	 		var batt=eval("("+temp+")");
+	 		$("#biaoti").text("鐢靛帇("+batt.BattGroupName+")");//鏍囬娣诲姞鐢垫睜缁勭紪鍙�
 	 		//console.info(batt);
 	 		$.ajax({
 				url : "Batt_rtdataAction_serchByCondition",
@@ -215,6 +225,7 @@
 	function createCount(datas){
 		var temp=new Array();
 		var sum=0;
+		console.info(datas);
 		for(var i=0;i<datas.length;i++){
 			temp.push((datas[i].mon_vol).toFixed(3));
 			sum+=parseFloat(temp[i]);
@@ -222,11 +233,11 @@
 		var max=Math.max.apply(null, temp);
 		var min=Math.min.apply(null, temp);
 		var avg=(sum/temp.length).toFixed(3);
-	 
-	      
+	    sum=(sum).toFixed(2); 
         $(".max").text(max+'V');
         $(".min").text(min+'V');
-        $(".avg").text(avg+'V');     
+        $(".avg").text(avg+'V'); 
+        $(".leijiasum").text(sum+'V');    
 	} 
 	
 	function isMax(datas,flag){

--
Gitblit v1.9.1