123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <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:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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">
- <xhtml:head>
- <xhtml:title>비밀번호변경</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <send>
- <pwd/>
- <oldpwd/>
- <cnfmpwd/>
- <chkyn/>
- <keeppwd/>
- </send>
- <temp/>
- <hidden>
- <lastpwdchgdt/>
- </hidden>
- </root>
- </instance>
- <submission id="TXZUM01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- body.attribute("onkeypress") = "fOnKeyPress();";
-
- var viewerObj = getViewer("sysMessage");
- var certloadyn = viewerObj.window.model.getValue("/root/hidden/lastpwdchgdt/checkloginpwyn");
- if(certloadyn == "Y" && getUserInfo("ispwvalidyn")=="N"){
- msg.value = "※ 기존 비밀번호가 규칙에 맞지 않습니다.";
- sct_keeppwd.disabled = true;
- btn_keeppwd.disabled = true;
- }else{
- msg.value = "※ 비밀번호가 만료되었습니다.";
- sct_keeppwd.disabled = false;
- btn_keeppwd.disabled = false;
- }
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/hismainweb/js/ZUM008.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript">
- <![CDATA[
- function fOnKeyPress(){
- var keyCode = 0;
- var shiftKey = false;
-
- keyCode = event.keyCode;
- shiftKey = event.shiftKey;
-
- if(!shiftKey && keyCode >=65 && keyCode <=90)
- cap_capslock.visible = true;
- else
- cap_capslock.visible = false;
-
- }
-
-
-
- // 시스템 비밀번호 변경시 체크
- function fCheckPassword(){
- if(isRequiredControls("sct_oldpwd", "sct_pwd", "sct_cnfmpwd")){
- var pwdKind = model.getValue("/root/send/pwdkind");
- if (sct_pwd.value != sct_cnfmpwd.value){
- messageBox("새비밀번호가 ","E004");
- model.setFocus("sct_pwd");
- return false;
- }
- }else{
- return false;
- }
-
- /*
- var pwdNew = sct_pwd.value;
- if(pwdNew.length<10){
- messageBox("비밀번호는 최소 10자리여야 합니다.","E999");
- return false;
- }
-
- var alpha = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
- var number = "1234567890";
- var special = "-_=+\|()*&^%$#@!~`?><;/,.:";
- var flag1,flag2,flag3;
- for(var i=0; i<pwdNew.length; i++){
- if(alpha.match(pwdNew.charAt(i))){
- flag1=true;
- }
- if(number.match(pwdNew.charAt(i))){
- flag2=true;
- }
- if(special.match(pwdNew.charAt(i))){
- flag3=true;
- }
- }
- if(!(flag1 && flag2 && flag3)){
- messageBox("비밀번호는 영문자, 숫자, 특수문자 조합이어야 합니다.","E999");
- return false;
- }
- */
- /*
- var pwdNew = sct_pwd.value;
- var userid = getUserId();
-
- //영문, 숫자 혼용해서 10~17자 이내
- var reg_pw = /^(?=.*[a-zA-Z])(?=.*[-_=+\|()*&^%$#@!~`?])(?=.*[0-9]).{10,17}$/;
-
-
- if(!reg_pw.test(pwdNew)) {
- messageBox("10~17자 영문, 숫자, 특수문자를 모두 사용하십시오.","E999");
- return false;
- } else if(/(\w)\1\1\1/.test(pwdNew)) {
- messageBox("패스워드에 같은 문자/숫자를 4번 이상 사용하실 수 없습니다.","E999");
- return false;
- } else if(pwdNew.indexOf(userid) > -1){
- messageBox("ID 또는 사번과 동일한 문자는 사용하실 수 없습니다.","E999");
- return false;
- }
- return true;
- */
-
- return fCommonCheckPassword(sct_pwd.value);
- }]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="390" pageheight="560" guideline="1,121;1,263;1,25;1,363;1,49;">
- <caption id="cap_keeppwd" class="cell_1" style="left:75px; top:140px; width:91px; height:23px; ">현재비밀번호</caption>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:25px; top:65px; width:340px; height:45px; "/>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:98px; height:15px; ">비밀번호 변경</caption>
- <caption id="cap_cnfmpwd" class="cell_1" style="left:75px; top:294px; width:91px; height:23px; ">새비밀번호확인</caption>
- <secret id="sct_oldpwd" ref="/root/send/oldpwd" class="secret_essential" maxlength="20" style="left:169px; top:239px; width:130px; height:19px; "/>
- <secret id="sct_pwd" ref="/root/send/pwd" class="secret_essential" maxlength="20" style="left:169px; top:267px; width:130px; height:19px; "/>
- <caption id="cap_oldpwd" class="cell_1" style="left:75px; top:238px; width:91px; height:23px; ">이전비밀번호</caption>
- <secret id="sct_cnfmpwd" ref="/root/send/cnfmpwd" class="secret_essential" maxlength="20" style="left:169px; top:295px; width:130px; height:19px; "/>
- <caption id="cap_pwd" class="cell_1" style="left:75px; top:266px; width:91px; height:23px; ">새비밀번호</caption>
- <line id="line6" class="line_3" style="x1:75px; y1:316px; x2:299px; y2:316px; "/>
- <button id="btn_pwd" class="btn4_letter10" disable.background-image="../../../com/commonweb/images/dis_btn4_letter9.gif" style="left:120px; top:330px; width:152px; height:22px; background-image:../../../com/commonweb/images/btn4_letter9.gif; ">
- <caption>로그인비밀번호변경</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(fCheckPassword()){
- setAlertOn();
- model.setValue("/root/send/chkyn", "false");
-
- // 치과쪽 SSL이 없어서 로직 분리. SSL 생길 시 수정 요망 (behson 160311)
- if(getUserInfo("dutplceinstcd") == "033"){
- if(submit("TXZUM01101")){ // 치과인 경우
- window.close();
- }
- }else{
- if(submitSSL("TXZUM01101")){ // 치과가 아닌경우(본원,칠곡)
- window.close();
- }
- }
- }
- ]]>
- </script>
- </button>
- <caption id="caption8" class="hand" style="left:50px; top:435px; width:290px; height:20px; ">변경된 비밀번호는 3개월간 유지</caption>
- <caption id="caption1" class="hand" style="left:50px; top:366px; width:335px; height:30px; ">
- <![CDATA[최소 10자리 이상 숫자, 영문, 특수문자 반드시 포함
- (대소문자구분됨)]]>
- </caption>
- <line id="line1" class="line_3" style="x1:75px; y1:288px; x2:299px; y2:288px; "/>
- <line id="line2" class="line_3" style="x1:75px; y1:260px; x2:299px; y2:260px; "/>
- <caption id="caption2" style="left:40px; top:70px; width:321px; height:35px; font-weight:bold; ">
- <![CDATA[인증평가 및 개인정보보호를 위해 로그인 비밀번호를
- 변경해 주시기 바랍니다.]]>
- </caption>
- <button id="btn_keeppwd" class="btn4_letter6" disable.background-image="../../../com/commonweb/images/dis_btn4_letter9.gif" style="left:135px; top:175px; width:104px; height:22px; background-image:../../../com/commonweb/images/btn4_letter9.gif; ">
- <caption>비밀번호유지</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("sct_keeppwd")) return;
- if(!fCommonCheckPassword(sct_keeppwd.value,false)){
- messageBox("기존 비밀번호가 규칙에 맞지 않습니다.\n비밀번호를 변경해 주시기 바랍니다.","E999");
- model.setFocus("sct_oldpwd");
- return;
- }
- setAlertOn();
- model.setValue("/root/send/chkyn", "true");
-
- // 치과쪽 SSL이 없어서 로직 분리. SSL 생길 시 수정 요망 (behson 160311)
- if(getUserInfo("dutplceinstcd") == "033"){
- if(submit("TXZUM01101")){ // 치과인 경우
- window.close();
- }
- }else{
- if(submitSSL("TXZUM01101")){ // 치과가 아닌경우(본원,칠곡)
- window.close();
- }
- }
-
- ]]>
- </script>
- </button>
- <caption id="caption4" class="tit_2" style="left:30px; top:215px; width:120px; height:13px; ">비밀번호 변경</caption>
- <line id="line3" class="line_6" style="x1:25px; y1:210px; x2:364px; y2:210px; "/>
- <secret id="sct_keeppwd" ref="/root/send/keeppwd" class="secret_essential" maxlength="20" style="left:169px; top:141px; width:130px; height:19px; "/>
- <line id="line4" class="line_3" style="x1:75px; y1:162px; x2:299px; y2:162px; "/>
- <caption id="cap_capslock" visibility="hidden" style="left:105px; top:5px; width:200px; height:20px; font-weight:bold; color:#ff0000; ">[CapsLock키가 눌려있습니다.]</caption>
- <caption id="caption5" class="hand" style="left:50px; top:395px; width:308px; height:20px; ">사용자계정(ID)은 비밀번호에 포함될 수 없음</caption>
- <caption id="caption7" class="hand" style="left:50px; top:415px; width:303px; height:20px; ">문자/숫자 4자리 이상 반복될 수 없음</caption>
- <caption id="caption20" style="left:35px; top:455px; width:300px; height:20px; font-weight:bold; color:#3366ff; text-align:left; ">※ 관련근거: 진료지원실(의무기록)-1042호(본원)</caption>
- <caption id="caption9" class="tit_2" style="left:30px; top:120px; width:138px; height:13px; ">기존 비밀번호 유지</caption>
- <caption id="msg" style="left:50px; top:30px; width:280px; height:30px; font-weight:bold; color:#ff0000; text-align:center; background-color:transparent; "/>
- <button id="button1" class="btn4_letter2" style="left:308px; top:5px; width:56px; height:22px; ">
- <caption>종료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rtn = messageBox("비밀번호 미변경 시 로그아웃됩니다. ", "Q003");
- if(rtn == 6){
- var status = getViewer("sysMessage");
- status.window.javascript.fLogout("session");
- }
- ]]>
- </script>
- </button>
- <caption id="caption3" style="left:35px; top:492px; width:320px; height:15px; font-weight:bold; color:#3366ff; ">※ 문의: 전산실(T. 6597)</caption>
- <caption id="caption10" style="left:114px; top:473px; width:230px; height:20px; font-weight:bold; color:#3366ff; text-align:left; ">진료행정과(의무기록)-267호(칠곡)</caption>
- <caption id="caption11" autoresize="false" style="left:35px; top:510px; width:350px; height:45px; font-weight:bold; color:#ff00ff; text-align:left; ">
- <![CDATA[※ MIS 비밀번호 수정 시
- - 5분 뒤 문서암호(DRM) 비번도 같이 변경됨
- - 1시간 뒤 무선AP(KNUH-STAFF) 비번도 같이 변경됨 ]]>
- </caption>
- </xhtml:body>
- </xhtml:html>
|