SPRPD00100_근태사용자조회.xrw 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <empllist>
  11. <emplno/>
  12. <emplnm/>
  13. <instnm/>
  14. <instcd/>
  15. <dutplceinstnm/>
  16. <dutplceinstcd/>
  17. <deptcd/>
  18. <deptnm/>
  19. <dutdeptcd/>
  20. <dutdeptnm/>
  21. <dutplcedeptnm/>
  22. <dutplcedeptcd/>
  23. <jobkindnm/>
  24. <jobposnm/>
  25. <jobrespnm/>
  26. </empllist>
  27. </main>
  28. <target/>
  29. <init>
  30. <refcond>
  31. <label>사번</label>
  32. <value>emplno</value>
  33. <label>성명</label>
  34. <value>name</value>
  35. </refcond>
  36. </init>
  37. <send>
  38. <refcond/>
  39. <name/>
  40. <emplno/>
  41. <dutplcedeptcd/>
  42. </send>
  43. </root>
  44. </instance>
  45. <script type="javascript" ev:event="xforms-ready">
  46. <![CDATA[
  47. if(typeof(parent.ipt_popworkgbn) != "undefined"){
  48. if(parent.ipt_popworkgbn.value =="SMRPD01700"){
  49. var dutplcedeptcd=getUserInfo("dutplcecd");
  50. ipt_dutdeptcd.value=dutplcedeptcd;
  51. }
  52. }
  53. model.copyNode("root/main","/root/target/validation");
  54. rdo_refcond.value="name";
  55. model.setFocus("ipt_refcond");
  56. ]]>
  57. </script>
  58. <submission id="TRRPC90201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
  59. </model>
  60. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  61. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  62. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  63. </xhtml:head>
  64. <xhtml:body pagewidth="1030" pageheight="550" guideline="2,343;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  65. <group id="group3" scroll="auto" style="left:0px; top:0px; width:1000px; height:520px; ">
  66. <group id="group2" style="left:0px; top:0px; width:1000px; height:30px; ">
  67. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1000px; height:29px; "/>
  68. <input id="ipt_refcond" ref="/root/send/name" class="input_s_essential" imemode="hangul" style="left:231px; top:6px; width:135px; height:19px; ">
  69. <script type="javascript" ev:event="onkeyup">
  70. <![CDATA[
  71. inputEnterKey("btn_search", "DOMActivate");
  72. ]]>
  73. </script>
  74. </input>
  75. <button id="btn_search" class="btn1_letter2" style="left:938px; top:4px; width:56px; height:22px; ">
  76. <caption>조회</caption>
  77. <script type="javascript" ev:event="DOMActivate">
  78. <![CDATA[
  79. if(rdo_refcond.value == "name") {
  80. model.setValue("/root/send/name",ipt_refcond.label);
  81. }
  82. else {
  83. model.setValue("/root/send/emplno",ipt_refcond.label);
  84. }
  85. submit("TRRPC90201");
  86. model.refresh();
  87. ]]>
  88. </script>
  89. </button>
  90. <line id="line13" class="line_4" style="x1:922px; y1:0px; x2:922px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  91. <caption id="caption2" class="search_name" style="left:147px; top:6px; width:86px; height:17px; ">조회조건:</caption>
  92. <select1 id="rdo_refcond" ref="/root/send/refcond" class="radio_search" appearance="full" cols="2" overflow="visible" style="left:10px; top:4px; width:125px; height:20px; border-style:solid; ">
  93. <choices>
  94. <itemset nodeset="/root/init/refcond">
  95. <label ref="label"/>
  96. <value ref="value"/>
  97. </itemset>
  98. </choices>
  99. <script type="javascript" ev:event="xforms-select">
  100. <![CDATA[
  101. if(rdo_refcond.value == "name") {
  102. ipt_refcond.attribute("imemode") = "hangul";
  103. }
  104. else if (rdo_refcond.value == "emplno") {
  105. ipt_refcond.attribute("imemode") = "disabled";
  106. }
  107. else {
  108. ipt_refcond.attribute("imemode") = "disabled";
  109. }
  110. model.setFocus("ipt_refcond");
  111. ]]>
  112. </script>
  113. </select1>
  114. <input id="ipt_dutdeptcd" ref="/root/send/dutplcedeptcd" class="input_s_essential" visibility="hidden" imemode="hangul" style="left:405px; top:5px; width:135px; height:19px; ">
  115. <script type="javascript" ev:event="onkeyup">
  116. <![CDATA[
  117. inputEnterKey("btn_search", "DOMActivate");
  118. ]]>
  119. </script>
  120. </input>
  121. </group>
  122. <caption id="caption1" class="tit_2" style="left:5px; top:35px; width:121px; height:14px; ">사용자정보</caption>
  123. <line id="line1" class="line_1" style="x1:0px; y1:50px; x2:999px; y2:50px; "/>
  124. <datagrid id="grd_empllist" nodeset="/root/main/empllist" class="grd_empllist" caption="사원번호^성명^소속기관명^소속기관코드^근무기관명^근무기관코드^소속부서^소속부서명^근무부서^근무부서명^근무지부서명^근무지부서코드^직종^직위^직책" colsep="^" colwidth="96, 88, 100, 26, 80, 27, 19, 83, 15, 100, 90, 12, 100, 85, 79" dataheight="23" defaultrows="0" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:50px; width:999px; height:465px; ">
  125. <col ref="emplno"/>
  126. <col ref="emplnm"/>
  127. <col ref="instnm"/>
  128. <col ref="instcd" visibility="hidden"/>
  129. <col ref="dutplceinstnm" visibility="hidden"/>
  130. <col ref="dutplceinstcd" visibility="hidden"/>
  131. <col ref="deptcd" visibility="hidden"/>
  132. <col ref="deptnm"/>
  133. <col ref="dutdeptcd" visibility="hidden"/>
  134. <col ref="dutdeptnm"/>
  135. <col ref="dutplcedeptnm"/>
  136. <col ref="dutplcedeptcd" visibility="hidden"/>
  137. <col ref="jobkindnm"/>
  138. <col ref="jobposnm"/>
  139. <col ref="jobrespnm"/>
  140. <script type="javascript" ev:event="ondblclick">
  141. <![CDATA[
  142. if( grd_empllist.isCell(event.target) && grd_empllist.row >= grd_empllist.fixedRows )
  143. {
  144. btn_confirm.dispatch("DOMActivate");
  145. }
  146. ]]>
  147. </script>
  148. </datagrid>
  149. </group>
  150. <group id="group1" scroll="auto" style="left:0px; top:521px; width:1000px; height:27px; ">
  151. <button id="btn_confirm" class="btn4_letter2" style="left:882px; top:2px; width:56px; height:22px; ">
  152. <caption>확인</caption>
  153. <script type="javascript" ev:event="DOMActivate">
  154. <![CDATA[
  155. misfPopUpListReturn(grd_empllist);
  156. ]]>
  157. </script>
  158. </button>
  159. <button id="btn_cancel" class="btn4_letter2" style="left:941px; top:2px; width:56px; height:22px; ">
  160. <caption>취소</caption>
  161. <script type="javascript" ev:event="DOMActivate">
  162. <![CDATA[
  163. misfPopUpListCancel();
  164. ]]>
  165. </script>
  166. </button>
  167. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:518px; y2:0px; "/>
  168. </group>
  169. </xhtml:body>
  170. </xhtml:html>