| 发表于:2008-01-23 09:20:016楼 得分:0 |
<!doctype html public "-//w3c//dtd html 4.01 transitional//en"> <script type="text/javascript" src="js/request.js"> </script> <script type="text/javascript" language="javascript"> var firstin = true; var clickcount =0 ; var colors = new array(3); colors[0] = "#ddeffb"; colors[1] = "#feeaf4"; colors[2] = "#ebfeea"; function initfunc() { var url = "getloginuserallprivileges.do"; req = new request(); req.get(url,handledata,false); function handledata(data){ if (data == null) { return false; } var privileges = data.split(","); //设置表头控件显示 var thelements = document.getelementsbytagname("th"); var thobject = gettdobject(thelements); showelement(thobject, privileges); //设置单元格控件显示 var tdelements = document.getelementsbytagname("td"); var tdobject = gettdobject(tdelements); showelement(tdobject, privileges); //设置排序图标 setsorticon(); } } //totalpage为总页数,modulefilename为当前列表页面执行的action名称,如privilegelistpage.do function gotopage(totalpage, modulefilename) { var gotopagenumber = document.getelementbyid("goto").value; if (gotopagenumber == "") { alert("\u8bf7\u8f93\u5165\u9875\u7801!"); return false; } if (gotopagenumber < 1 ¦ ¦ gotopagenumber > totalpage) { alert("\u8f93\u5165\u7684\u9875\u7801\u4e0d\u5bf9\uff0c\u8bf7\u51651\u81f3" + totalpage + "\u4e2d\u7684\u4efb\u610f\u4e00\u4e2a\u503c!"); return false; } if (gotopagenumber > = 1 && gotopagenumber <= totalpage) { var url = modulefilename + "?operation=goto&destination=" + gotopagenumber; if(destinationvalidate(gotopagenumber)){ window.location.href(url); } } else { alert("\u8bf7\u8f93\u5165\u6570\u5b57"); return false; } } </script> <html> <head> <base href="http://localhost:8080/misft/"> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <script type="text/javascript"> function submit(){ document.getelementbyid("form1").submit(); } function concel(){ window.history.back(); } function reminddel(){ var isdel = confirm("您确定要删除这条信息吗?"); if(!isdel){ document.getelementbyid("deltag").href="inportstatisticsinflistpage.do?listpagetype=excuterec"; } } </script> </head> <link href="css/styleforlistpage.css" type="text/css" rel="stylesheet"> <body onload="initfunc();" topmargin="36px"> <input id="columnname" type="text" value="" style="display:none"> <input id="counter" type="text" value="0" style="display:none"> <table class="table1"> <tr> <td align="center"> <h4> 导入信息错误列表 </h4> </td> </tr> </table> <table class="table2"> <tr> <td> <a class="return" href="inportstatisticfromexcel.do?start=true"> </a> </td> </tr> <tr> <td width="100%" align="center"> </td> </tr> </table> <table id="table_content"> <tr> <th onclick="orderbyfunc('model.inportfilename','inportstatisticsinflistpage.do?listpagetype=excuterec');"> 导入文件名 <img id="model.inportfilename_asc" src="pic/up.gif" style="display:none"> <img id="model.inportfilename_desc" src="pic/down.gif" style="display:none"> </th> <th width='15%' align="center" onclick="orderbyfunc('model.inportEXECutetime','inportstatisticsinflistpage.do?listpagetype=excuterec');"> 导入时间 <img id="model.inportEXECutetime_asc" src="pic/up.gif"style="display:none"> <img id="model.inportEXECutetime_desc" src="pic/down.gif"style="display:none"> </th> <th width='20%' onclick="orderbyfunc('model.inportEXECutetolnum','inportstatisticsinflistpage.do?listpagetype=excuterec');"> 导入操作记录总数 <img id="model.inportEXECutetolnum_asc" src="pic/up.gif"style="display:none"> <img id="model.inportEXECutetolnum_desc" src="pic/down.gif"style="display:none"> </th> <th width='20%' onclick="orderbyfunc('model.inportEXECutetolnum','inportstatisticsinflistpage.do?listpagetype=excuterec');"> 导入操作记录失败数 <img id="model.inportEXECutefailnum_asc" src="pic/up.gif"style="display:none"> <img id="model.inportEXECutefailnum_desc" src="pic/down.gif"style="display:none"> </th> <th width="28" name="258" style="display:none"> 删除 </th> </tr> <tr id="2004聘请外教数量统计.xls(2004)" onclick="setcolor('2004聘请外教数量统计.xls(2004)');"> <td align="left"> 2004聘请外教数量统计.xls(2004) </td> <td align="center"> 2008-01-21 04:45:40.0 </td> <td align="center"> 81 </td> <td align="center"> 0 </td> <td name="63" style="display:none"> <a class="delete" id="deltag" onclick="reminddel();" href="inportstatisticsdelete.do?inportfilename=2004聘请外教数量统计.xls(2004)&inporttype=3"> </a> </td> </tr> <tr id="2004国籍统计.xls(2004)" onclick="setcolor('2004国籍统计.xls(2004)');"> <td align="left"> 2004国籍统计.xls(2004) </td> <td align="center"> 2008-01-21 04:46:31.0 </td> <td align="center"> 79 </td> <td align="center"> 0 </td> <td name="63" style="display:none"> <a class="delete" id="deltag" onclick="reminddel();" href="inportstatisticsdelete.do?inportfilename=2004国籍统计.xls(2004)&inporttype=2"> </a> </td> </tr> <tr id="2006聘用统计(省教厅).xls(2006)" onclick="setcolor('2006聘用统计(省教厅).xls(2006)');"> <td align="left"> 2006聘用统计(省教厅).xls(2006) </td> <td align="center"> 2008-01-21 04:48:48.0 </td> <td align="center"> 34 </td> <td align="center"> 0 </td> <td name="63" style="display:none"> <a class="delete" id="deltag" onclick="reminddel();" href="inportstatisticsdelete.do?inportfilename=2006聘用统计(省教厅).xls(2006)&inporttype=1"> </a> </td> </tr> <tr id="2004国籍统计.xls(2004)" onclick="setcolor('2004国籍统计.xls(2004)');"> <td align="left"> 2004国籍统计.xls(2004) </td> <td align="center"> 2008-01-22 09:54:48.0 </td> <td align="center"> 79 </td> <td align="center"> 0 </td> <td name="63" style="display:none"> <a class="delete" id="deltag" onclick="reminddel();" href="inportstatisticsdelete.do?inportfilename=2004国籍统计.xls(2004)&inporttype=2"> </a> </td> </tr> </table> <table id="table_bottom"> <tr> <td> 共 1 页, 第 1 页, 共 4 条记录, 【首页】 上一页 下一页 【末页】 跳转到 <input id="goto" name="text" type="text" size="3"> 页 <input name="button" type="button" value="go" onclick="gotopage(1,'inportstatisticsinflistpage.do?listpagetype=excuterec')";> </td> </tr> </table> </body> </html> | | |
|