123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <send>
- <dutplcecd/>
- <sessionstr/>
- <dutplceinstcd/>
- <userid/>
- <deptnm/>
- <deptcd/>
- </send>
- <init/>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- if(checkOpener()){
-
- //setCSVToNode("/root/init", opener.javascript.getParameter("SPZUM01900_PARM_deptlist"), "deptlist");
- var dutplcecd = getUserInfo( "dutplcecd" );
- var dutplceinstcd = getUserInfo( "dutplceinstcd" );
- model.setValue("/root/send/deptcd", dutplceinstcd+":"+dutplcecd);
- model.setValue("/root/send/userid", getUserId());
-
- submit("TRZUM01901",false);
-
- model.refresh();
- }
-
-
- ]]>
- </script>
- <submission id="TRZUM01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init"/>
- <submission id="TXZUM01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden"/>
- <submission id="TXZUM01902" mediatype="application/x-www-form-urlencoded" method="post"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="245" pageheight="50">
- <select1 id="cmb_dept" ref="/root/send/deptcd" appearance="minimal" style="left:20px; top:25px; width:210px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/deptlist">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(checkOpener()){
- var rtn = messageBox("부서변경 시 모든 열린 창이 닫힙니다.\n", "Q003");
- if(rtn != 6){
- opener.javascript.clearParameter("SPZUM01900_RETN_selected");
-
- window.close();
-
- return;
- }
-
- opener.javascript.setParameter("SPZUM01900_RETN_selected","true");
-
- /*
- var dutplceinstcd = "031";
- var dutplcecd = model.getValue("/root/send/dutplcecd");
- var userid = getUserId();
-
-
- opener.javascript.setParameter("SPZUM01900_RETN_dutplceinstcd","031");
- opener.javascript.setParameter("SPZUM01900_RETN_dutplcecd",dutplcecd);
- opener.javascript.setParameter("SPZUM01900_RETN_userid",userid);
- */
- var deptnm = cmb_dept.label;
-
- model.setValue("/root/send/sessionstr",getGlobalVariable("userinfos"));
- model.setValue("/root/send/dutplceinstcd",model.getValue("/root/init/deptlist[deptnm='"+deptnm+"']/dutplceinstcd"));
- model.setValue("/root/send/dutplcecd",model.getValue("/root/init/deptlist[deptnm='"+deptnm+"']/dutplcecd"));
-
- submit("TXZUM01901",false);
-
- opener.javascript.setParameter("SPZUM01900_RETN_newsessionstr",model.getValue("/root/hidden/retlist/newsessionstr"));
- opener.javascript.setParameter("SPZUM01900_RETN_menugroupstr",model.getValue("/root/hidden/retlist/menugroupstr"));
-
- var submitID = "TXZUM01902";
- var sid = document.all(submitID);
- sid.attribute("action") = getDomain()+"/himed2/chngsess.live?sessstr="+model.getValue("/root/hidden/retlist/newsessionstr");
- model.send(submitID,false,false,true);
-
- model.refresh();
-
- window.close();
-
- }
- ]]>
- </script>
- </select1>
- <caption id="cpt_title" class="tit_1" style="left:0px; top:0px; width:144px; height:15px; ">부서변경</caption>
- <button id="button1" class="btn2_letter2" style="left:105px; top:55px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(checkOpener()){
- opener.javascript.clearParameter("SPZUM01900_RETN_selected");
-
- window.close();
- }
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|