SMMNP03500_CaseCart반납관리.xrw 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373
  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>Cart Bag</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <init>
  10. <oproomlist>
  11. <oproomcd/>
  12. <oproomnm/>
  13. </oproomlist>
  14. <rosettelist>
  15. <rosettenm/>
  16. <rosettecd/>
  17. </rosettelist>
  18. </init>
  19. <main>
  20. <cond>
  21. <opdd/>
  22. <oproomcd/>
  23. <rtnflag>2</rtnflag>
  24. <refcartgubn>O</refcartgubn>
  25. <pid/>
  26. <rosette/>
  27. <prntgood>G</prntgood>
  28. <prntinstr/>
  29. <prntcst/>
  30. <openflag>CCR</openflag>
  31. <prntpad/>
  32. <cartgubn>O</cartgubn>
  33. </cond>
  34. <castcartrtnmngtlist>
  35. <prntflag/>
  36. <rtnflag/>
  37. <ccrtstatnm/>
  38. <perfdeptabbr/>
  39. <oproomnm/>
  40. <opdt/>
  41. <pid/>
  42. <patnm/>
  43. <opnm/>
  44. <perfnm/>
  45. <anstdrnm/>
  46. <anstkind/>
  47. <opstat/>
  48. <opflag/>
  49. <oprsrvno/>
  50. <ccrtstat/>
  51. <roomcd/>
  52. <sa/>
  53. <wardnm/>
  54. <opcnfmdd/>
  55. <disp1/>
  56. <disp2/>
  57. <disp3/>
  58. <goodstat/>
  59. <instrstat/>
  60. <cststat/>
  61. <patflagcd/>
  62. <tm/>
  63. <opstatcd/>
  64. <bagstat/>
  65. </castcartrtnmngtlist>
  66. </main>
  67. <send>
  68. <reqdata/>
  69. <savedata/>
  70. <report>
  71. <oprsrvno/>
  72. <opdd/>
  73. <oproomnm/>
  74. <roomcd/>
  75. <orddept/>
  76. <perfdr/>
  77. <pid/>
  78. <patnm/>
  79. <sa/>
  80. <patflagcd/>
  81. <opnm/>
  82. <instcd/>
  83. <usernm/>
  84. <optype/>
  85. <prntdd/>
  86. <opfromtm/>
  87. <cartgubn/>
  88. </report>
  89. </send>
  90. <hidden/>
  91. <temp>
  92. <refstatus/>
  93. </temp>
  94. </root>
  95. </instance>
  96. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  97. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  98. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  99. <script type="javascript" src="../../../emr/opanstweb/js/SMMNP03500.js"/>
  100. <script type="javascript" ev:event="xforms-ready">
  101. <![CDATA[
  102. makeReportPreview(0, 50, 1194, 600, "grp_report");
  103. fInit();
  104. ]]>
  105. </script>
  106. <submission id="TRMNP03502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/castcartrtnmngtlist"/>
  107. <submission id="TXMNP03501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/castcartrtnmngtlist"/>
  108. <script type="javascript" ev:event="xforms-close">
  109. <![CDATA[
  110. model.setValue("/root/temp/refstatus", "C");
  111. ]]>
  112. </script>
  113. <submission id="TRMNP03002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/oproomlist"/>
  114. <submission id="TRMNP03004" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/rosettelist"/>
  115. </model>
  116. </xhtml:head>
  117. <xhtml:body guideline="1,1195;1,5;1,1194;2,363;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  118. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  119. <button id="btn_cnclrtn" class="btn5_letter4" visibility="hidden" style="left:1128px; top:55px; width:64px; height:19px; ">
  120. <caption>반납취소</caption>
  121. <script type="javascript" ev:event="DOMActivate">
  122. <![CDATA[
  123. fCnclRtn();
  124. ]]>
  125. </script>
  126. </button>
  127. <group id="grp_report" visibility="hidden" style="left:445px; top:460px; width:315px; height:105px; "/>
  128. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  129. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  130. <caption id="caption2" class="search_name" style="left:390px; top:10px; width:86px; height:17px; ">수술일자 :</caption>
  131. <caption id="caption4" class="search_name" style="left:610px; top:10px; width:86px; height:17px; ">수술방 :</caption>
  132. <button id="btn_search" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  133. <caption>조회</caption>
  134. <script type="javascript" ev:event="DOMActivate">
  135. <![CDATA[
  136. fSearch();
  137. ]]>
  138. </script>
  139. </button>
  140. <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
  141. <select1 id="cmb_oproomlist" ref="/root/main/cond/oproomcd" class="combo_search" appearance="minimal" style="left:747px; top:10px; width:58px; height:19px; ">
  142. <choices>
  143. <itemset nodeset="/root/init/oproomlist">
  144. <label ref="oproomnm"/>
  145. <value ref="oproomcd"/>
  146. </itemset>
  147. </choices>
  148. <script type="javascript" ev:event="xforms-value-changed">
  149. <![CDATA[
  150. fSearch();
  151. ]]>
  152. </script>
  153. </select1>
  154. <input id="input3" ref="/root/main/cond/opdd" class="input_search" inputtype="date" style="left:479px; top:10px; width:100px; height:19px; ">
  155. <script type="javascript" ev:event="xforms-value-changed">
  156. <![CDATA[
  157. fSearch();
  158. ]]>
  159. </script>
  160. </input>
  161. <select1 id="radio1" ref="/root/main/cond/rtnflag" appearance="full" cols="3" overflow="visible" style="left:290px; top:10px; width:100px; height:20px; border-style:none; ">
  162. <choices>
  163. <item>
  164. <label>반납</label>
  165. <value>1</value>
  166. </item>
  167. <item>
  168. <label>미반납</label>
  169. <value>2</value>
  170. </item>
  171. </choices>
  172. <script type="javascript" ev:event="xforms-value-changed">
  173. <![CDATA[
  174. if( model.getValue("/root/main/cond/rtnflag") == "1" ) {//반납
  175. btn_listprn.attribute("style") = "left:1007px; top:55px; width:64px; height:19px;";
  176. btn_excel.attribute("style") = "left:1073px; top:55px; width:53px; height:19px;";
  177. btn_cnclrtn.attribute("style") = "left:1128px; top:55px; width:64px; height:19px;";
  178. btn_rtnprn.attribute("style") = "left:886px; top:55px; width:119px; height:19px;";
  179. btn_cnclrtn.visible = "true";
  180. btn_rtn.visible = "false";
  181. }else {
  182. btn_listprn.attribute("style") = "left:1029px; top:55px; width:64px; height:19px;";
  183. btn_excel.attribute("style") = "left:1095px; top:55px; width:53px; height:19px;";
  184. btn_rtn.attribute("style") = "left:1150px; top:55px; width:42px; height:19px;";
  185. btn_rtnprn.attribute("style") = "left:908px; top:55px; width:119px; height:19px;";
  186. btn_cnclrtn.visible = "false";
  187. btn_rtn.visible = "true";
  188. }
  189. fSearch();
  190. ]]>
  191. </script>
  192. </select1>
  193. <caption id="caption5" class="search_name" style="left:200px; top:10px; width:86px; height:17px; ">반납여부 :</caption>
  194. <caption id="caption7" class="search_name" style="left:815px; top:10px; width:86px; height:17px; ">등록번호 :</caption>
  195. <input id="input1" ref="/root/main/cond/pid" style="left:905px; top:10px; width:100px; height:19px; ">
  196. <script type="javascript" ev:event="onkeyup">
  197. <![CDATA[
  198. inputEnterKey("btn_search", "DOMActivate");
  199. ]]>
  200. </script>
  201. </input>
  202. <select1 id="cmb_rosette" ref="/root/main/cond/rosette" class="combo_search" appearance="minimal" style="left:685px; top:10px; width:58px; height:19px; ">
  203. <choices>
  204. <itemset nodeset="/root/init/rosettelist">
  205. <label ref="rosettenm"/>
  206. <value ref="rosettecd"/>
  207. </itemset>
  208. </choices>
  209. <script type="javascript" ev:event="xforms-value-changed">
  210. <![CDATA[
  211. model.removenode("/root/send");
  212. model.makeNode("/root/send");
  213. model.makeValue("/root/send/opcnfmdd" ,model.getValue("/root/main/cond/opdd") );
  214. model.makeValue("/root/send/rosette" ,model.getValue("/root/main/cond/rosette"));
  215. if(submit("TRMNP03002")){ // 수술실코드 가져오기
  216. addComboItem("cmb_oproomlist","전체","","above");
  217. }
  218. cmb_oproomlist.refresh();
  219. ]]>
  220. </script>
  221. </select1>
  222. <caption id="caption10" class="search_name" style="left:15px; top:10px; width:61px; height:17px; ">구분 :</caption>
  223. <select1 id="rdo_cartgubn" ref="/root/main/cond/cartgubn" appearance="full" cols="2" overflow="visible" style="left:80px; top:10px; width:100px; height:13px; border-style:none; ">
  224. <choices>
  225. <item>
  226. <label>수술</label>
  227. <value>O</value>
  228. </item>
  229. <item>
  230. <label>마취</label>
  231. <value>A</value>
  232. </item>
  233. </choices>
  234. <script type="javascript" ev:event="xforms-value-changed">
  235. <![CDATA[
  236. fSearch();
  237. ]]>
  238. </script>
  239. </select1>
  240. </group>
  241. <line id="line1" class="line_1" style="x1:0px; y1:76px; x2:1194px; y2:76px; "/>
  242. <datagrid id="grd_casecartrtnmngtlist" nodeset="/root/main/castcartrtnmngtlist" class="datagrid2" autoresize="true" caption="출력^반납^Cart&#xA;상태^집도과^불출^수술일시^등록번호^환자명^수술명^집도의^마취의^마취&#xA;종류^진행&#xA;상태^수술&#xA;구분^수술예약번호^수술상태^roomcd^sa^병동명^수술일자^환자구분^수술시작시간^수술진행코드" colsep="^" colwidth="50, 50, 50, 50, 45, 120, 75, 75, 330, 75, 75, 50, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:81px; width:1194px; height:662px; ">
  243. <col ref="prntflag" type="checkbox"/>
  244. <col ref="rtnflag" type="checkbox"/>
  245. <col ref="ccrtstatnm" style="text-align:center; "/>
  246. <col ref="perfdeptabbr" style="text-align:center; "/>
  247. <col ref="oproomnm" style="text-align:center; "/>
  248. <col ref="opdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  249. <col ref="pid" style="text-align:center; "/>
  250. <col ref="patnm" style="text-align:center; "/>
  251. <col ref="opnm" style="text-align:left; "/>
  252. <col ref="perfnm" style="text-align:center; "/>
  253. <col ref="anstdrnm" style="text-align:left; "/>
  254. <col ref="anstkind" style="text-align:center; "/>
  255. <col ref="opstat" style="text-align:center; "/>
  256. <col ref="opflag" style="text-align:center; "/>
  257. <col ref="oprsrvno" style="text-align:center; "/>
  258. <col ref="ccrtstat" style="text-align:center; "/>
  259. <col ref="roomcd" style="text-align:center; "/>
  260. <col ref="sa" style="text-align:center; "/>
  261. <col ref="wardnm" style="text-align:center; "/>
  262. <col ref="opcnfmdd" style="text-align:center; "/>
  263. <col ref="disp1" style="text-align:center; "/>
  264. <col ref="disp2" style="text-align:center; "/>
  265. <col ref="disp3" style="text-align:center; "/>
  266. <col ref="goodstat" style="text-align:center; "/>
  267. <col ref="instrstat" style="text-align:center; "/>
  268. <col ref="cststat" style="text-align:center; "/>
  269. <col ref="patflagcd" style="text-align:center; "/>
  270. <col ref="tm" style="text-align:center; "/>
  271. <col ref="opstatcd" style="text-align:center; "/>
  272. <script type="javascript" ev:event="ondblclick">
  273. <![CDATA[
  274. if( isDataCell() ) {
  275. fDblClick();
  276. fSearch();
  277. }
  278. ]]>
  279. </script>
  280. <script type="javascript" ev:event="onaftersort">
  281. <![CDATA[
  282. grd_casecartrtnmngtlist.gridToInstance();
  283. model.refresh();
  284. ]]>
  285. </script>
  286. </datagrid>
  287. <button id="btn_rtn" class="btn5_letter2" style="left:1150px; top:55px; width:42px; height:19px; ">
  288. <caption>반납</caption>
  289. <script type="javascript" ev:event="DOMActivate">
  290. <![CDATA[
  291. fSaveRtn();
  292. ]]>
  293. </script>
  294. </button>
  295. <button id="btn_listprn" class="btn2_letter4" style="left:1029px; top:55px; width:64px; height:19px; ">
  296. <caption>List출력</caption>
  297. <script type="javascript" ev:event="DOMActivate">
  298. <![CDATA[
  299. exeReportPreview("RPMNP03503", "XMLSTR", "", "", "true", "", "", "", "", "true");
  300. ]]>
  301. </script>
  302. </button>
  303. <caption id="caption3" style="left:340px; top:55px; width:424px; height:20px; font-weight:bold; color:#ff0000; vertical-align:middle; ">※ Cart Bag 반납내역상세조회는 더블 클릭하시면 조회할 수 있습니다.</caption>
  304. <caption id="caption1" class="tit_2" style="left:0px; top:60px; width:131px; height:14px; ">Cart Bag 반납관리</caption>
  305. <button id="btn_excel" class="btn2_letter3" style="left:1095px; top:55px; width:53px; height:19px; ">
  306. <caption>Excel</caption>
  307. <script type="javascript" ev:event="DOMActivate">
  308. <![CDATA[
  309. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  310. if (fileName != "")
  311. {
  312. grd_casecartrtnmngtlist.saveExcel(fileName, "SheetName", false, false, "", "", true);
  313. }
  314. ]]>
  315. </script>
  316. </button>
  317. <button id="btn_rtnprn" class="btn5_letter9" style="left:908px; top:55px; width:119px; height:19px; ">
  318. <caption>반납 상세내역 출력</caption>
  319. <script type="javascript" ev:event="DOMActivate">
  320. <![CDATA[
  321. group5.visible = true;
  322. model.refresh();
  323. ]]>
  324. </script>
  325. </button>
  326. <group id="group5" visibility="hidden" style="left:840px; top:130px; width:250px; height:50px; background-color:#87CEFA; ">
  327. <caption id="caption14" class="tit_2" style="left:5px; top:5px; width:188px; height:14px; ">출력할 구분을 체크하십시요.</caption>
  328. <button id="btn_prtlabel" class="btn5_letter2" style="left:155px; top:25px; width:42px; height:19px; ">
  329. <caption>확인</caption>
  330. <script type="javascript" ev:event="DOMActivate">
  331. <![CDATA[
  332. fPrntCartRtnHist("1");
  333. group5.visible = false;
  334. model.refresh();
  335. ]]>
  336. </script>
  337. </button>
  338. <button id="button3" class="btn5_letter2" style="left:200px; top:25px; width:42px; height:19px; ">
  339. <caption>취소</caption>
  340. <script type="javascript" ev:event="DOMActivate">
  341. <![CDATA[
  342. group5.visible = false;
  343. model.refresh();
  344. ]]>
  345. </script>
  346. </button>
  347. <select id="checkbox5" ref="/root/main/cond/prntgood" overflow="visible" appearance="full" style="left:5px; top:25px; width:45px; height:20px; border-style:none; ">
  348. <choices>
  349. <item>
  350. <label>물품</label>
  351. <value>G</value>
  352. </item>
  353. </choices>
  354. </select>
  355. <select id="checkbox6" ref="/root/main/cond/prntinstr" overflow="visible" appearance="full" style="left:50px; top:25px; width:85px; height:20px; border-style:none; ">
  356. <choices>
  357. <item>
  358. <label>기구/소모품</label>
  359. <value>I</value>
  360. </item>
  361. </choices>
  362. </select>
  363. </group>
  364. <caption id="caption8" class="color_6" style="left:145px; top:57px; width:15px; height:15px; background-color:#D22D2D; "/>
  365. <caption id="caption15" style="left:165px; top:58px; width:35px; height:15px; ">취소</caption>
  366. <caption id="caption9" style="left:215px; top:58px; width:35px; height:15px; ">반납</caption>
  367. <caption id="caption18" class="color_6" style="left:195px; top:57px; width:15px; height:15px; background-color:#2D2DD2; "/>
  368. </group>
  369. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">Cart Bag 반납관리</caption>
  370. </xhtml:body>
  371. </xhtml:html>