<%@ page contentType="text/html;charset=UTF-8" %>
<%@ page import="java.util.Iterator" %>
<%@ page import="java.util.HashMap" %>
<%@ page import="net.sz600.tool.SzConvert" %>
<%@ page import="net.sz600.system.SzProperties" %>
<%@ include file="/sessionInfoWeixin.jsp"%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="format-detection" content="telephone=no" />
<%@ include file="/share/oa_app_title.jsp"%>
 <link href="<%=strLevel_SESSION%>app/images/soarwell_css.css" rel="stylesheet" type="text/css" />
</head>
<%
    String szDLMM = (String)session.getAttribute("SzDLMM");
%>
<!-----上面的工具栏------>
<%@ include file="/app/title.jsp"%>
<form name="formUpdate" method="post">
<input type="hidden" name="szDLMM" value="<%=szDLMM%>">
<table width="100%">
  <tr>
    <td class="titleClass">修改密码</td>
    <td>
      <input type="button" name="btnSave" class="btnClass" value="保存" OnClick="javascript:FormSave(formUpdate, 'control.jsp');">
    </td>
  </tr>
</table>

<!-----信息维护------>
<table height="227" width="100%" border="0" cellspacing="3" cellpadding="3" style="border:#D7D7D9 1px solid;">
  <tr>
    <td><span class="product_content">原始密码</span>
    	<br><span class='padding5'></span><input type="password" name="DLMM" value="">   
    </td>
  </tr> 
  
  <tr>
    <td><span class="product_content">新的密码</span>
    	<br><span class='padding5'></span><input type="password" name="DLMM1" value="">   
    </td>
  </tr> 
    
  
  <tr>
    <td><span class="product_content">确认密码</span>
    	<br><span class='padding5'></span><input type="password" name="DLMM2" value="">   
    </td>
  </tr>     
  

</table>

</form>

<script language="javascript">
  //第一个表示对象，form，第二个表示字符串
  function FormSubmit(oFormName, vUrl) {
    oFormName.action = vUrl;
    oFormName.submit();
  }
</script>
<script language="javascript">
  function FormSave(formName, url) {
    //检查是否可以保存
    if (formName.szDLMM.value != formName.DLMM.value) {
      formName.DLMM.focus();
      alert("原始密码不正确，请重新输入");
      return false;
    }
    if (formName.DLMM1.value != formName.DLMM2.value) {
      formName.DLMM1.focus();
      alert("新的密码和确认密码不一样，请重新输入");
      return false;
    }
    //提交
    formName.action = url;
    formName.submit();
  }
</script>
