SMZSE00200_계정비밀번호관리.xrw 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title/>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <accountinfo/>
  11. <result>
  12. <newpwd/>
  13. </result>
  14. </main>
  15. <send>
  16. <search>
  17. <operdb/>
  18. <edudb/>
  19. <userid/>
  20. </search>
  21. <releaselock>
  22. <releaselockdata/>
  23. </releaselock>
  24. <initializepwd>
  25. <initializepwddata/>
  26. </initializepwd>
  27. </send>
  28. <init>
  29. <dbinfolist>
  30. <operdb>
  31. <db>
  32. <name>본원운영</name>
  33. <instcd>031</instcd>
  34. <id>his031</id>
  35. <value/>
  36. </db>
  37. <db>
  38. <name>칠곡운영</name>
  39. <instcd>032</instcd>
  40. <id>his032</id>
  41. <value/>
  42. </db>
  43. <db>
  44. <name>MIS운영</name>
  45. <instcd>030</instcd>
  46. <id>mis030</id>
  47. <value/>
  48. </db>
  49. </operdb>
  50. <edudb>
  51. <db>
  52. <name>본원교육</name>
  53. <instcd>031</instcd>
  54. <id>his031edu</id>
  55. <value/>
  56. </db>
  57. <db>
  58. <name>칠곡교육</name>
  59. <instcd>032</instcd>
  60. <id>his032edu</id>
  61. <value/>
  62. </db>
  63. <db>
  64. <name>MIS교육</name>
  65. <instcd>030</instcd>
  66. <id>mis030edu</id>
  67. <value/>
  68. </db>
  69. <db>
  70. <name>CEN교육</name>
  71. <instcd>030</instcd>
  72. <id>cen030edu</id>
  73. <value/>
  74. </db>
  75. <db>
  76. <name>CRM교육</name>
  77. <instcd>030</instcd>
  78. <id>crm030edu</id>
  79. <value/>
  80. </db>
  81. </edudb>
  82. </dbinfolist>
  83. </init>
  84. <hidden/>
  85. <temp/>
  86. </root>
  87. </instance>
  88. <submission id="TRZSE00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/accountinfo"/>
  89. <submission id="TXZSE00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/releaselock" resultref="/root/temp"/>
  90. <submission id="TXZSE00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/initializepwd" resultref="/root/main/result"/>
  91. <script type="javascript" ev:event="xforms-ready">
  92. <![CDATA[
  93. fInitialize();
  94. ]]>
  95. </script>
  96. </model>
  97. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  98. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  99. <script type="javascript">
  100. <![CDATA[
  101. function fInitialize(){
  102. grd_search_oper.fixedcellcheckbox(0,grd_search_oper.colRef("value"),false) = true;
  103. grd_search_oper.fixedcellischeck(0,grd_search_oper.colRef("value")) = true;
  104. }
  105. function fSearch(){
  106. model.setValue("/root/send/search/operdb",getNodeListCSV(instance1.selectNodes("/root/init/dbinfolist/operdb/db")));
  107. submit("TRZSE00201",false);
  108. }
  109. function fCheckSelectedItem() {
  110. if(getNodesetCount("/root/main/accountinfo/accountlist[flag='Y']") > 0) {
  111. return true;
  112. } else {
  113. messageBox("선택된 아이템이 없습니다.\n변경 할 아이템을 체크 하시고 버튼을 눌러주세요.", "I999");
  114. return false;
  115. }
  116. }
  117. ]]>
  118. </script>
  119. </xhtml:head>
  120. <xhtml:body pagewidth="1195px" pageheight="780px">
  121. <group id="group2" style="left:0px; top:35px; width:1195px; height:100px; vertical-align:top; ">
  122. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:100px; background-color:#fffbf2; border-color:#ffd799; "/>
  123. <button id="button5" class="btn1_letter2" navindex="5" style="left:1120px; top:40px; width:56px; height:22px; ">
  124. <caption>조회</caption>
  125. <script type="javascript" ev:event="DOMActivate">
  126. <![CDATA[
  127. model.setValue("/root/main/result/newpwd", "");
  128. opt_newpwd.refresh();
  129. fSearch();
  130. model.refresh();
  131. ]]>
  132. </script>
  133. </button>
  134. <caption id="cpt_dept" class="search_name" style="left:850px; top:41px; width:75px; height:17px; ">사번</caption>
  135. <input id="ipt_s_deptcd" ref="/root/send/search/userid" class="input_s_essential" navindex="2" style="left:930px; top:41px; width:95px; height:19px; ">
  136. <script type="javascript" ev:event="onkeypress">
  137. <![CDATA[
  138. inputEnterKey("button5", "DOMActivate");
  139. ]]>
  140. </script>
  141. </input>
  142. <datagrid id="grd_search_oper" nodeset="/root/init/dbinfolist/operdb/db" autoresize="true" caption="운영^운영" colsep="^" colwidth="40, 65" mergecellsfixedrows="bycolrec" rowsep="|" style="left:25px; top:5px; width:110px; height:85px; ">
  143. <col ref="value" type="checkbox"/>
  144. <col ref="name"/>
  145. </datagrid>
  146. <output id="opt_newpwd" ref="/root/main/result/newpwd" style="left:785px; top:5px; width:405px; height:19px; color:#ff0000; text-align:right; "/>
  147. </group>
  148. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:144px; height:15px; ">계정비밀번호관리</caption>
  149. <datagrid id="datagrid1" nodeset="/root/main/accountinfo/accountlist" caption="^^^시스템^사번^사용자명^전화번호^휴대폰번호^직종^직위^비밀번호실패^비밀번호실패^비밀번호변경|^^^시스템^사번^사용자명^전화번호^휴대폰번호^직종^직위^잠금여부^실패회수^최종수정일시" colsep="^" colwidth="28, 13, 11, 137, 84, 94, 119, 100, 100, 100, 113, 107, 105" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:145px; width:1195px; height:465px; ">
  150. <col checkvalue="Y,N" ref="flag" type="checkbox"/>
  151. <col ref="dbinstcd" visibility="hidden"/>
  152. <col ref="dbid" visibility="hidden"/>
  153. <col ref="dbname" style="text-align:center; "/>
  154. <col ref="userid" style="text-align:center; "/>
  155. <col ref="usernm" style="text-align:center; "/>
  156. <col ref="pdano" style="text-align:center; "/>
  157. <col ref="mpphonno" style="text-align:center; "/>
  158. <col ref="jobkindnm" style="text-align:center; "/>
  159. <col ref="jobposnm" style="text-align:center; "/>
  160. <col ref="lockyn" type="combo" style="text-align:center; ">
  161. <choices>
  162. <item>
  163. <label>잠금</label>
  164. <value>Y</value>
  165. </item>
  166. <item>
  167. <label/>
  168. <value>N</value>
  169. </item>
  170. </choices>
  171. </col>
  172. <col ref="incorrectpwdcnt" style="text-align:center; "/>
  173. <col ref="lastpwdchgdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  174. </datagrid>
  175. <button id="button1" class="btn4_letter7" style="left:970px; top:5px; width:116px; height:22px; ">
  176. <caption>비번잠금해제</caption>
  177. <script type="javascript" ev:event="DOMActivate">
  178. <![CDATA[
  179. model.setValue("/root/main/result/newpwd", "");
  180. opt_newpwd.refresh();
  181. if(!fCheckSelectedItem())
  182. return;
  183. model.setValue("/root/send/releaselock/releaselockdata",getNodeListCSV(instance1.selectNodes("/root/main/accountinfo/accountlist[flag='Y']")) );
  184. setAlertOn();
  185. submit("TXZSE00201",false);
  186. fSearch();
  187. model.refresh();
  188. ]]>
  189. </script>
  190. </button>
  191. <button id="button2" class="btn4_letter6" style="left:1090px; top:5px; width:80px; height:22px; ">
  192. <caption>비번초기화</caption>
  193. <script type="javascript" ev:event="DOMActivate">
  194. <![CDATA[
  195. model.setValue("/root/main/result/newpwd", "");
  196. opt_newpwd.refresh();
  197. if(!fCheckSelectedItem())
  198. return;
  199. model.setValue("/root/send/initializepwd/initializepwddata",getNodeListCSV(instance1.selectNodes("/root/main/accountinfo/accountlist[flag='Y']")) );
  200. setAlertOn();
  201. submit("TXZSE00202");
  202. fSearch();
  203. model.refresh();
  204. ]]>
  205. </script>
  206. </button>
  207. <caption id="caption1" style="left:70px; top:617px; width:962px; height:154px; color:#0000FF; ">
  208. <![CDATA[* < 비밀번호 초기화 >
  209. 1) 숫자 5자리로 구성된 사번
  210. - "@@knuh+사번(앞에서 4자리만)" 으로 초기화
  211. 예) 사번이 '01234' -> '@@knuh0123'
  212. 2) 그 이외의 사번
  213. - "사번"으로만 초기화 (대문자는 모두 소문자로 저장되고 초기화 후 재로그인 시에 비밀번호 변경 하라는 팝업이 뜨게 됨).
  214. 예1) 사번이 'COM' -> 'com'
  215. 예2) 사번이 'AB01' -> 'ab01'
  216. 예3) 사번이 'ABC001' -> 'abc001']]>
  217. </caption>
  218. </xhtml:body>
  219. </xhtml:html>