SPRPC90200_인사마스타HELP.xrw 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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>인사마스터HELP</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <empllist>
  11. <emplno/>
  12. <emplnm/>
  13. <rregno/>
  14. <deptcd/>
  15. <deptnm/>
  16. <dutdeptcd/>
  17. <dutdeptnm/>
  18. <teamnm/>
  19. <unitnm/>
  20. <grupjoblnnm/>
  21. <joblnnm/>
  22. <jobkindnm/>
  23. <jobposnm/>
  24. <jobrespnm/>
  25. <dutplceinstnm/>
  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. <instcd/>
  43. </send>
  44. </root>
  45. </instance>
  46. <script type="javascript" ev:event="xforms-ready">
  47. <![CDATA[
  48. model.copyNode("root/main","/root/target/validation");
  49. if(instance1.selectNodes("/root/target/defaultvalue").length > 0)
  50. {
  51. model.setValue("/root/send/dutplcedeptcd", model.getValue("/root/target/defaultvalue/dutplcedeptcd"));
  52. model.setValue("/root/send/instcd",model.getValue("/root/target/defaultvalue/instcd"));
  53. }
  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="1040" pageheight="560" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  65. <group id="group3" scroll="auto" style="left:8px; top:0px; width:1000px; height:522px; ">
  66. <group id="group2" style="left:0px; top:5px; width:1000px; height:35; ">
  67. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1000px; height:35; "/>
  68. <input id="ipt_refcond" ref="/root/send/name" class="input_s_essential" imemode="hangul" style="left:252px; top:8px; 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:929px; top:7px; 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:914px; y1:4px; x2:914px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
  91. <caption id="caption2" class="search_name" style="left:166px; top:9px; 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:15; top:9; 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. </group>
  115. <caption id="caption1" class="tit_2" style="left:5px; top:49px; width:95px; height:13px; ">인사정보</caption>
  116. <line id="line1" class="line_1" style="x1:0px; y1:64px; x2:1000px; y2:64px; "/>
  117. <datagrid id="grd_empllist" nodeset="/root/main/empllist" class="grd_empllist" caption="사원번호^성명^주민번호^소속부서^소속기관^소속부서^근무부서^근무기관^근무부서^팀^유닛^직군^직열^직종^직위^직책^근무기관명" colsep="^" colwidth="85, 88, 120, 80, 135, 139, 80, 131, 155, 90, 84, 79, 81, 100, 85, 79, 100" dataheight="23" defaultrows="0" ellipsis="true" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:69px; width:1000px; height:448px; ">
  118. <col ref="emplno" style="text-align:center; "/>
  119. <col ref="emplnm" style="text-align:center; "/>
  120. <col ref="rregno" visibility="hidden" style="text-align:center; "/>
  121. <col ref="deptcd" visibility="hidden"/>
  122. <col ref="instnm"/>
  123. <col ref="deptnm"/>
  124. <col ref="dutdeptcd" visibility="hidden"/>
  125. <col ref="dutplceinstnm"/>
  126. <col ref="dutdeptnm"/>
  127. <col ref="teamnm" visibility="hidden"/>
  128. <col ref="unitnm" visibility="hidden"/>
  129. <col ref="grupjoblnnm"/>
  130. <col ref="joblnnm"/>
  131. <col ref="jobkindnm"/>
  132. <col ref="jobposnm"/>
  133. <col ref="jobrespnm"/>
  134. <col ref="dutplceinstcd" visibility="hidden"/>
  135. <script type="javascript" ev:event="ondblclick">
  136. <![CDATA[
  137. if( grd_empllist.isCell(event.target) && grd_empllist.row >= grd_empllist.fixedRows )
  138. {
  139. btn_confirm.dispatch("DOMActivate");
  140. }
  141. ]]>
  142. </script>
  143. </datagrid>
  144. </group>
  145. <group id="group1" scroll="auto" style="left:8px; top:521px; width:1000px; height:27px; ">
  146. <button id="btn_confirm" class="btn4_letter2" style="left:886px; top:5px; width:56px; height:22px; ">
  147. <caption>확인</caption>
  148. <script type="javascript" ev:event="DOMActivate">
  149. <![CDATA[
  150. misfPopUpListReturn(grd_empllist);
  151. ]]>
  152. </script>
  153. </button>
  154. <button id="btn_cancel" class="btn4_letter2" style="left:944px; top:5px; width:56px; height:22px; ">
  155. <caption>취소</caption>
  156. <script type="javascript" ev:event="DOMActivate">
  157. <![CDATA[
  158. misfPopUpListCancel();
  159. ]]>
  160. </script>
  161. </button>
  162. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1000; y2:0px; "/>
  163. </group>
  164. </xhtml:body>
  165. </xhtml:html>