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.

318 lines
12 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 = "";
1 year ago
String checkEndTime=DateTime.DateToStr(new Date());
String checkType = Common.convertNull(request.getParameter("checkType"));;
String checkName="";
String address = "";
String checkContent="";
Login loginObj = (Login)session.getAttribute("login");
String optrid = loginObj.optrid;
String optrname = getPara.getDesc("TAB_EMPLOYEE","EMPID","EMPNAME",optrid);
HashFmlBuf buf = (HashFmlBuf)request.getAttribute("by_checkId");
%>
<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(sj)) {
out.println("form1.sj.value='" + sj + "';");
}
if (!Common.isNull(operate)) {
out.println("form1.operate.value='" + operate + "';");
}
%>
}
function check(operate) {
form1.operate.value = operate;
if(operate=='UpdateCheck'){
if (form1.checkStartTime.value == "") {
alert("请选择开始时间!");
form1.checkStartTime.focus();
return;
}
if (form1.checkType.value == "") {
alert("请选择检查类型!");
form1.checkType.focus();
return;
}
}
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=""/>
<input type="hidden" name="checkId" value="<%=buf.fget("check_id", 0) %>" />
<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="82%" 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="text" name="sj" value="<%=buf.fget("FRAMEWORKNAME", 0)%>" readonly="readonly" style="background-color: #D6DDEF;"/>
</td>
<td class="cell1">所属区县</td>
<td class="cell2">
<input type="text" name="sj" value="<%=buf.fget("AREADEF", 0)%>" readonly="readonly" style="background-color: #D6DDEF;"/>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="cell1">检查单位</td>
<td class="cell2">
<input type="text" name="sj" value="<%=buf.fget("DEPARTNAME", 0)%>" readonly="readonly" style="background-color: #D6DDEF;"/>
</td>
<td class="cell1">检查类型</td>
<td class="cell2">
<select class='aselect' name="checkType" value="<%=checkType%>">
<%
if (checkType.equals("")){
out.println(Para.getCheckType(getPara, "CHECKTYPE"));
if (!checkType.equals("")){
%>
<script>
form1.checkType.value='<%=checkType%>';
</script>
<%
}
}else{
out.println(getPara.getSParaFilter("td_s_static","data_code","dataname","type_code","CHECKTYPE","data_code",checkType));
}
%>
</select>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="cell1">开始时间</td>
<td class="cell2">
<input type="text" name="checkStartTime" onclick="fPopCalendar(checkStartTime,checkStartTime);" value="<%=buf.fget("check_start_time", 0) %>">
</td>
<td class="cell1">结束时间</td>
<td class="cell2">
1 year ago
<input type="text" name="checkEndTime" value="<%=checkEndTime%>" readonly="readonly">
<%-- <input type="text" name="checkEndTime" onclick="fPopCalendar(checkEndTime,checkEndTime);" readonly="readonly" value="<%=buf.fget("check_end_time", 0) %>">--%>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="cell1">报告人员</td>
<td class="cell2" >
<input type="text" name="checkName" value="<%=buf.fget("check_name", 0) %>" style="color:red;" readonly="readonly"/>
<input type="hidden" name="checkAddress" />
</td>
<td class="cell1">检查人员</td>
<td class="cell2" >
<input type="text" name="checkName" value="<%=optrname %>" style="color:red;" readonly="readonly"/>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="cell1" >检查项目</td>
<td class="cell2" colspan="3">
<input type="hidden" name="checkContentry" value="人员检查" style="color:red;" readonly="readonly"/>
<font color="red">人员检查</font>
<input type="radio" name="checkReault1" value="合格"
<%if(buf.fget("checkReault1", 0).equals("合格")){ %>checked="true"<%}%>
>合格
<input type="radio" name="checkReault1" value="不合格"
<%if(buf.fget("checkReault1", 0).equals("不合格")){ %>checked="true"<%}%>
>不合格
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="cell1"></td>
<td class="cell2" colspan="3">
<textarea rows="3" cols="65" name="checkContentryjt" maxlength="500" readonly="readonly"><%=buf.fget("checkContentryjt", 0)%></textarea>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="cell1">批注</td>
<td class="cell2" colspan="3">
<textarea rows="3" cols="65" name="remark1" maxlength="1000"><%=buf.fget("remark1", 0)%></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="文件检查" style="color:red;" readonly="readonly"/>
<font color="red">文件检查</font>
<input type="radio" name="chenkResult2" value="合格"
<%if(buf.fget("checkReault2", 0).equals("合格")){ %>checked="true"<%}%>
>合格
<input type="radio" name="chenkResult2" value="不合格"
<%if(buf.fget("checkReault2", 0).equals("不合格")){ %>checked="true"<%}%>
>不合格
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="cell1"></td>
<td class="cell2" colspan="3">
<textarea rows="3" cols="65" name="checkContentwjt" maxlength="500" readonly="readonly" ><%=buf.fget("checkcontentwjjt", 0)%></textarea>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="cell1">批注</td>
<td class="cell2" colspan="3">
<textarea rows="3" cols="65" name="remark2" maxlength="1000"><%=buf.fget("remark2", 0)%></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="资产检查" style="color:red;" readonly="readonly"/>
<font color="red">资产检查</font>
<input type="radio" name="chenkResult3" value="合格"
<%if(buf.fget("checkReault3", 0).equals("合格")){ %>checked="true"<%}%>
>合格
<input type="radio" name="chenkResult3" value="不合格"
<%if(buf.fget("checkReault3", 0).equals("不合格")){ %>checked="true"<%}%>
>不合格
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="cell1"></td>
<td class="cell2" colspan="3">
<textarea rows="3" cols="65" name="checkContentsbjt" maxlength="500" readonly="readonly" ><%=buf.fget("checkContentsbjt", 0)%></textarea>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="cell1">批注</td>
<td class="cell2" colspan="3">
<textarea rows="3" cols="65" name="remark3" maxlength="1000" ><%=buf.fget("remark3", 0)%></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="管理制度检查" style="color:red;" readonly="readonly"/>
<font color="red">管理制度检查</font>
<input type="radio" name="chenkResult4" value="合格"
<%if(buf.fget("checkReault4", 0).equals("合格")){ %>checked="true"<%}%>
>合格
<input type="radio" name="chenkResult4" value="不合格"
<%if(buf.fget("checkReault4", 0).equals("不合格")){ %>checked="true"<%}%>
>不合格
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="cell1"></td>
<td class="cell2" colspan="3">
<textarea rows="3" cols="65" name="checkContentryglzdjt" maxlength="1000" readonly="readonly" ><%=buf.fget("checkContentryglzdjt", 0)%></textarea>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="cell1">批注</td>
<td class="cell2" colspan="3">
<textarea rows="3" cols="65" name="remark4" maxlength="500" ><%=buf.fget("remark4", 0)%></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="泄密事件检查" style="color:red;" readonly="readonly"/>
<font color="red">泄密事件检查</font>
<input type="radio" name="chenkResult5" value="合格"
<%if(buf.fget("checkReault5", 0).equals("合格")){ %>checked="true"<%}%>
>合格
<input type="radio" name="chenkResult5" value="不合格"
<%if(buf.fget("checkReault5", 0).equals("不合格")){ %>checked="true"<%}%>
>不合格
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="cell1"></td>
<td class="cell2" colspan="3">
<textarea rows="3" cols="65" name="checkContentrysmsjjt" maxlength="1000" ><%=buf.fget("checkContentrysmsjjt", 0)%></textarea>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="cell1">批注</td>
<td class="cell2" colspan="3">
<textarea rows="3" cols="65" name="remark5" maxlength="500" ><%=buf.fget("remark5", 0)%></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="其它项目检查" style="color:red;" readonly="readonly"/>
<font color="red">其它项目检查</font>
<input type="radio" name="chenkResult6" value="合格"
<%if(buf.fget("checkReault6", 0).equals("合格")){ %>checked="true"<%}%>
>合格
<input type="radio" name="chenkResult6" value="不合格"
<%if(buf.fget("checkReault6", 0).equals("不合格")){ %>checked="true"<%}%>
>不合格
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="cell1"></td>
<td class="cell2" colspan="3">
<textarea rows="3" cols="65" name="checkContentrypotherjt" maxlength="1000" ><%=buf.fget("checkContentryotherjt", 0)%></textarea>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td class="cell1">批注</td>
<td class="cell2" colspan="3">
<textarea rows="3" cols="65" name="remark6" maxlength="500"><%=buf.fget("remark6", 0)%></textarea><font color="red">(注限制字数1000)</font>
</td>
</tr>
</table>
<table width="90%" align="center">
<tr align="center">
<td>
<input type="button" name="button1" style="background:url(../images1/bc1.png); width:60px; height:22px; border:none;cursor: pointer;" onclick="check('UpdateCheck');"/>&nbsp;&nbsp;
<input type="button" name="button2" style="background:url(../images1/fh.png); width:60px; height:22px; border:none; cursor: pointer;" onClick="history.back();"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<%@include file="/foot.jsp"%>
</body>
</html>