123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" 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">
- <xhtml:head>
- <xhtml:title>비밀번호 확인</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <valid/>
- </main>
- <send>
- <usernm/>
- <pwd/>
- <userid/>
- <deptnm/>
- <deptcd/>
- </send>
- <init>
- <titlemsg/>
- <type/>
- <helpmsg/>
- <userid/>
- <userinfo>
- <userinfolist>
- <userid/>
- <usernm/>
- <jobkindcd/>
- </userinfolist>
- </userinfo>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- //-----------------------
- // 병리과 사용자목록 조회
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- submit("TRLPZ00105");
- //alert("test");
- //--------------------------------------------------
- //model.makeValue("/root/send/usernm", getUserName());
- model.makeValue("/root/send/usernm", getUserId());
- model.makeValue("/root/send/userid", getUserId());
- model.makeValue("/root/send/deptcd", getUserInfo("dutplcecd"));
- model.makeValue("/root/send/deptnm", getUserInfo("dutplcenm"));
- model.makeValue("/root/send/pwd", "");
-
- //------------------
- if (checkOpener()) {
-
- //------------------------------------------
- // 업무화면 필요시 사용자 로그인 암호 초기화
- if(checkOpener()){
- opener.javascript.setParameter("pwdvalid", "N");
- }
-
- var type = opener.javascript.getParameter("type");
- var titlemsg = opener.javascript.getParameter("titlemsg");
- var helpmsg = opener.javascript.getParameter("helpmsg");
-
- if(type == "session"){
- titlemsg = "세션이 종료되었습니다.";
- //cap_helpmsg.visible = false;
- }else{
- //cap_helpmsg.visible = true;
- //cap_helpmsg.attribute("top") = "103px";
- //body.attribute("pageheight") = "215";
- //grp_biz.attribute("height") = "188px";
- //grp_btn.attribute("top") = "188px";
- //window.setSize(450, 270);
- }
-
- model.setValue("/root/init/titlemsg", titlemsg, true);
- model.setValue("/root/init/helpmsg", helpmsg, true);
- model.setValue("/root/init/type", type);
- model.refresh();
- }
- ]]>
- </script>
- <submission id="TRZUM00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
- <submission id="TRLPZ00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/userinfo/userinfolist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="274" pageheight="130" style="text-align:right; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:256; height:103px; ">
- <output id="opt_titlemsg" ref="/root/init/titlemsg" class="tit_2" appearance="output" style="left:0px; top:10px; width:250px; height:13px; text-align:left; ">세션이 종료되었습니다.</output>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:255; y2:25px; "/>
- <caption id="cap_oldpwd" class="cell_1" style="left:0px; top:30px; width:91px; height:23px; ">사용자</caption>
- <caption id="cap_pwd" class="cell_1" style="left:0px; top:54px; width:91px; height:23px; ">근무지 부서</caption>
- <caption id="cap_cnfmpwd" class="cell_1" style="left:0px; top:79px; width:91px; height:23px; ">비밀번호 입력</caption>
- <output id="sct_pwd" ref="/root/send/deptnm" class="output" maxlength="20" style="left:94px; top:55px; width:160px; height:19px; "/>
- <secret id="sct_cnfmpwd" ref="/root/send/pwd" class="secret_essential" navindex="1" maxlength="20" style="left:94px; top:80px; width:160px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13 ) {
- model.setFocus("btn_confirm");
- btn_confirm.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </secret>
- <line id="line3" class="line_2" style="x1:0px; y1:52px; x2:254px; y2:52px; "/>
- <line id="line2" class="line_2" style="x1:0px; y1:77px; x2:254px; y2:77px; "/>
- <line id="line6" class="line_3" style="x1:0px; y1:102px; x2:255; y2:102px; "/>
- <select1 id="cmb_userlist" ref="/root/send/usernm" appearance="minimal" itemcount="20" style="left:94px; top:31px; width:96px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userinfo/userinfolist">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.makeValue("/root/send/userid", model.getValue("/root/send/usernm"));
- ]]>
- </script>
- </select1>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:103px; width:256; height:27px; ">
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:254; y2:0px; "/>
- <button id="btn_confirm" class="btn4_letter2" navindex="2" style="left:197px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // var Stir = "산";
- //
- //
- // var dsfgdg= escape(Stir);
- //
- //
- //
- // alert(dsfgdg);
- //
- //
- // u = Stir.charCodeAt(0);
- //
- // alert(u.toString(16));
- //
- //
- //
- //
- //
- //
- // //var convert_msg = Stir.getByte();
- // var convert_msg = Stir.getBytes("ISO-8859-1");
- //
- // for(i=0;i<convert_msg.length;i++){
- // var ttt = (convert_msg[i]).toString(16) + "_";
- // alert(ttt);
- //
- // }
-
- model.setValue("/root/main/valid","N");
- setForceOn();
- if (submit("TRZUM00401")) {
- var valid = model.getValue("/root/main/valid");
- //업무화면 필요시 사용자 로그인 암호 확인
- if(checkOpener()){
- opener.javascript.setParameter("pwdvalid", valid);
- }
-
- if (valid != "Y") {
- messageBox("암호가","E004");
- model.setFocus("sct_cnfmpwd");
- } else {
- // 암호 확인 OK
- if(model.getValue("/root/init/type") == "session"){
- // 암호 확인 OK, 최근 submit 시간 업데이트한다.
- setGlobalVariable("last_submit", (new Date()).getTime());
- }
- opener.model.setValue("/root/temp/loginid", model.getValue("/root/send/userid"));
-
-
- opener.model.makeValue("/root/temp/loginnm", model.getValue("/root/init/userinfo/userinfolist[userid='"+model.getValue("/root/send/userid")+"']/usernm"));
-
- //-------------
- window.close();
- }
- }
-
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|