From b2f21d080425b0ab6e5e6170914ca2c615e5d185 Mon Sep 17 00:00:00 2001
From: 81041 <81041@DESKTOP-025NVD9>
Date: 星期三, 02 一月 2019 10:22:00 +0800
Subject: [PATCH] Merge branch 'dev_lxw' of https://gitlab.com/whyclxw1/gx_tieta.git into dev_lxw

---
 gx_tieta/WebRoot/mobil/batt-edit2.html                   |   50 +--
 gx_tieta/WebRoot/js/buildNav.js                          |    3 
 gx_tieta/WebRoot/mobil/equipwarn.html                    |    5 
 gx_tieta/WebRoot/mobil/conductanceM.html                 |   11 
 gx_tieta/src/global_zh_CN.properties                     |    7 
 gx_tieta/WebRoot/mobil/batt-infor-conf-temp1.html        |  111 +++-----
 gx_tieta/WebRoot/WEB-INF/classes/global_zh_CN.properties |    7 
 gx_tieta/WebRoot/batch-set-curr.jsp                      |  223 +++++++++++-------
 gx_tieta/WebRoot/equipHistWarn1.jsp                      |    2 
 gx_tieta/WebRoot/mobil/equiphistwarn.html                |    2 
 /dev/null                                                |    1 
 gx_tieta/WebRoot/mobil/batt-approved1.html               |   66 ++++-
 gx_tieta/WebRoot/batt-station-update1.jsp                |    2 
 gx_tieta/WebRoot/iframe/setcurr.html                     |  129 +++++++++-
 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  |    6 
 gx_tieta/WebRoot/mobil/iframe/homeinfo1.html             |    2 
 gx_tieta/WebRoot/equipWarn1.jsp                          |    4 
 gx_tieta/src/com/fgkj/Filters/HotlinkFilter.java         |    3 
 gx_tieta/WebRoot/mobil/internalresistanceM.html          |    9 
 22 files changed, 437 insertions(+), 248 deletions(-)

diff --git a/gx_tieta/.gitignore b/gx_tieta/.gitignore
deleted file mode 100644
index 2d7e4dc..0000000
--- a/gx_tieta/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-*.class
diff --git a/gx_tieta/WebRoot/WEB-INF/classes/global_zh_CN.properties b/gx_tieta/WebRoot/WEB-INF/classes/global_zh_CN.properties
index 83cf6db..f0e0451 100644
--- a/gx_tieta/WebRoot/WEB-INF/classes/global_zh_CN.properties
+++ b/gx_tieta/WebRoot/WEB-INF/classes/global_zh_CN.properties
@@ -1109,3 +1109,10 @@
 
 ###################  ex-battinfo.jsp   ##################################
 Approval_station_install=\u57fa\u7ad9\u5b89\u88c5\u5ba1\u6279
+
+
+##################  batch-set-curr.jsp  ##############################
+Bulk_nuclear_cap_test = \u6279\u91cf\u6838\u5bb9\u6d4b\u8bd5
+
+##################  batt-station-update1.jsp   #########################
+BTSEquipment_upgrades = BTS\u8bbe\u5907\u5347\u7ea7
\ No newline at end of file
diff --git a/gx_tieta/WebRoot/batch-set-curr.jsp b/gx_tieta/WebRoot/batch-set-curr.jsp
index 77cd10c..fe2d1bd 100644
--- a/gx_tieta/WebRoot/batch-set-curr.jsp
+++ b/gx_tieta/WebRoot/batch-set-curr.jsp
@@ -15,7 +15,7 @@
 		<meta http-equiv="expires" content="0">    
 		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
 		<meta http-equiv="description" content="This is my page">
-	    <title>鎵归噺璁剧疆淇℃伅</title>
+	    <title>鎵归噺鏍稿娴嬭瘯</title>
 		<link rel="stylesheet" type="text/css" href="pages/css/base.css">
 		<link rel="stylesheet" type="text/css" href="jqueryui/jquery-ui.css">
 	    <link rel="stylesheet" type="text/css" href="src/css/layui.css">
@@ -55,7 +55,7 @@
         <div class="layui-page-container">
         	<!-- 鏉′欢绛涢�� -->
             <div class="layui-page-filter">
-                <div class="page-filter-header layui-page-filter-fweight">鎵归噺璁剧疆淇℃伅</div>
+                <div class="page-filter-header layui-page-filter-fweight">鎵归噺鏍稿娴嬭瘯</div>
                 <div class="page-filter-content">
                     <table>
                         <tr class="layui-page-filter-tbl-header layui-page-filter-fweight">
@@ -93,7 +93,7 @@
                             	<div class="layui-form" lay-filter="countyFilter">
                             		<div class="layui-form-item">
                             			<div class="layui-input-block">
-                            				<select name="county" id="county" lay-filter="county">
+                            				<select name="county" id="county" lay-filter="county"  lay-search="">
 												<option value="">璇烽�夋嫨鍖�/鍘�</option>
 											</select>
                             			</div>
@@ -159,7 +159,6 @@
 						<button class="layui-btn layui-btn-sm mrl8" id="batchAdd"><i class="fa fa-plus mrr8"></i>娣诲姞鐢垫睜缁�</button>
             			<button class="layui-btn layui-btn-sm" id="batchSetCurr">鎵归噺璁剧疆鏀剧數鍙傛暟</button>
             			<button class="layui-btn layui-btn-sm" id="startTest">鎵归噺鍚姩娴嬭瘯</button>
