SPZUM20001_비밀번호변경New.xfdl 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPZUM20000" position="absolute 0 0 722 620" titletext="비밀번호변경" class="frm_POP" onload="SPZUM20000_onload" onbeforeclose="SPZUM20000_onbeforeclose" onkeydown="SPZUM20000_onkeydown" onlbuttondown="SPZUM20000_onlbuttondown">
  5. <Layouts>
  6. <Layout>
  7. <Shape position="absolute 25 89 365 134" id="roundrect1" type="roundrectangle"/>
  8. <Static text="새비밀번호확인" position="absolute 68 223 166 243" id="cap_cnfmpwd" class="cell_1"/>
  9. <Edit position="absolute 169 167 299 187" id="sct_oldpwd" class="input_essential" password="true" autoselect="true"/>
  10. <Edit position="absolute 169 195 299 215" id="sct_pwd" class="input_essential" password="true" autoselect="true"/>
  11. <Static text="현재비밀번호" position="absolute 68 167 166 187" id="cap_oldpwd" class="cell_1"/>
  12. <Edit position="absolute 169 223 299 243" id="sct_cnfmpwd" class="input_essential" password="true" autoselect="true"/>
  13. <Static text="새비밀번호" position="absolute 68 195 166 215" id="cap_pwd" class="cell_1"/>
  14. <Shape position="absolute 68 242 299 248" linetype="horizontal" id="line6" class="line_3"/>
  15. <Button position="absolute 120 257 272 277" id="btn_pwd" class="btn4" text="로그인비밀번호변경" onclick="btn_pwd_onclick"/>
  16. <Static text="변경된 비밀번호는 3개월간 유지" position="absolute 18 373 316 393" id="caption8" class="hand"/>
  17. <Static text="최소 10자리 이상 숫자, 영문, 특수문자 반드시 포함 &#13;&#10;(대소문자구분됨)" position="absolute 18 298 361 328" id="caption1" class="hand" style="linespace:5;"/>
  18. <Shape position="absolute 68 214 299 220" linetype="horizontal" id="line1" class="line_3"/>
  19. <Shape position="absolute 68 186 299 192" id="line2" class="line_3"/>
  20. <Static text="인증평가 및 개인정보보호를 위해 로그인 비밀번호를 &#13;&#10;변경해 주시기 바랍니다." position="absolute 40 94 361 129" id="caption2" style="linespace:5;font:Dotum,9,bold;"/>
  21. <Static text="비밀번호 변경" position="absolute 30 144 150 164" id="caption4" class="tit_2"/>
  22. <Static text="&lt;Caps Lock&gt;이 켜져 있습니다." position="absolute 167 35 375 56" id="cap_capslock" visible="false" style="background:beige;border:1 solid #808080ff ;color:#ff0000ff;bordertype:round 3 3 ;align:center middle;font:Dotum,9,bold;"/>
  23. <Static text="사용자계정(ID)은 비밀번호에 포함될 수 없음" position="absolute 18 331 334 351" id="caption5" class="hand"/>
  24. <Static text="문자/숫자 4자리 이상 반복될 수 없음" position="absolute 18 352 329 372" id="caption7" class="hand"/>
  25. <Static text="※ 관련근거: 진료지원실(의무기록)-1042호(본원)" position="absolute 19 395 319 415" align="align:left middle;" id="caption20" style="color:#3366ffff;font:Dotum,9,bold;"/>
  26. <Static position="absolute 8 53 383 81" align="align:center middle;" id="msg" style="color:#ff0000ff;align:center middle;font:Dotum,9,bold;"/>
  27. <Button position="absolute 655 7 703 29" id="btn_close" class="btn3" text="종료" style="imagealign:lefttext middle;" onclick="btn_close_onclick"/>
  28. <Static text="※ 문의: 전산실(T. 6566)" position="absolute 19 535 339 550" id="caption3" style="color:#3366ffff;font:Dotum,9,bold;"/>
  29. <Static text="진료행정과(의무기록)-267호(칠곡)" position="absolute 99 414 329 434" align="align:left middle;" id="caption10" style="color:#3366ffff;font:Dotum,9,bold;"/>
  30. <Static text="※ MIS 비밀번호 수정 시 &#13;&#10; - 5분 뒤 문서암호(DRM) 비번도 같이 변경됨&#13;&#10; - 1시간 뒤 무선AP(KNUH-STAFF) 비번도 같이 변경됨 " position="absolute 19 555 369 608" align="align:left middle;" id="caption11" style="linespace:5;color:#ff00ffff;font:Dotum,9,bold;"/>
  31. <Static id="stt_titleText" text="비밀번호 변경" onclick="stt_titleText_onclick" class="sta_POP_title" transparenthittest="true" position="absolute 12 8 121 28"/>
  32. <Static id="caption00" text="현재, 이전 비밀번호와 동일한 비밀번호 사용 불가" class="hand" position="absolute 18 445 364 465"/>
  33. <Static id="caption09" text="※ 관련근거: 의료정보과-2002호" position="absolute 19 464 361 484" style="color:#3366ffff;font:Dotum,9,bold;"/>
  34. <Static id="caption12" text="보건복지부 고시 제2018-141호(2018.7.12.)&#13;&#10;「요양급여비용 심사청구소프트웨어 검사 등에 관한 기준」" position="absolute 98 479 376 531" style="linespace:2;color:#3366ffff;font:Dotum,9,bold;"/>
  35. <Shape id="Shape00" linetype="vertical" class="line_1" position="absolute 376 56 385 608"/>
  36. <Static id="Static00" text="연락처 수정" class="tit_2" position="absolute 393 92 485 112"/>
  37. <Shape id="Shape01" class="line_10" position="absolute 393 109 702 113"/>
  38. <Grid id="grd_license" taborder="1" binddataset="ds_licenseinfo" autoenter="key" useinputpanel="false" autofittype="col" position="absolute 393 190 702 584">
  39. <Formats>
  40. <Format id="default">
  41. <Columns>
  42. <Column size="24"/>
  43. <Column size="112"/>
  44. <Column size="66"/>
  45. <Column size="90"/>
  46. </Columns>
  47. <Rows>
  48. <Row size="24" band="head"/>
  49. <Row size="24"/>
  50. </Rows>
  51. <Band id="head">
  52. <Cell/>
  53. <Cell col="1" text="근무지"/>
  54. <Cell col="2" text="면허번호"/>
  55. <Cell col="3" text="전문의면허번호"/>
  56. </Band>
  57. <Band id="body">
  58. <Cell celltype="head"/>
  59. <Cell col="1" displaytype="text" text="bind:deptnm"/>
  60. <Cell col="2" edittype="text" style="align:center middle;" text="bind:licnsno"/>
  61. <Cell col="3" edittype="text" style="align:center middle;" text="bind:medispclno"/>
  62. </Band>
  63. </Format>
  64. </Formats>
  65. </Grid>
  66. <Static id="Static02" text="N-ZONE 번호" class="cell_1" position="absolute 393 136 485 158"/>
  67. <Static id="Static01" text="휴대전화번호" class="cell_1" position="absolute 393 113 485 135"/>
  68. <Edit id="edt_mpphono" taborder="2" position="absolute 487 113 590 133" autoselect="true"/>
  69. <Edit id="edt_zone" taborder="3" position="absolute 487 136 590 156" autoselect="true"/>
  70. <Shape id="Shape02" position="absolute 393 133 589 137"/>
  71. <Shape id="Shape03" class="line_1" position="absolute 394 156 590 160"/>
  72. <Static id="Static03" text="근무지별 면허번호 수정" class="tit_2" position="absolute 393 169 557 189"/>
  73. <Shape id="Shape04" class="line_10" position="absolute 393 186 701 190"/>
  74. <Button id="btn_init" taborder="4" text="원래대로" onclick="btn_init_onclick" class="btn2" position="absolute 638 165 701 185"/>
  75. <Static id="Static04" text="※ 면허번호 관련 직종은 꼭 확인하시길 바랍니다." position="absolute 391 587 699 607" style="color:orangered;font:Dotum,9,bold;"/>
  76. <Button id="btn_contactlicensesave" taborder="5" text="연락처 및&#13;&#10;면허번호 저장" onclick="btn_contactlicensesave_onclick" class="btn4" position="absolute 593 113 702 156" style="padding:0 0 0 8;align:left middle;"/>
  77. </Layout>
  78. </Layouts>
  79. <Objects>
  80. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  81. <ColumnInfo>
  82. <Column id="pwd" type="STRING" size="256" sumtext="비밀번호"/>
  83. <Column id="oldpwd" type="STRING" size="256" sumtext="이전비밀번호"/>
  84. <Column id="cnfmpwd" type="STRING" size="256" sumtext="비밀번호확인"/>
  85. <Column id="chkyn" type="STRING" size="256" sumtext="비밀번호 유지,변경 체크"/>
  86. <Column id="keeppwd" type="STRING" size="256" sumtext="이전비밀번호"/>
  87. </ColumnInfo>
  88. <Rows>
  89. <Row/>
  90. </Rows>
  91. </Dataset>
  92. <Dataset id="ds_result" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  93. <ColumnInfo>
  94. <Column id="msg" type="STRING" size="256"/>
  95. </ColumnInfo>
  96. </Dataset>
  97. <Dataset id="ds_contactinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  98. <ColumnInfo>
  99. <Column id="mpphonno" type="STRING" size="256"/>
  100. <Column id="pdano" type="STRING" size="256"/>
  101. </ColumnInfo>
  102. <Rows>
  103. <Row/>
  104. </Rows>
  105. </Dataset>
  106. <Dataset id="ds_licenseinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  107. <ColumnInfo>
  108. <Column id="deptnm" type="STRING" size="256"/>
  109. <Column id="licnsno" type="STRING" size="256"/>
  110. <Column id="medispclno" type="STRING" size="256"/>
  111. </ColumnInfo>
  112. </Dataset>
  113. <Dataset id="ds_save_licenseinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  114. </Objects>
  115. <Bind>
  116. <BindItem id="item1" compid="sct_oldpwd" propid="value" datasetid="ds_send" columnid="oldpwd"/>
  117. <BindItem id="item2" compid="sct_pwd" propid="value" datasetid="ds_send" columnid="pwd"/>
  118. <BindItem id="item3" compid="sct_cnfmpwd" propid="value" datasetid="ds_send" columnid="cnfmpwd"/>
  119. <BindItem id="item4" compid="edt_mpphono" propid="value" datasetid="ds_contactinfo" columnid="mpphonno"/>
  120. <BindItem id="item5" compid="edt_zone" propid="value" datasetid="ds_contactinfo" columnid="pdano"/>
  121. </Bind>
  122. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  123. * System Name :
  124. * Job Name :
  125. * Creator :
  126. * Make Date : 2014-10-11
  127. * Description :
  128. *---------------------------------------------------------------------------------------
  129. * Modify Date Modifier Modify Description
  130. *---------------------------------------------------------------------------------------
  131. * 2014-10-11 Live Converter TF->XP
  132. *
  133. *---------------------------------------------------------------------------------------
  134. ****************************************************************************************/
  135. include "com_commonxp::comm_main.xjs"
  136. var lgv_bExcept = true;
  137. var forceClose = false;
  138. function SPZUM20000_onload(obj:Form, e:LoadEventInfo)
  139. {
  140. if(arg_checkloginpwyn == "Y" && sysf_getUserInfo("ispwvalidyn")=="N"){
  141. msg.text = "※ 기존 비밀번호가 규칙에 맞지 않습니다.";
  142. } else if(arg_adminityn == "Y") {
  143. msg.text = "※ 관리자에 의해 비밀번호가 초기화되어 재설정이 필요합니다.";
  144. }else{
  145. msg.text = "※ 비밀번호가 만료되었습니다.";
  146. }
  147. form.parent.winlevel = "top";
  148. form.parent.activate();
  149. fGetUserPhoneLicenseInfo();
  150. }
  151. function SPZUM20000_onbeforeclose(obj:Form, e:CloseEventInfo)
  152. {
  153. return forceClose;
  154. }
  155. function btn_close_onclick(obj:Button, e:ClickEventInfo)
  156. {
  157. forceClose = true;
  158. this.close("logout");
  159. }
  160. var objExtCommon = new ExtCommon();
  161. function SPZUM20000_onkeydown(obj:Form, e:KeyEventInfo)
  162. {
  163. if(objExtCommon.keyCheck("CAPSLOCK")) {
  164. cap_capslock.position.y = e.fromobject.position.y - cap_capslock.position.height;
  165. cap_capslock.visible = true;
  166. } else {
  167. cap_capslock.visible = false;
  168. }
  169. }
  170. function SPZUM20000_onlbuttondown(obj:Form, e:MouseEventInfo)
  171. {
  172. if(e.fromobject == "sct_pwd"
  173. || e.fromobject == "sct_oldpwd"
  174. || e.fromobject == "sct_cnfmpwd") {
  175. if(objExtCommon.keyCheck("CAPSLOCK")) {
  176. cap_capslock.visible = true;
  177. } else {
  178. cap_capslock.visible = false;
  179. }
  180. } else {
  181. cap_capslock.visible = false;
  182. }
  183. }
  184. function btn_pwd_onclick(obj:Button, e:ClickEventInfo)
  185. {
  186. if(lf_checkPassword()){
  187. if(fCheckUnSavedPhoneLicenseInfo()) {
  188. if(sysf_messageBox("저장하지 않은 연락처 또는 면허번호가 있습니다.\n\n저장하고 진행하시겠습니까?", "Q999") == 6) {
  189. fSetUserPhoneLicenseInfo();
  190. } else {
  191. return;
  192. }
  193. }
  194. ds_send.setColumn(0, "chkyn", "false");
  195. var oParam = {};
  196. oParam.id = "TXZUM01101";
  197. oParam.service = "hismainapp.HisMain";
  198. oParam.method = "reqSetPassword";
  199. oParam.inds = "req=ds_send";
  200. oParam.outds = "ds_result=result";
  201. oParam.async = false;
  202. oParam.callback = "cf_TXZUM01101";
  203. tranf_submit(oParam);
  204. }
  205. }
  206. function cf_TXZUM01101(sSvcId, nErrorCode, sErrorMsg) {
  207. if(nErrorCode < 0) return;
  208. var sMsg = ds_result.getColumn(0, "msg");
  209. if(!utlf_isNull(sMsg)) {
  210. sysf_messageBox(sMsg, "E");
  211. sct_pwd.setFocus();
  212. return;
  213. }
  214. forceClose = true;
  215. this.close();
  216. }
  217. function lf_checkPassword() {
  218. if(frmf_isRequiredControls(["sct_oldpwd", "sct_pwd", "sct_cnfmpwd"])){
  219. if (sct_pwd.value != sct_cnfmpwd.value){
  220. sysf_messageBox("새비밀번호가 ","E004");
  221. sct_pwd.setFocus();
  222. return false;
  223. }
  224. }else{
  225. return false;
  226. }
  227. return sysf_commonCheckPassword(sct_pwd.value);
  228. }
  229. function btn_init_onclick(obj:Button, e:ClickEventInfo)
  230. {
  231. ds_licenseinfo.reset();
  232. }
  233. function btn_contactlicensesave_onclick(obj:Button, e:ClickEventInfo)
  234. {
  235. fSetUserPhoneLicenseInfo();
  236. }
  237. function fGetUserPhoneLicenseInfo() {
  238. grdf_setRowTypeIcon(grd_license, 0);
  239. var oParam = {};
  240. oParam.id = "TRZUM21000";
  241. oParam.service = "hismainapp.HisMain";
  242. oParam.method = "reqGetUserPhoneLicenseInfo";
  243. oParam.outds = "ds_contactinfo=contactinfo ds_licenseinfo=licenseinfo";
  244. oParam.async = true;
  245. tranf_submit(oParam);
  246. }
  247. function fSetUserPhoneLicenseInfo() {
  248. var oDs = grdf_getGridUpdateData(grd_license, "update");
  249. ds_save_licenseinfo.copyData(oDs, true);
  250. var oParam = {};
  251. oParam.id = "TRZUM21000";
  252. oParam.service = "hismainapp.HisMain";
  253. oParam.method = "reqSetUserPhoneLicenseInfo";
  254. oParam.inds = "req=ds_contactinfo license=ds_save_licenseinfo";
  255. oParam.async = false;
  256. oParam.callback = "cf_TRZUM21000";
  257. tranf_submit(oParam);
  258. }
  259. function cf_TRZUM21000(sSvcId, nErrorCode, sErrorMsg) {
  260. if(nErrorCode < 0) return;
  261. ds_contactinfo.applyChange();
  262. ds_licenseinfo.applyChange();
  263. }
  264. function fCheckUnSavedPhoneLicenseInfo() {
  265. return (dsf_datasetUpdateChk(ds_contactinfo) || dsf_datasetUpdateChk(ds_licenseinfo));
  266. }]]></Script>
  267. </Form>
  268. </FDL>