<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@page import="com.zky.zhyw.smsb.CreatePropertyIdUtils"%> <%@page import="java.util.Collections"%> <%@page import="java.util.Arrays"%> <%@page import="java.util.List"%> <%@page import="java.util.Calendar"%> <%@page import="java.text.SimpleDateFormat"%> <%@page import="com.zky.para.Para"%> <%@include file="/auth.jsp"%> <%@page import="java.util.Date"%> <jsp:useBean id="getPara" scope="application" class="com.zky.para.SyncPara"/> <%@page import="java.util.Date"%> <%@ page import="cn.org.bjca.chaos.jcajce.provider.digest.Skein" %> <%@ page import="com.zky.bjca.SM4" %> <%@ page import="cn.org.bjca.utils.Base64" %> <% String secret=""; String purpose=(String)request.getAttribute("purpose"); String remark=(String)request.getAttribute("remark"); String propertyType=(String)request.getAttribute("propertyType"); String propertyType1=Common.convertNull(request.getParameter("propertyType")); HashFmlBuf bufs=(HashFmlBuf)request.getAttribute("bufEmployee"); //读取学生编号 HashFmlBuf bufschool=(HashFmlBuf)request.getAttribute("writeDepartment"); //通过区县读取学校 String areaid=(String)request.getAttribute("areaid"); String studentid=(String)request.getAttribute("studentid"); Login loginObj = (Login)session.getAttribute("login"); String sj = Common.convertNull(request.getParameter("sj")); String qj = Common.convertNull(request.getParameter("qj")); String school = Common.convertNull(request.getParameter("school")); String propertyName=Common.convertNull(request.getParameter("propertyName")); String date = DateTime.DateToStr(new Date()); String useId=CreatePropertyIdUtils.createPropertyUseId(request,response,school); String operatedepartidvalue=(String)session.getAttribute("operatedepartidvalue"); String operatedepartidvalues; if(operatedepartidvalue==null){ operatedepartidvalues=""; }else{ operatedepartidvalues=operatedepartidvalue; } %> <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> <title>涉密资产修改</title> <link href="../../../css/font.css" rel="stylesheet" type="text/css"> <script src="../../../js/date.js"></script> <script src="../../../js/check.js"></script> <link rel="stylesheet" type="text/css" href="../../../js/2k3Grid.css"> <link rel="stylesheet" type="text/css" href="../../../js/2k3Menu.css"> <link rel="stylesheet" type="text/css" href="../../../js/2k3Dialog.css"> <meta name="save" content="history"> <style type="text/css"> input{behavior:url(#default#savehistory)}; </style> <script> function setValue() { <% if(!Common.isNull(sj)) { out.println("form1.sj.value='" + sj + "';"); } if(!Common.isNull(qj)) { out.println("form1.qj.value='" + qj + "';"); } if(!Common.isNull(propertyName)) { out.println("form1.propertyName.value='" + propertyName + "';"); } if(!Common.isNull(school)) { out.println("form1.school.value='" + school + "';"); } %> } function check(operate) { form1.operate.value = operate; <% login_obj = (Login)session.getAttribute("login"); String optrid = login_obj.optrid; String optrname = getPara.getDesc("TAB_EMPLOYEE","EMPID","EMPNAME",optrid); %> if(operate=='backPropertyUseadd'){ form1.action = "/servlet/PropertyUseManage?operate=backPropertyInfo"; form1.submit(); } if(operate=="UpdatepropertyUseAdd"){ if(form1.recoverStaffid.value=="") { alert("请填写责任人"); form1.recoverStaffid.focus(); return false; } } if(operate=="closePropertyInfo"){ form1.action = "/zhyw/smsb/sbdj/propertyUseManage.jsp"; } form1.button1.disabled=true; form1.submit(); } function check1(operate,operateuseId){ form1.operate.value = operate; if(operate=="addPropertyInfo"){ form1.action = "/servlet/PropertyUseManage?operate=queryPropertyInfo&operateuseId="+operateuseId; } form1.button1.disabled=true; form1.submit(); } function selectChange(i) { form1.action = "/zhyw/smsb/sbdj/propertyUseAddUpdate.jsp"; form1.submit(); } </script> <style type="text/css"> .aselect { width:156px; } </style> <style type="text/css"> .td1{ width: 30%; } table#csstable{ border-top:#D8E9FE 1px solid; border-left:#D8E9FE 1px solid; } table#csstable td{ border-bottom:#D8E9FE 1px solid; border-right:#D8E9FE 1px solid; } table#csstable #bottomcss td{ border-bottom:#D8E9FE 0px solid; } </style> </head> <% HashFmlBuf buf=(HashFmlBuf)request.getAttribute("useBuf"); %> <body onload="setValue()"> <form name="form1" method="post" action="/servlet/PropertyUseManage" > <table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" class="box"> <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%"><img src="/images/little_red.jpg" width="12" height="12"></td> <td width="94%" class="font12b"> 涉密资产修改</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> <input type="hidden" name="operate" value=""/> <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="d8e9fe" class="table02"> <tr bgcolor="#FFFFFF" height="30"> <td class="cell1">所属市州</td> <td class="cell2"> <input type="text" value="<%=buf.fget("FRAMEWORKNAME", 0)%>" readonly="readonly" style="background-color: #D6DDEF;"/> </td> <td class="cell1">所属区县</td> <td class="cell2"> <input type="text" value="<%=buf.fget("AREADEF", 0)%>" readonly="readonly" style="background-color: #D6DDEF;"/> </td> </tr> <tr bgcolor="#FFFFFF" height="30"> <td class="cell1">单位名称</td> <td class="cell2"> <input type="text" maxlength="20" value="<%=buf.fget("DEPARTNAME", 0)%>" readonly="readonly" style="background-color: #D6DDEF;"/> </td> <td class="cell1">归属部门</td> <td class="cell2"> <input name="part" type="text" maxlength="20" value="<%=buf.fget("part", 0)%>" onkeyup="value=value.replace(/[^\u4E00-\u9FA5]/g,'')"/><font color="#ff0000">*</font> </td> </tr> <tr bgcolor="#FFFFFF" height="30"> <td class="cell1">登记人员</td> <td class="td1"> <input type="text" name="useempid" value="<%=buf.fget("USE_STAFFID", 0)%>" /> </td> <td class="cell1">使用人员</td> <td class="cell2"> <input type="text" name="recoverStaffid" maxlength="12" value="<%=buf.fget("RECOVER_STAFFID", 0)%>" /><font color="#ff0000">*</font> </td> </tr> <tr bgcolor="#FFFFFF" height="30"> <td class="cell1">登记日期</td> <td class="cell2"> <input type="text" name="recoverDate" id="recoverDate" readonly="readonly" onclick="fPopCalendar(recoverDate,recoverDate);return true;" value="<%=buf.fget("USE_DATE", 0)%>" /><font color="#ff0000" >*</font> </td> <td class="cell1" >登记编号</td> <td class="cell2" ><input type="text" name="operateuseId" value="<%=buf.fget("USE_ID", 0)%>" readonly="readonly" style="background-color: #D6DDEF;"/></td> </tr> <tr bgcolor="#FFFFFF" > <td colspan="4" align="center"> <input name="button2" onclick="check('UpdatepropertyUseAdd');" type="image" alt="保存" src="/images1/bc1.png"/> <input name="button2" onClick="check('backPropertyUseadd');" type="image" alt="返回" src="/images1/fh.png"/> </td> </tr> </table> </td> </tr> </table> </form> <%@include file="/foot.jsp"%> </body> </html> <script src="/js/ajaxUtils.js"></script>