SSMNW00300_특수주사실.xrw 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364
  1. <?xml version="1.0" encoding="UTF-8"?>
  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>
  9. <cond>
  10. <yyyy/>
  11. <dayflag/>
  12. <swflag/>
  13. <fromdd/>
  14. <todd/>
  15. <srchfromdd/>
  16. <srchtodd/>
  17. <srchflag>1</srchflag>
  18. <srchyy/>
  19. <srchmm/>
  20. </cond>
  21. <main>
  22. <chemotimeinfo>
  23. <chemotimelist>
  24. <m01/>
  25. <m02/>
  26. <m03/>
  27. <m04/>
  28. <m05/>
  29. <m06/>
  30. <m07/>
  31. <m08/>
  32. <m09/>
  33. <m10/>
  34. <m11/>
  35. <m12/>
  36. </chemotimelist>
  37. </chemotimeinfo>
  38. <deptgrpinfo>
  39. <deptgrplist>
  40. <m01/>
  41. <m02/>
  42. <m03/>
  43. <m04/>
  44. <m05/>
  45. <m06/>
  46. <m07/>
  47. <m08/>
  48. <m09/>
  49. <m10/>
  50. <m11/>
  51. <m12/>
  52. </deptgrplist>
  53. </deptgrpinfo>
  54. <daygrpinfo>
  55. <daygrplist>
  56. <item/>
  57. <mon/>
  58. <tue/>
  59. <wed/>
  60. <thu/>
  61. <fri/>
  62. <sat/>
  63. </daygrplist>
  64. </daygrpinfo>
  65. <daypatcntinfo>
  66. <daypatcntlist/>
  67. </daypatcntinfo>
  68. <roomopratioinfo>
  69. <roomopratiolist/>
  70. </roomopratioinfo>
  71. </main>
  72. <send/>
  73. </root>
  74. </instance>
  75. <submission id="TRSNW00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/chemotimeinfo"/>
  76. <submission id="TRSNW00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/deptgrpinfo"/>
  77. <submission id="TRSNW00303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/daygrpinfo"/>
  78. <submission id="TRSNW00304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/daypatcntinfo"/>
  79. <!--object id="tfexcel" clsid="{fe8d1001-6a9d-424d-ae2a-301493bb12da}" visibility="hidden" style="left:890px; top:0px; width:175px; height:30px; "/-->
  80. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  81. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  82. <script type="javascript" src="../../../com/commonweb/js/tChartHelper.js"/>
  83. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  84. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  85. <script type="javascript" src="../../../sts/stsenrweb/js/SSMNW00300.js"/>
  86. <script type="javascript" ev:event="xforms-ready">
  87. <![CDATA[
  88. fInit();
  89. ]]>
  90. </script>
  91. <script type="javascript">
  92. <![CDATA[
  93. ]]>
  94. </script>
  95. <submission id="TRSNW00305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/roomopratioinfo"/>
  96. </model>
  97. </xhtml:head>
  98. <xhtml:body pagewidth="1164" pageheight="663" style="font-family:돋움체; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  99. <button id="btn_testmv" class="btn_sw" group="tab" selected="true" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:0px; top:63px; width:116px; height:22px; font-family:돋움체; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  100. <caption>항암치료시간통계</caption>
  101. <toggle case="case1" ev:event="onclick"/>
  102. <script type="javascript" ev:event="DOMActivate">
  103. <![CDATA[
  104. model.toggle("case1");
  105. model.setValue('/root/cond/swflag', '1');
  106. model.refresh();
  107. fShowCntrl();
  108. fSearchChemoTime();
  109. ]]>
  110. </script>
  111. </button>
  112. <button id="button1" class="btn_sw" group="tab" selected="false" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:116px; top:63px; width:121px; height:22px; font-family:돋움체; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  113. <caption>임상과별이용통계</caption>
  114. <toggle case="case2" ev:event="onclick"/>
  115. <script type="javascript" ev:event="DOMActivate">
  116. <![CDATA[
  117. model.toggle("case2");
  118. model.setValue('/root/cond/swflag', '2');
  119. model.refresh();
  120. fShowCntrl();
  121. fSearchDeptGrp();
  122. ]]>
  123. </script>
  124. </button>
  125. <button id="button2" class="btn_sw" group="tab" selected="false" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:237px; top:63px; width:98px; height:22px; font-family:돋움체; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  126. <caption>요일별 통계</caption>
  127. <toggle case="case3" ev:event="onclick"/>
  128. <script type="javascript" ev:event="DOMActivate">
  129. <![CDATA[
  130. model.toggle("case3");
  131. model.setValue('/root/cond/swflag', '3');
  132. model.refresh();
  133. fShowCntrl();
  134. fSearchDayGrp();
  135. ]]>
  136. </script>
  137. </button>
  138. <switch id="swt_outrmmenu" style="left:0px; top:83px; width:1135px; height:535px; font-family:돋움체; border-color:#c7a3cf; border-style:solid; ">
  139. <case id="case1" selected="true" style="left:0px; top:0px; width:1190px; height:633px; font-family:돋움체; ">
  140. <datagrid id="grd_chemotime" nodeset="/root/main/chemotimeinfo/chemotimelist" class="datagrid2" caption="항목^1월^2월^3월^4월^5월^6월^7월^8월^9월^10월^11월^12월" colsep="^" colwidth="206, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75" ellipsis="true" fixedcols="1" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="25" rowheight="32" rowsep="|" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:6px; top:30px; width:1126px; height:500px; font-family:돋움체; ">
  141. <col ref="item"/>
  142. <col ref="m01" format="#,###" style="text-align:right; padding-right:3; "/>
  143. <col ref="m02" format="#,###" style="text-align:right; padding-right:3; "/>
  144. <col ref="m03" format="#,###" style="text-align:right; padding-right:3; "/>
  145. <col ref="m04" format="#,###" style="text-align:right; padding-right:3; "/>
  146. <col ref="m05" format="#,###" style="text-align:right; padding-right:3; "/>
  147. <col ref="m06" format="#,###" style="text-align:right; padding-right:3; "/>
  148. <col ref="m07" format="#,###" style="text-align:right; padding-right:3; "/>
  149. <col ref="m08" format="#,###" style="text-align:right; padding-right:3; "/>
  150. <col ref="m09" format="#,###" style="text-align:right; padding-right:3; "/>
  151. <col ref="m10" format="#,###" style="text-align:right; padding-right:3; "/>
  152. <col ref="m11" format="#,###" style="text-align:right; padding-right:3; "/>
  153. <col ref="m12" format="#,###" style="text-align:right; padding-right:3; "/>
  154. </datagrid>
  155. <caption id="caption21" class="tit_2" style="left:11px; top:10px; width:131px; height:13px; font-family:돋움체; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">항암치료시간통계</caption>
  156. <button id="button5" visibility="hidden" style="left:905px; top:5px; width:100px; height:20px; ">
  157. <caption>button5</caption>
  158. <script type="javascript" ev:event="DOMActivate">
  159. <![CDATA[
  160. drawLineAll(TChart1, grd_chemotime, "항암치료시간통계");
  161. ]]>
  162. </script>
  163. </button>
  164. </case>
  165. <case id="case2" style="font-family:돋움체; ">
  166. <caption id="caption17" class="tit_2" style="left:11px; top:10px; width:126px; height:13px; font-family:돋움체; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">임상과별이용통계</caption>
  167. <datagrid id="grd_deptgrp" nodeset="/root/main/deptgrpinfo/deptgrplist" class="datagrid2" caption="임상과^교수님^1월^2월^3월^4월^5월^6월^7월^8월^9월^10월^11월^12월" colsep="^" colwidth="113, 95, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75" ellipsis="true" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="25" rowheight="32" rowsep="|" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:6px; top:30px; width:1126px; height:500px; font-family:돋움체; ">
  168. <col ref="deptnm"/>
  169. <col ref="drnm"/>
  170. <col ref="m01" format="#,###" style="text-align:right; padding-right:3; "/>
  171. <col ref="m02" format="#,###" style="text-align:right; padding-right:3; "/>
  172. <col ref="m03" format="#,###" style="text-align:right; padding-right:3; "/>
  173. <col ref="m04" format="#,###" style="text-align:right; padding-right:3; "/>
  174. <col ref="m05" format="#,###" style="text-align:right; padding-right:3; "/>
  175. <col ref="m06" format="#,###" style="text-align:right; padding-right:3; "/>
  176. <col ref="m07" format="#,###" style="text-align:right; padding-right:3; "/>
  177. <col ref="m08" format="#,###" style="text-align:right; padding-right:3; "/>
  178. <col ref="m09" format="#,###" style="text-align:right; padding-right:3; "/>
  179. <col ref="m10" format="#,###" style="text-align:right; padding-right:3; "/>
  180. <col ref="m11" format="#,###" style="text-align:right; padding-right:3; "/>
  181. <col ref="m12" format="#,###" style="text-align:right; padding-right:3; "/>
  182. </datagrid>
  183. </case>
  184. <case id="case3" style="font-family:돋움체; ">
  185. <datagrid id="grd_daygrp" nodeset="/root/main/daygrpinfo/daygrplist" caption="^월요일^화요일^수요일^목요일^금요일^토요일" colsep="^" colwidth="203, 150, 150, 150, 150, 150, 150" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="byrow" style="left:6px; top:30px; width:1126px; height:500px; font-family:돋움체; ">
  186. <col ref="item"/>
  187. <col ref="mon"/>
  188. <col ref="tue"/>
  189. <col ref="wed"/>
  190. <col ref="thu"/>
  191. <col ref="fri"/>
  192. <col ref="sat"/>
  193. </datagrid>
  194. <caption id="caption1" class="tit_2" style="left:11px; top:10px; width:111px; height:15px; font-family:돋움체; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">요일별 통계</caption>
  195. </case>
  196. <case id="case4">
  197. <caption id="caption2" class="tit_2" style="left:1px; top:10px; width:111px; height:14px; font-family:돋움체; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">일자별 통계</caption>
  198. <line id="line1" class="line_1" style="x1:5px; y1:25px; x2:220px; y2:25px; "/>
  199. <datagrid id="grd_daypatcntlist" nodeset="/root/main/daypatcntinfo/daypatcntlist" caption="일자^환자수" colsep="^" colwidth="100, 97" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:30px; width:215px; height:495px; ">
  200. <col ref="dd" format="yyyy-mm-dd" style="text-align:center; "/>
  201. <col ref="cnt" style="text-align:center; "/>
  202. </datagrid>
  203. </case>
  204. <case id="case5">
  205. <caption id="cap_title5" class="tit_2" style="left:1px; top:10px; width:111px; height:14px; font-family:돋움체; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">일자별 통계</caption>
  206. <line id="line2" class="line_1" style="x1:5px; y1:25px; x2:220px; y2:25px; "/>
  207. <datagrid id="grd_roomopratiolist" nodeset="/root/main/roomopratioinfo/roomopratiolist" caption="일자^가동률" colsep="^" colwidth="100, 97" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:30px; width:215px; height:495px; ">
  208. <col ref="dd" format="yyyy-mm-dd" style="text-align:center; "/>
  209. <col ref="gadong" style="text-align:center; "/>
  210. </datagrid>
  211. </case>
  212. </switch>
  213. <group id="group2" style="left:0px; top:21px; width:1134px; height:40px; font-family:돋움체; vertical-align:top; ">
  214. <shape id="roundrect1" appearance="roundrect" b-color="#ffd799" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1134px; height:40px; background-color:#fffbf2; "/>
  215. <line id="line25" class="line_4" style="x1:980px; y1:10px; x2:980px; y2:32px; border-color:#ffe4bb; border-left-style:solid; "/>
  216. <button id="button9" class="btn1_letter2" style="left:991px; top:11px; width:56px; height:22px; ">
  217. <caption>조회</caption>
  218. <script type="javascript" ev:event="DOMActivate">
  219. <![CDATA[
  220. fSearch();
  221. ]]>
  222. </script>
  223. </button>
  224. <button id="button3" class="btn1_letter2" style="left:1050px; top:10px; width:56px; height:22px; ">
  225. <caption>엑셀</caption>
  226. <script type="javascript" ev:event="DOMActivate">
  227. <![CDATA[
  228. saveExcelAll("grd_chemotime|항암치료시간통계"
  229. ,"grd_deptgrp|임상과별이용통계"
  230. ,"grd_daygrp|요일별통계"
  231. ,"grd_daygrp|일자별통계"
  232. ,"grd_roomopratiolist|병상가동률통계"
  233. , true);
  234. ]]>
  235. </script>
  236. </button>
  237. <group id="group1" style="left:0px; top:2px; width:225px; height:35px; background-color:transparent; ">
  238. <button id="button59" class="icon_next" style="left:204px; top:11px; width:13px; height:15px; ">
  239. <caption/>
  240. <script type="javascript" ev:event="DOMActivate">
  241. <![CDATA[
  242. fMoveNextYear();
  243. ]]>
  244. </script>
  245. </button>
  246. <input id="ipt_stddd" ref="/root/cond/yyyy" class="input_default" navindex="1" format="yyyy" style="left:118px; top:8px; width:80px; height:19px; text-align:center; "/>
  247. <caption id="cpt_yyyy" class="search_name" style="left:5px; top:9px; width:96px; height:17px; ">조회년도 :</caption>
  248. <button id="button58" class="icon_pre" style="left:99px; top:12px; width:13px; height:15px; ">
  249. <caption/>
  250. <script type="javascript" ev:event="DOMActivate">
  251. <![CDATA[
  252. fMovePreYear();
  253. ]]>
  254. </script>
  255. </button>
  256. </group>
  257. <group id="group3" visibility="hidden" style="left:0px; top:1px; width:525px; height:35px; background-color:transparent; ">
  258. <caption id="caption3" class="search_name" style="left:0px; top:10px; width:86px; height:17px; font-family:돋움체; ">조회일자:</caption>
  259. <input id="ipt_fromdd" ref="/root/cond/fromdd" inputtype="date" style="left:85px; top:9px; width:100px; height:19px; font-family:돋움체; "/>
  260. <input id="ipt_todd" ref="/root/cond/todd" inputtype="date" style="left:205px; top:9px; width:100px; height:19px; font-family:돋움체; "/>
  261. <caption id="caption4" style="left:190px; top:10px; width:10px; height:15px; font-family:돋움체; font-weight:bold; ">~</caption>
  262. </group>
  263. <group id="group4" visibility="hidden" style="left:0px; top:0px; width:625px; height:35px; background-color:transparent; ">
  264. <caption id="cap_srchtitle" class="search_name" style="left:210px; top:11px; width:86px; height:17px; font-family:돋움체; ">조회일자:</caption>
  265. <input id="ipt_srchtodd" ref="/root/cond/srchtodd" inputtype="date" style="left:415px; top:10px; width:100px; height:19px; font-family:돋움체; "/>
  266. <caption id="cap_bar" style="left:400px; top:11px; width:10px; height:15px; font-family:돋움체; font-weight:bold; ">~</caption>
  267. <caption id="caption9" class="search_name" style="left:0px; top:10px; width:90px; height:17px; font-family:돋움체; ">조회구분 :</caption>
  268. <select1 id="rdo_srchflag" ref="/root/cond/srchflag" appearance="full" cols="3" overflow="visible" style="left:90px; top:10px; width:105px; height:20px; border-style:none; ">
  269. <choices>
  270. <item>
  271. <label>일자별</label>
  272. <value>1</value>
  273. </item>
  274. <item>
  275. <label>월별</label>
  276. <value>2</value>
  277. </item>
  278. </choices>
  279. <script type="javascript" ev:event="xforms-value-changed">
  280. <![CDATA[
  281. model.removeNodeset(grd_roomopratiolist.nodeset);
  282. var val = rdo_srchflag.value;
  283. if(val == "1") {
  284. cap_title5.value = "일자별 통계";
  285. grd_roomopratiolist.valueMatrix(0, grd_roomopratiolist.colRef("dd")) = "일자";
  286. cap_srchtitle.value = "조회일자:"
  287. ipt_srchfromdd.value = getCurrentDate();
  288. ipt_srchtodd.value = getCurrentDate();
  289. grd_roomopratiolist.colAttribute(grd_roomopratiolist.colRef("dd"), "format") = "yyyy-mm-dd";
  290. } else if(val == "2") {
  291. cap_title5.value = "월별 통계";
  292. grd_roomopratiolist.valueMatrix(0, grd_roomopratiolist.colRef("dd")) = "월";
  293. cap_srchtitle.value = "조회월:";
  294. ipt_srchmm.value = getCurrentDate().substr(0,6);
  295. grd_roomopratiolist.colAttribute(grd_roomopratiolist.colRef("dd"), "format") = "yyyy-mm";
  296. } else if(val == "3") {
  297. cap_title5.value = "연도별 통계";
  298. grd_roomopratiolist.valueMatrix(0, grd_roomopratiolist.colRef("dd")) = "월";
  299. cap_srchtitle.value = "조회연도:";
  300. ipt_srchyy.value = getCurrentDate().substr(0,4);
  301. }
  302. fShowCtrl2();
  303. ]]>
  304. </script>
  305. </select1>
  306. <input id="ipt_srchmm" ref="/root/cond/srchmm" inputtype="date" maxlength="6" format="yyyy-mm" style="left:295px; top:10px; width:75px; height:19px; font-family:돋움체; ">
  307. <script type="javascript" ev:event="xforms-value-changed">
  308. <![CDATA[
  309. var srchmm = ipt_srchmm.value;
  310. ipt_srchmm.value = srchmm.substr(0,6);
  311. ]]>
  312. </script>
  313. </input>
  314. <input id="ipt_srchyy" ref="/root/cond/srchyy" inputtype="date" maxlength="4" format="yyyy" style="left:295px; top:10px; width:50px; height:19px; font-family:돋움체; "/>
  315. <input id="ipt_srchfromdd" ref="/root/cond/srchfromdd" inputtype="date" style="left:295px; top:10px; width:100px; height:19px; font-family:돋움체; "/>
  316. </group>
  317. </group>
  318. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:224px; height:14px; font-family:돋움체; ">특수주사실통계</caption>
  319. <object id="tfexcel" clsid="{fe8d1001-6a9d-424d-ae2a-301493bb12da}" visibility="hidden" style="left:930px; top:455px; width:200px; height:150px; font-family:돋움체; "/>
  320. <button id="button4" class="btn_sw" group="tab" selected="false" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:335px; top:63px; width:98px; height:22px; font-family:돋움체; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  321. <caption>일자별 통계</caption>
  322. <toggle case="case3" ev:event="onclick"/>
  323. <script type="javascript" ev:event="DOMActivate">
  324. <![CDATA[
  325. model.toggle("case4");
  326. model.setValue('/root/cond/swflag', '4');
  327. fShowCntrl();
  328. ]]>
  329. </script>
  330. </button>
  331. <button id="button6" class="btn_sw" group="tab" selected="false" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:433px; top:63px; width:98px; height:22px; font-family:돋움체; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  332. <caption>병상가동률</caption>
  333. <toggle case="case3" ev:event="onclick"/>
  334. <script type="javascript" ev:event="DOMActivate">
  335. <![CDATA[
  336. model.toggle("case5");
  337. model.setValue('/root/cond/swflag', '5');
  338. rdo_srchflag.value = "1";
  339. cap_title5.value = "일자별 통계";
  340. ipt_srchfromdd.value = getCurrentDate();
  341. ipt_srchtodd.value = getCurrentDate();
  342. fShowCntrl();
  343. ]]>
  344. </script>
  345. </button>
  346. </xhtml:body>
  347. </xhtml:html>