| | |
| | | <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数据
|
| | |
| | | /* 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;
|
| | | }
|
| | |
|
| | |
| | | createTbl(tblCon, arrTh, arrTd);
|
| | | }
|
| | | });
|
| | | |
| | | |
| | | |
| | | /* 模拟数据做好就删!!!!!!!! */
|
| | |
|
| | | /*for(i=0;i<340;i++){
|
| | |
| | | }
|
| | |
|
| | | }
|
| | | |
| | | |
| | | </script>
|
| | | </html> |