-            			<button class="layui-btn layui-btn-sm" id="lookSetCurr">鏌ヨ鏀剧數鍙傛暟</button>
             		</div>
             	</div>
             	<!-- 琛ㄦ牸鍐呭 -->
@@ -187,7 +186,7 @@
 								<td><input id="distime" type="text" value="600"><i class="fa fa-frown-o error-img" title="鏁版嵁鏍煎紡閿欒"></i></td>
 							</tr>
 							<tr>
-								<th><s:text name="Discharging"/><s:text name="Hourly_rate"/>(0~300%)<!-- 鏀剧數灏忔椂鐜� --></th>
+								<th>鏀剧數鐢垫祦鐧惧垎姣�(0~300%)<!-- 鏀剧數灏忔椂鐜� --></th>
 								<th>鏀剧數瀹归噺鐧惧垎姣�(0~300%)</th>
 							</tr>
 							<tr>
@@ -241,13 +240,37 @@
         <!-- 瀛樺偍set-curr.html鐨勪俊鎭� -->
 	    <div id="setCurrIframe"></div>
 	    <div id="setCurrBtn"></div>
+	    <!-- 璁惧宸ヤ綔鐘舵�� -->
+	    <script type="text/html" id="devStatus">
+			{{# if(d.devStatus) { }}
+				{{d.devStatus}}
+			{{# }else{ }}
+				鐘舵��:锛燂紵锛�,鍛婅:锛燂紵锛�,缁勭鐢靛帇(V):锛燂紵锛�,鐢垫祦(A):锛燂紵锛�,瀹归噺(AH):锛燂紵锛�
+			{{# } }}
+		</script>
+		<!-- 宸叉祴鏃堕暱 -->
+		<script type="text/html" id="testTime">
+			{{# if(d.testTime) { }}
+				{{d.testTime}}
+			{{# }else{ }}
+				00:00:00
+			{{# } }}
+		</script>
+		<!-- 閫氫俊璁℃暟signalNum -->
+		<script type="text/html" id="signalNum">
+			{{# if(d.signalNum) { }}
+				{{d.signalNum}}
+			{{# }else{ }}
+				锛燂紵锛�
+			{{# } }}
+		</script>
         <script type="text/html" id="setStatus">
 			{{# if(d.setCurr == 1){ }}
-				<button class="layui-btn layui-btn-sm">璁剧疆鏀剧數鍙傛暟鎴愬姛</button>
+				<button class="layui-btn layui-btn-sm">璁剧疆鎴愬姛</button>
 			{{# }else if(d.setCurr == 2){ }}
-				<button class="layui-btn layui-btn-sm layui-btn-danger">璁剧疆鏀剧數鍙傛暟澶辫触</button>
+				<button class="layui-btn layui-btn-sm layui-btn-danger">璁剧疆澶辫触</button>
 			{{# }else { }}
-				<button class="layui-btn layui-btn-sm layui-btn-normal">鏈缃斁鐢靛弬鏁�</button>
+				<button class="layui-btn layui-btn-sm layui-btn-normal">鏈缃�</button>
 			{{# } }}
 		</script>
 	    <script type="text/javascript" src="js/jquery-1.8.3.js"></script>
@@ -510,24 +533,22 @@
 					,cellMinWidth: 80
 					,cols: [[
 						{type:'checkbox',fixed: 'left'}
+						,{field:'FBSDeviceId', title:'璁惧ID', align:'center', width: 160}
 						,{field:'StationName', title:'鏈烘埧鍚嶇О', align:'center', width: 470}
-						,{field:'FBSDeviceName', title:'FBS璁惧鍚嶇О', align:'center', width: 160}
-						,{field:'GroupIndexInFBSDevice', title:'FBS璁惧绱㈠紩', align:'center', width: 160}
-						,{field:'StationName9', title:'璁惧鐗堟湰鍙�', align:'center', width: 160}
 						,{field:'BattGroupId', title:'鐢垫睜缁処D', align:'center', width: 160}
 						,{field:'BattGroupName', title:'鐢垫睜缁勫悕绉�', align:'center', width: 160}
+						,{field:'devStatus', title:'璁惧鐘舵��', templet: '#devStatus', align:'center', width: 600}
+						,{field:'testTime', title:'宸叉祴鏃堕暱', templet: '#testTime', align:'center', width: 140}
+						,{field:'signalNum', title:'閫氫俊璁℃暟', templet: '#signalNum', align:'center', width: 140}
+						,{field:'StationName9', title:'璁惧鐗堟湰鍙�', align:'center', width: 160}
 						,{field:'MonCount', title:'鍗曚綋鏁伴噺', align:'center', width: 100}
 						,{field:'MonCapStd', title:'鏍囩О瀹归噺', align:'center', width: 100}
 						,{field:'MonVolStd', title:'鏍囩О鍗曚綋鐢靛帇', align:'center', width: 140}
-						,{field:'MonResStd', title:'鏍囩О鍗曚綋鍐呴樆', align:'center', width: 140}
-						,{field:'MonSerStd', title:'鏍囩О鍗曚綋鐢靛', align:'center', width: 140}
-						,{field:'Load_curr', title:'璐熻浇鐢垫祦', align:'center', width: 140}
-						,{field:'DisCurrMax', title:'鏈�澶ф牳瀹圭數娴�', align:'center', width: 140}
 						,{field:'doThings', fixed: 'right', title: '璁剧疆鐘舵��', toolbar: '#setStatus', align: 'center', width: 160}
 				    ]]
 					,data:[]
-					,limit: 20
-				    ,page: true
+					,limit: 10000
+				    ,page: false
 				    ,height: 'full-252'
 				};
 				
@@ -570,10 +591,11 @@
         					}else {
         						layer.msg('娌℃湁鍙缃殑鐢垫睜缁�!');
         					}
-        					
+        					console.log(data);
         					tOptions.data = data;
        						// 鐢熸垚琛ㄦ牸鏁版嵁
 							table.render(tOptions);
+							updateDevStatus();
         				}
         				,complete:function() {
         					layer.close(load);
@@ -659,6 +681,7 @@
 	            
 	            // 璇锋眰璁剧疆鍙傛暟
 	            function ajaxSetParam(param) {
+	            	console.log(param);
 	            	var load = layer.load(1);
 	            	// 璇锋眰鍚庡彴
 	            	$.ajax({
@@ -668,7 +691,6 @@
 	            		,data: 'json='+JSON.stringify(param)
 	            		,dataType: 'json'
 	            		,success: function(res) {
-	            			console.log(res);
 	            			var rs = JSON.parse(res.result);
 	            			if(rs.code == 1) {
 	            				layer.msg('璁剧疆瀹屾垚锛�');
@@ -678,13 +700,20 @@
 	            				var rsList = [];
 	            				for(var i=0; i<data.length; i++) {
 	            					var _data = data[i];
+	            					rsList.push(_data);
+	            				}
+	            				
+	            				var trIndex = getSetCurrIndex(data, tOptions.data);
+	            				// 琚缃弬鏁扮殑鏈烘埧
+	            				for(var i=0; i<trIndex.length; i++) {
+	            					var _data = data[i];
+	            					var _trIndex = trIndex[i];
 	            					var _temp = {'doThings':''};
 	            					if(_data.num==1) {
 	            						_temp.setCurr = 1;
 	            					}else {
 	            						_temp.setCurr = 2;
 	            					}
-	            					rsList.push(_data);
 	            					layuiTbl.updateTr(i, _temp);
 	            				}
 	            				
@@ -702,6 +731,7 @@
 	            
 	            // 鏋勯�犳壒閲忚缃斁鐢靛弬鏁扮殑鏂规硶
 	            function getSetCurrParam(data, ratio) {
+	            	//console.log(data);
 	            	var rs = [];
 	            	for(var i=0; i<data.length; i++) {
 	            		var _data = data[i];
@@ -714,7 +744,7 @@
 	            		var temp= {
 	            			num: 0
 	            			,dev_id: _data.FBSDeviceId			// 璁惧id
-	            			,op_cmd: setParamCmd				//  璁剧疆鍙傛暟鍛戒护
+	            			,op_cmd: setParamCmd				// 璁剧疆鍙傛暟鍛戒护
 	            			,TestCmd: ratio.testType			// 娴嬭瘯绫诲瀷	
 	            			,HourRate: ratio.hourrate			// 灏忔椂鐜�
 	            			,DisCurr: disCurr					// 鏀剧數鐢垫祦
@@ -727,7 +757,8 @@
 	            			,OnlineLowAction: ratio.OnlineVolLowAction	// 鍦ㄧ嚎鐢靛帇浣庡鐞�
 	            			,ChargeCurrSet: chargeCurr			// 鍏呯數鐢垫祦
 	            			,DCVolHighLimit: ratio.DCVolHighLimit // 鍗囧帇涓婇檺
-	            			,BattGroupNum: _data.MonCount		// 鐢垫睜涓暟
+	            			,BattGroupNum: _data.GroupIndexInFBSDevice+1		// 鐢垫睜缁勭殑绱㈠紩
+	            			,StationName: _data.StationName				// 鏈烘埧鍚嶇О
 	            		}
 	            		
 	            		rs.push(temp);
@@ -835,24 +866,6 @@
 					setBTSPopupStatus($(this).attr('id'), $(this).val());
 				});
 				
-				// 鏄剧ず宸茬粡淇敼鐨勫弬鏁�
-				$('#lookSetCurr').click(function() {
-					var rsList = $('#setCurrIframe').data('setCurr');
-					
-					if(rsList.length == 0) {
-						layer.msg('鏆傛棤鏌ョ湅鍐呭,璇峰厛璁剧疆鏀剧數鍙傛暟!');
-						return;
-					}
-					
-					// 鏄剧ず闈㈡澘
-					layer.open({
-						type: 2
-						,area: ['1200px', '500px']
-						,resize: false
-						,content: 'iframe/setcurr.html'
-					});
-				});
-				
 				// 鍚姩娴嬭瘯
 				$('#startTest').click(function() {
 					var rsList = $('#setCurrIframe').data('setCurr');
@@ -861,53 +874,17 @@
 						return;
 					}
 					
-					// 鏄惁纭畾鍚姩
-					layer.confirm('鏄惁纭畾鍚姩娴嬭瘯', {icon: 3, title: '绯荤粺鎻愮ず'}, function(index) {
-						var param = getStartTestParam(rsList);
-						// 鍚姩娴嬭瘯
-						ajaxStartTest(param);
+					// 鏄剧ず闈㈡澘
+					layer.open({
+						type: 2
+						,area: ['1200px', '500px']
+						,resize: false
+						,maxmin: true
+						,fixed: true
+						,content: 'iframe/setcurr.html'
 					});
 					
 				});
-				
-				// 鏋勯�犲惎鍔ㄦ祴璇曠殑鍙傛暟
-				function getStartTestParam(param) {
-					for(var i=0; i<param.length; i++) {
-						param[i].op_cmd = startTest;
-						param[i].num = 0;
-					}
-					
-					return param;
-				}
-				
-				// 鍚姩娴嬭瘯璇锋眰
-				function ajaxStartTest(param) {
-					var load = layer.load(1)
-					
-					// 璇锋眰鍚庡彴
-	            	$.ajax({
-	            		type: 'post'
-	            		,async: true
-	            		,url: 'Fbs9100_setparamAction_action_updatePro_dis'
-	            		,data: 'json='+JSON.stringify(param)
-	            		,dataType: 'json'
-	            		,success: function(res) {
-	            			var rs = JSON.parse(res.result);
-	            			if(rs.code == 1) {
-	            				var data = rs.data;
-	            				console.log(data)
-	            				layer.msg('鍚姩鎴愬姛');
-	            			}else {
-	            				layer.msg('鍚姩澶辫触');
-	            			}
-	            		}
-	            		,complete: function() {
-	            			layer.close(load);
-	            		}
-	            	});
-					
-					
-				}
 				
 				// 鍒濆鍖栬缃弬鏁扮殑鎸夐挳
 				var BTSBtn = {
@@ -965,6 +942,84 @@
 						BTSBtn.active();
 					}
 				}
+				
+				// 鑾峰彇璁剧疆鏀剧數鍙傛暟鐨勪笅鏍�
+				function getSetCurrIndex(setData, allData) {
+					var rs = [];
+					// 閬嶅巻setData
+					for(var i=0; i<setData.length; i++) {
+						var _setData = setData[i];
+						var setDevId = _setData.dev_id;
+						// 閬嶅巻allData
+						for(var k=0; k<allData.length; k++) {
+							var _allData = allData[i];
+							var allDevId = _allData.FBSDeviceId;
+							if(setDevId == allDevId) {
+								rs.push(k);
+							}
+						}
+						
+					}
+					
+					return rs;
+				}
+				
+				//  鏇存柊璁惧鐘舵��
+				var BTS9100 = GLOBAL.BTS9100;
+				var workStates = BTS9100.workstates;
+				var alarmStates = BTS9100.alarmstates;
+				function updateDevStatus() {
+					var battlist = tOptions.data;
+					clearInterval(updateDevStatus.timer);
+					if(battlist.length > 0){
+						$.ajax({ 	
+				        	type: "post", 				
+					        url: "Fbs9100_setparamAction_action_serchByInfo",				
+					        async:true,				
+					        dataType:'text',
+					        data:"json="+JSON.stringify(battlist),
+					        dataType: 'json',		
+					        success: function(res){ 
+								var rs = JSON.parse(res.result);
+								if(rs.code == 1) {
+									var data = rs.data;
+									// console.log(data);
+									for(var i=0; i<data.length; i++) {
+										var obj = data[i];
+										if(obj.fstate.num > 0){
+											var str = '';
+											var index = obj.fstate.dev_workstate;
+											// 鍐呴樆娴嬭瘯(宸ヤ綔鐘舵�佷负0, 鍐呴樆娴嬭瘯涓嶄负0)
+											if(obj.fstate.dev_workstate ==0 && obj.fstate.dev_res_test_state != 0) {
+												index = 3;
+											}
+											// 璁剧疆鏂囨湰鍊�
+											str = "鐘舵��:"	+ workStates[index]+
+												  ",鍛婅:"+alarmStates[obj.fstate.dev_alarmstate]+
+												  ",缁勭鐢靛帇(V):"+obj.fstate.dev_captest_groupvol+
+												  ",鐢垫祦(A):"+obj.fstate.dev_captest_curr+
+												  ",瀹归噺(AH):"+obj.fstate.dev_captest_cap;
+										 	if(index == 3){
+										 		str = "鐘舵��:"+workStates[index]+
+										 			  ",缁勫彿:"+obj.fstate.dev_testgroupnum+
+										 			  ",褰撳墠鍗曚綋缂栧彿:"+(obj.fstate.dev_restest_monindex+1)+
+										 			  ",琚祴鍗曚綋鎬绘暟:"+obj.fstate.dev_restest_moncount;
+										 	}
+										 	var temp = {
+										 		devStatus: str			// 璁惧鐘舵��
+										 		,testTime: formatSeconds(obj.fstate.dev_captest_timelong)		// 娴嬭瘯鏃堕暱
+										 		,signalNum: obj.fstate.dev_commcount
+										 	}
+											layuiTbl.updateTr(i, temp);
+										}
+									}
+								}
+								updateDevStatus.timer = setTimeout(updateDevStatus, 4000);
+							},					
+						});
+					}
+				}				
+				
         	});
         </script>
     </body>
diff --git a/gx_tieta/WebRoot/batt-station-update1.jsp b/gx_tieta/WebRoot/batt-station-update1.jsp
index eccb967..a2d5656 100644
--- a/gx_tieta/WebRoot/batt-station-update1.jsp
+++ b/gx_tieta/WebRoot/batt-station-update1.jsp
@@ -15,7 +15,7 @@
 		<meta http-equiv="expires" content="0">    
 		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
 		<meta http-equiv="description" content="This is my page">
-	    <title>鏈烘埧绔欑偣鍗囩骇鍔熻兘</title>
+	    <title>BTS璁惧鍗囩骇</title>
 		<link rel="stylesheet" type="text/css" href="pages/css/base.css">
 		<link rel="stylesheet" type="text/css" href="jqueryui/jquery-ui.css">
 	    <link rel="stylesheet" type="text/css" href="src/css/layui.css">
diff --git a/gx_tieta/WebRoot/equipHistWarn1.jsp b/gx_tieta/WebRoot/equipHistWarn1.jsp
index e46a54e..3250a98 100644
--- a/gx_tieta/WebRoot/equipHistWarn1.jsp
+++ b/gx_tieta/WebRoot/equipHistWarn1.jsp
@@ -765,6 +765,8 @@
 				case 119026:return "鍩虹珯鎺夌珯鍛婅";
 				case 119027:return "鍩虹珯寮�闂ㄥ憡璀�";
 				case 119028:return "璁惧楂樻俯鍛婅";
+				case 119032:return "璁惧SD鍗℃晠闅�";
+				case 119033:return "閲囬泦绾垮憡璀�";
 			}
 		}
 		return "閫氫俊鏁呴殰";
diff --git a/gx_tieta/WebRoot/equipWarn1.jsp b/gx_tieta/WebRoot/equipWarn1.jsp
index e12d711..75e4f7a 100644
--- a/gx_tieta/WebRoot/equipWarn1.jsp
+++ b/gx_tieta/WebRoot/equipWarn1.jsp
@@ -124,6 +124,8 @@
                                 	<option value="119026">鍩虹珯鎺夌珯鍛婅</option>
                                 	<option value="119027">鍩虹珯寮�闂ㄥ憡璀�</option>
                                 	<option value ="119028">璁惧楂樻俯鍛婅</option>
+                                	<option value ="119032">璁惧SD鍗℃晠闅�</option>
+                                	<option value ="119033">閲囬泦绾垮憡璀�</option>
                                 	
                                 </select>
                             </td>
@@ -740,6 +742,8 @@
 					case 119026:return "鍩虹珯鎺夌珯鍛婅";
 					case 119027:return "鍩虹珯寮�闂ㄥ憡璀�";
 					case 119028:return "璁惧楂樻俯鍛婅";
+					case 119032:return "璁惧SD鍗℃晠闅�";
+					case 119033:return "閲囬泦绾垮憡璀�";
 				}
 			}
 			return "閫氫俊鏁呴殰";
diff --git a/gx_tieta/WebRoot/iframe/setcurr.html b/gx_tieta/WebRoot/iframe/setcurr.html
index 188b499..29513e9 100644
--- a/gx_tieta/WebRoot/iframe/setcurr.html
+++ b/gx_tieta/WebRoot/iframe/setcurr.html
@@ -9,10 +9,37 @@
     <link rel="stylesheet" type="text/css" href="../pages/css/mylayui.css">
 </head>
 <body>
-    <table id="pageTbl" lay-filter="pageTbl"></table>
+	<div class="layui-page-container">
+		<!-- 椤甸潰涓婚鍐呭 -->
+        <div class="layui-page-content" style="position: relative;">
+        	<div class="layui-tbl-filter">
+            	<div class="layui-form layui-form-pane"  lay-filter="tblFilter">
+            		<button class="layui-btn layui-btn-sm" id="startTest">鎵归噺鍚姩娴嬭瘯</button>
+            	</div>
+            </div>
+   			<table id="pageTbl" lay-filter="pageTbl"></table>
+        </div>
+	</div>
+    <script type="text/html" id="OnlineLowActionText">
+    	{{# if(d.OnlineLowAction == 0){ }}
+    		鍋滄娴嬭瘯
+    	{{# }else { }}
+    		缁х画娴嬭瘯
+    	{{# } }}
+    </script>
+    <script type="text/html" id="setStatus">
+		{{# if(d.setCurr == 1){ }}
+			<button class="layui-btn layui-btn-sm">璁剧疆鎴愬姛</button>
+		{{# }else if(d.setCurr == 2){ }}
+				<button class="layui-btn layui-btn-sm layui-btn-danger">璁剧疆澶辫触</button>
+		{{# }else { }}
+			<button class="layui-btn layui-btn-sm layui-btn-normal">鏈缃�</button>
+		{{# } }}
+	</script>
     <script type="text/javascript" src="../js/jquery-1.8.3.js"></script>
     <script type="text/javascript" src="../js/base.js"></script>
     <script type="text/javascript" src="../src/layui.js"></script>
+    <script type="text/javascript" src="../pages/js/common.js"></script>
     <script type="text/javascript" src="../pages/js/mylayui.js"></script>
     <script  type="text/javascript">
         layui.use(['form', 'laytpl', 'jquery', 'element', 'laydate', 'table'], function() {
@@ -29,34 +56,102 @@
             // 琛ㄦ牸妯″潡
 			var tOptions = {
 				elem: '#pageTbl'
-				,toolbar: false
+				,toolbar: true
 				,defaultToolbar: []
 				,cellMinWidth: 80
 				,cols: [[
-					{field:'dev_id', title:'璁惧ID', align:'center', width: 140}
-					,{field:'BattGroupNum', title:'鍗曚綋鏁伴噺', align:'center', width: 140}
-					,{field:'HourRate', title:'鏀剧數灏忔椂鐜�', align:'center', width: 160}
-					,{field:'DisCurr', title:'鏀剧數鐢垫祦', align:'center', width: 160}
-					,{field:'DisCap', title:'鏀剧數鐢靛', align:'center', width: 160}
-					,{field:'DisTime', title:'鏀剧數鏃堕暱', align:'center', width: 160}
-					,{field:'GroupVol_Low', title:'缁勭鐢靛帇涓嬮檺', align:'center', width: 220}
-					,{field:'MonomerVol_Low', title:'鍗曚綋鐢靛帇涓嬮檺', align:'center', width: 220}
+					{type:'checkbox',fixed: 'left'}
+					,{field:'dev_id', title:'璁惧ID', align:'center', width: 140}
+					,{field:'StationName', title:'鏈烘埧鍚嶇О', align:'center', width: 480}
+					,{field:'BattGroupNum', title:'鐢垫睜缁勭储寮�', align:'center', width: 140}
+					,{field:'DisCurr', title:'鏀剧數鐢垫祦锛圓锛�', align:'center', width: 160}
+					,{field:'DisCap', title:'鏀剧數瀹归噺锛圓H锛�', align:'center', width: 160}
+					,{field:'DisTime', title:'鏀剧數鏃堕暱锛堝垎閽燂級', align:'center', width: 160}
+					,{field:'GroupVol_Low', title:'缁勭鐢靛帇涓嬮檺锛圴锛�', align:'center', width: 220}
+					,{field:'MonomerVol_Low', title:'鍗曚綋鐢靛帇涓嬮檺锛圴锛�', align:'center', width: 220}
 					,{field:'MonomerLowCount', title:'鍗曚綋鏁伴噺涓嬮檺', align:'center', width: 220}
-					,{field:'MonomerTmp_High', title:'娓╁害涓婇檺', align:'center', width: 140}
-					,{field:'OnlineLowAction', title:'鍦ㄧ嚎鐢靛帇浣庡鐞�', align:'center', width: 240}
-					,{field:'ChargeCurrSet', title:'鍏呯數鐢垫祦', align:'center', width: 140}
-					,{field:'DCVolHighLimit', title:'鍗囧帇涓婇檺', align:'center', width: 140}
+					,{field:'MonomerTmp_High', title:'娓╁害涓婇檺锛堚剝锛�', align:'center', width: 140}
+					,{field:'OnlineLowAction', title:'鍦ㄧ嚎鐢靛帇浣庡鐞�', templet: '#OnlineLowActionText', align:'center', width: 240}
+					,{field:'ChargeCurrSet', title:'鍏呯數鐢垫祦锛圓锛�', align:'center', width: 140}
+					,{field:'DCVolHighLimit', title:'鍗囧帇涓婇檺锛圴锛�', align:'center', width: 140}
+					,{field:'doThings', fixed: 'right', title: '璁剧疆鐘舵��', toolbar: '#setStatus', align: 'center', width: 140}
 			    ]]
 				,data: []
-				,limit: 20
-			    ,page: true
+				,limit: 10000
+			    ,page: false
 			    ,height: 'full-11'
 			};
 			for(var i=0; i<setCurr.length; i++) {
-				tOptions.data.push(setCurr[i]);
+				var _setCurr = setCurr[i];
+				if(_setCurr.num==1) {
+        			_setCurr.setCurr = 1;
+        		}else {
+        			_setCurr.setCurr = 2;
+        		}
+				tOptions.data.push(_setCurr);
 			}
 			// 娓叉煋琛ㄦ牸
 			table.render(tOptions);
+			
+			var btsCmd = GLOBAL.CMD.BTS;		// 鑾峰彇BTS鐨凜MD
+			var startTest = btsCmd.start;		// 鑾峰彇BTS鍚姩娴嬭瘯鐨凜MD
+			
+			// 鐐瑰嚮鍚姩娴嬭瘯
+			$('#startTest').click(function() {
+				var checkStatus = table.checkStatus('pageTbl');
+				var data = checkStatus.data;
+				if(data.length == 0) {
+					layer.msg('璇烽�夋嫨瑕佸惎鍔ㄧ殑鏈烘埧');
+					return;
+				}
+				
+				// 鏄惁纭畾鍚姩
+				layer.confirm('鏄惁纭畾鍚姩娴嬭瘯', {icon: 3, title: '绯荤粺鎻愮ず'}, function(index) {
+					var param = getStartTestParam(data);
+					
+					// 鍚姩娴嬭瘯
+					ajaxStartTest(param);
+				});
+			});
+			
+			// 鏋勯�犲惎鍔ㄦ祴璇曠殑鍙傛暟
+			function getStartTestParam(param) {
+				for(var i=0; i<param.length; i++) {
+					param[i].op_cmd = startTest;
+					param[i].num = 0;
+				}
+				
+				return param;
+			}
+			
+			// 鍚姩娴嬭瘯璇锋眰
+			function ajaxStartTest(param) {
+				var load = layer.load(1)
+				
+				// 璇锋眰鍚庡彴
+            	$.ajax({
+            		type: 'post'
+            		,async: true
+            		,url: 'Fbs9100_setparamAction_action_updatePro_dis'
+            		,data: 'json='+JSON.stringify(param)
+            		,dataType: 'json'
+            		,success: function(res) {
+            			var rs = JSON.parse(res.result);
+            			if(rs.code == 1) {
+            				var data = rs.data;
+            				layer.msg('鍚姩鎴愬姛');
+            			}else {
+            				layer.msg('鍚姩澶辫触');
+            			}
+            		}
+            		,complete: function() {
+            			layer.close(load);
+            		}
+            	});
+				
+				
+			}
+			
         });
     </script>
 </body>
diff --git a/gx_tieta/WebRoot/js/buildNav.js b/gx_tieta/WebRoot/js/buildNav.js
index ba4b747..dcc5cbf 100644
--- a/gx_tieta/WebRoot/js/buildNav.js
+++ b/gx_tieta/WebRoot/js/buildNav.js
@@ -53,6 +53,7 @@
      	
      	//鐢垫睜鏀剧數娴嬭瘯
      	{permit_item_name:'batt_test_op_permit',num:58},	//鐢垫睜鏀剧數娴嬭瘯
+     	{permit_item_name:'batt_test_op_permit',num:81},	//鎵归噺鐢垫睜鏀剧數娴嬭瘯
      	
      	{permit_item_name:'batt_discharge_model_permit',num:59},		//璁惧鍏呮斁鐢垫ā鍧楀弬鏁�
      	{permit_item_name:'batt_discharge_model_permit',num:63},		//鐢垫睜淇℃伅閰嶇疆
@@ -60,6 +61,8 @@
      	{permit_item_name:'batt_discharge_model_permit',num:64},		//鐢ㄦ埛瀵嗙爜閲嶇疆
      	{permit_item_name:'batt_discharge_model_permit',num:65},		//鐝粍绠$悊
      	{permit_item_name:'batt_discharge_model_permit',num:71},		//鐢垫睜缁勯厤缁勭鐞�
+     	{permit_item_name:'batt_discharge_model_permit',num:82},		//鍩虹珯瀹夎瀹℃壒
+     	{permit_item_name:'batt_discharge_model_permit',num:83},		//BTS璁惧鍗囩骇
      	
      	{permit_item_name:'batt_alm_param_query_permit',num:31}, // 鐢垫睜鍛婅鍙傛暟璁剧疆
      	{permit_item_name:'batt_alm_param_query_permit',num:66} // 璁惧鍛婅鍙傛暟璁剧疆
diff --git a/gx_tieta/WebRoot/mobil/batt-approved1.html b/gx_tieta/WebRoot/mobil/batt-approved1.html
index 1de45c5..2ac7815 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='+i+'>'+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>' 
@@ -315,8 +318,10 @@
 	var arr = temp;
 	
 	function setcookieCreat(i){
-		var index=Math.ceil(i-1);
-		arrdata = temp[index].binf;
+	console.info(temp);
+	console.info(i)
+		//var index=Math.ceil(i-1);
+		arrdata = temp[i].binf;
 		//console.info(index);
 		//console.info(temp);
 		console.info(arrdata);
@@ -376,7 +381,13 @@
 		//setTimes($("#startTestrecord"),'2000-01-01');
 		//setTimes($("#endTestrecord"),new Date().format('yyyy-MM-dd'));
 		
-		installstartdata(temp);
+		
+	installstartdata(temp);
+	diubao();
+	timeer = window.setTimeout(function() {
+			diubao();						
+						}, 4000);	//涓㈠寘鐜囷紝閫氫俊璁℃暟锛�4绉掑埛鏂�1娆°��
+		//4绉掑埛鏂颁竴娆¢〉闈�
 	});
     
     function applyendyanshou(arr){   //鐢宠楠屾敹
@@ -397,7 +408,7 @@
 			});
 		
 		}
-  	  // 璁剧疆娴厖鐢靛帇闃�鍊�/璁剧疆绂荤嚎鐢靛帇闃�鍊�   //
+  	// 璁剧疆娴厖鐢靛帇闃�鍊�/璁剧疆绂荤嚎鐢靛帇闃�鍊�   //
   	function setFloatAndoutLine(index) {
   		var monvolstd = "#MonVolStd"+index;
   		var MonCount = "#MonCount" +index;
@@ -453,8 +464,7 @@
 			//setTimes($("#startTestrecord"),data.productDate);
 			//setTimes($("#endTestrecord"),data.useDate);
 				document.getElementById("install_user").value = data.install_user;
-			document.getElementById("tongxunnumber").value = getCookienumber(data.StationId);
-			document.getElementById("diubaonumber").value = getCookiediubao(data.StationId)
+			
 				
 			for(var i=0;i<temp.length;i++){
 				data=temp[i];		
@@ -476,8 +486,15 @@
 			}
 	}
 	
+	function diubao(){
+		if(temp.length>0){
+			data=temp[0].binf;
+			document.getElementById("tongxunnumber").value = getCookienumber(data.StationId);
+			document.getElementById("diubaonumber").value = getCookiediubao(data.StationId);
+		}	
+	}
 	 function getCookienumber(id){//杈撳叆ID锛岃繑鍥為�氳璁℃暟銆傛暟鎹粠缂撳瓨鑾峰彇銆�
-	 	//var a = getnumber();
+	 	var a = getnumber();
 	 	//console.info(a);
 	 	if(getCookie("numberget")){
 		 	var number = getCookie("numberget");
@@ -493,6 +510,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..95a4e56 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%;
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/equiphistwarn.html b/gx_tieta/WebRoot/mobil/equiphistwarn.html
index b911856..5eedc9a 100644
--- a/gx_tieta/WebRoot/mobil/equiphistwarn.html
+++ b/gx_tieta/WebRoot/mobil/equiphistwarn.html
@@ -428,6 +428,8 @@
 					case 119026:return "鍩虹珯鎺夌珯鍛婅";
 					case 119027:return "鍩虹珯寮�闂ㄥ憡璀�";
 					case 119028:return "璁惧楂樻俯鍛婅";
+					case 119032:return "璁惧SD鍗℃晠闅�";
+					case 119033:return "閲囬泦绾垮憡璀�";
 				}
 			}
 			return "閫氫俊鏁呴殰";
diff --git a/gx_tieta/WebRoot/mobil/equipwarn.html b/gx_tieta/WebRoot/mobil/equipwarn.html
index f47b736..4f8a2de 100644
--- a/gx_tieta/WebRoot/mobil/equipwarn.html
+++ b/gx_tieta/WebRoot/mobil/equipwarn.html
@@ -47,7 +47,8 @@
                                 	<option value="119026">鍩虹珯鎺夌珯鍛婅</option>
                                 	<option value="119027">鍩虹珯寮�闂ㄥ憡璀�</option>
                                 	<option value ="119028">璁惧楂樻俯鍛婅</option>
-                                	
+                                	<option value ="119032">璁惧SD鍗℃晠闅�</option>
+                                	<option value ="119033">閲囬泦绾垮憡璀�</option>
                     </select>    
 				</div>
 				<div class="fg-panel-btn">
@@ -292,6 +293,8 @@
 				case 119026:return "鍩虹珯鎺夌珯鍛婅";
 				case 119027:return "鍩虹珯寮�闂ㄥ憡璀�";
 				case 119028:return "璁惧楂樻俯鍛婅";
+				case 119032:return "璁惧SD鍗℃晠闅�";
+				case 119033:return "閲囬泦绾垮憡璀�";
 			}
 		}
 		return "閫氫俊鏁呴殰";
diff --git a/gx_tieta/WebRoot/mobil/iframe/homeinfo1.html b/gx_tieta/WebRoot/mobil/iframe/homeinfo1.html
index c6baa45..630c67d 100644
--- a/gx_tieta/WebRoot/mobil/iframe/homeinfo1.html
+++ b/gx_tieta/WebRoot/mobil/iframe/homeinfo1.html
@@ -109,7 +109,7 @@
                                     </div>
                                 </div>
                                 <div class="layui-col-12 t-align-right mrt5">
-                                    <button class="layui-btn layui-btn-normal layui-btn-sm" id="uploadVideo">瑙嗛涓婁紶</button>
+                                    <span style="color: #FF0000;" class="mrr4">璇蜂笂浼犲井淇℃媿鎽勭殑瑙嗛</span><button class="layui-btn layui-btn-normal layui-btn-sm" id="uploadVideo">瑙嗛涓婁紶</button>
                                 </div>
                             </div>
                         </div>
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){
diff --git a/gx_tieta/src/com/fgkj/Filters/HotlinkFilter.java b/gx_tieta/src/com/fgkj/Filters/HotlinkFilter.java
index d26e059..edf71b6 100644
--- a/gx_tieta/src/com/fgkj/Filters/HotlinkFilter.java
+++ b/gx_tieta/src/com/fgkj/Filters/HotlinkFilter.java
@@ -77,6 +77,7 @@
          	{"taskchange_query_permit","37"},	//浣滀笟鍙樻洿鏌ヨ
          	
          	{"batt_test_op_permit","58"},	//鐢垫睜鏀剧數娴嬭瘯
+         	{"batt_test_op_permit","81"},	//鎵归噺鐢垫睜鏀剧數娴嬭瘯
          	
          	//瓒呯骇绠$悊鍛樼晫闈�
          	{"batt_discharge_model_permit","59"},	//璁惧鍏呮斁鐢垫ā鍧楀弬鏁�
@@ -85,6 +86,8 @@
          	{"batt_discharge_model_permit","64"},	//鐢ㄦ埛瀵嗙爜閲嶇疆
          	{"batt_discharge_model_permit","65"},	//鐝粍绠$悊
          	{"batt_discharge_model_permit","71"},	//鐢垫睜缁勯厤缁勭鐞�
+         	{"batt_discharge_model_permit","82"},	//鍩虹珯瀹夎瀹℃壒
+         	{"batt_discharge_model_permit","83"},	//BTS璁惧鍗囩骇
          	
          	{"batt_alm_param_query_permit","31"},		//鍛婅鍙傛暟璁剧疆
          	{"batt_alm_param_query_permit","66"},		//璁惧鍛婅鍙傛暟璁剧疆
diff --git a/gx_tieta/src/global_zh_CN.properties b/gx_tieta/src/global_zh_CN.properties
index 83cf6db..f0e0451 100644
--- a/gx_tieta/src/global_zh_CN.properties
+++ b/gx_tieta/src/global_zh_CN.properties
@@ -1109,3 +1109,10 @@
 
 ###################  ex-battinfo.jsp   ##################################
 Approval_station_install=\u57fa\u7ad9\u5b89\u88c5\u5ba1\u6279
+
+
+##################  batch-set-curr.jsp  ##############################
+Bulk_nuclear_cap_test = \u6279\u91cf\u6838\u5bb9\u6d4b\u8bd5
+
+##################  batt-station-update1.jsp   #########################
+BTSEquipment_upgrades = BTS\u8bbe\u5907\u5347\u7ea7
\ No newline at end of file

--
Gitblit v1.9.1