From c51674f412a53fc9eb6a9453fc3ac4a6ffd89a1d Mon Sep 17 00:00:00 2001
From: 81041 <81041@192.168.10.31>
Date: 星期三, 31 十月 2018 10:37:00 +0800
Subject: [PATCH] 电池充放电数据管理加省市结果

---
 gx_tieta/WebRoot/js/dischargetest/bts.js |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/gx_tieta/WebRoot/js/dischargetest/bts.js b/gx_tieta/WebRoot/js/dischargetest/bts.js
index d7439b0..8cfd0d7 100644
--- a/gx_tieta/WebRoot/js/dischargetest/bts.js
+++ b/gx_tieta/WebRoot/js/dischargetest/bts.js
@@ -118,8 +118,8 @@
 });
 
 //鑾峰彇BTS璁惧鐨勬祴璇曞弬鏁扮瓑
-function searchBTSTestParam(temp){
-	var is_showAlert = (arguments.length==1);
+function searchBTSTestParam(temp, acStart){
+	var is_showAlert = (acStart == undefined);
 	loading.showLoading();
 	$.ajax({ 	
     	type: "post", 				
@@ -137,6 +137,10 @@
 					noContent.showNoContent("鑾峰彇娴嬭瘯鍙傛暟鎴愬姛");
 				}
 				initPopup(BTS_popup);
+				if(!acStart) {
+					BTSBtn.startTest(false);
+				}
+				
 			}else{
 				if(model.data != undefined && model.data.length>0){
 					setBTSParam(model.data, true);
@@ -239,7 +243,8 @@
 				noContent.showNoContent("淇敼娴嬭瘯鍙傛暟鎴愬姛");
 				var temp = {
 					num:CMD_61850_GETPARAM,
-					dev_id:param.dev_id
+					dev_id:param.dev_id,
+					TestCmd: 0
 				};
 				searchBTSTestParam(temp,true);				//閲嶆柊璇诲彇涓�娆℃祴璇曞弬鏁�
 				

--
Gitblit v1.9.1