peoplemgr.html
(完整代码) 2KB<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
<link href="css/bootstrap/bootstrap.css" rel="stylesheet" />
<link href="css/peoplemgr.css" rel="stylesheet" />
<script type="text/javascript">
function preview(oper) {
if (oper < 10) {
bdhtml = window.document.body.innerHTML; //获取当前页的html代码
sprnstr = "<!--startprint" + oper + "-->"; //设置打印开始区域
eprnstr = "<!--endprint" + oper + "-->"; //设置打印结束区域
prnhtml = bdhtml.substring(bdhtml.indexOf(sprnstr) + 18); //从开始代码向后取html
prnhtml = prnhtml.substring(0, prnhtml.indexOf(eprnstr));//从结束代码向前取html
window.document.body.innerHTML = prnhtml;
window.print();
window.document.body.innerHTML = bdhtml;
} else {
window.print();
}
}
function xx() {
window.print();
}
</script>
</head>
<body>
<div id="banner"><input type="text" class="text" style="margin-left:10px;" placeholder="工号|圈名|QQ号" /><input class="sousuo" type="button" value="搜索" style="margin-left:10px;height:25px;width:60px;" /><input class="luru" type="button" value="人员录入" style="margin-left:20px;height:35px;width:80px;" /><input type="button" name="button_export" onclick=preview(1) value="打印表格" style="margin-left:20px;height:35px;width:80px;" /><span style="margin-left:20px;"></span></div>
<!--startprint1-->
<!--打印内容开始-->
<table class="table">
<caption>人员管理</caption>
<thead>
<tr>
<th>工号</th>
<th>部门</th>
<th>职位</th>
<th>圈名</th>
<th>年龄</th>
<th>手机号</th>
<th>QQ</th>
<th>注册时间</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<!--打印内容结束-->
<!--endprint1-->
<script src="js/jquery.min.js"></script>
<script src="js/jquery-cookie/jquery.cookie.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/peoplemgr.js"></script>
</body>
</html>
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
