SMRTS03600_당직스케쥴통계.xrw 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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. <ngdtstats>
  11. <ngdtstatslist/>
  12. </ngdtstats>
  13. </main>
  14. <hidden>
  15. </hidden>
  16. <temp>
  17. </temp>
  18. <init/>
  19. <send>
  20. <req>
  21. <deptcd/>
  22. <instcd/>
  23. <apprtcdrflag/>
  24. <ngdtym/>
  25. </req>
  26. </send>
  27. </root>
  28. </instance>
  29. <script type="javascript" ev:event="xforms-ready">
  30. <![CDATA[
  31. //사용자 권한
  32. fCheckAuth();
  33. misfGridInit(grd_ngdtstatslist);
  34. misfMsterDetailSet(grd_ngdtstatslist, null, "TRRTS03601", "Y");
  35. rszfGetLabelControlComboList("R0314", "cmb_instcd", "detldesc");
  36. var dutplceinstcd = getUserInfo("dutplceinstcd");
  37. model.setValue("/root/send/req/instcd", dutplceinstcd);
  38. misfComboComCdListMulti("R0234,R0151", "cmb_deptcd,cmb_apprtcdrflag");
  39. addComboItem( "cmb_deptcd", "전체", "", "above");
  40. model.setValue(cmb_deptcd.attribute("ref"), "");
  41. addComboItem( "cmb_apprtcdrflag", "전체", "", "above");
  42. model.setValue(cmb_apprtcdrflag.attribute("ref"), "");
  43. var today = getCurrentDate();
  44. var cur_yymm = parseInt(today.substring(0,6));
  45. model.setValue("/root/send/req/ngdtym", cur_yymm);
  46. if (dutplceinstcd == "001" && getUserInfo("dutplcecd") == "4110100000") {
  47. cmb_instcd.disabled = false;
  48. }else{
  49. cmb_instcd.disabled = true;
  50. }
  51. model.refresh();
  52. ]]>
  53. </script>
  54. <submission id="TRRTS00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdept" resultref="/root/main/ngdtcdlist"/>
  55. <bind id="bind1" ref="/root/main/ngdtamt/ngdtamtlist/ngdtamt" calculate="../weekno * 20000 + ../holino * 40000"/>
  56. <submission id="TRRTS03601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/ngdtstats"/>
  57. </model>
  58. <script type="javascript" src="../../../com/commonweb/js/common.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" src="../../../com/commonweb/js/stringHelper.js"/>
  62. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  63. <script type="javascript" src="../../../mis/tistrngeducplanmngtweb/js/SMRTS00600.js"/>
  64. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  65. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  66. <script type="javascript">
  67. <![CDATA[
  68. ]]>
  69. </script>
  70. </xhtml:head>
  71. <xhtml:body>
  72. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  73. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">당직 파트별 현황</caption>
  74. </group>
  75. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  76. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:5px; width:1195px; height:36px; background-color:#fffbf2; border-color:#ffd799; "/>
  77. <caption id="cap_yy" class="search_name" style="left:5px; top:15px; width:60px; height:17px; ">년월 :</caption>
  78. <datagrid id="grd_ngdtstatslist" nodeset="/root/main/ngdtstats/ngdtstatslist" caption="임상과^당직파트^01^02^03^04^05^06^07^08^09^10^11^12^13^14^15^16^17^18^19^20^21^22^23^24^25^26^27^28^29^30^31|임상과^당직파트^01^02^03^04^05^06^07^08^09^10^11^12^13^14^15^16^17^18^19^20^21^22^23^24^25^26^27^28^29^30^31" colsep="^" colwidth="100, 189, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:70px; width:1190px; height:670px; ">
  79. <col ref="deptnm"/>
  80. <col ref="partcd" type="output">
  81. <choices>
  82. <itemset>
  83. <label/>
  84. <value/>
  85. </itemset>
  86. </choices>
  87. </col>
  88. <col ref="ngdtdd1" type="output"/>
  89. <col ref="ngdtdd2" type="output"/>
  90. <col ref="ngdtdd3" style="text-align:center; "/>
  91. <col ref="ngdtdd4"/>
  92. <col ref="ngdtdd5"/>
  93. <col ref="ngdtdd6" style="text-align:center; "/>
  94. <col ref="ngdtdd7" style="text-align:center; "/>
  95. <col ref="ngdtdd8"/>
  96. <col ref="ngdtdd9"/>
  97. <col ref="ngdtdd10"/>
  98. <col ref="ngdtdd11"/>
  99. <col ref="ngdtdd12"/>
  100. <col ref="ngdtdd13"/>
  101. <col ref="ngdtdd14"/>
  102. <col ref="ngdtdd15"/>
  103. <col ref="ngdtdd16"/>
  104. <col ref="ngdtdd17"/>
  105. <col ref="ngdtdd18"/>
  106. <col ref="ngdtdd19"/>
  107. <col ref="ngdtdd20"/>
  108. <col ref="ngdtdd21"/>
  109. <col ref="ngdtdd22"/>
  110. <col ref="ngdtdd23"/>
  111. <col ref="ngdtdd24"/>
  112. <col ref="ngdtdd25"/>
  113. <col ref="ngdtdd26"/>
  114. <col ref="ngdtdd27"/>
  115. <col ref="ngdtdd28"/>
  116. <col ref="ngdtdd29"/>
  117. <col ref="ngdtdd30"/>
  118. <col ref="ngdtdd31"/>
  119. </datagrid>
  120. <button id="btn_search" class="btn1_letter2" style="left:1130px; top:12px; width:56px; height:22px; text-align:left; ">
  121. <caption>조회</caption>
  122. <script type="javascript" ev:event="DOMActivate">
  123. <![CDATA[
  124. submit("TRRTS03601");
  125. model.refresh();
  126. ]]>
  127. </script>
  128. </button>
  129. <line id="line82" class="line_4" style="x1:1115px; y1:10px; x2:1115px; y2:36px; border-color:#ffe4bb; border-left-style:solid; "/>
  130. <line id="line1" class="line_1" style="x1:0px; y1:66px; x2:1190px; y2:67px; "/>
  131. <select1 id="cmb_instcd" ref="/root/send/req/instcd" class="combo_s_essential" disabled="false" appearance="minimal" style="left:260px; top:14px; width:120px; height:19px; ">
  132. <choices>
  133. <itemset>
  134. <label/>
  135. <value/>
  136. </itemset>
  137. </choices>
  138. </select1>
  139. <caption id="cap_instcd" class="search_name" style="left:174px; top:14px; width:94px; height:17px; ">근무병원 :</caption>
  140. <input id="ipt_ngdtym" ref="/root/send/req/ngdtym" inputtype="date" format="yyyy-mm" style="left:65px; top:14px; width:80px; height:19px; "/>
  141. <button id="btn_execl" class="btn2_letter4" style="left:1125px; top:45px; width:64px; height:19px; ">
  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. grd_ngdtstatslist.saveExcel(fileName, "sheetname:sheet1;colhiddenextend:true;rowhiddenextend:false;exportfalsecols:0,0;col_1:value;");
  148. }
  149. ]]>
  150. </script>
  151. </button>
  152. <select1 id="cmb_deptcd" ref="/root/send/req/deptcd" class="combo_s_essential" disabled="false" appearance="minimal" style="left:490px; top:14px; width:125px; height:19px; ">
  153. <choices>
  154. <itemset>
  155. <label/>
  156. <value/>
  157. </itemset>
  158. </choices>
  159. </select1>
  160. <caption id="caption1" class="search_name" style="left:414px; top:14px; width:94px; height:17px; ">임상과 :</caption>
  161. <caption id="caption2" class="search_name" style="left:639px; top:15px; width:99px; height:17px; ">전공의구분 :</caption>
  162. <select1 id="cmb_apprtcdrflag" ref="/root/send/req/apprtcdrflag" class="combo_s_essential" disabled="false" appearance="minimal" style="left:740px; top:15px; width:125px; height:19px; ">
  163. <choices>
  164. <itemset>
  165. <label/>
  166. <value/>
  167. </itemset>
  168. </choices>
  169. </select1>
  170. </group>
  171. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; "/>
  172. </xhtml:body>
  173. </xhtml:html>