SPRBC00300_사용자HELP.xrw 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>사용자 조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <user>
  11. <userlist/>
  12. </user>
  13. <dept>
  14. <deptcd/>
  15. <depthngnm/>
  16. </dept>
  17. <userinfo>
  18. <emplnm/>
  19. </userinfo>
  20. </main>
  21. <target/>
  22. <init>
  23. </init>
  24. <send>
  25. <dept>
  26. <deptcd/>
  27. <emplnm/>
  28. <instcd/>
  29. </dept>
  30. </send>
  31. </root>
  32. </instance>
  33. <script type="javascript" ev:event="xforms-ready">
  34. <![CDATA[
  35. model.removenode("/root/main/user/userlist");
  36. misfMsterDetailSet(grd_userlist, null, "TRRBC99301", "N");
  37. model.setValue("/root/send/dept/instcd" , model.getValue(PURTARGET_NODE + "/instcd"));
  38. model.copyNode("/root/main/user", "/root/target/validation");
  39. model.refresh();
  40. fValueDeptcd();
  41. // misfMsterDetailRetrieve();
  42. ]]>
  43. </script>
  44. <script type="javascript">
  45. <![CDATA[
  46. function fValueDeptcd()
  47. {
  48. if(model.getValue(PURTARGET_NODE + "/deptcd") != "")
  49. {
  50. model.setValue("/root/send/dept/deptcd" , model.getValue(PURTARGET_NODE + "/deptcd"));
  51. model.setValue("/root/main/dept/deptcd" , model.getValue(PURTARGET_NODE + "/deptcd"));
  52. model.setValue("/root/main/dept/depthngnm" , model.getValue(PURTARGET_NODE + "/depthngnm"));
  53. btn_search.dispatch("DOMActivate");
  54. }
  55. }
  56. function fOpenPopupDeptHelp(pControl, pInstance)
  57. {
  58. misfOpenPopUpList("02", pControl, "", pInstance);
  59. model.refresh();
  60. }
  61. ]]>
  62. </script>
  63. <submission id="TRRBC99301" ref="/root/send/dept" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/user"/>
  64. </model>
  65. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  66. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  67. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  68. </xhtml:head>
  69. <xhtml:body pagewidth="780" pageheight="560" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  70. <group id="group3" scroll="auto" style="left:8px; top:0px; width:750px; height:521px; ">
  71. <caption id="caption1" class="tit_2" style="left:5px; top:49px; width:183px; height:13px; ">사용자 리스트</caption>
  72. <line id="line1" class="line_1" style="x1:0px; y1:63px; x2:750; y2:63px; "/>
  73. <datagrid id="grd_userlist" nodeset="/root/main/user/userlist" caption="사원번호^성명^직책^근무기관코드^근무기관명^근무부서코드^근무부서명" colwidth="70, 120, 120, 80, 120, 80, 130" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" colsep="^" style="left:0px; top:68px; width:750px; height:448px; ">
  74. <col class="text_center" ref="emplno"/>
  75. <col class="text_center" ref="emplnm"/>
  76. <col ref="jobrespnm" style="left:210px; top:23px; width:120px; height:23px; "/>
  77. <col class="text_center" ref="dutplceinstcd"/>
  78. <col ref="dutplceinstnm"/>
  79. <col class="text_center" ref="dutplcecd"/>
  80. <col ref="dutplcenm"/>
  81. <script type="javascript" ev:event="ondblclick">
  82. <![CDATA[
  83. if( grd_userlist.isCell(event.target) && grd_userlist.row >= grd_userlist.fixedRows )
  84. {
  85. btn_confirm.dispatch("DOMActivate");
  86. }
  87. ]]>
  88. </script>
  89. </datagrid>
  90. <group id="group4" style="left:0px; top:5px; width:750px; height:35px; ">
  91. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0; top:0px; width:750; height:35; "/>
  92. <input id="ipt_deptcd" ref="/root/main/dept/deptcd" navindex="2" class="input_s_essential" visibility="visible" style="left:100px; top:8px; width:85px; height:19px; ">
  93. <script type="javascript" ev:event="onkeypress">
  94. <![CDATA[
  95. if(event.keyCode == 13)
  96. {
  97. ipt_deptcd.value = ipt_deptcd.currentText;
  98. model.setValue("/root/send/dept/deptcd", ipt_deptcd.value);
  99. misfValidationCheck("02", "", "deptcd,depthngnm");
  100. model.refresh();
  101. }
  102. ]]>
  103. </script>
  104. <script type="javascript" ev:event="xforms-value-changed">
  105. <![CDATA[
  106. model.setValue("/root/send/dept/deptcd", ipt_deptcd.value);
  107. ]]>
  108. </script>
  109. </input>
  110. <input id="ipt_depthngnm" ref="/root/main/dept/depthngnm" navindex="3" class="input_s_essential" visibility="visible" style="left:210px; top:8px; width:121px; height:19px; ">
  111. <script type="javascript" ev:event="onkeypress">
  112. <![CDATA[
  113. if(event.keyCode == 13)
  114. {
  115. ipt_depthngnm.value = ipt_depthngnm.currentText;
  116. misfValidationCheck("02", "", "deptcd,depthngnm");
  117. model.refresh();
  118. }
  119. ]]>
  120. </script>
  121. </input>
  122. <caption id="caption7" class="search_name" visibility="visible" style="left:15; top:9; width:89px; height:17px; ">부서코드 :</caption>
  123. <button id="btn_depthelp" navindex="9" class="icon_search" visibility="visible" style="left:190px; top:10px; width:16px; height:16px; ">
  124. <caption/>
  125. <script type="javascript" ev:event="DOMActivate">
  126. <![CDATA[
  127. fOpenPopupDeptHelp(ipt_deptcd, "deptcd,depthngnm");
  128. model.setValue("/root/send/dept/deptcd", ipt_deptcd.value);
  129. ]]>
  130. </script>
  131. </button>
  132. <button id="btn_search" navindex="5" class="btn1_letter2" style="left:679px; top:7px; width:56px; height:22px; text-align:left; ">
  133. <caption>조회</caption>
  134. <script type="javascript" ev:event="DOMActivate">
  135. <![CDATA[
  136. misfMsterDetailRetrieve();
  137. ]]>
  138. </script>
  139. </button>
  140. <caption id="caption2" class="search_name" visibility="visible" style="left:376px; top:9px; width:86px; height:17px; ">성 명 :</caption>
  141. <input id="ipt_emplnm" ref="/root/main/userinfo/emplnm" navindex="4" class="input_s_essential" visibility="visible" style="left:460px; top:8px; width:111px; height:19px; ">
  142. <script type="javascript" ev:event="onkeydown">
  143. <![CDATA[
  144. if(event.keyCode == 13)
  145. {
  146. ipt_emplnm.value = ipt_emplnm.currentText;
  147. model.setValue("/root/send/dept/emplnm", ipt_emplnm.value);
  148. btn_search.dispatch("DOMActivate");
  149. }
  150. ]]>
  151. </script>
  152. </input>
  153. <line id="line13" class="line_4" style="x1:664px; y1:4px; x2:664px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
  154. </group>
  155. </group>
  156. <group id="group1" scroll="auto" style="left:8px; top:520px; width:750px; height:27px; ">
  157. <button id="btn_confirm" class="btn4_letter2" style="left:635px; top:5px; width:56px; height:22px; ">
  158. <caption>확인</caption>
  159. <script type="javascript" ev:event="DOMActivate">
  160. <![CDATA[
  161. misfPopUpListReturn(grd_userlist);
  162. ]]>
  163. </script>
  164. </button>
  165. <button id="btn_cancel" class="btn4_letter2" style="left:694px; top:5px; width:56px; height:22px; ">
  166. <caption>취소</caption>
  167. <script type="javascript" ev:event="DOMActivate">
  168. <![CDATA[
  169. window.close();
  170. ]]>
  171. </script>
  172. </button>
  173. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:750; y2:0px; "/>
  174. </group>
  175. </xhtml:body>
  176. </xhtml:html>