SMRTS01150_교육대상자관리.xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  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. <edurecipient/>
  11. <attedurecipient/>
  12. <tisorddeptcdlist/>
  13. </main>
  14. <hidden>
  15. </hidden>
  16. <temp>
  17. </temp>
  18. <init/>
  19. <send>
  20. <req>
  21. <yy/>
  22. <deptcd/>
  23. <selgubun/>
  24. </req>
  25. </send>
  26. </root>
  27. </instance>
  28. <script type="javascript" ev:event="xforms-ready">
  29. <![CDATA[
  30. model.setValue("/root/send/req/selgubun", "all");
  31. submit("TRRTS00602");
  32. misfGridInit(grd_alledurecipient);
  33. misfGridInit(grd_attedurecipient);
  34. misfGridInit(grd_nonattedurecipient);
  35. var today = getCurrentDate();
  36. var cur_mm = parseInt(today.substring(4, 6));
  37. var cur_yy = parseInt(today.substring(0, 4));
  38. model.setValue("/root/send/req/yy", cur_yy);
  39. ipt_yy.refresh();
  40. ]]>
  41. </script>
  42. <submission id="TRRTS01151" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/edurecipient"/>
  43. <submission id="TRRTS01152" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/attedurecipient"/>
  44. <submission id="TRRTS00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdept" resultref="/root/main/tisorddeptcdlist"/>
  45. </model>
  46. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  47. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  49. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  50. <script type="javascript">
  51. <![CDATA[
  52. var m_case = 1;
  53. ]]>
  54. </script>
  55. </xhtml:head>
  56. <xhtml:body pagewidth="930" pageheight="580">
  57. <group id="group1" style="left:0px; top:0px; width:900px; height:13px; ">
  58. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">교육대상자 관리</caption>
  59. </group>
  60. <group id="group2" scroll="auto" style="left:0px; top:38px; width:900px; height:517px; ">
  61. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:5px; width:900px; height:36px; background-color:#fffbf2; border-color:#ffd799; "/>
  62. <input id="ipt_yy" ref="/root/send/req/yy" class="input_s_essential" style="left:93px; top:14px; width:55px; height:19px; "/>
  63. <caption id="cap_yy" class="search_name" style="left:5px; top:15px; width:86px; height:17px; ">년 도 :</caption>
  64. <button id="btn_search" class="btn1_letter2" style="left:840px; top:12px; width:56px; height:22px; text-align:left; ">
  65. <caption>조회</caption>
  66. <script type="javascript" ev:event="DOMActivate">
  67. <![CDATA[
  68. if ( !isRequiredControls("ipt_yy") ) {
  69. return false;
  70. }
  71. if (m_case == 1) {
  72. misfGridInit(grd_alledurecipient);
  73. submit("TRRTS01151");
  74. } else if (m_case == 2) {
  75. misfGridInit(grd_attedurecipient);
  76. submit("TRRTS01152");
  77. } else if (m_case == 3) {
  78. misfGridInit(grd_nonattedurecipient);
  79. submit("TRRTS01151");
  80. }
  81. ]]>
  82. </script>
  83. </button>
  84. <line id="line82" class="line_4" style="x1:825px; y1:10px; x2:825px; y2:36px; border-color:#ffe4bb; border-left-style:solid; "/>
  85. <select1 id="cmb_deptcd" ref="/root/send/req/deptcd" class="combo_search" appearance="minimal" style="left:238px; top:14px; width:100px; height:19px; ">
  86. <choices>
  87. <itemset nodeset="/root/main/tisorddeptcdlist">
  88. <label ref="deptnm"/>
  89. <value ref="deptcd"/>
  90. </itemset>
  91. </choices>
  92. <script type="javascript" ev:event="xforms-value-changed">
  93. <![CDATA[
  94. btn_search.dispatch("DOMActivate");
  95. ]]>
  96. </script>
  97. </select1>
  98. <caption id="cap_deptcd" class="search_name" style="left:163px; top:15px; width:75px; height:17px; ">임상과 :</caption>
  99. <line id="line1" class="line_1" style="x1:0px; y1:65px; x2:900px; y2:66px; "/>
  100. <switch id="switch1" style="left:0px; top:65px; width:900px; height:425px; ">
  101. <case id="case1" selected="true">
  102. <caption id="caption1" class="tit_2" style="left:5px; top:4px; width:153px; height:15px; font-size:10pt; ">전체대상자</caption>
  103. <line id="line2" class="line_1" style="x1:0px; y1:22px; x2:890; y2:23px; "/>
  104. <button id="button4" class="btn2_letter4" style="left:825px; top:1px; width:64px; height:19px; ">
  105. <caption>엑셀저장</caption>
  106. <script type="javascript" ev:event="DOMActivate">
  107. <![CDATA[
  108. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  109. if (fileName != "") {
  110. grd_alledurecipient.saveExcel(fileName, "sheetname:sheet1;colhiddenextend:true;rowhiddenextend:false;exportfalsecols:0,0;col_1:value;");
  111. }
  112. ]]>
  113. </script>
  114. </button>
  115. <datagrid id="grd_alledurecipient" nodeset="/root/main/edurecipient" caption="교육년도^사번^이름^현근무병원^임상과^년차^성별^E-mail^핸드폰" colsep="^" colwidth="57, 85, 84, 139, 112, 60, 74, 133, 129" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:1px; top:24px; width:890px; height:396px; ">
  116. <col ref="educyy" visibility="visible" style="text-align:center; "/>
  117. <col ref="emplno" style="text-align:center; "/>
  118. <col ref="name" style="text-align:center; "/>
  119. <col ref="dutinstnm" style="text-align:left; padding-left:10; "/>
  120. <col ref="deptnm" style="text-align:left; padding-left:10; border-top-style:none; "/>
  121. <col ref="anual" style="text-align:center; "/>
  122. <col ref="gndr" style="text-align:center; "/>
  123. <col ref="email" style="text-align:left; padding-left:10; "/>
  124. <col ref="mpphonno" style="text-align:left; padding-left:10; "/>
  125. <script type="javascript" ev:event="onaftersort">
  126. <![CDATA[
  127. grd_alledurecipient.gridToInstance();
  128. ]]>
  129. </script>
  130. </datagrid>
  131. </case>
  132. <case id="case2">
  133. <caption id="caption2" class="tit_2" style="left:5px; top:4px; width:153px; height:15px; font-size:10pt; ">참석자</caption>
  134. <line id="line3" class="line_1" style="x1:0px; y1:22px; x2:890; y2:23px; "/>
  135. <button id="button5" class="btn2_letter4" style="left:825px; top:1px; width:64px; height:19px; ">
  136. <caption>엑셀저장</caption>
  137. <script type="javascript" ev:event="DOMActivate">
  138. <![CDATA[
  139. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  140. if (fileName != "") {
  141. grd_attedurecipient.saveExcel(fileName, "sheetname:sheet1;colhiddenextend:true;rowhiddenextend:false;exportfalsecols:0,0;col_1:value;");
  142. }
  143. ]]>
  144. </script>
  145. </button>
  146. <datagrid id="grd_attedurecipient" nodeset="/root/main/attedurecipient" caption="교육년도^사번^이름^현근무병원^임상과^년차^성별^E-mail^핸드폰" colsep="^" colwidth="57, 85, 84, 139, 112, 60, 74, 133, 129" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:1px; top:24px; width:890px; height:396px; ">
  147. <col ref="educyy" visibility="visible" style="text-align:center; "/>
  148. <col ref="emplno" style="text-align:center; "/>
  149. <col ref="name" style="text-align:center; "/>
  150. <col ref="dutinstnm" style="text-align:left; padding-left:10; "/>
  151. <col ref="deptnm" style="text-align:left; padding-left:10; border-top-style:none; "/>
  152. <col ref="anual" style="text-align:center; "/>
  153. <col ref="gndr" style="text-align:center; "/>
  154. <col ref="email" style="text-align:left; padding-left:10; "/>
  155. <col ref="mpphonno" style="text-align:left; padding-left:10; "/>
  156. <script type="javascript" ev:event="onaftersort">
  157. <![CDATA[
  158. grd_attedurecipient.gridToInstance();
  159. ]]>
  160. </script>
  161. </datagrid>
  162. </case>
  163. <case id="case3">
  164. <caption id="caption3" class="tit_2" style="left:5px; top:4px; width:890px; height:15px; font-size:10pt; ">미참석자</caption>
  165. <line id="line4" class="line_1" style="x1:0px; y1:22px; x2:890; y2:23px; "/>
  166. <button id="button6" class="btn2_letter4" style="left:825px; top:1px; width:64px; height:19px; ">
  167. <caption>엑셀저장</caption>
  168. <script type="javascript" ev:event="DOMActivate">
  169. <![CDATA[
  170. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  171. if (fileName != "") {
  172. grd_nonattedurecipientsaveExcel(fileName, "sheetname:sheet1;colhiddenextend:true;rowhiddenextend:false;exportfalsecols:0,0;col_1:value;");
  173. }
  174. ]]>
  175. </script>
  176. </button>
  177. <datagrid id="grd_nonattedurecipient" nodeset="/root/main/edurecipient" caption="교육년도^사번^이름^현근무병원^임상과^년차^성별^E-mail^핸드폰" colsep="^" colwidth="57, 85, 84, 139, 112, 60, 74, 133, 129" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:1px; top:24px; width:890px; height:396px; ">
  178. <col ref="educyy" visibility="visible" style="text-align:center; "/>
  179. <col ref="emplno" style="text-align:center; "/>
  180. <col ref="name" style="text-align:center; "/>
  181. <col ref="dutinstnm" style="text-align:left; padding-left:10; "/>
  182. <col ref="deptnm" style="text-align:left; padding-left:10; border-top-style:none; "/>
  183. <col ref="anual" style="text-align:center; "/>
  184. <col ref="gndr" style="text-align:center; "/>
  185. <col ref="email" style="text-align:left; padding-left:10; "/>
  186. <col ref="mpphonno" style="text-align:left; padding-left:10; "/>
  187. <script type="javascript" ev:event="onaftersort">
  188. <![CDATA[
  189. grd_nonattedurecipient.gridToInstance();
  190. ]]>
  191. </script>
  192. </datagrid>
  193. </case>
  194. </switch>
  195. <button id="button1" class="btn_sw" group="tab" selected="true" style="left:0px; top:42px; width:95px; height:22px; ">
  196. <caption>전체대상자</caption>
  197. <toggle case="case1" ev:event="onclick"/>
  198. <script type="javascript" ev:event="onclick">
  199. <![CDATA[
  200. m_case = 1;
  201. model.setValue("/root/send/req/selgubun", "all");
  202. misfGridInit(grd_alledurecipient);
  203. btn_search.dispatch("DOMActivate");
  204. ]]>
  205. </script>
  206. </button>
  207. <button id="button2" class="btn_sw" group="tab" selected="false" style="left:95px; top:42px; width:95px; height:22px; ">
  208. <caption>참석자</caption>
  209. <toggle case="case2" ev:event="onclick"/>
  210. <script type="javascript" ev:event="onclick">
  211. <![CDATA[
  212. m_case = 2;
  213. misfGridInit(grd_attedurecipient);
  214. btn_search.dispatch("DOMActivate");
  215. ]]>
  216. </script>
  217. </button>
  218. <button id="button3" class="btn_sw" group="tab" selected="false" style="left:190px; top:42px; width:95px; height:22px; ">
  219. <caption>미참석자</caption>
  220. <toggle case="case3" ev:event="onclick"/>
  221. <script type="javascript" ev:event="onclick">
  222. <![CDATA[
  223. m_case = 3;
  224. model.setValue("/root/send/req/selgubun", "nonatt");
  225. misfGridInit(grd_nonattedurecipient);
  226. btn_search.dispatch("DOMActivate");
  227. ]]>
  228. </script>
  229. </button>
  230. </group>
  231. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:900px; height:27px; "/>
  232. </xhtml:body>
  233. </xhtml:html>