From e73e7e7f861fa87cbbd0e2eeca05939f57381ec1 Mon Sep 17 00:00:00 2001 From: 81041 <81041@192.168.10.23> Date: 星期五, 30 十一月 2018 10:33:57 +0800 Subject: [PATCH] 修改参数记录的修改 --- gx_tieta/WebRoot/mobil/ele-param.html | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gx_tieta/WebRoot/mobil/ele-param.html b/gx_tieta/WebRoot/mobil/ele-param.html index 43e676a..bd12799 100644 --- a/gx_tieta/WebRoot/mobil/ele-param.html +++ b/gx_tieta/WebRoot/mobil/ele-param.html @@ -167,7 +167,11 @@ <script type="text/javascript" src="mobilJs/base.js"></script> <script type="text/javascript" src="js/panel.js"></script> - <script type="text/javascript"> + <script type="text/javascript"> + /* 鑾峰彇鐐瑰嚮鐨勬槸鍝釜鎸夐挳 */ + function getButIndex(t){ + console.warn($(t).attr("but-index")); + } $('document').ready(function(){panel.show();}); var arr=new Array(); //褰撳墠琛ㄦ牸td鏁版嵁 @@ -262,7 +266,7 @@ /* arrTd.push(""); arrTd.push(""); arrTd.push(model.data[i].StationId_ex); //鎶曞叆浣跨敤鏃ユ湡 */ - arrTd.push('<a href="#myPopup" data-rel="popup" class="ui-btn ui-btn-inline ui-corner-all operat-but" data-position-to="window" >淇敼鎴栧垹闄�</a>'); + arrTd.push('<a onclick="getButIndex(this)" href="#myPopup" id="butt" data-rel="popup" class="ui-btn ui-btn-inline ui-corner-all operat-but" data-position-to="window"'+'but-index='+i+'>淇敼鎴栧垹闄�</a>'); Page.pageAll = data[i].num; } @@ -273,6 +277,9 @@ createTbl(tblCon, arrTh, arrTd); } }); + + + /* 妯℃嫙鏁版嵁鍋氬ソ灏卞垹锛侊紒锛侊紒锛侊紒锛侊紒 */ /*for(i=0;i<340;i++){ @@ -550,5 +557,7 @@ } } + + </script> </html> \ No newline at end of file -- Gitblit v1.9.1