SPMNG01000_사용자HELP.xrw 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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="TRMNG01002" 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. misfValidationCheck("02", "", "deptcd,depthngnm");
  79. model.refresh();
  80. }
  81. ]]>
  82. </script>
  83. <script type="javascript" ev:event="xforms-value-changed">
  84. <![CDATA[
  85. model.setValue("/root/send/dept/deptcd", ipt_deptcd.value);
  86. ]]>
  87. </script>
  88. </input>
  89. <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; ">
  90. <script type="javascript" ev:event="onkeypress">
  91. <![CDATA[
  92. if(event.keyCode == 13)
  93. {
  94. ipt_depthngnm.value = ipt_depthngnm.currentText;
  95. misfValidationCheck("02", "", "deptcd,depthngnm");
  96. model.refresh();
  97. }
  98. ]]>
  99. </script>
  100. </input>
  101. <caption id="caption7" class="search_name" visibility="visible" style="left:15; top:9; width:89px; height:17px; ">부서코드 :</caption>
  102. <button id="btn_depthelp" class="icon_search" navindex="9" visibility="visible" style="left:190px; top:10px; width:16px; height:16px; ">
  103. <caption/>
  104. </button>
  105. <button id="btn_search" class="btn1_letter2" navindex="5" style="left:679px; top:7px; width:56px; height:22px; text-align:left; ">
  106. <caption>조회</caption>
  107. <script type="javascript" ev:event="DOMActivate">
  108. <![CDATA[
  109. model.makeValue("/root/send/dept/deptcd", model.getValue("/root/main/dept/deptcd"));
  110. model.makeValue("/root/send/dept/emplnm", model.getValue("root/main/userinfo/emplnm"));
  111. model.makeValue("/root/send/dept/instcd", model.property("instcd"));
  112. submit("TRMNG01002");
  113. ]]>
  114. </script>
  115. </button>
  116. <caption id="caption2" class="search_name" visibility="visible" style="left:376px; top:9px; width:86px; height:17px; ">성 명 :</caption>
  117. <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; ">
  118. <script type="javascript" ev:event="onkeydown">
  119. <![CDATA[
  120. if(event.keyCode == 13)
  121. {
  122. ipt_emplnm.value = ipt_emplnm.currentText;
  123. model.setValue("/root/send/dept/emplnm", ipt_emplnm.value);
  124. btn_search.dispatch("DOMActivate");
  125. }
  126. ]]>
  127. </script>
  128. </input>
  129. <line id="line13" class="line_4" style="x1:664px; y1:4px; x2:664px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
  130. </group>
  131. </group>
  132. <group id="group1" scroll="auto" style="left:8px; top:520px; width:750px; height:27px; ">
  133. <button id="btn_confirm" class="btn4_letter2" style="left:635px; top:5px; width:56px; height:22px; ">
  134. <caption>확인</caption>
  135. <script type="javascript" ev:event="DOMActivate">
  136. <![CDATA[
  137. model.property("userid") = grd_userlist.valueMatrix(grd_userlist.row, grd_userlist.colRef("emplno"));
  138. model.property("usernm") = grd_userlist.valueMatrix(grd_userlist.row, grd_userlist.colRef("emplnm"));
  139. window.close();
  140. ]]>
  141. </script>
  142. </button>
  143. <button id="btn_cancel" class="btn4_letter2" style="left:694px; top:5px; width:56px; height:22px; ">
  144. <caption>취소</caption>
  145. <script type="javascript" ev:event="DOMActivate">
  146. <![CDATA[
  147. window.close();
  148. ]]>
  149. </script>
  150. </button>
  151. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:750; y2:0px; "/>
  152. </group>
  153. </xhtml:body>
  154. </xhtml:html>