SPAER02000_근무자이력관리방사선종양.xrw 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  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. <excuroominfo>
  11. <excuroomlist>
  12. <Item/>
  13. <m1/>
  14. <m2/>
  15. <m3/>
  16. <m4/>
  17. <m5/>
  18. <m6/>
  19. <m7/>
  20. <m8/>
  21. <m9/>
  22. <m10/>
  23. <m11/>
  24. <m12/>
  25. </excuroomlist>
  26. </excuroominfo>
  27. </main>
  28. <send>
  29. <searchItem/>
  30. <globalinstance>
  31. <instance1/>
  32. </globalinstance>
  33. <searchdate/>
  34. <sdate/>
  35. </send>
  36. <temp>
  37. </temp>
  38. </root>
  39. </instance>
  40. <submission id="TRAER02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/excuroominfo"/>
  41. <script type="javascript" ev:event="xforms-ready">
  42. <![CDATA[
  43. aezfSetSuppDeptcd();
  44. model.removeNodeset("/root/main/workHistory");
  45. var syymm = getCurrentDate();
  46. syymm = syymm.substr(0, 6);
  47. model.setValue("/root/send/searchdate", syymm);
  48. model.setValue("/root/send/sdate", syymm);
  49. model.setValue("/root/send/searchItem", "1");
  50. GridHeader();
  51. btn_sea.dispatch("DOMActivate");
  52. model.refresh();
  53. ]]>
  54. </script>
  55. </model>
  56. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  57. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  58. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  59. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  60. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  61. <script type="javascript">
  62. <![CDATA[
  63. function GridHeader() {
  64. var setDate = model.getValue("/root/send/sdate");
  65. var sysDate = setDate.toDate("YYYYMM");
  66. var nowDate = sysDate.getAddDate(-12,"M");
  67. var scaption = "구분";
  68. for (var i = 1; i < 13; i ++){
  69. var nowDate = sysDate.getAddDate(1,"M");
  70. nowDate = nowDate.getDateFormat("YYYY-MM");
  71. scaption = scaption + "^" + nowDate + " 월";
  72. }
  73. grd_cureroomlist.caption = scaption;
  74. model.refresh();
  75. }
  76. ]]>
  77. </script>
  78. </xhtml:head>
  79. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  80. <datagrid id="grd_cureroomlist" nodeset="/root/main/excuroominfo/excuroomlist" caption="구분^1월^2월^3월^4월^5월^6월^7월^8월^9월^10월^11월^12월" colsep="^" colwidth="100, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90" mergecells="bycol" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:85px; width:1193px; height:675px; ">
  81. <col ref="Item"/>
  82. <col ref="m1"/>
  83. <col ref="m2"/>
  84. <col ref="m3"/>
  85. <col ref="m4"/>
  86. <col ref="m5"/>
  87. <col ref="m6"/>
  88. <col ref="m7"/>
  89. <col ref="m8"/>
  90. <col ref="m9"/>
  91. <col ref="m10"/>
  92. <col ref="m11"/>
  93. <col ref="m12"/>
  94. </datagrid>
  95. <group id="group2" style="left:0px; top:25px; width:1193; height:35px; vertical-align:top; ">
  96. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  97. <line id="line13" style="x1:1111px; y1:7px; x2:1111px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  98. <button id="btn_sea" class="btn1_letter2" style="left:1127px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  99. <caption>조회</caption>
  100. <script type="javascript" ev:event="DOMActivate">
  101. <![CDATA[
  102. if (submit("TRAER02001", false)){
  103. grd_cureroomlist.mergeCol(0) = true;
  104. grd_cureroomlist.mergeCol(1) = false;
  105. grd_cureroomlist.mergeCol(2) = false;
  106. grd_cureroomlist.mergeCol(3) = false;
  107. grd_cureroomlist.mergeCol(4) = false;
  108. grd_cureroomlist.mergeCol(5) = false;
  109. grd_cureroomlist.mergeCol(6) = false;
  110. grd_cureroomlist.mergeCol(7) = false;
  111. grd_cureroomlist.mergeCol(8) = false;
  112. grd_cureroomlist.mergeCol(9) = false;
  113. grd_cureroomlist.mergeCol(10) = false;
  114. grd_cureroomlist.mergeCol(11) = false;
  115. grd_cureroomlist.mergeCol(12) = false;
  116. model.refresh();
  117. }
  118. ]]>
  119. </script>
  120. </button>
  121. <input id="ipt_acptdd" ref="/root/send/searchdate" class="input_default" editable="false" inputtype="date" format="yyyy-mm" style="left:417px; top:7px; width:85px; height:19px; text-align:center; "/>
  122. <caption id="caption4" class="search_name" style="left:326px; top:9px; width:86px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">조회기간 :</caption>
  123. <select1 id="radio1" ref="/root/send/searchItem" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:114px; top:9px; width:167px; height:15px; font-weight:bold; border-style:none; ">
  124. <choices>
  125. <item>
  126. <label>근무지</label>
  127. <value>1</value>
  128. </item>
  129. <item>
  130. <label>근무자</label>
  131. <value>2</value>
  132. </item>
  133. </choices>
  134. <script type="javascript" ev:event="xforms-value-changed">
  135. <![CDATA[
  136. btn_sea.dispatch("DOMActivate");
  137. ]]>
  138. </script>
  139. </select1>
  140. <caption id="caption3" class="search_name" style="left:15px; top:9px; width:86px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">조회조건 :</caption>
  141. </group>
  142. <line id="line10" class="line_1" style="x1:0px; y1:85px; x2:1193; y2:85px; "/>
  143. <caption id="caption18" class="tit_2" style="left:0px; top:70px; width:205px; height:14px; ">이력 상세 정보</caption>
  144. <button id="btn_Next" class="icon_next" style="left:1181px; top:66px; width:13px; height:15px; ">
  145. <script type="javascript" ev:event="DOMActivate">
  146. <![CDATA[
  147. // 기준일자
  148. var setDate = model.getValue("/root/send/sdate");
  149. var sysDate = setDate.toDate("YYYYMM");
  150. // 익월
  151. var nowDate = sysDate.getAddDate(1,"M");
  152. nowDate = nowDate.getDateFormat("YYYYMM");
  153. model.setValue("/root/send/sdate", nowDate);
  154. GridHeader();
  155. btn_sea.dispatch("DOMActivate");
  156. ]]>
  157. </script>
  158. <caption/>
  159. </button>
  160. <button id="btn_Previous" class="icon_pre" style="left:1072px; top:66px; width:13px; height:15px; ">
  161. <script type="javascript" ev:event="DOMActivate">
  162. <![CDATA[
  163. // 기준일자
  164. var setDate = model.getValue("/root/send/sdate");
  165. var sysDate = setDate.toDate("YYYYMM");
  166. // 익월
  167. var nowDate = sysDate.getAddDate(-1,"M");
  168. nowDate = nowDate.getDateFormat("YYYYMM");
  169. model.setValue("/root/send/sdate", nowDate);
  170. GridHeader();
  171. btn_sea.dispatch("DOMActivate");
  172. ]]>
  173. </script>
  174. <caption/>
  175. </button>
  176. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:235px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">근무이력관리</caption>
  177. <input id="input1" ref="/root/send/sdate" disabled="true" format="yyyy-mm" style="left:1090px; top:63px; width:85px; height:19px; text-align:center; "/>
  178. <button id="button3" class="btn2_letter4" style="left:990px; top:64px; width:64px; height:19px; ">
  179. <caption>엑셀저장</caption>
  180. <script type="javascript" ev:event="DOMActivate">
  181. <![CDATA[
  182. var file = window.fileDialog("save","","true","","xls","Excel Files(*.xls)|*.xls");
  183. if(file == "") return;
  184. grd_cureroomlist.saveExcel(file, "sheet1");
  185. ]]>
  186. </script>
  187. </button>
  188. </xhtml:body>
  189. </xhtml:html>