SMRWD07000_교직원현황조회.xrw 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  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>SMRWD07000_교직원현황조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <emplist>
  12. <emplno/>
  13. <name/>
  14. <dutplceinstnm/>
  15. <dutunitnm/>
  16. <dutplcedeptnm/>
  17. <jobposnm/>
  18. <prfshipflag/>
  19. <hosinseqno/>
  20. <entcodd/>
  21. <retiredd/>
  22. </emplist>
  23. </list>
  24. </main>
  25. <send>
  26. <empl>
  27. <instcd/>
  28. <deptcd/>
  29. <deptnm/>
  30. <name/>
  31. <instflag/>
  32. </empl>
  33. </send>
  34. <temp>
  35. </temp>
  36. <init>
  37. </init>
  38. </root>
  39. </instance>
  40. <script type="javascript" ev:event="xforms-ready">
  41. <![CDATA[
  42. misfGridInit(grd_emplist);
  43. misfMsterDetailSet(grd_emplist,null, "TRRWD07001" ,"Y");
  44. misfComboComCdList("Z0007",cmb_instcd,"Y");
  45. // misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","Y");
  46. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  47. model.refresh();
  48. ]]>
  49. </script>
  50. <submission id="TRRWD07001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/empl" resultref="/root/main/list/emplist"/>
  51. </model>
  52. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  53. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  54. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  55. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  56. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  57. </xhtml:head>
  58. <xhtml:body>
  59. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  60. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">교직원현황조회</caption>
  61. </group>
  62. <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744px; ">
  63. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:5px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  64. <button id="btn_search" class="btn1_letter2" style="left:1117px; top:11px; width:56px; height:22px; ">
  65. <caption>조회</caption>
  66. <script type="javascript" ev:event="DOMActivate">
  67. <![CDATA[
  68. misfGridInit(grd_emplist);
  69. if(cmb_instcd.value == '001' || cmb_instcd.value == '012' || cmb_instcd.value == '103' ) {
  70. model.setValue("/root/send/empl/instflag","001");
  71. }
  72. else{
  73. model.setValue("/root/send/empl/instflag",cmb_instcd.value);
  74. }
  75. if (model.getValue(ipt_emplname.attribute("ref")).length >= 2 ) {
  76. ;
  77. }
  78. else if( model.getValue(ipt_emplname.attribute("ref")).length == 0 ) {
  79. ;
  80. }
  81. else {
  82. messageBox("이름은 두글자 이상 입력하세요.","I999");
  83. return;
  84. }
  85. submit("TRRWD07001");
  86. for(var i = grd_emplist.fixedRows; i <grd_emplist.rows -grd_emplist.fixedRows; i++) {
  87. if( grd_emplist.valueMatrix(i,grd_emplist.colRef("retiredd")) !='') {
  88. grd_emplist.rowStyle(i,"data", "background-color") = "#ffff99";
  89. }
  90. }
  91. model.refresh();
  92. ]]>
  93. </script>
  94. </button>
  95. <line id="line13" class="line_4" style="x1:1099px; y1:11px; x2:1099px; y2:33px; "/>
  96. <line id="line1" class="line_1" style="x1:0px; y1:60px; x2:1194px; y2:60px; "/>
  97. <select1 id="cmb_instcd" ref="/root/send/empl/instcd" class="combo_s_essential" appearance="minimal" style="left:128px; top:13px; width:177px; height:19px; ">
  98. <choices>
  99. <itemset>
  100. <label/>
  101. <value/>
  102. </itemset>
  103. </choices>
  104. </select1>
  105. <datagrid id="grd_emplist" nodeset="/root/main/list/emplist" caption="사번^성명^근무기관^근무부서^현근무지^직위^내선번호^퇴사일자" colsep="^" colwidth="124, 106, 200, 200, 200, 120, 120, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:65px; width:1194px; height:635px; ">
  106. <col ref="emplno" style="text-align:center; "/>
  107. <col ref="name" style="text-align:center; "/>
  108. <col ref="dutplceinstnm" style="text-align:center; "/>
  109. <col ref="dutunitnm" style="text-align:center; "/>
  110. <col ref="dutplcedeptnm" style="text-align:center; "/>
  111. <col ref="jobposnm" style="text-align:center; "/>
  112. <col ref="hosinseqno" style="text-align:center; "/>
  113. <col ref="retiredd" format="yyyy-mm-dd" style="text-align:center; "/>
  114. </datagrid>
  115. <button id="btn_emplno" class="icon_search" style="left:552px; top:13px; width:16px; height:16px; ">
  116. <caption/>
  117. <script type="javascript" ev:event="DOMActivate">
  118. <![CDATA[
  119. var recv_list = "deptcd,deptnm";
  120. rpbfOpenDeptCdHelp(ipt_deptcd,recv_list);
  121. model.refresh();
  122. ]]>
  123. </script>
  124. </button>
  125. <caption id="caption7" class="search_name" style="left:365px; top:13px; width:100px; height:17px; ">부 서 :</caption>
  126. <input id="ipt_deptcd" ref="/root/send/empl/deptcd" class="input_default" style="left:465px; top:13px; width:85px; height:19px; ">
  127. <script type="javascript" ev:event="xforms-value-changed">
  128. <![CDATA[
  129. if (model.getValue("/root/send/empl/deptcd") == ""){
  130. model.setValue("/root/send/empl/deptnm", "");
  131. }
  132. model.refresh();
  133. if (model.getValue(ipt_deptcd.attribute("ref")).length > 0) {
  134. btn_search.dispatch("DOMActivate");
  135. }
  136. ]]>
  137. </script>
  138. </input>
  139. <input id="ipt_deptnm" ref="/root/send/empl/deptnm" class="input_default" style="left:572px; top:13px; width:165px; height:19px; ">
  140. <script type="javascript" ev:event="xforms-value-changed">
  141. <![CDATA[
  142. if (model.getValue("/root/send/empl/deptnm") == ""){
  143. model.setValue("/root/send/empl/deptcd", "");
  144. }
  145. model.refresh();
  146. if (model.getValue(ipt_deptnm.attribute("ref")).length > 0) {
  147. btn_search.dispatch("DOMActivate");
  148. }
  149. ]]>
  150. </script>
  151. </input>
  152. <caption id="caption3" class="search_name" style="left:28px; top:13px; width:100px; height:17px; ">기 관 :</caption>
  153. <caption id="cap_emplname" class="search_name" style="left:795px; top:13px; width:100px; height:17px; ">이 름 :</caption>
  154. <input id="ipt_emplname" ref="/root/send/empl/name" class="input_default" imemode="hangul" style="left:897px; top:13px; width:100px; height:19px; "/>
  155. </group>
  156. <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  157. <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  158. </group>
  159. <caption id="caption278" class="tit_2" style="left:5px; top:85px; width:157px; height:14px; ">교직원 현황 List</caption>
  160. </xhtml:body>
  161. </xhtml:html>