You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

213 lines
7.6 KiB

<%@page import="com.zky.para.Para"%>
<%@include file="/auth.jsp"%>
<%@page import="java.util.Date"%>
<%@page language="java" pageEncoding="utf-8" %>
<jsp:useBean id="getPara" scope="application" class="com.zky.para.SyncPara"/>
<%
String operate = (String)request.getParameter("operate");
String sj = Common.convertNull(request.getParameter("sj"));
String qj = Common.convertNull(request.getParameter("qj"));
String departId="";
String checkId = "";
String checkStartTime = "";
String checkEndTime="";
String checkType = "";
String checkName="";
String address = "";
String checkContent="";
Login loginObj = (Login)session.getAttribute("login");
String date = DateTime.DateToStr(new Date());
String optrid = loginObj.optrid;
String optrname = getPara.getDesc("TAB_EMPLOYEE","EMPID","EMPNAME",optrid);
%>
<html>
<head>
<title>检查管理</title>
<link href="../../css/font.css" rel="stylesheet" type="text/css">
<script src="../../js/date.js"></script>
<script src="../../js/check.js"></script>
<script>
function textToUpperCase(){
if(event.keyCode>=65 && event.keyCode<=90 || event.type=="change"){
event.srcElement.value = event.srcElement.value.toUpperCase();
}
}
function setValue() {
<%
if (!Common.isNull(qj)) {
out.println("form1.qj.value='" + qj + "';");
}
if (!Common.isNull(operate)) {
out.println("form1.operate.value='" + operate + "';");
}
%>
}
function check(operate) {
form1.operate.value = operate;
if(operate=='backCheck'){
form1.action = "/servlet/CheckManage?operate=backCheckInfo";
form1.submit();
}
if(operate=='addCheck'){
if (form1.checkStartTime.value == "") {
alert("请选择开始时间!");
form1.checkStartTime.focus();
return false;
}
if (form1.checkContentryjt.value == "") {
alert("请填写人员检查的具体内容!");
form1.checkContentryjt.focus();
return false;
}
if (form1.checkContentwjjt.value == "") {
alert("请填写文件检查的具体内容!");
form1.checkContentwjjt.focus();
return false;
}
if (form1.checkContentsbjt.value == "") {
alert("请填写资产检查的具体内容!");
form1.checkContentsbjt.focus();
return false;
}
return true;
}
form1.button1.disabled=true;
form1.button2.disabled=true;
form1.submit();
}
function selectChange(i)
{
form1.action = "/zhyw/smjc/CheckEdit.jsp";
form1.submit();
}
</script>
<style type="text/css">
.aselect{
width: 155px;
}
</style>
</head>
<body onload="setValue();">
<form name="form1" method="post" action="/servlet/CheckManage">
<input type="hidden" name="operate" value=""/>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class="box" style="margin:0px auto;">
<tr>
<td valign="top"><table width="100%" height="23" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="25%" background="/images/tab_search_01.jpg"><table width="100%" height="23" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="6%" align="right"><img src="/images/little_red.jpg" width="12" height="12"></td>
<td width="94%" class="font12b">&nbsp;<b>检查管理</b></td>
</tr>
</table></td>
<td width="75%" background="/images/tab_search_03.jpg"><img src="/images/tab_search_02.jpg" width="12" height="23"></td>
</tr>
</table>
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="d8e9fe" class="table02">
<tr bgcolor="#FFFFFF">
<td class="cell1">报告人员</td>
<td class="cell2" >
<input type="hidden" name="checkName" value="<%=optrname %>" style="color:red;" readonly="readonly"/>
<font color="gray" size=2><%=optrname%></font>
</td>
<td class="cell1">报告日期</td>
<td class="cell2">
<input type="hidden" name="checkStartTime" onclick="fPopCalendar(checkStartTime,checkStartTime);" value="<%=date%>" readonly="readonly">
<font color="gray" size=2><%=date%></font>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="cell1" >检查项目</td>
<td class="cell2" colspan="3">
<input type="hidden" name="checkContentry" value="人员检查" readonly="readonly" style="color:red;" />
<font color="red" size=2>人员检查</font>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="cell1"></td>
<td class="cell2" colspan="3">
<textarea rows="4" cols="65" name="checkContentryjt" maxlength="1000"></textarea><font color="red">(注限制字数1000)</font>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="cell1" >检查项目</td>
<td class="cell2" colspan="3">
<input type="hidden" name="checkContentwj" value="文件检查" readonly="readonly" style="color:red;" />
<font color="red" size=2>文件检查</font>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="cell1"></td>
<td class="cell2" colspan="3">
<textarea rows="4" cols="65" name="checkContentwjjt" maxlength="1000"></textarea><font color="red">(注限制字数1000)</font>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="cell1" >检查项目</td>
<td class="cell2" colspan="3">
<input type="hidden" name="checkContentsb" value="资产检查" readonly="readonly" style="color:red;" />
<font color="red" size=2>资产检查</font>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="cell1"></td>
<td class="cell2" colspan="3">
<textarea rows="4" cols="65" name="checkContentsbjt" maxlength="1000"></textarea><font color="red">(注限制字数1000)</font>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="cell1" >检查项目</td>
<td class="cell2" colspan="3">
<input type="hidden" name="checkContentryglzd" value="管理制度检查" readonly="readonly" style="color:red;" />
<font color="red" size=2>管理制度检查</font>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="cell1"></td>
<td class="cell2" colspan="3">
<textarea rows="4" cols="65" name="checkContentryglzdjt" maxlength="1000"></textarea><font color="red">(注限制字数1000)</font>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="cell1" >检查项目</td>
<td class="cell2" colspan="3">
<input type="hidden" name="checkContentrysmsj" value="泄密事件检查" readonly="readonly" style="color:red;" />
<font color="red" size=2>泄密事件检查</font>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="cell1"></td>
<td class="cell2" colspan="3">
<textarea rows="4" cols="65" name="checkContentrysmsjjt" maxlength="1000"></textarea><font color="red">(注限制字数1000)</font>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="cell1" >检查项目</td>
<td class="cell2" colspan="3">
<input type="hidden" name="checkContentryother" value="其它项目检查" readonly="readonly" style="color:red;" />
<font color="red" size=2>其它项目检查</font>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="cell1"></td>
<td class="cell2" colspan="3">
<textarea rows="4" cols="65" name="checkContentryotherjt" maxlength="1000"></textarea><font color="red">(注限制字数1000)</font>
</td>
</tr>
</table>
<table width="100%" align="center">
<tr align="center">
<td>
<input name="button1" onclick="return check('addCheck');" type="image" alt="保存" src="../../images1/bc1.png"/>&nbsp;&nbsp;
<input name="button2" onClick="check('backCheck');" type="image" alt="返回" src="../../images1/fh.png"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<%@include file="/foot.jsp"%>
</body>
</html>