UU跑腿标准版

userResetPasswod.aspx 7.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="userResetPasswod.aspx.cs" Inherits="HySoft.BaseCallCenter.Web.sysmanage.userResetPasswod" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head runat="server">
  5. <title>密码重设</title>
  6. <link href="../../scripts/ui/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
  7. <link href="../images/style.css" rel="stylesheet" type="text/css" />
  8. <script type="text/javascript" src="../../scripts/jquery/jquery-1.8.3.min.js"></script>
  9. <script type="text/javascript" src="../../scripts/jquery/jquery.form.js"></script>
  10. <script type="text/javascript" src="../../scripts/jquery/jquery.validate.min.js"></script>
  11. <script type="text/javascript" src="../../scripts/jquery/messages_cn.js"></script>
  12. <script type="text/javascript" src="../../scripts/ui/js/ligerBuild.min.js"></script>
  13. <script type="text/javascript" src="../../scripts/function.js"></script>
  14. <script src="../scripts/calendar.js" type="text/javascript"></script>
  15. <script src="../scripts/ui/js/core/base.js" type="text/javascript"></script>
  16. <script src="../scripts/ui/js/plugins/ligerDialog.js" type="text/javascript"></script>
  17. <script src="../scripts/ui/js/plugins/ligerDrag.js" type="text/javascript"></script>
  18. <script type="text/javascript" >
  19. function validateone_password() {
  20. if ($("#txtone_password").val() == "" || $("#txtone_password").val() == undefined) {
  21. //jsprint("密码不允许为空!", "", "Error", "");
  22. //$("#txtone_password").focus();
  23. document.getElementById("lbone_password").innerHTML = "* 不为空!";
  24. document.getElementById("lbone_password").style.color = "red";
  25. return false;
  26. }
  27. else {
  28. document.getElementById("lbone_password").innerHTML = "*";
  29. document.getElementById("lbone_password").style.color = "#414141";
  30. return true;
  31. }
  32. }
  33. function validateone_passwordnew() {
  34. if ($("#txtone_passwodnew").val() == "" || $("#txtone_passwodnew").val() == undefined) {
  35. //jsprint("密码不允许为空!", "", "Error", "");
  36. //$("#txtone_password").focus();
  37. document.getElementById("lbone_passwordnew").innerHTML = "* 不为空!";
  38. document.getElementById("lbone_passwordnew").style.color = "red";
  39. return false;
  40. }
  41. else {
  42. document.getElementById("lbone_passwordnew").innerHTML = "*";
  43. document.getElementById("lbone_passwordnew").style.color = "#414141";
  44. return true;
  45. }
  46. }
  47. function validateone_password1() {
  48. if ($("#txtone_passwodnew").val() != $("#txtone_password1").val()) {
  49. document.getElementById("lbone_password1").innerHTML = "* 密码不一致!";
  50. document.getElementById("lbone_password1").style.color = "red";
  51. return false;
  52. }
  53. else {
  54. document.getElementById("lbone_password1").innerHTML = "*";
  55. document.getElementById("lbone_password1").style.color = "#414141";
  56. return true;
  57. }
  58. }
  59. function validate() {
  60. var i = 0;
  61. if (!validateone_password()) {
  62. i++;
  63. }
  64. if (!validateone_passwordnew()) {
  65. i++;
  66. }
  67. if (!validateone_password1()) {
  68. i++;
  69. }
  70. if (i > 0) {
  71. return false;
  72. }
  73. return true;
  74. }
  75. function CloseThis() {
  76. var dialog = frameElement.dialog;
  77. parent.LoadList();
  78. dialog.close();
  79. //parent.window.LoadList();
  80. }
  81. </script>
  82. </head>
  83. <body class="mainbody" scroll="no" style="margin-top: 0px;">
  84. <form id="form1" runat="server">
  85. <div id="contentTab">
  86. <ul class="tab_nav">
  87. <li class="selected"><a onclick="tabs('#contentTab',0);" href="javascript:;">重设密码</a></li>
  88. </ul>
  89. <div class="tab_con" style="display: block; height: 200px;">
  90. <table class="form_table">
  91. <col width="100px" />
  92. <col />
  93. <col width="100px" />
  94. <col />
  95. <tbody>
  96. <tr>
  97. <th>
  98. 员工工号:
  99. </th>
  100. <td>
  101. <asp:TextBox ID="txtWorkingCode" runat="server" CssClass="txtInput normal" Style="width: 120px;" ReadOnly="true"></asp:TextBox>
  102. </td>
  103. </tr>
  104. <tr>
  105. <th>
  106. 员工姓名:
  107. </th>
  108. <td>
  109. <asp:TextBox ID="txtRealName" runat="server" CssClass="txtInput normal" Style="width: 120px;" ReadOnly="true"></asp:TextBox>
  110. </td>
  111. </tr>
  112. <tr>
  113. <th>
  114. 原&nbsp;&nbsp;密&nbsp;&nbsp;码:
  115. </th>
  116. <td>
  117. <asp:TextBox ID="txtone_password" runat="server" TextMode="Password" CssClass="txtInput normal"
  118. Style="width: 120px;"></asp:TextBox><label id="lbone_password" for="txtone_password">*</label>
  119. </td>
  120. </tr>
  121. <tr>
  122. <th>
  123. 新&nbsp;&nbsp;密&nbsp;&nbsp;码:
  124. </th>
  125. <td>
  126. <asp:TextBox ID="txtone_passwodnew" runat="server" TextMode="Password" CssClass="txtInput normal"
  127. Style="width: 120px;"></asp:TextBox><label id="lbone_passwordnew" for="txtone_passwodnew">*</label>
  128. </td>
  129. </tr>
  130. <tr>
  131. <th>
  132. 确认密码:
  133. </th>
  134. <td>
  135. <asp:TextBox ID="txtone_password1" runat="server" TextMode="Password" CssClass="txtInput normal"
  136. Style="width: 120px;"></asp:TextBox><label id="lbone_password1" for="txtone_password1">*</label>
  137. </td>
  138. </tr>
  139. </tbody>
  140. </table>
  141. </div>
  142. <div class="foot_btn_box">
  143. <asp:Button ID="btnSubmit" runat="server" Text="保&nbsp;&nbsp;存" CssClass="btnSubmit"
  144. OnClientClick="return validate();" OnClick="btnSubmit_Click" />
  145. </div>
  146. </div>
  147. </form>
  148. </body>
  149. </html>