pwdrule.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="renderer" content="webkit|ie-comp|ie-stand">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
  8. <meta http-equiv="Cache-Control" content="no-siteapp" />
  9. <!--[if lt IE 9]>
  10. <script type="text/javascript" src="${ctx}/assets/lib/html5.js"></script>
  11. <script type="text/javascript" src="${ctx}/assets/lib/respond.min.js"></script>
  12. <script type="text/javascript" src="${ctx}/assets/lib/PIE_IE678.js"></script>
  13. <![endif]-->
  14. <script type="text/javascript" src="${ctx}/assets/lib/jquery/1.9.1/jquery.min.js"></script>
  15. <script type="text/javascript" src="${ctx}/assets/lib/layer/3.0.3/layer.js"></script>
  16. <script type="text/javascript" src="${ctx}/assets/lib/icheck/jquery.icheck.min.js"></script>
  17. <script type="text/javascript" src="${ctx}/assets/lib/jquery.validation/1.14.0/jquery.validate.min.js"></script>
  18. <script type="text/javascript" src="${ctx}/assets/lib/jquery.validation/1.14.0/validate-methods.js"></script>
  19. <script type="text/javascript" src="${ctx}/assets/lib/jquery.validation/1.14.0/messages_zh.min.js"></script>
  20. <script type="text/javascript" src="${ctx}/assets/static/h-ui/js/H-ui.js"></script>
  21. <script type="text/javascript" src="${ctx}/assets/static/h-ui.admin/js/H-ui.admin.js"></script>
  22. <script type="text/ecmascript" src="${ctx}/assets/lib/jqueryui/jquery-ui.js"></script>
  23. <script type="text/javascript" src="${ctx}/assets/lib/My97DatePicker/WdatePicker.js"></script>
  24. <script type="text/javascript" src="${ctx}/assets/lib/webuploader/0.1.5/webuploader.min.js"></script>
  25. <script type="text/javascript" src="${ctx}/assets/lib/ueditor/1.4.3/ueditor.config.js"></script>
  26. <script type="text/javascript" src="${ctx}/assets/lib/ueditor/1.4.3/ueditor.all.js"> </script>
  27. <script type="text/javascript" src="${ctx}/assets/lib/ueditor/1.4.3/lang/zh-cn/zh-cn.js"></script>
  28. <script type="text/javascript" src="${ctx}/assets/lib/jquery.form/jquery.form.min.js"></script>
  29. <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/on-off/css/style.css" />
  30. <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/on-off/css/font-awesome.css" />
  31. <!--[if IE 6]>
  32. <script type="text/javascript" src="${ctx}/assets/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
  33. <script>DD_belatedPNG.fix('*');</script>
  34. <![endif]-->
  35. <script type="text/javascript">
  36. //选择标题颜色板初始化
  37. function setEditPWDFlag()
  38. {
  39. var strFieldValue=$('#EditPWDFlag').is(':checked');
  40. $('#form-article').attr('action','${ctx}/myconsole/dic_pwdrule/saveOrUpdate?FieldName=EditPWDFlag&FieldValue='+strFieldValue);
  41. if($('#form-article').valid()){
  42. $('#form-article').ajaxSubmit(resultHandle);
  43. }
  44. }
  45. function setEditOverTime()
  46. {
  47. var strFieldValue=$('#EditOverTime').val();
  48. $('#form-article').attr('action','${ctx}/myconsole/dic_pwdrule/saveOrUpdate?FieldName=EditOverTime&FieldValue='+strFieldValue);
  49. if($('#form-article').valid()){
  50. $('#form-article').ajaxSubmit(resultHandle);
  51. }
  52. }
  53. function setEditRemindFlag()
  54. {
  55. var strFieldValue=$('#EditRemindFlag').is(':checked');
  56. $('#form-article').attr('action','${ctx}/myconsole/dic_pwdrule/saveOrUpdate?FieldName=EditRemindFlag&FieldValue='+strFieldValue);
  57. if($('#form-article').valid()){
  58. $('#form-article').ajaxSubmit(resultHandle);
  59. }
  60. }
  61. function setEditForceFlag()
  62. {
  63. var strFieldValue=$('#EditForceFlag').is(':checked');
  64. $('#form-article').attr('action','${ctx}/myconsole/dic_pwdrule/saveOrUpdate?FieldName=EditForceFlag&FieldValue='+strFieldValue);
  65. if($('#form-article').valid()){
  66. $('#form-article').ajaxSubmit(resultHandle);
  67. }
  68. }
  69. function setMakePWDFlag()
  70. {
  71. var strFieldValue=$('#MakePWDFlag').is(':checked');
  72. $('#form-article').attr('action','${ctx}/myconsole/dic_pwdrule/saveOrUpdate?FieldName=MakePWDFlag&FieldValue='+strFieldValue);
  73. if($('#form-article').valid()){
  74. $('#form-article').ajaxSubmit(resultHandle);
  75. }
  76. }
  77. function setMakeCapitalFlag()
  78. {
  79. var strFieldValue=$('#MakeCapitalFlag').is(':checked');
  80. $('#form-article').attr('action','${ctx}/myconsole/dic_pwdrule/saveOrUpdate?FieldName=MakeCapitalFlag&FieldValue='+strFieldValue);
  81. if($('#form-article').valid()){
  82. $('#form-article').ajaxSubmit(resultHandle);
  83. }
  84. }
  85. function setMakeNumberFlag()
  86. {
  87. var strFieldValue=$('#MakeNumberFlag').is(':checked');
  88. $('#form-article').attr('action','${ctx}/myconsole/dic_pwdrule/saveOrUpdate?FieldName=MakeNumberFlag&FieldValue='+strFieldValue);
  89. if($('#form-article').valid()){
  90. $('#form-article').ajaxSubmit(resultHandle);
  91. }
  92. }
  93. function setMakeSignFlag()
  94. {
  95. var strFieldValue=$('#MakeSignFlag').is(':checked');
  96. $('#form-article').attr('action','${ctx}/myconsole/dic_pwdrule/saveOrUpdate?FieldName=MakeSignFlag&FieldValue='+strFieldValue);
  97. if($('#form-article').valid()){
  98. $('#form-article').ajaxSubmit(resultHandle);
  99. }
  100. }
  101. function setMakeEightFlag()
  102. {
  103. var strFieldValue=$('#MakeEightFlag').is(':checked');
  104. $('#form-article').attr('action','${ctx}/myconsole/dic_pwdrule/saveOrUpdate?FieldName=MakeEightFlag&FieldValue='+strFieldValue);
  105. if($('#form-article').valid()){
  106. $('#form-article').ajaxSubmit(resultHandle);
  107. }
  108. }
  109. function setErrorPWDFlag()
  110. {
  111. var strFieldValue=$('#ErrorPWDFlag').is(':checked');
  112. $('#form-article').attr('action','${ctx}/myconsole/dic_pwdrule/saveOrUpdate?FieldName=ErrorPWDFlag&FieldValue='+strFieldValue);
  113. if($('#form-article').valid()){
  114. $('#form-article').ajaxSubmit(resultHandle);
  115. }
  116. }
  117. function setErrorLockNum()
  118. {
  119. var strFieldValue=$('#ErrorLockNum').val();
  120. $('#form-article').attr('action','${ctx}/myconsole/dic_pwdrule/saveOrUpdate?FieldName=ErrorLockNum&FieldValue='+strFieldValue);
  121. if($('#form-article').valid()){
  122. $('#form-article').ajaxSubmit(resultHandle);
  123. }
  124. }
  125. function setErrorStopNum()
  126. {
  127. var strFieldValue=$('#ErrorStopNum').val();
  128. $('#form-article').attr('action','${ctx}/myconsole/dic_pwdrule/saveOrUpdate?FieldName=ErrorStopNum&FieldValue='+strFieldValue);
  129. if($('#form-article').valid()){
  130. $('#form-article').ajaxSubmit(resultHandle);
  131. }
  132. }
  133. function setUsePWDFlag()
  134. {
  135. var strFieldValue=$('#UsePWDFlag').is(':checked');
  136. $('#form-article').attr('action','${ctx}/myconsole/dic_pwdrule/saveOrUpdate?FieldName=UsePWDFlag&FieldValue='+strFieldValue);
  137. if($('#form-article').valid()){
  138. $('#form-article').ajaxSubmit(resultHandle);
  139. }
  140. }
  141. function setUseHisStopFlag()
  142. {
  143. var strFieldValue=$('#UseHisStopFlag').is(':checked');
  144. $('#form-article').attr('action','${ctx}/myconsole/dic_pwdrule/saveOrUpdate?FieldName=UseHisStopFlag&FieldValue='+strFieldValue);
  145. if($('#form-article').valid()){
  146. $('#form-article').ajaxSubmit(resultHandle);
  147. }
  148. }
  149. function setUseEncryptFlag()
  150. {
  151. var strFieldValue=$('#UseEncryptFlag').is(':checked');
  152. $('#form-article').attr('action','${ctx}/myconsole/dic_pwdrule/saveOrUpdate?FieldName=UseEncryptFlag&FieldValue='+strFieldValue);
  153. if($('#form-article').valid()){
  154. $('#form-article').ajaxSubmit(resultHandle);
  155. }
  156. }
  157. function resultHandle(data){
  158. }
  159. $(function(){
  160. $("#ErrorLockNum").val("${onflag.ErrorLockNum}");
  161. $("#ErrorStopNum").val("${onflag.ErrorStopNum}");
  162. $("#EditOverTime").val("${onflag.EditOverTime}");
  163. })
  164. </script>
  165. <title>我的桌面</title>
  166. </head>
  167. <body style="line-height:1;font-family: 'Open Sans Condensed','Arial Narrow', serif;background: #fff;font-weight: 400;font-size: 13px;padding-left:50px;">
  168. <form id="form-article" method="post" style="font-family:0">
  169. <table style="margin-top:0px;" valign=top>
  170.     <tbody>
  171.       <tr height="60px">
  172.         <td width="100px" height="60px" align=right><B>定期修改密码</B></td>
  173.         <td width="100px" height="60px" >
  174. <div class="switch demo3_s">
  175. <input type="checkbox" onclick=setEditPWDFlag() id=EditPWDFlag name=EditPWDFlag ${onflag.EditPWDFlag} >
  176. <label><i></i></label>
  177. </div>
  178. </td>
  179.         <td></td>
  180.         <td></td>
  181. <td></td>
  182.         <td></td>
  183. <td></td>
  184.         <td></td>
  185.       </tr>
  186.       <tr height="60px">
  187.         <td width="100px" height="60px" align=center>过期时间</td>
  188.         <td width="100px" height="60px" align=center>
  189. <select id="EditOverTime" name="EditOverTime" class="select" style="width:80px" onChange=setEditOverTime()>
  190. <option value='3'>3个月</option>
  191. <option value='6'>6个月</option>
  192. <option value='9'>9个月</option>
  193. <option value='12'>12个月</option>
  194. </select>
  195. </td>
  196.         <td width="100px" height="60px" align=right>到期提醒</td>
  197.         <td width="100px" height="60px" align=left>
  198. <div class="switch demo1_s">
  199. <input type="checkbox" onclick=setEditRemindFlag() id=EditRemindFlag name=EditRemindFlag ${onflag.EditRemindFlag} >
  200. <label></label>
  201. </div>
  202. </td>
  203. <td width="100px" height="60px" align=right>强制修改</td>
  204.         <td width="100px" height="60px" align=left>
  205. <div class="switch demo1_s">
  206. <input type="checkbox" onclick=setEditForceFlag() id=EditForceFlag name=EditForceFlag ${onflag.EditForceFlag} >
  207. <label></label>
  208. </div>
  209. </td>
  210. <td></td>
  211.         <td></td>
  212.       </tr>
  213.       
  214. <tr height="60px">
  215.         <td width="100px" height="60px" align=right><B>密码复杂度</B></td>
  216.         <td width="100px" height="60px">
  217. <div class="switch demo3_s">
  218. <input type="checkbox" onclick=setMakePWDFlag() id=MakePWDFlag name=MakePWDFlag ${onflag.MakePWDFlag} >
  219. <label><i></i></label>
  220. </div>
  221. </td>
  222.         <td></td>
  223.         <td></td>
  224. <td></td>
  225.         <td></td>
  226. <td></td>
  227.         <td></td>
  228.       </tr>
  229.    <tr height="60px">
  230.         <td width="100px" height="60px" align=right>包含大写字母</td>
  231.         <td width="100px" height="60px" >
  232. <div class="switch demo1_s">
  233. <input type="checkbox" onclick=setMakeCapitalFlag() id=MakeCapitalFlag name=MakeCapitalFlag ${onflag.MakeCapitalFlag} >
  234. <label></label>
  235. </div>
  236. </td>
  237.         <td width="100px" height="60px" align=right>包含数字</td>
  238.         <td width="100px" height="60px" align=left>
  239. <div class="switch demo1_s">
  240. <input type="checkbox" onclick=setMakeNumberFlag() id=MakeNumberFlag name=MakeNumberFlag ${onflag.MakeNumberFlag} >
  241. <label></label>
  242. </div>
  243. </td>
  244. <td width="100px" height="60px" align=right>包含特殊符号</td>
  245.         <td width="100px" height="60px" align=left>
  246. <div class="switch demo1_s">
  247. <input type="checkbox" onclick=setMakeSignFlag() id=MakeSignFlag name=MakeSignFlag ${onflag.MakeSignFlag} >
  248. <label></label>
  249. </div>
  250. </td>
  251. <td width="100px" height="60px" align=right>长度大于8</td>
  252.         <td width="100px" height="60px" align=left>
  253. <div class="switch demo1_s">
  254. <input type="checkbox" onclick=setMakeEightFlag() id=MakeEightFlag name=MakeEightFlag ${onflag.MakeEightFlag} >
  255. <label></label>
  256. </div>
  257. </td>
  258.       </tr>
  259. <tr height="60px" align=right>
  260.         <td width="100px" height="60px" align=right><B>密码错误处理</B></td>
  261.         <td>
  262. <div class="switch demo3_s">
  263. <input type="checkbox" onclick=setErrorPWDFlag() id=ErrorPWDFlag name=ErrorPWDFlag ${onflag.ErrorPWDFlag} >
  264. <label><i></i></label>
  265. </div>
  266. </td>
  267.         <td></td>
  268.         <td></td>
  269. <td></td>
  270.         <td></td>
  271. <td></td>
  272.         <td></td>
  273.       </tr>
  274. <tr height="60px">
  275.         <td width="100px" height="60px" align=center>连续错误锁定</td>
  276.         <td width="100px" height="60px" align=center>
  277. <select id="ErrorLockNum" name="ErrorLockNum" class="select" style="width:80px" onChange=setErrorLockNum()>
  278. <option value='3'>3次</option>
  279. <option value='5'>5次</option>
  280. </select>
  281. </td>
  282.         <td width="100px" height="60px" align=center>连续错误停用</td>
  283.         <td width="100px" height="60px" align=center>
  284. <select id="ErrorStopNum" name="ErrorStopNum" class="select" style="width:80px" onChange=setErrorStopNum()>
  285. <option value='6'>6次</option>
  286. <option value='10'>10次</option>
  287. </select>
  288. </td>
  289. <td width="100px" height="60px" align=right></td>
  290.         <td width="100px" height="60px" align=left>
  291. </td>
  292. <td></td>
  293.         <td></td>
  294.       </tr>
  295. <tr height="60px">
  296.         <td width="100px" height="60px" align=right><B>密码使用规则</B></td>
  297.         <td>
  298. <div class="switch demo3_s">
  299. <input type="checkbox" onclick=setUsePWDFlag() id=UsePWDFlag name=UsePWDFlag ${onflag.UsePWDFlag} >
  300. <label><i></i></label>
  301. </div>
  302. </td>
  303.         <td></td>
  304.         <td></td>
  305. <td></td>
  306.         <td></td>
  307. <td></td>
  308.         <td></td>
  309.       </tr>
  310. <tr height="60px">
  311.         <td width="100px" height="60px" align=right>历史密码停用</td>
  312.         <td width="100px" height="60px" >
  313. <div class="switch demo1_s">
  314. <input type="checkbox" onclick=setUseHisStopFlag() id=UseHisStopFlag name=UseHisStopFlag ${onflag.UseHisStopFlag} >
  315. <label></label>
  316. </div>
  317. </td>
  318.         <td width="100px" height="60px" align=right>密码提交加密</td>
  319.         <td width="100px" height="60px" align=left>
  320. <div class="switch demo1_s">
  321. <input type="checkbox" onclick=setUseEncryptFlag() id=UseEncryptFlag name=UseEncryptFlag ${onflag.UseEncryptFlag} >
  322. <label></label>
  323. </div>
  324. </td>
  325. <td width="100px" height="60px" align=right></td>
  326.         <td width="100px" height="60px" align=left>
  327. </td>
  328. <td></td>
  329.         <td></td>
  330.       </tr>
  331.     </tbody>
  332. </table>
  333. </form>
  334. </body>
  335. </html>