test.html
来自「OA自动化办公系统,Eclipse+Oracle开发。」· HTML 代码 · 共 401 行 · 第 1/2 页
HTML
401 行
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK" />
<title>部门管理</title>
<link href="../css/Style.css" rel="stylesheet" type="text/css" />
<!-- JQuery Start --><!--
<link href=".../css/jquery/default.css" rel="stylesheet" type="text/css" />
<link href="../css/jquery/jquery.tablesorter.pager.css" rel="stylesheet" type="text/css" />
-->
<style type="text/css">@import "../css/jquery/default.css";</style>
<style type="text/css">@import "../css/jquery/jquery.tablesorter.pager.css";</style>
<script type="text/javascript" src="../css/jquery/jquery-latest.js"></script>
<script type="text/javascript" src="../css/jquery/jquery.dimensions.pack.js"></script>
<script type="text/javascript" src="../css/jquery/jquery.tablesorter.js"></script>
<script type="text/javascript" src="../css/jquery/jquery.tablesorter.pager.js"></script>
<script type="text/javascript">
$(function() {
$("table")
.tablesorter({widthFixed: true})
.tablesorterPager({container: $("#pager")});
});
var http = false; //XMLrequestHttp对象名
/* 创建XMLrequestHttp ,此方法为公共代码*/
function createHttpRequest() {
if (window.XMLHTTPRequest) {
http = new XMLHTTPRequest();
if (http.overrideMimeType) {
http.overrideMimeType("text/xml");
}
} else {
try {
http = new ActiveXObject("Microsoft.XMLHTTP");
}
catch (E) {
try {
http = new ActiveXObject("Msxml2.XMLHTTP");
}
catch (e) {
http = false;
}
}
}
}
function showOrg()
{
createHttpRequest();
if(!http)
{
return false;
}else
{
http.onreadystatechange = processResponse; /* 回调方法设置,值为回调方法的名字,不要带括号 */
http.open('GET','findagency.do',true); /* 此open方法中的前两个参数,都是字符串型,须带上引号定界符 */
http.send(null);
}
}
function processResponse()
{
if(http.readstate == 4)
if(http.state == 200)
return false;
}
function show(departId,orgId,userId,departmentName,organizationName,userName,telephone,mobilePhone,fax)
{
var f = document.getElementById('modifyForm');
var mf = document.getElementById('Mform');
Mform.departId.value=departId;
Mform.departmentName.value=departmentName;
Mform.organizationName.value=organizationName;
Mform.userName.value=userName;
Mform.telephone.value=telephone;
Mform.mobilePhone.value=userName;
Mform.fax.value=fax;
Mform.uId.value=userId;
Mform.oId.value=orgId;
var availWidth = parseInt(document.body.clientWidth);
var availHeight = parseInt(document.body.clientHeight);
f.style.display = "block";
f.style.top = availHeight/2-300;
f.style.left = availWidth/2-200;
}
</script>
</head>
<body class="bodyfont">
<div id="modifyForm" style="display: none; z-index: 1; position: absolute; top: 300px; left: 200px; background-color: #DBFAFB;"
align="left">
<form action="addmodifydepart.do" method="post" id="Mform">
<table>
<!--DWLayoutTable-->
<tr>
<td>部门名称:</td>
<td width="190"> <input name="departmentName" type="text" class="inputCss" id="textfield" /></td>
</tr>
<p>
<tr>
<td>所属机构:</td>
<td valign="top">
<input name="organizationName" type="text" class="inputCss" />
</td>
</tr>
<p>
<tr>
<td>
部门负责人:</td>
<td>
<input name="userName" type="text" class="inputCss" />
</td>
<td> </td>
</tr>
<tr>
<td>联系电话:</td>
<td>
<input name="telephone" type="text" class="inputCss" id="textfield3" /> </td>
<td> </td>
</tr>
<tr>
<td>
移动电话: </td>
<td>
<input name="mobilePhone" type="text" class="inputCss" id="textfield4" /> </td>
<td> </td>
</tr>
<tr>
<td>传真:</td>
<td class="SmallInput">
<input name="fax" type="text" class="inputCss" id="textfield5" /> </td>
<td> </td>
</tr>
<p>
<tr>
<td> <input name="button" type="submit" class="buttonCss" id="button" value="保存部门信息" /></td>
<td>
<label>
<input type="hidden" name="departId" />
<input type="hidden" name="uId" />
<input type="hidden" name="oId" />
<input type="hidden" name="flag" value="modify" />
<input type="reset" class="buttonCss" id="textfield6" value="重置"/>
</label>
<input name="button2" type="button" class="buttonCss" id="button2" value="返回" onclick="javascript:window.location='departmentManage.jsp'"/> </td>
<td> </td>
</tr>
</table>
</form>
</div>
<table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="261" height="30" valign="top">当前位置:部门管理</td>
<td width="742"> </td>
</tr>
<tr>
<td height="40" colspan="2" valign="top"><div align="center" class="titlefont"><strong>部门管理</strong></div></td>
</tr>
<tr>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?