123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178 |
- <?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>
- <dept>
- <deptcd/>
- <depthngnm/>
- </dept>
- <userinfo>
- <emplnm/>
- </userinfo>
- </main>
- <target/>
- <init>
- </init>
- <send>
- <dept>
- <deptcd/>
- <emplnm/>
- <instcd/>
- </dept>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- model.removenode("/root/main/user/userlist");
-
- model.setValue("/root/send/dept/instcd" , model.property("instcd"));
- model.setValue("/root/main/dept/deptcd", model.property("dutplcecd"));
- model.setValue("/root/main/dept/depthngnm", model.property("dutplcenm"));
-
- model.refresh();
- // misfMsterDetailRetrieve();
-
- ]]>
- </script>
- <submission id="TRMNG01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dept" 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; ">
- <col class="text_center" ref="emplno"/>
- <col class="text_center" ref="emplnm"/>
- <col ref="jobrespnm" style="left:210px; top:23px; width:120px; height:23px; "/>
- <col class="text_center" ref="dutplceinstcd"/>
- <col ref="dutplceinstnm"/>
- <col class="text_center" ref="dutplcecd"/>
- <col ref="dutplcenm"/>
- <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/main/dept/deptcd" class="input_s_essential" navindex="2" visibility="visible" style="left:100px; top:8px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
-
- if(event.keyCode == 13)
- {
- ipt_deptcd.value = ipt_deptcd.currentText;
-
- 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_depthngnm" ref="/root/main/dept/depthngnm" class="input_s_essential" navindex="3" visibility="visible" imemode="hangul" style="left:210px; top:8px; width:121px; height:19px; ">
- <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" class="icon_search" navindex="9" visibility="visible" style="left:190px; top:10px; width:16px; height:16px; ">
- <caption/>
- </button>
- <button id="btn_search" class="btn1_letter2" navindex="5" style="left:679px; top:7px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/send/dept/deptcd", model.getValue("/root/main/dept/deptcd"));
- model.makeValue("/root/send/dept/emplnm", model.getValue("root/main/userinfo/emplnm"));
- model.makeValue("/root/send/dept/instcd", model.property("instcd"));
-
- submit("TRMNG01002");
- ]]>
- </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/main/userinfo/emplnm" class="input_s_essential" navindex="4" 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[
-
- model.property("userid") = grd_userlist.valueMatrix(grd_userlist.row, grd_userlist.colRef("emplno"));
- model.property("usernm") = grd_userlist.valueMatrix(grd_userlist.row, grd_userlist.colRef("emplnm"));
-
- window.close();
- ]]>
- </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>
|