From f6bfafc3a6cd50f11fbf498ecf21498bd9112ff4 Mon Sep 17 00:00:00 2001
From: D:/workspace/chenjingjing/git/gx_tieta/gx_tieta/.gitignore <chenjingjing@LAPTOP-E51P2139>
Date: 星期二, 08 一月 2019 17:37:51 +0800
Subject: [PATCH] Merge branch 'dev_lxw' of https://whyccjj@gitlab.com/whyclxw1/gx_tieta.git into dev_lxw

---
 gx_tieta/WebRoot/batt-life-manage.jsp |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/gx_tieta/WebRoot/batt-life-manage.jsp b/gx_tieta/WebRoot/batt-life-manage.jsp
index 1cd616e..abb8c45 100644
--- a/gx_tieta/WebRoot/batt-life-manage.jsp
+++ b/gx_tieta/WebRoot/batt-life-manage.jsp
@@ -131,6 +131,7 @@
              		<s:text name="Goto"/><!-- 杞埌 --><input type="text" id="page_num" value="1"/>
                     <a href="javascript:" id="go"><s:text name="Jump"/><!-- 璺宠浆 --></a>
                 </span>
+                <a href="javascript:startStationThread();" class="start-station-stical">鍚姩缁埅缁熻</a>
             </div>
         </div>
         <!-- 琛ㄦ牸閫夐」鍐呭 -->
@@ -686,6 +687,34 @@
 			//console.info(ArrTd);
 			eleform.submit();
 		}
+		
+		//鍚姩鏈烘埧缁埅绾跨▼
+		function startStationThread(){
+			load = layer.load(1);
+			var temp = {
+				thread_id:2019001,
+				thread_en:1,
+			};
+			$.ajax({
+				type:"post",
+				url:"Thread_utilAction!update",
+				async:true,
+				datatype:'json',
+				data:"json="+JSON.stringify(temp),
+				success:function(data){
+					layer.close(load);
+					//console.info(data);
+					var model = JSON.parse(data.result);
+					if(model.code == 1){
+						layer.msg("鍚姩鎴愬姛");
+					}else{
+						layer.msg("鍚姩澶辫触");
+					}
+				},error:function(){
+					layer.msg("鍚姩澶辫触");
+				}
+			});
+		}
         </script>
     </body>
 </html>
\ No newline at end of file

--
Gitblit v1.9.1