SPRSE01102_사용자HELP.xrw 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  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. model.setValue("/root/send/dept/instcd" , model.property("instcd"));
  37. model.setValue("/root/main/dept/deptcd", model.property("dutplcecd"));
  38. model.setValue("/root/main/dept/depthngnm", model.property("dutplcenm"));
  39. model.refresh();
  40. // misfMsterDetailRetrieve();
  41. ]]>
  42. </script>
  43. <submission id="TRRSE01111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/dept" resultref="/root/main/user"/>
  44. </model>
  45. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  47. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  48. </xhtml:head>
  49. <xhtml:body pagewidth="780" pageheight="560" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  50. <group id="group3" scroll="auto" style="left:8px; top:0px; width:750px; height:521px; ">
  51. <caption id="caption1" class="tit_2" style="left:5px; top:49px; width:183px; height:13px; ">사용자 리스트</caption>
  52. <line id="line1" class="line_1" style="x1:0px; y1:63px; x2:750; y2:63px; "/>
  53. <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; ">
  54. <col class="text_center" ref="emplno"/>
  55. <col class="text_center" ref="emplnm"/>
  56. <col ref="jobrespnm" style="left:210px; top:23px; width:120px; height:23px; "/>
  57. <col class="text_center" ref="dutplceinstcd"/>
  58. <col ref="dutplceinstnm"/>
  59. <col class="text_center" ref="dutplcecd"/>
  60. <col ref="dutplcenm"/>
  61. <script type="javascript" ev:event="ondblclick">
  62. <![CDATA[
  63. if( grd_userlist.isCell(event.target) && grd_userlist.row >= grd_userlist.fixedRows )
  64. {
  65. btn_confirm.dispatch("DOMActivate");
  66. }
  67. ]]>
  68. </script>
  69. </datagrid>
  70. <group id="group4" style="left:0px; top:5px; width:750px; height:35px; ">
  71. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0; top:0px; width:750; height:35; "/>
  72. <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; ">
  73. <script type="javascript" ev:event="onkeypress">
  74. <![CDATA[
  75. if(event.keyCode == 13)
  76. {
  77. ipt_deptcd.value = ipt_deptcd.currentText;
  78. model.setValue("/root/send/dept/deptcd", ipt_deptcd.value);
  79. misfValidationCheck("02", "", "deptcd,depthngnm");
  80. model.refresh();
  81. }
  82. ]]>
  83. </script>
  84. <script type="javascript" ev:event="xforms-value-changed">
  85. <![CDATA[
  86. model.setValue("/root/send/dept/deptcd", ipt_deptcd.value);
  87. ]]>
  88. </script>
  89. </input>
  90. <input id="ipt_depthngnm" ref="/root/main/dept/depthngnm" class="input_s_essential" navindex="3" visibility="visible" style="left:210px; top:8px; width:121px; height:19px; ">
  91. <script type="javascript" ev:event="onkeypress">
  92. <![CDATA[
  93. if(event.keyCode == 13)
  94. {
  95. ipt_depthngnm.value = ipt_depthngnm.currentText;
  96. misfValidationCheck("02", "", "deptcd,depthngnm");
  97. model.refresh();
  98. }
  99. ]]>
  100. </script>
  101. </input>
  102. <caption id="caption7" class="search_name" visibility="visible" style="left:15; top:9; width:89px; height:17px; ">부서코드 :</caption>
  103. <button id="btn_depthelp" class="icon_search" navindex="9" visibility="visible" style="left:190px; top:10px; width:16px; height:16px; ">
  104. <caption/>
  105. <script type="javascript" ev:event="DOMActivate">
  106. <![CDATA[
  107. fOpenPopupDeptHelp(ipt_deptcd, "deptcd,depthngnm");
  108. model.setValue("/root/send/dept/deptcd", ipt_deptcd.value);
  109. ]]>
  110. </script>
  111. </button>
  112. <button id="btn_search" class="btn1_letter2" navindex="5" style="left:679px; top:7px; width:56px; height:22px; text-align:left; ">
  113. <caption>조회</caption>
  114. <script type="javascript" ev:event="DOMActivate">
  115. <![CDATA[
  116. model.makeValue("/root/send/dept/deptcd", model.getValue("/root/main/dept/deptcd"));
  117. model.makeValue("/root/send/dept/emplnm", model.getValue("root/main/userinfo/emplnm"));
  118. model.makeValue("/root/send/dept/instcd", model.property("instcd"));
  119. submit("TRRSE01111");
  120. ]]>
  121. </script>
  122. </button>
  123. <caption id="caption2" class="search_name" visibility="visible" style="left:376px; top:9px; width:86px; height:17px; ">성 명 :</caption>
  124. <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; ">
  125. <script type="javascript" ev:event="onkeydown">
  126. <![CDATA[
  127. if(event.keyCode == 13)
  128. {
  129. ipt_emplnm.value = ipt_emplnm.currentText;
  130. model.setValue("/root/send/dept/emplnm", ipt_emplnm.value);
  131. btn_search.dispatch("DOMActivate");
  132. }
  133. ]]>
  134. </script>
  135. </input>
  136. <line id="line13" class="line_4" style="x1:664px; y1:4px; x2:664px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
  137. </group>
  138. </group>
  139. <group id="group1" scroll="auto" style="left:8px; top:520px; width:750px; height:27px; ">
  140. <button id="btn_confirm" class="btn4_letter2" style="left:635px; top:5px; width:56px; height:22px; ">
  141. <caption>확인</caption>
  142. <script type="javascript" ev:event="DOMActivate">
  143. <![CDATA[
  144. model.property("userid") = grd_userlist.valueMatrix(grd_userlist.row, grd_userlist.colRef("emplno"));
  145. model.property("usernm") = grd_userlist.valueMatrix(grd_userlist.row, grd_userlist.colRef("emplnm"));
  146. window.close();
  147. ]]>
  148. </script>
  149. </button>
  150. <button id="btn_cancel" class="btn4_letter2" style="left:694px; top:5px; width:56px; height:22px; ">
  151. <caption>취소</caption>
  152. <script type="javascript" ev:event="DOMActivate">
  153. <![CDATA[
  154. window.close();
  155. ]]>
  156. </script>
  157. </button>
  158. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:750; y2:0px; "/>
  159. </group>
  160. </xhtml:body>
  161. </xhtml:html>