SMRTS02602_전년도대비근무보고서작성률현황.xrw 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  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. <dutreptwrteratelist/>
  11. <dutreptresinlist/>
  12. </main>
  13. <hidden>
  14. </hidden>
  15. <temp>
  16. </temp>
  17. <init/>
  18. <send>
  19. <req>
  20. <yy/>
  21. <instcd/>
  22. <mm/>
  23. <apprtcdrflag/>
  24. </req>
  25. </send>
  26. </root>
  27. </instance>
  28. <script type="javascript" ev:event="xforms-ready">
  29. <![CDATA[
  30. // misfMsterDetailSet(grd_dutreptintnlist, null, "TRRTS02602", "Y");
  31. rszfGetLabelControlComboList("R0314", "cmb_instcd", "detldesc");
  32. misfComboComCdListMulti("R0151", "cmb_apprtcdrflag");
  33. addComboItem( "cmb_instcd", "전체", "", "above");
  34. var today = getCurrentDate();
  35. var cur_mm = today.substring(4, 6);
  36. var cur_yy = today.substring(0, 4);
  37. model.setValue("/root/send/req/yy", cur_yy);
  38. model.setValue("/root/send/req/mm", cur_mm);
  39. ipt_yy.refresh();
  40. ipt_mm.refresh();
  41. cmb_apprtcdrflag.select(0);
  42. model.refresh();
  43. ]]>
  44. </script>
  45. <script type="javascript">
  46. <![CDATA[
  47. // 초기화
  48. function fDefaultDeptSetting(control)
  49. {
  50. var sPosdeptcd = getUserInfo("posdeptcd");
  51. var sDeptcd = control.value;
  52. // 주임교수이면서 핵의학과 교수일때
  53. if(sPosdeptcd == "2180000000" || sPosdeptcd == "2160000000")
  54. {
  55. if(sDeptcd == "2180000000" || sDeptcd == "2160000000")
  56. {}
  57. else
  58. {
  59. messageBox(control.label+ "을 선택", "E001");
  60. control.value = sPosdeptcd;
  61. // model.setValue("/root/send/deptcd", sPosdeptcd); // 진료과 설정
  62. }
  63. }
  64. // 주임교수이면서 치과 교수일때
  65. else if(sPosdeptcd == "2240000000")
  66. {
  67. if(sDeptcd == "2240000000" || sDeptcd == "2240500000" || sDeptcd == "2240200000" || sDeptcd == "2240400000")
  68. {}
  69. else
  70. {
  71. messageBox(control.label+ "을 선택", "E001");
  72. control.value = sPosdeptcd;
  73. // model.setValue("/root/send/deptcd", sPosdeptcd); // 진료과 설정
  74. }
  75. }
  76. else if(sPosdeptcd == "2010300000" || sPosdeptcd == "2010400000" || sPosdeptcd == "2010500000" || sPosdeptcd == "2010600000" || sPosdeptcd == "2010700000" || sPosdeptcd == "2010800000" || sPosdeptcd == "2010900000" || sPosdeptcd == "2011000000" || sPosdeptcd == "2011100000")
  77. {
  78. if(sDeptcd != "2010000000")
  79. {
  80. messageBox(control.label+ "을 선택", "E001");
  81. sPosdeptcd = "2010000000";
  82. control.value = sPosdeptcd;
  83. // model.setValue("/root/send/deptcd", sPosdeptcd); // 진료과 설정
  84. }
  85. }
  86. else
  87. {
  88. if(checkAuth("P"))
  89. {}
  90. else
  91. {
  92. if(sPosdeptcd != sDeptcd)
  93. {
  94. messageBox(control.label+ "을 선택", "E001");
  95. control.value = sPosdeptcd;
  96. }
  97. }
  98. }
  99. model.refresh();
  100. }
  101. ]]>
  102. </script>
  103. <submission id="TRRTS00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdept" resultref="/root/main/tisorddeptcdlist"/>
  104. <submission id="TRRTS02602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main"/>
  105. </model>
  106. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  107. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  108. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  109. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  110. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  111. <script type="javascript" src="../../../mis/tistrngeducplanmngtweb/js/SMRTS00600.js"/>
  112. </xhtml:head>
  113. <xhtml:body>
  114. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  115. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">근무보고서 현황</caption>
  116. </group>
  117. <group id="group2" scroll="auto" style="left:0px; top:13px; width:1195px; height:764px; ">
  118. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:5px; width:1195px; height:36px; background-color:#fffbf2; border-color:#ffd799; "/>
  119. <input id="ipt_yy" ref="/root/send/req/yy" class="input_s_essential" format="yyyy" style="left:90px; top:14px; width:55px; height:19px; "/>
  120. <caption id="cap_yy" class="search_name" style="left:5px; top:15px; width:86px; height:17px; ">년 도 :</caption>
  121. <caption id="caption2" class="search_name" style="left:373px; top:15px; width:75px; height:17px; ">병원 :</caption>
  122. <select1 id="cmb_instcd" ref="/root/send/req/instcd" class="combo_s_essential" visibility="visible" appearance="minimal" style="left:432px; top:14px; width:100px; height:19px; ">
  123. <choices>
  124. <itemset>
  125. <label/>
  126. <value/>
  127. </itemset>
  128. </choices>
  129. </select1>
  130. <button id="btn_search" class="btn1_letter2" style="left:1130px; top:12px; width:56px; height:22px; text-align:left; ">
  131. <caption>조회</caption>
  132. <script type="javascript" ev:event="DOMActivate">
  133. <![CDATA[
  134. // misfMsterDetailRetrieve();
  135. submit("TRRTS02602");
  136. exeReportPreview("RPRTS02602","XMLSTR");
  137. ]]>
  138. </script>
  139. </button>
  140. <line id="line82" class="line_4" style="x1:1115px; y1:10px; x2:1115px; y2:36px; border-color:#ffe4bb; border-left-style:solid; "/>
  141. <button id="btn_excel" class="btn2_letter4" style="left:1125px; top:43px; width:64px; height:19px; vertical-align:middle; ">
  142. <caption>엑셀저장</caption>
  143. <script type="javascript" ev:event="DOMActivate">
  144. <![CDATA[
  145. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  146. if (fileName != "") {
  147. if(cmb_apprtcdrflag.value == 'I')
  148. {
  149. grd_dutreptintnlist.saveExcel(fileName, "", false, true);
  150. }
  151. else if(cmb_apprtcdrflag.value == 'R')
  152. {
  153. grd_dutreptresinlist.saveExcel(fileName, "", false, true);
  154. }
  155. }
  156. ]]>
  157. </script>
  158. </button>
  159. <input id="ipt_mm" ref="/root/send/req/mm" class="input_s_essential" format="dd" style="left:269px; top:14px; width:50px; height:19px; "/>
  160. <caption id="cap_mm" class="search_name" style="left:195px; top:15px; width:86px; height:17px; ">근무월 :</caption>
  161. <caption id="cap_apprtcdrflag" class="search_name" style="left:599px; top:16px; width:99px; height:17px; ">전공의구분 :</caption>
  162. <select1 id="cmb_apprtcdrflag" ref="/root/send/req/apprtcdrflag" class="combo_s_essential" appearance="minimal" style="left:700px; top:15px; width:148px; height:19px; ">
  163. <choices>
  164. <itemset>
  165. <label/>
  166. <value/>
  167. </itemset>
  168. </choices>
  169. </select1>
  170. <datagrid id="grd_dutreptwrteratelist" nodeset="/root/main/dutreptwrteratelist" caption="기관^3월^4월^5월^6월^7월^8월^9월^10월^11월^12월^1월^2월^평균^전년도평균^caption15" colsep="^" colwidth="100, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:65px; width:1195px; height:680px; ">
  171. <col ref="instcd"/>
  172. <col ref="mar"/>
  173. <col ref="apr"/>
  174. <col ref="may"/>
  175. <col ref="jun"/>
  176. <col ref="jul"/>
  177. <col ref="aug"/>
  178. <col ref="sep"/>
  179. <col ref="oct"/>
  180. <col ref="nov"/>
  181. <col ref="dec"/>
  182. <col ref="jan"/>
  183. <col ref="feb"/>
  184. <col ref="tot"/>
  185. <col ref="posttot"/>
  186. </datagrid>
  187. </group>
  188. </xhtml:body>
  189. </xhtml:html>