SMMNP06500_DCC월별 예약현황조회.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  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>DCC 월별 예약현황조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cond>
  11. <prestimportid/>
  12. <wardcd/>
  13. <orddeptcd/>
  14. <medispclid/>
  15. <orddd/>
  16. <opdeptcd>01</opdeptcd>
  17. <opcnfmdd/>
  18. <ampmflag>A</ampmflag>
  19. <opflagex/>
  20. <orddeptlist>
  21. <dept>
  22. <depthngnm/>
  23. <deptcd/>
  24. </dept>
  25. </orddeptlist>
  26. <oproomcd/>
  27. <pid/>
  28. <hngnm/>
  29. <orddeptcd/>
  30. <useflag/>
  31. <ampatcnt/>
  32. <pmpatcnt/>
  33. <totpatcnt/>
  34. <hdcode/>
  35. </cond>
  36. <rsrv>
  37. <rsrvlist>
  38. <temp/>
  39. <opdate/>
  40. </rsrvlist>
  41. </rsrv>
  42. <dscdetl>
  43. <pid/>
  44. <opcd/>
  45. <hngnm/>
  46. <sexage/>
  47. <cpgnm/>
  48. <opyn/>
  49. <anstyn/>
  50. <opcnfm/>
  51. <anstcnfm/>
  52. <orddd/>
  53. <cretno/>
  54. </dscdetl>
  55. <MmohiprcLists>
  56. <CureList>
  57. <kindcd/>
  58. <ordname/>
  59. <opcls/>
  60. <payflagcd/>
  61. </CureList>
  62. <CartList>
  63. <kindcd/>
  64. <goodcd/>
  65. <goodengnm/>
  66. <goodspec/>
  67. <goodmodel/>
  68. <deliveunit/>
  69. <goodqty/>
  70. </CartList>
  71. </MmohiprcLists>
  72. <menuitems>
  73. </menuitems>
  74. <patinfo>
  75. <patinfolist/>
  76. </patinfo>
  77. <popupendflag/>
  78. <rghtref>
  79. <rghtreflist>
  80. <pid/>
  81. <hngnm/>
  82. <gndrage/>
  83. <rrgstno/>
  84. </rghtreflist>
  85. </rghtref>
  86. </main>
  87. <send>
  88. <remark/>
  89. <opdate/>
  90. </send>
  91. <init>
  92. <msg/>
  93. <dccward/>
  94. </init>
  95. <code/>
  96. <rsrv>
  97. <bedlist/>
  98. <rsrv/>
  99. </rsrv>
  100. <popup>
  101. <item>
  102. <name>예약환자 정보보기</name>
  103. <func>fShowPatInfo</func>
  104. </item>
  105. <item>
  106. <name>처방조회</name>
  107. <func>fShowPrcpInfo</func>
  108. </item>
  109. <item>
  110. <name>환자진료정보조회</name>
  111. <func>fShowPatOrdInfo</func>
  112. </item>
  113. </popup>
  114. <temp>
  115. <dccinfo/>
  116. </temp>
  117. </root>
  118. </instance>
  119. <script type="javascript" ev:event="xforms-ready">
  120. <![CDATA[
  121. fInitScreen();
  122. ]]>
  123. </script>
  124. <bind id="bind_datagrid1_careinrmdd" ref="/root/main/dsc/dscList/careinrmdd" readonly="../oppatflagcd!= 'D'"/>
  125. <submission id="TRMNP06501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/rsrv"/>
  126. <submission id="TXMNP06501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  127. <submission id="TRMMO00129" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/result"/>
  128. <submission id="TRMNV00001" mediatype="application/x-www-form-urlencoded" method="post"/>
  129. </model>
  130. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  131. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  132. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  133. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  134. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  135. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  136. <script type="javascript" src="../../../emr/opanstweb/js/SMMNP06500.js"/>
  137. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  138. <script type="javascript" src="../../../lis/commonweb/js/LZZ001.js"/>
  139. <!-- 입실바코드출력관련 -->
  140. </xhtml:head>
  141. <xhtml:body guideline="1,1218;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  142. <line id="line8" class="line_3" style="x1:0px; y1:55px; x2:1179px; y2:55px; "/>
  143. <group id="group2" style="left:0px; top:21px; width:1194px; height:35px; vertical-align:top; ">
  144. <shape id="roundrect1" appearance="roundrect" b-color="#ffd799" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; "/>
  145. <caption id="caption8" class="search_name" style="left:5px; top:9px; width:86px; height:17px; ">업무일자 :</caption>
  146. <line id="line25" class="line_4" style="x1:980px; y1:5px; x2:980px; y2:27px; border-color:#ffe4bb; border-left-style:solid; "/>
  147. <input id="ipt_opcnfmdd" ref="/root/main/cond/opcnfmdd" class="input_default" navindex="1" inputtype="date" style="left:95px; top:8px; width:120px; height:19px; text-align:center; ">
  148. <script type="javascript" ev:event="xforms-value-changed">
  149. <![CDATA[
  150. fGetDCCRsrv();
  151. ]]>
  152. </script>
  153. </input>
  154. <button id="button9" class="btn1_letter2" style="left:1001px; top:6px; width:56px; height:22px; ">
  155. <caption>조회</caption>
  156. <script type="javascript" ev:event="DOMActivate">
  157. <![CDATA[
  158. fGetDCCRsrv();
  159. ]]>
  160. </script>
  161. </button>
  162. <caption id="caption5" class="search_name" style="left:246px; top:9px; width:86px; height:17px; ">예약현황 :</caption>
  163. <select1 id="radio1" ref="/root/main/cond/ampmflag" class="radio_search" navindex="15" appearance="full" cellspacing="7" cols="4" overflow="visible" style="left:335px; top:10px; width:165px; height:19px; ">
  164. <choices>
  165. <item>
  166. <label>전체</label>
  167. <value>-</value>
  168. </item>
  169. <item>
  170. <label>오전</label>
  171. <value>A</value>
  172. </item>
  173. <item>
  174. <label>오후</label>
  175. <value>P</value>
  176. </item>
  177. </choices>
  178. </select1>
  179. <button id="button3" class="btn1_letter2" style="left:1066px; top:6px; width:56px; height:22px; ">
  180. <caption>엑셀</caption>
  181. <script type="javascript" ev:event="DOMActivate">
  182. <![CDATA[
  183. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  184. if (fileName != "")
  185. {
  186. grd_rsrvlist.saveExcel(fileName);
  187. }
  188. ]]>
  189. </script>
  190. </button>
  191. <button id="button4" class="btn1_letter2" style="left:1126px; top:6px; width:56px; height:22px; ">
  192. <caption>출력</caption>
  193. <script type="javascript" ev:event="DOMActivate">
  194. <![CDATA[
  195. fInqurySelectedPrgm();
  196. ]]>
  197. </script>
  198. </button>
  199. </group>
  200. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">DCC 월별 예약현황조회</caption>
  201. <caption id="caption1" class="tit_2" style="left:5px; top:67px; width:100px; height:13px; ">공지사항</caption>
  202. <line id="line2" class="line_1" style="x1:5px; y1:83px; x2:1190px; y2:83px; "/>
  203. <textarea id="textarea1" ref="/root/send/remark" scroll="autovscroll" style="left:5px; top:88px; width:1185px; height:130px; ">
  204. <script type="javascript" ev:event="xforms-value-changed">
  205. <![CDATA[
  206. ]]>
  207. </script>
  208. </textarea>
  209. <caption id="caption2" class="tit_2" style="left:5px; top:230px; width:136px; height:13px; ">월별 예약현황 조회</caption>
  210. <line id="line1" class="line_1" style="x1:5px; y1:245px; x2:1190px; y2:245px; "/>
  211. <button id="button1" class="btn2_letter2" style="left:1148px; top:62px; width:42px; height:19px; ">
  212. <caption>저장</caption>
  213. <script type="javascript" ev:event="DOMActivate">
  214. <![CDATA[
  215. model.makeValue("/root/send/dccweekday" , "0"); // 공지사항 저장
  216. model.makeValue("/root/send/opdate" , "00000000"); // 공지사항 저장
  217. model.makeValue("/root/send/ambed" , "0");
  218. model.makeValue("/root/send/pmbed" , "0");
  219. model.makeValue("/root/send/sumbed" , "0");
  220. model.makeValue("/root/send/instcd" , getUserInfo("dutplceinstcd"));
  221. submit("TXMNP06501");
  222. ]]>
  223. </script>
  224. </button>
  225. <datagrid id="grd_rsrvlist" nodeset="/root/main/rsrv/rsrvlist" caption="날짜^" colsep="^" colwidth="45, 70" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" style="left:5px; top:250px; width:1185px; height:505px; ">
  226. <col ref="temp" style="text-align:center; vertical-align:middle; "/>
  227. <col ref="opdate" style="text-align:center; vertical-align:middle; "/>
  228. <script type="javascript" ev:event="onclick">
  229. <![CDATA[
  230. ]]>
  231. </script>
  232. <script type="javascript" ev:event="onmousedown">
  233. <![CDATA[
  234. if( isDataCell() ) {
  235. setPopupMenu("grd_rsrvlist", false, "/root/popup/item", "name", "func");
  236. }
  237. ]]>
  238. </script>
  239. <script type="javascript" ev:event="ondblclick">
  240. <![CDATA[
  241. if( isDataCell() ) {
  242. var cur_Row = grd_rsrvlist.row;
  243. var cur_Col = grd_rsrvlist.col;
  244. var color = grd_rsrvlist.cellStyle("background-color", cur_Row, cur_Col, cur_Row, cur_Col);
  245. if(color == "#bebebe"){
  246. messageBox("예약", "E001");
  247. }else{
  248. var opdate = grd_rsrvlist.valueMatrix(cur_Row, 1);
  249. var maxa = model.getValue("/root/rsrv/rsrv/maxa");
  250. if(cur_Col / 2 <= maxa)
  251. {
  252. var ampmflag = "A"
  253. }else{
  254. var ampmflag = "P"
  255. }
  256. opener.window.javaScript.setParameter("SPMMO00100_inhopedd", opdate);
  257. opener.window.javaScript.setParameter("SPMMO00100_ampmflag", ampmflag);
  258. window.close();
  259. }
  260. }
  261. ]]>
  262. </script>
  263. </datagrid>
  264. <group id="grp_btn" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
  265. <output id="opt_totpatcnt" ref="/root/main/cond/totpatcnt" style="left:109px; top:4px; width:25px; height:19px; font-size:10pt; font-weight:bold; text-align:center; "/>
  266. <caption id="caption10" style="left:10px; top:4px; width:105px; height:20px; font-weight:bold; vertical-align:middle; ">* 예약명수 : 총</caption>
  267. <button id="button2" class="btn3_letter9" style="left:1050px; top:3px; width:140px; height:22px; ">
  268. <caption>DCC 예약 bed생성</caption>
  269. <script type="javascript" ev:event="DOMActivate">
  270. <![CDATA[
  271. setParameter("opcnfmdd", model.getValue("/root/main/cond/opcnfmdd"));
  272. modal("SPMNP06400");
  273. fGetDCCRsrv();
  274. ]]>
  275. </script>
  276. </button>
  277. <caption id="caption3" style="left:134px; top:4px; width:66px; height:20px; font-weight:bold; vertical-align:middle; ">명, 오전</caption>
  278. <output id="opt_ampatcnt" ref="/root/main/cond/ampatcnt" style="left:194px; top:4px; width:25px; height:19px; font-size:10pt; font-weight:bold; text-align:center; "/>
  279. <caption id="caption4" style="left:219px; top:4px; width:61px; height:20px; font-weight:bold; vertical-align:middle; ">명, 오후</caption>
  280. <caption id="caption7" style="left:304px; top:4px; width:35px; height:20px; font-weight:bold; vertical-align:middle; ">명</caption>
  281. <output id="opt_pmpatcnt" ref="/root/main/cond/pmpatcnt" style="left:280px; top:4px; width:25px; height:19px; font-size:10pt; font-weight:bold; text-align:center; "/>
  282. </group>
  283. </xhtml:body>
  284. </xhtml:html>