SMRTS02600_근무보고서출력물.xrw 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. </main>
  11. <hidden>
  12. </hidden>
  13. <temp>
  14. </temp>
  15. <init/>
  16. <send>
  17. </send>
  18. </root>
  19. </instance>
  20. <script type="javascript" ev:event="xforms-ready">
  21. <![CDATA[
  22. fFormReady();
  23. ]]>
  24. </script>
  25. <script type="javascript">
  26. <![CDATA[
  27. // 초기화
  28. function fDefaultDeptSetting(control)
  29. {
  30. var sPosdeptcd = getUserInfo("posdeptcd");
  31. var sDeptcd = control.value;
  32. // 주임교수이면서 핵의학과 교수일때
  33. if(sPosdeptcd == "2180000000" || sPosdeptcd == "2160000000")
  34. {
  35. if(sDeptcd == "2180000000" || sDeptcd == "2160000000")
  36. {}
  37. else
  38. {
  39. messageBox(control.label+ "을 선택", "E001");
  40. control.value = sPosdeptcd;
  41. // model.setValue("/root/send/deptcd", sPosdeptcd); // 진료과 설정
  42. }
  43. }
  44. // 주임교수이면서 치과 교수일때
  45. else if(sPosdeptcd == "2240000000")
  46. {
  47. if(sDeptcd == "2240000000" || sDeptcd == "2240500000" || sDeptcd == "2240200000" || sDeptcd == "2240400000")
  48. {}
  49. else
  50. {
  51. messageBox(control.label+ "을 선택", "E001");
  52. control.value = sPosdeptcd;
  53. // model.setValue("/root/send/deptcd", sPosdeptcd); // 진료과 설정
  54. }
  55. }
  56. else if(sPosdeptcd == "2010300000" || sPosdeptcd == "2010400000" || sPosdeptcd == "2010500000" || sPosdeptcd == "2010600000" || sPosdeptcd == "2010700000" || sPosdeptcd == "2010800000" || sPosdeptcd == "2010900000" || sPosdeptcd == "2011000000" || sPosdeptcd == "2011100000")
  57. {
  58. if(sDeptcd != "2010000000")
  59. {
  60. messageBox(control.label+ "을 선택", "E001");
  61. sPosdeptcd = "2010000000";
  62. control.value = sPosdeptcd;
  63. // model.setValue("/root/send/deptcd", sPosdeptcd); // 진료과 설정
  64. }
  65. }
  66. else
  67. {
  68. if(checkAuth("P"))
  69. {}
  70. else
  71. {
  72. if(sPosdeptcd != sDeptcd)
  73. {
  74. messageBox(control.label+ "을 선택", "E001");
  75. control.value = sPosdeptcd;
  76. }
  77. }
  78. }
  79. model.refresh();
  80. }
  81. ]]>
  82. </script>
  83. <submission id="TRRTS00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/dutreptstatlist"/>
  84. <submission id="TRRTS00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdept" resultref="/root/main/tisorddeptcdlist"/>
  85. <submission id="TXRTS00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/del" resultref="/root/main/del"/>
  86. </model>
  87. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  88. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  89. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  90. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  91. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  92. <script type="javascript" src="../../../mis/tistrngeducplanmngtweb/js/SMRTS00600.js"/>
  93. </xhtml:head>
  94. <xhtml:body>
  95. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  96. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">근무보고서 현황</caption>
  97. </group>
  98. <group id="group2" scroll="auto" style="left:0px; top:13px; width:1195px; height:764px; ">
  99. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:5px; width:1195px; height:36px; background-color:#fffbf2; border-color:#ffd799; "/>
  100. <select1 id="cmb_orddeptcd" ref="/root/send/req/orddeptcd" class="combo_s_essential" visibility="visible" appearance="minimal" style="left:440px; top:14px; width:100px; height:19px; ">
  101. <choices>
  102. <itemset nodeset="/root/main/tisorddeptcdlist">
  103. <label ref="deptnm"/>
  104. <value ref="deptcd"/>
  105. </itemset>
  106. </choices>
  107. <script type="javascript" ev:event="xforms-value-changed">
  108. <![CDATA[
  109. fDefaultDeptSetting(cmb_orddeptcd);
  110. ]]>
  111. </script>
  112. </select1>
  113. <caption id="caption117" class="search_name" style="left:368px; top:15px; width:75px; height:17px; ">임상과 :</caption>
  114. <input id="ipt_yy" ref="/root/send/req/yy" class="input_s_essential" style="left:90px; top:14px; width:55px; height:19px; "/>
  115. <caption id="cap_yy" class="search_name" style="left:5px; top:15px; width:86px; height:17px; ">년 도 :</caption>
  116. <caption id="caption2" class="search_name" style="left:178px; top:15px; width:75px; height:17px; ">병원 :</caption>
  117. <select1 id="cmb_instcd" ref="/root/send/req/instcd" class="combo_s_essential" visibility="visible" appearance="minimal" style="left:237px; top:14px; width:100px; height:19px; ">
  118. <choices>
  119. <itemset>
  120. <label/>
  121. <value/>
  122. </itemset>
  123. </choices>
  124. </select1>
  125. <button id="btn_search" class="btn1_letter2" style="left:1130px; top:12px; width:56px; height:22px; text-align:left; ">
  126. <caption>조회</caption>
  127. <script type="javascript" ev:event="DOMActivate">
  128. <![CDATA[
  129. ]]>
  130. </script>
  131. </button>
  132. <line id="line82" class="line_4" style="x1:1115px; y1:10px; x2:1115px; y2:36px; border-color:#ffe4bb; border-left-style:solid; "/>
  133. <button id="btn_excel" class="btn2_letter4" style="left:1125px; top:43px; width:64px; height:19px; vertical-align:middle; ">
  134. <caption>엑셀저장</caption>
  135. <script type="javascript" ev:event="DOMActivate">
  136. <![CDATA[
  137. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  138. if (fileName != "") {;
  139. .saveExcel(fileName, "", false, true);
  140. }
  141. ]]>
  142. </script>
  143. </button>
  144. <datagrid id="datagrid1" caption="사번^성명^수련구분^년차^소속병원^근무병원^임상과^근무시작년월^근무종료년월^I-1^I-2^I-3^I-4^I-5^I-6^I-7^II-1^II-2^III-1^III-2^III-3^III-4^Ⅳ-1^Ⅳ-2^Ⅳ-3^Ⅳ-4^Ⅳ-5^Ⅳ-6^Ⅴ-1^Ⅴ-2" colsep="^" colwidth="100, 100, 100, 60, 100, 100, 100, 100, 100, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35" frozencols="2" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:65px; width:1195px; height:695px; ">
  145. <col/>
  146. <col/>
  147. <col visibility="hidden"/>
  148. <col/>
  149. <col/>
  150. <col/>
  151. <col/>
  152. <col/>
  153. <col/>
  154. <col/>
  155. <col/>
  156. <col/>
  157. <col/>
  158. <col/>
  159. <col/>
  160. <col/>
  161. <col/>
  162. <col/>
  163. <col/>
  164. <col/>
  165. <col/>
  166. <col/>
  167. <col/>
  168. <col/>
  169. <col/>
  170. <col/>
  171. <col/>
  172. <col/>
  173. <col/>
  174. <col/>
  175. </datagrid>
  176. </group>
  177. </xhtml:body>
  178. </xhtml:html>