加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
zhigongEditPre.jsp 5.19 KB
一键复制 编辑 原始数据 按行查看 历史
温娴 提交于 2020-01-04 21:45 . zhigong 界面
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page isELIgnored="false" %>
<%
String path = request.getContextPath();
%>
<!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="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<link rel="stylesheet" type="text/css" href="<%=path %>/css/base.css" />
<script type="text/javascript" src="<%=path %>/js/popup.js"></script>
<script type="text/javascript" src="<%=path %>/My97DatePicker/WdatePicker.js"></script>
<script language="javascript">
function check(){
if(document.formAdd.mingcheng.value == "")
{
alert("名称不能为空!");
return false;
}
return true;
}
function openBumen()
{
var url="<%=path %>/bumen?type=bumenSele";
var ret = window.showModalDialog(url,"部门信息选择","dialogWidth=500px;dialogHeight=300px;status=yes;help=no;scroll=yes");
if(ret != null)
{
document.getElementById("bumen_id").value = ret[0];
document.getElementById("bmmc").value = ret[1];
}
}
</script>
</head>
<body leftmargin="2" topmargin="9" background='<%=path %>/img/allbg.gif'>
<form action="<%=path %>/zhigong?type=zhigongUpd" name="formAdd" method="post">
<table width="98%" align="center" border="0" cellpadding="4" cellspacing="1" bgcolor="#CBD8AC" style="margin-bottom:8px">
<tr bgcolor="#EEF4EA">
<td colspan="3" background="<%=path %>/img/wbg.gif" class='title'><span>职工信息修改</span></td>
</tr>
<tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='red';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
<td width="25%" bgcolor="#FFFFFF" align="right">
职工编号:
</td>
<td width="75%" bgcolor="#FFFFFF" align="left">
<input type="text" name="bianhao" size="20" value="${param.bianhao }" disabled="disabled"/>
</td>
</tr>
<tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='red';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
<td width="25%" bgcolor="#FFFFFF" align="right">
登录密码:
</td>
<td width="75%" bgcolor="#FFFFFF" align="left">
<input type="password" name="loginpw" size="20" value="${param.loginpw }"/>
</td>
</tr>
<tr align='center' bgcolor="#FFFFFF" height="22">
<td width="25%" bgcolor="#FFFFFF" align="right">
部门信息:
</td>
<td width="75%" bgcolor="#FFFFFF" align="left">
<input type="text" id="bmmc" readonly="readonly" onclick="openBumen()" value="${param.bmmc }"/>点击选择部门
<input type="hidden" id="bumen_id" name="bumen_id" value="${param.bumen_id }"/>
</td>
</tr>
<tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='red';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
<td width="25%" bgcolor="#FFFFFF" align="right">
姓名:
</td>
<td width="75%" bgcolor="#FFFFFF" align="left">
<input type="text" name="xingming" size="20" value="${param.xingming }"/>
</td>
</tr>
<tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='red';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
<td width="25%" bgcolor="#FFFFFF" align="right">
性别:
</td>
<td width="75%" bgcolor="#FFFFFF" align="left">
<select name="xingbie">
<option value="男"></option>
<option value="女"></option>
</select>
</td>
</tr>
<tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='red';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
<td width="25%" bgcolor="#FFFFFF" align="right">
入职时间:
</td>
<td width="75%" bgcolor="#FFFFFF" align="left">
<input name="ruzhi" readonly="readonly" class="Wdate" value="${param.ruzhi }"
type="text" onfocus="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd'})"/>
</td>
</tr>
<tr align='center' bgcolor="#FFFFFF" height="22">
<td width="25%" bgcolor="#FFFFFF" align="right">
&nbsp;
</td>
<td width="75%" bgcolor="#FFFFFF" align="left">
<input type="hidden" name="id" value="${param.id }">
<input type="submit" value="提交" onclick="return check();"/>
<input type="reset" value="返回" onclick="javascript:history.back()"/>&nbsp;
</td>
</tr>
</table>
</form>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化