From 47eba29335b2aa67899059cbaba9cd4f72404062 Mon Sep 17 00:00:00 2001
From: hdw <496960745@qq.com>
Date: 星期五, 28 九月 2018 11:54:24 +0800
Subject: [PATCH] 添加一些验证
---
gx_tieta/WebRoot/elegroup.jsp | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/gx_tieta/WebRoot/elegroup.jsp b/gx_tieta/WebRoot/elegroup.jsp
index bed6642..b5ea1df 100644
--- a/gx_tieta/WebRoot/elegroup.jsp
+++ b/gx_tieta/WebRoot/elegroup.jsp
@@ -1653,11 +1653,16 @@
// 璁╁鍣ㄥ唴鐨勮〃鏍煎搴︿竴鑷�
$('#rtop table').width(tbRoomWidth-20);
getbattStationlength();
+ //console.info(bigArrTxt);
+ if(bigArrTxt.length != 0) {
+ // 璁惧琛ㄦ牸婊氬姩鍒伴《閮�
+ scrollBottom($('#tbroom'), $('#tbroom table'));
+ // 鏈烘埧鍒楄〃婊氬姩鍒伴《閮�
+ scrollBottom($('#ltop .li-con'), $('#ltop .li-con ul'));
+ }else {
+ alert('娣诲姞鐨勫唴瀹瑰凡瀛樺湪锛�');
+ }
- // 璁惧琛ㄦ牸婊氬姩鍒伴《閮�
- scrollBottom($('#tbroom'), $('#tbroom table'));
- // 鏈烘埧鍒楄〃婊氬姩鍒伴《閮�
- scrollBottom($('#ltop .li-con'), $('#ltop .li-con ul'));
}
//娣诲姞琛ㄦ牸鐨勪竴琛�
--
Gitblit v1.9.1