123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243 |
- <?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>
- <user>
- <userlist/>
- </user>
- </main>
- <target/>
- <init>
- </init>
- <send>
- <dept>
- <deptcd/>
- <emplnm/>
- <instcd/>
- <deptnm/>
- </dept>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // main 에서 넘어오는 부서 코드가 deptcd 명칭이 아닐 경우 ex) reqdeptcd, windeptcd.. 등 일 경우.. 해당 값으로 deptcd node를 생성하여 데이터를 셋팅한다.
- fCheckDeptNode();
- model.removenode("/root/main/user/userlist");
- misfMsterDetailSet(grd_userlist, null, "TRRSD00321", "N");
-
-
- // model.copyNode("/root/main/user", "/root/target/validation");
-
- model.refresh();
-
- misfMsterDetailRetrieve();
-
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
-
- function fOpenPopupDeptHelp(pControl, pInstance)
- {
- misfOpenPopUpList("02", pControl, "", pInstance);
- model.refresh();
- }
-
- function fCheckDeptNode() {
- // 우선은 넘겨주는 변수 명칭 추가시 조건 문으로 분개 처리 한다... -> 명칭을 비교하여 자동으로 넣어주게 변경해야 겠다.
- if ( instance1.selectSingleNode(PURTARGET_NODE + "/deptcd") != null )
- model.setValue( "/root/send/dept/deptcd", model.getValue(PURTARGET_NODE + "/deptcd") );
- if ( instance1.selectSingleNode(PURTARGET_NODE + "/deptnm") != null )
- model.setValue( "/root/send/dept/deptnm", model.getValue(PURTARGET_NODE + "/deptnm") );
- if ( instance1.selectSingleNode(PURTARGET_NODE + "/reqdeptcd") != null )
- model.setValue( "/root/send/dept/deptcd", model.getValue(PURTARGET_NODE + "/reqdeptcd") );
- if ( instance1.selectSingleNode(PURTARGET_NODE + "/reqdeptnm") != null )
- model.setValue( "/root/send/dept/deptnm", model.getValue(PURTARGET_NODE + "/reqdeptnm") );
- if ( instance1.selectSingleNode(PURTARGET_NODE + "/ipt_deptcd") != null )
- model.setValue( "/root/send/dept/deptcd", model.getValue(PURTARGET_NODE + "/ipt_deptcd") );
- if ( instance1.selectSingleNode(PURTARGET_NODE + "/ipt_deptnm") != null )
- model.setValue( "/root/send/dept/deptnm", model.getValue(PURTARGET_NODE + "/ipt_deptnm") );
- if ( instance1.selectSingleNode(PURTARGET_NODE + "/instcd") != null )
- model.setValue("/root/send/dept/instcd" , model.getValue(PURTARGET_NODE + "/instcd"));
- if ( instance1.selectSingleNode(PURTARGET_NODE + "/cmb_instcd") != null )
- model.setValue( "/root/send/dept/instcd", model.getValue(PURTARGET_NODE + "/cmb_instcd") );
- }
- ]]>
- </script>
- <submission id="TRRSD00321" ref="/root/send/dept" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/user"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="780" pageheight="560" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:8px; top:0px; width:750px; height:521px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:49px; width:183px; height:13px; ">사용자 리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:63px; x2:750; y2:63px; "/>
- <!--
- <datagrid id="grd_userlist" nodeset="/root/main/user/userlist" caption="사원번호^성명^직책^소속기관코드^소속기관명^소속부서코드^소속부서명" colsep="^" colwidth="70, 120, 120, 80, 120, 80, 130" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:68px; width:750px; height:448px; ">
- -->
- <datagrid id="grd_userlist" nodeset="/root/main/user/userlist" caption="사원번호^성명^기관코드^직위^직위^직책^직책^근무기관코드^기관명^근무지부서코드^근무지부서명^부(실)코드^부(실)^과(팀코드)^과(팀)^Unit코드^Unit명" colwidth="70, 83, 81, 50, 60, 50, 70, 80, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" colsep="^" style="left:0px; top:68px; width:750px; height:448px; ">
- <col class="text_center" ref="emplno"/>
- <col class="text_center" ref="emplnm"/>
- <col class="text_center" ref="instcd" visibility="hidden"/>
- <col class="text_center" ref="jobposcd" visibility="hidden"/>
- <col class="text_center" ref="jobposnm"/>
- <col class="text_center" ref="jobrespcd" visibility="hidden"/>
- <col class="text_center" ref="jobrespnm"/>
- <col class="text_center" ref="dutplceinst" visibility="hidden"/>
- <col class="text_center" ref="dutplceinstnm"/>
- <col class="text_center" ref="dutplcedeptcd"/>
- <col class="text_center" ref="dutplcedeptnm"/>
- <col class="text_center" ref="dutdeptcd"/>
- <col class="text_center" ref="dutdeptnm"/>
- <col class="text_center" ref="dutteamcd"/>
- <col class="text_center" ref="dutteamnm"/>
- <col class="text_center" ref="dutunitcd"/>
- <col class="text_center" ref="dutunitnm"/>
- <!--
-
- <col ref="jobrespnm" style="left:210px; top:23px; width:120px; height:23px; "/>
- <col class="text_center" ref="posinstcd"/>
- <col ref="posinstnm"/>
- <col class="text_center" ref="posdeptcd"/>
- <col ref="posdepthngnm"/>
- -->
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( grd_userlist.isCell(event.target) && grd_userlist.row >= grd_userlist.fixedRows )
- {
- btn_confirm.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </datagrid>
- <group id="group4" style="left:0px; top:5px; width:750px; height:35px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0; top:0px; width:750; height:35; "/>
- <input id="ipt_deptcd" ref="/root/send/dept/deptcd" navindex="2" class="input_s_essential" visibility="visible" style="left:100px; top:8px; width:85px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "deptcd,deptnm" );
- model.refresh();
- ]]>
- </script>
- <!--
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
-
- if(event.keyCode == 13)
- {
- ipt_deptcd.value = ipt_deptcd.currentText;
- model.setValue("/root/send/dept/deptcd", ipt_deptcd.value);
- misfValidationCheck("02", "", "deptcd,depthngnm");
- model.refresh();
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/dept/deptcd", ipt_deptcd.value);
- ]]>
- </script>
- -->
- </input>
- <input id="ipt_deptnm" ref="/root/send/dept/deptnm" navindex="3" class="input_s_essential" visibility="visible" style="left:210px; top:8px; width:121px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "deptcd,deptnm" );
- model.refresh();
- ]]>
- </script>
- <!--
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- ipt_depthngnm.value = ipt_depthngnm.currentText;
-
- misfValidationCheck("02", "", "deptcd,depthngnm");
- model.refresh();
- }
- ]]>
- </script>
- -->
- </input>
- <caption id="caption7" class="search_name" visibility="visible" style="left:15; top:9; width:89px; height:17px; ">부서코드 :</caption>
- <button id="btn_depthelp" navindex="9" class="icon_search" visibility="visible" style="left:190px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_deptcd, "", "deptcd,deptnm");
- model.refresh();
-
- ]]>
- </script>
- </button>
- <button id="btn_search" navindex="5" class="btn1_letter2" style="left:679px; top:7px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" visibility="visible" style="left:376px; top:9px; width:86px; height:17px; ">성 명 :</caption>
- <input id="ipt_emplnm" ref="/root/send/dept/emplnm" navindex="4" class="input_s_essential" visibility="visible" style="left:460px; top:8px; width:111px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 13)
- {
- ipt_emplnm.value = ipt_emplnm.currentText;
- model.setValue("/root/send/dept/emplnm", ipt_emplnm.value);
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <line id="line13" class="line_4" style="x1:664px; y1:4px; x2:664px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
- </group>
- </group>
- <group id="group1" scroll="auto" style="left:8px; top:520px; width:750px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:635px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- misfPopUpListReturn(grd_userlist);
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:694px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- window.close();
-
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:750; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|