SMRTH00300_교원조회.xrw 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  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>SMRTH00300_교원조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <preshipinfolist/>
  11. </main>
  12. <send>
  13. <emplnm/>
  14. <emplno/>
  15. <drlicnsno/>
  16. <preststatcd/>
  17. <posinstcd/>
  18. <dutplceinstcd/>
  19. <dutdeptcd/>
  20. <reqint>
  21. <blankrowyn>Y</blankrowyn>
  22. </reqint>
  23. <preshipinfolist/>
  24. </send>
  25. <init/>
  26. <hidden>
  27. </hidden>
  28. <temp>
  29. </temp>
  30. </root>
  31. </instance>
  32. <submission id="TRRTH00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/preshipinfolist"/>
  33. <submission id="TXRTH00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  34. <submission id="TRRTS00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqint" resultref="/root/main/tisorddeptcdlist"/>
  35. </model>
  36. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  37. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  38. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  39. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  40. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  41. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  42. <script type="javascript" ev:event="xforms-ready">
  43. <![CDATA[
  44. //사용자 권한
  45. fCheckAuth();
  46. submit("TRRTS00602");
  47. // 그리드 초기화
  48. misfGridInit(grd_preshiplist);
  49. misfMsterDetailSet(grd_preshiplist, null, "TRRTH00301", "Y");
  50. //소속기관리스트
  51. rszfGetLabelControlComboList("R0314", "cmb_posinstcd", "detldesc");
  52. //근무기관리스트
  53. rszfGetLabelControlComboList("R0314", "cmb_dutplceinstcd", "detldesc");
  54. //소속기관리스트(그리드)
  55. //rszfGetLabelControlComboList("R0314", "grd_preshiplist.posinstcd", "detldesc");
  56. //소속기관리스트(그리드)
  57. //rszfGetLabelControlComboList("R0314", "grd_preshiplist.dutplceinstcd", "detldesc");
  58. //현상태리스트
  59. misfComboComCdList("R0146", cmb_preststatcd,'Y');
  60. //현상태리스트(그리드)
  61. //misfGridComboComCdList("R0146", grd_preshiplist, "preststatcd");
  62. //교직구분리스트
  63. //misfGridComboComCdList("R0058", grd_preshiplist, "prfshipflag");
  64. //직위리스트
  65. //misfGridComboComCdList("R0062", grd_preshiplist, "jobposcd");
  66. //직종리스트
  67. //misfGridComboComCdList("R0061", grd_preshiplist, "jobkindcd");
  68. //직책리스트
  69. //misfGridComboComCdList("R0063", grd_preshiplist, "jobrespcd");
  70. model.refresh();
  71. //그리드의 타이틀을 누르면 sort되는 기능
  72. grd_preshiplist.explorerbar = "sort";
  73. grd_preshiplist.selectionMode = "byrow"
  74. ]]>
  75. </script>
  76. <script type="javascript">
  77. <![CDATA[
  78. function fCheckAuth() {
  79. btn_search.disabled = !checkAuth("R") ;
  80. btn_save.disabled = !checkAuth("X") ;
  81. }
  82. ]]>
  83. </script>
  84. </xhtml:head>
  85. <xhtml:body style="margin-left:8; margin-right:8; ">
  86. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  87. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">교원 조회</caption>
  88. </group>
  89. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  90. <datagrid id="grd_preshiplist" nodeset="/root/main/preshipinfolist" caption="이 름^사원번호^소속기관^근무기관^근무부서^교직구분^직위^직종^직책^최초임용일^현상태^현상태임용일" colsep="^" colwidth="80, 80, 125, 125, 150, 150, 100, 100, 100, 100" dataheight="23" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:100px; width:1195px; height:633px; ">
  91. <col ref="emplnm" style="text-align:center; "/>
  92. <col ref="emplno" style="text-align:center; "/>
  93. <col ref="posinstcd" type="output" style="text-align:center; "/>
  94. <col ref="dutplceinstcd" style="text-align:center; "/>
  95. <col ref="dutdeptcd" style="text-align:center; "/>
  96. <col ref="prfshipflag" style="text-align:center; "/>
  97. <col ref="jobposcd" style="text-align:center; "/>
  98. <col ref="jobkindcd" style="text-align:center; "/>
  99. <col ref="jobrespcd" style="text-align:center; "/>
  100. <col ref="fstappntdd" format="yyyy-mm-dd" style="text-align:center; "/>
  101. <col ref="preststatcd" style="text-align:center; "/>
  102. <col ref="preststatupdtdd" format="yyyy-mm-dd" style="text-align:center; "/>
  103. <script type="javascript" ev:event="onaftersort">
  104. <![CDATA[
  105. grd_preshiplist.gridToInstance();
  106. ]]>
  107. </script>
  108. </datagrid>
  109. <caption id="caption22" class="tit_2" style="left:10px; top:82px; width:95px; height:13px; ">교원정보</caption>
  110. <group id="group6" style="left:0px; top:10px; width:1195px; height:63px; vertical-align:top; ">
  111. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:63px; "/>
  112. <caption id="cap_posinstcd" class="search_name" style="left:15px; top:35; width:86px; height:17px; ">소속기관 :</caption>
  113. <select1 id="cmb_posinstcd" ref="/root/send/posinstcd" class="combo_s_essential" appearance="minimal" style="left:100px; top:36; width:110; height:19px; ">
  114. <choices>
  115. <itemset>
  116. <label/>
  117. <value/>
  118. </itemset>
  119. </choices>
  120. </select1>
  121. <caption id="cap_dutplceinstcd" class="search_name" style="left:235px; top:35px; width:86px; height:17px; ">근무기관 :</caption>
  122. <select1 id="cmb_dutplceinstcd" ref="/root/send/dutplceinstcd" class="combo_s_essential" appearance="minimal" style="left:320px; top:36px; width:110; height:19px; ">
  123. <choices>
  124. <itemset>
  125. <label/>
  126. <value/>
  127. </itemset>
  128. </choices>
  129. </select1>
  130. <caption id="cap_dutdeptcd" class="search_name" style="left:455px; top:35px; width:86px; height:17px; ">근무부서 :</caption>
  131. <select1 id="cmb_dutdeptcd" ref="/root/send/dutdeptcd" class="combo_s_essential" appearance="minimal" style="left:540px; top:36px; width:110; height:19px; ">
  132. <choices>
  133. <itemset nodeset="/root/main/tisorddeptcdlist">
  134. <label ref="deptnm"/>
  135. <value ref="deptcd"/>
  136. </itemset>
  137. </choices>
  138. </select1>
  139. <caption id="cap_preststatcd" class="search_name" style="left:455px; top:9px; width:83px; height:17px; ">현 상 태 :</caption>
  140. <select1 id="cmb_preststatcd" ref="/root/send/preststatcd" class="combo_s_essential" appearance="minimal" style="left:540px; top:10px; width:110px; height:19px; ">
  141. <choices>
  142. <itemset>
  143. <label/>
  144. <value/>
  145. </itemset>
  146. </choices>
  147. </select1>
  148. <button id="btn_search" class="btn1_letter2" navindex="8" style="left:1125px; top:19px; width:56px; height:22px; text-align:left; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  149. <caption>조회</caption>
  150. <script type="javascript" ev:event="DOMActivate">
  151. <![CDATA[
  152. if(isRequiredControls("cmb_posinstcd")){
  153. misfMsterDetailRetrieve();
  154. }
  155. ]]>
  156. </script>
  157. </button>
  158. <line id="line3" class="line_4" style="x1:1110px; y1:8px; x2:1110px; y2:51px; border-color:#ffe4bb; border-left-style:solid; "/>
  159. <caption id="cap_emplno" class="search_name" style="left:235px; top:9px; width:86px; height:17px; ">사원번호 :</caption>
  160. <input id="ipt_emplno" ref="/root/send/emplno" class="input_default" style="left:320px; top:10px; width:110px; height:19px; "/>
  161. <caption id="cap_name" class="search_name" style="left:15px; top:9px; width:85px; height:17px; ">이 름 :</caption>
  162. <input id="ipt_name" ref="/root/send/emplnm" class="input_default" style="left:100px; top:10px; width:110; height:19px; "/>
  163. </group>
  164. <line id="line19" class="line_1" style="x1:0px; y1:96px; x2:1195px; y2:96px; "/>
  165. <button id="btn_excellinput" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter10.gif" style="left:1116px; top:75px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter10.gif; ">
  166. <caption>엑셀입력</caption>
  167. <script type="javascript" ev:event="DOMActivate">
  168. <![CDATA[
  169. var fileName = window.fileDialog("open", ",", false, "", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  170. if (fileName.length > 0 ) {
  171. grd_preshiplist.loadExcel(fileName, 1, true);
  172. grd_preshiplist.deleteRow(1);
  173. grd_preshiplist.refresh();
  174. var sCnt = grd_preshiplist.rows;
  175. grd_preshiplist.clearStatus();
  176. grd_preshiplist.rowStatus(1) = 0;
  177. for ( var i = 1; i < sCnt; i++) {
  178. grd_preshiplist.rowStatus(i) = 1;
  179. }
  180. model.refresh();
  181. }
  182. ]]>
  183. </script>
  184. </button>
  185. <button id="btn_excellsave" class="btn2_letter4" style="left:1045px; top:75px; width:64px; height:19px; ">
  186. <caption>엑셀저장</caption>
  187. <script type="javascript" ev:event="DOMActivate">
  188. <![CDATA[
  189. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  190. if (fileName != "") {
  191. grd_preshiplist.saveExcel(fileName, "", false, true);
  192. }
  193. ]]>
  194. </script>
  195. </button>
  196. </group>
  197. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  198. <line id="line11" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  199. <button id="btn_save" class="btn5_letter2" disable.background-image="../../../com/commonweb/images/dis_btn5_letter2.gif" style="left:1139px; top:3; width:56px; height:22px; background-image:../../../com/commonweb/images/btn5_letter2.gif; ">
  200. <caption>저장</caption>
  201. <script type="javascript" ev:event="DOMActivate">
  202. <![CDATA[
  203. var retMes = messageBox("저장 하시겠습니까?", "Q999");
  204. if ( retMes != 6) {
  205. return;
  206. }
  207. var updtdata = getGridUpdateData(grd_preshiplist);
  208. if (updtdata == "") {
  209. messageBox("변경된 데이터가","I004");
  210. return;
  211. }
  212. misfSave("TXRTH00301");
  213. ]]>
  214. </script>
  215. <caption/>
  216. </button>
  217. </group>
  218. </xhtml:body>
  219. </xhtml:html>