From f2fa9e483d21830798b69ee2d68ec72709a0ef11 Mon Sep 17 00:00:00 2001
From: hdw <hdw@192.168.7.127>
Date: 星期一, 07 一月 2019 14:31:44 +0800
Subject: [PATCH] 电池信息配置修改电池索引排除相同项 机房安装审批 待验收逻辑修改

---
 gx_tieta/WebRoot/ex-battinfo.jsp |   19 +++++++++----------
 1 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/gx_tieta/WebRoot/ex-battinfo.jsp b/gx_tieta/WebRoot/ex-battinfo.jsp
index 7bec57f..5bd3409 100644
--- a/gx_tieta/WebRoot/ex-battinfo.jsp
+++ b/gx_tieta/WebRoot/ex-battinfo.jsp
@@ -180,7 +180,7 @@
 					// console.log(data.index); 	//寰楀埌褰撳墠Tab鐨勬墍鍦ㄤ笅鏍�
 					// console.log(data.elem); 	//寰楀埌褰撳墠鐨凾ab澶у鍣�
 					tabsIndex = data.index;		// 鏍囪瘑鏄剧ず鐨勯�夐」鍗″唴瀹�
-					console.log(tabsIndex);
+					//console.log(tabsIndex);
 					if(tabsIndex == 0) {
 						pagePage.init(Page, search);				// 寰呭鏍�
 					}else if(tabsIndex == 1){
@@ -641,12 +641,11 @@
 							
 							// 鐢熸垚琛ㄦ牸鏁版嵁
 							table.render(tOptions);
-							
+							// 鍚姩鑷姩鍒锋柊
+							updateSearch();
 						}
 						,complete: function() {
 							layer.close(load);
-							// 鍚姩鑷姩鍒锋柊
-							updateSearch();
 						}
 					});
 				}
@@ -703,7 +702,7 @@
 								tOptions.data = resData;	//  璁剧疆琛ㄦ牸鐨勬暟鎹�
 								table.render(tOptions);
 							}
-							
+							console.log(456);
 							// 瀹炴椂鍥炶皟
 							updateSearch.timer = setTimeout(updateSearch, 4000);
 						}
@@ -749,12 +748,12 @@
 							
 							// 鐢熸垚琛ㄦ牸鏁版嵁
 							table.render(acceptOptions);
-							// console.log(table);
+							// 鍚姩鑷姩鍒锋柊
+							updateAcceptSearch();
 						}
 						,complete: function() {
 							layer.close(load);
-							// 鍚姩鑷姩鍒锋柊
-							updateAcceptSearch();
+							
 						}
 					});
 				}
@@ -763,7 +762,7 @@
 				function acceptSearchParam() {
 					var temp = {
 						apply_en: 1
-						,check_en: 0
+						,check_en: 100
 						,binf: {
 							page: acceptPage.getPage()
 						}
@@ -858,7 +857,7 @@
 								_resData.doThings = '';
 								layuiTbl.updateTr(i, _resData);
 							}
-							
+							console.log(123);
 							// 瀹炴椂鍥炶皟
 							updateAcceptSearch.timer = setTimeout(updateAcceptSearch, 4000);
 						}

--
Gitblit v1.9.1