123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>
- <list>
- </list>
- <search>
- <searchcondition/>
- <searchterm/>
- <dutplceinstcd/>
- <prfshipflagcd/>
- </search>
- </main>
- <send>
- <searchcondition/>
- <searchterm/>
- <dutplceinstcd/>
- <prfshipflagcd/>
- <userid/>
- </send>
- <hidden>
- <resultref/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var search_condition = opener.window.javascript.getParameter("search_condition");
- var search_term = opener.window.javascript.getParameter("search_term");
- var result_ref = opener.window.javascript.getParameter("result_ref");
- var prfshipflagcd = opener.window.javascript.getParameter("prfshipflagcd");
- var dutplceinstcd = getUserInfo("dutplceinstcd");
-
- model.setValue("/root/main/search/searchcondition", search_condition);
- model.setValue("/root/main/search/searchterm", search_term);
- model.setValue("/root/send/dutplceinstcd", dutplceinstcd);
- model.setValue("/root/send/prfshipflagcd", prfshipflagcd);
- model.setValue("/root/hidden/resultref", result_ref);
-
- if(search_condition!="" && search_term!=""){
- model.setValue("/root/send/searchcondition", search_condition);
- model.setValue("/root/send/searchterm", search_term);
- submit("TRZSU10114");
- }
-
- model.refresh();
-
- ]]>
- </script>
- <submission id="TRZSU10115" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
- <submission id="TRZSU10207" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/deptlist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="605" pageheight="530" style="border-color:#c7a3cf; ">
- <group id="group5" scroll="auto" style="left:0px; top:35px; width:605px; height:495px; border-color:#c7a3cf; border-style:solid; ">
- <group id="group2" style="left:0px; top:10px; width:603px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:603px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="search_name" style="left:15px; top:9px; width:117px; height:17px; ">검색조건</caption>
- <line id="line1" style="x1:525px; y1:7px; x2:525px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter2" style="left:534px; top:7px; width:55px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var search_condition = model.getValue("/root/main/search/searchcondition");
- var search_term = model.getValue("/root/main/search/searchterm");
- model.setValue("/root/send/searchcondition", search_condition);
- model.setValue("/root/send/searchterm", search_term);
-
- if(search_condition!="" && search_term!=""){
- model.removeNodeset("/root/main/deptlist");
- model.setValue("/root/send/searchcondition", search_condition);
- model.setValue("/root/send/searchterm", search_term);
- submit("TRZSU10115");
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_search_item" ref="/root/main/search/searchterm" class="input_s_essential" style="left:222px; top:8px; width:150px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey( "btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="combo1" ref="/root/main/search/searchcondition" appearance="minimal" style="left:101px; top:8px; width:119px; height:19px; ">
- <choices>
- <item>
- <label>사용자ID</label>
- <value>userid</value>
- </item>
- <item>
- <label>사용자명</label>
- <value>usernm</value>
- </item>
- <item>
- <label>주민번호</label>
- <value>rrgstno</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/search/searchterm", "");
- model.refresh();
- ]]>
- </script>
- </select1>
- </group>
- <caption id="caption9" class="tit_2" style="left:0px; top:57px; width:214px; height:14px; vertical-align:middle; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">사용자 목록</caption>
- <line id="line12" class="line_1" style="x1:0px; y1:72px; x2:603px; y2:73px; "/>
- <datagrid id="grd_userlist" nodeset="/root/main/list/userlist" scroll="auto" caption="사용자ID^사용자명^최종근무지명^적용시작일자^적용종료일자^직종명^직위명^직책명^발령구분명" colsep="^" colwidth="80, 70, 110, 80, 80, 60, 60, 60, 100" dataheight="23" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:74px; width:599px; height:180px; ">
- <col ref="userid"/>
- <col ref="usernm"/>
- <col ref="dutplcenm"/>
- <col ref="fromdd" format="yyyy-mm-dd"/>
- <col ref="todd" format="yyyy-mm-dd"/>
- <col ref="jobkindnm"/>
- <col ref="jobposnm"/>
- <col ref="jobrespnm"/>
- <col ref="apntflagnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var userid = "";
- var row = grd_userlist.row;
-
- if(row > 0){
- userid = grd_userlist.valueMatrix(row, grd_userlist.colRef("userid"));
- model.setValue("/root/send/userid", userid);
- submit("TRZSU10207");
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_confirm" class="btn4_letter2" style="left:535px; top:465px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn4_letter2" style="left:479px; top:465px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_deptlist.dispatch("ondblclick");
- ]]>
- </script>
- </button>
- <line id="line2" class="line_1" style="x1:0px; y1:277px; x2:603px; y2:278px; "/>
- <caption id="caption2" class="tit_2" style="left:0px; top:262px; width:214px; height:14px; vertical-align:middle; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">사용자 근무지 이력</caption>
- <datagrid id="grd_deptlist" nodeset="/root/main/deptlist/dept" scroll="auto" caption="사용자ID^사용자명^근무지기관코드^근무지기관명^근무지코드^근무지명^적용시작일자^적용종료일자^직종코드^직종명^직위코드^직위명^직책코드^직책명^발령구분코드^발령구분명" colsep="^" colwidth="78, 70, 100, 100, 100, 100, 80, 80, 60, 60, 61, 60, 60, 60, 80, 80" dataheight="23" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:279px; width:599px; height:180px; ">
- <col ref="userid"/>
- <col ref="usernm"/>
- <col ref="dutplceinstcd" visibility="hidden"/>
- <col ref="dutplceinstnm" visibility="hidden"/>
- <col ref="dutplcecd" visibility="hidden"/>
- <col ref="dutplcenm"/>
- <col ref="fromdd" format="yyyy-mm-dd"/>
- <col ref="todd" format="yyyy-mm-dd"/>
- <col ref="jobkindcd" visibility="hidden"/>
- <col ref="jobkindnm"/>
- <col ref="jobposcd" visibility="hidden"/>
- <col ref="jobposnm"/>
- <col ref="jobrespcd" visibility="hidden"/>
- <col ref="jobrespnm"/>
- <col ref="apntflag" visibility="hidden"/>
- <col ref="apntflagnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var row = grd_deptlist.row;
-
- if(row > 0){
- var userid = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("userid"));
- var usernm = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("usernm"));
- var dutplceinstcd = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("dutplceinstcd"));
- var dutplceinstnm = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("dutplceinstnm"));
- var dutplcecd = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("dutplcecd"));
- var dutplcenm = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("dutplcenm"));
- var fromdd = grd_deptlist.valueMatrix(row, grd_deptlist.colRef("fromdd"));
- var resultref = model.getValue("/root/hidden/resultref");
- var result_string = userid +"|"+ usernm + "|" + dutplceinstcd +"|" + dutplceinstnm + "|" + dutplcecd + "|" + dutplcenm + "|" + fromdd;
- opener.model.setValue(resultref, result_string);
- window.close();
- }
- ]]>
- </script>
- </datagrid>
- </group>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:603px; height:14px; ">전공의 근무지 이력정보</caption>
- </xhtml:body>
- </xhtml:html>
|