SMPIJ03000_항암제사전신청관리.xrw 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  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>항암제 사전신청 관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list01>
  11. <gridchemo/>
  12. </list01>
  13. </main>
  14. <send>
  15. <send_param>
  16. <fromdd/>
  17. <todd/>
  18. <chosflag>1</chosflag>
  19. <pid/>
  20. </send_param>
  21. <send_list/>
  22. </send>
  23. <hidden>
  24. <rslt/>
  25. </hidden>
  26. </root>
  27. </instance>
  28. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  29. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  30. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  31. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  32. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  33. <submission id="TRPIJ03000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_param" resultref="/root/main/list01"/>
  34. <submission id="TXPIJ03000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_list" resultref="/root/hidden/rslt"/>
  35. </model>
  36. <script type="javascript" ev:event="xforms-ready">
  37. <![CDATA[
  38. fInitialize();
  39. ]]>
  40. </script>
  41. <script type="javascript">
  42. <![CDATA[
  43. // 초기화 작업
  44. function fInitialize() {
  45. //날짜 입력 항목에 오늘 날자 세팅
  46. var curDate = getCurrentDate();
  47. ipt_fromdd.value = curDate;
  48. ipt_todd.value = curDate;
  49. ipt_pid.value= "";
  50. rdo_chosflag.select(0);
  51. model.removeNodeset("/root/main/list01/gridchemo");
  52. model.setFocus("ipt_fromdd");
  53. model.refresh();
  54. }
  55. function fChemoList(){
  56. model.removeNodeset("/root/main/list01/gridchemo");
  57. model.resetInstanceNode("/root/main/list01");
  58. model.refresh();
  59. submit("TRPIJ03000");
  60. }
  61. ]]>
  62. </script>
  63. </xhtml:head>
  64. <xhtml:body guideline="1,1199;" style="vertical-align:bottom; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  65. <group id="group1" style="left:0px; top:0px; width:1190px; height:13px; ">
  66. <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:265px; height:14px; ">항암제 사전신청 관리</caption>
  67. </group>
  68. <group id="group6" scroll="auto" style="left:0px; top:13px; width:1195px; height:742px; ">
  69. <group id="group2" style="left:0px; top:3px; width:1195px; height:42px; vertical-align:top; ">
  70. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  71. <line id="line13" class="line_4" style="x1:940px; y1:6px; x2:940px; y2:28px; border-color:#ffe4bb; border-left-style:solid; "/>
  72. <button id="btn_search" class="btn1_letter3" navindex="3" style="left:957px; top:6px; width:68px; height:22px; ">
  73. <caption>조 회</caption>
  74. <script type="javascript" ev:event="DOMActivate">
  75. <![CDATA[
  76. fChemoList();
  77. ]]>
  78. </script>
  79. </button>
  80. <caption id="caption7" class="search_name" style="left:328px; top:10px; width:93px; height:17px; ">구 분</caption>
  81. <select1 id="rdo_chosflag" ref="/root/send/send_param/chosflag" class="radio_search" appearance="full" cellspacing="5" cols="4" overflow="visible" style="left:414px; top:11px; width:176px; height:15px; background-color:#fffbf2; border-style:none; ">
  82. <choices>
  83. <item>
  84. <label>전체</label>
  85. <value>A</value>
  86. </item>
  87. <item>
  88. <label>신청</label>
  89. <value>Y</value>
  90. </item>
  91. <item>
  92. <label>미신청</label>
  93. <value>-</value>
  94. </item>
  95. </choices>
  96. </select1>
  97. <caption id="caption1" class="search_name" style="left:7px; top:10px; width:99px; height:17px; ">조회기간</caption>
  98. <button id="btn_excel" class="btn1_letter3" navindex="3" style="left:1027px; top:6px; width:68px; height:22px; ">
  99. <caption>Excel</caption>
  100. <script type="javascript" ev:event="DOMActivate">
  101. <![CDATA[
  102. var today = getCurrentDate(); // 엑셀파일이름에오늘날짜를 넣기위해 받아옴
  103. var fileName = window.fileDialog("save", ",", false, "항암제 사전신청 현황_"+today, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  104. if (fileName != "") {
  105. gridchemo.saveExcel(fileName, "sheetname:항암제 사전신청 현황; colhiddenextend:false; rowhiddenextend:true; exportfalsecols:; exportfalserows:;");
  106. }
  107. ]]>
  108. </script>
  109. </button>
  110. <input id="ipt_fromdd" ref="/root/send/send_param/fromdd" class="input_search" navindex="10" inputtype="date" format="yyyy-mm-dd" style="left:95px; top:10px; width:86px; height:19px; ">
  111. <script type="javascript" ev:event="xforms-value-changed">
  112. <![CDATA[
  113. fChemoList();
  114. ]]>
  115. </script>
  116. </input>
  117. <input id="ipt_todd" ref="/root/send/send_param/todd" class="input_search" navindex="10" inputtype="date" format="yyyy-mm-dd" style="left:185px; top:10px; width:86px; height:19px; ">
  118. <script type="javascript" ev:event="xforms-value-changed">
  119. <![CDATA[
  120. fChemoList();
  121. ]]>
  122. </script>
  123. </input>
  124. <button id="btn_save" class="btn4_letter3" style="left:1112px; top:6px; width:68px; height:22px; ">
  125. <caption>저 장</caption>
  126. <script type="javascript" ev:event="DOMActivate">
  127. <![CDATA[
  128. var updtdata = getGridUpdateData(gridchemo);
  129. if (updtdata == "") {
  130. messageBox("변경된 데이터가","I004");
  131. return;
  132. }
  133. model.makeValue("/root/send/send_list",gridchemo.getUpdateData());
  134. submit("TXPIJ03000");
  135. model.refresh();
  136. fChemoList();
  137. ]]>
  138. </script>
  139. </button>
  140. <caption id="caption2" class="search_name" style="left:645px; top:10px; width:99px; height:17px; ">환자번호</caption>
  141. <input id="ipt_pid" ref="/root/send/send_param/pid" style="left:730px; top:10px; width:100px; height:19px; ">
  142. <script type="javascript" ev:event="onkeypress">
  143. <![CDATA[
  144. if (event.keyCode == '13') {
  145. setInputNodeCurText();
  146. fChemoList();
  147. }
  148. ]]>
  149. </script>
  150. </input>
  151. </group>
  152. <group id="group3" scroll="auto" style="left:0px; top:44px; width:1190px; height:696px; ">
  153. <line id="line1" class="line_1" style="x1:4px; y1:2px; x2:1184px; y2:2px; "/>
  154. <datagrid id="gridchemo" nodeset="/root/main/list01/gridchemo" class="datagrid2" caption="환자번호^수진자명^프로토콜명^시작일자^사전&#xA;신청^주상병^구분^적용기간^진행상황^진료과^성별^나이^No." colsep="^" colwidth="83, 71, 233, 93, 46, 73, 59, 95, 66, 149, 35, 36, 100" dataheight="25" defaultrows="1" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="35" rowsep="|" tooltip="true" style="left:0px; top:5px; width:1185px; height:665px; vertical-align:middle; ">
  155. <col ref="pid" style="text-align:center; "/>
  156. <col ref="hngnm" style="text-align:center; "/>
  157. <col ref="prtlnm" style="text-align:left; "/>
  158. <col ref="appdd" format="yyyy-mm-dd" style="text-align:center; "/>
  159. <col checkvalue="Y,-" ref="prereqyn" type="checkbox" style="text-align:right; "/>
  160. <col ref="diagcd" style="text-align:left; "/>
  161. <col ref="ioflag" style="text-align:center; "/>
  162. <col ref="appterm" style="text-align:center; "/>
  163. <col ref="acptno" style="text-align:center; "/>
  164. <col ref="orddeptnm" style="text-align:left; "/>
  165. <col ref="sex" style="text-align:center; "/>
  166. <col ref="age" style="text-align:center; "/>
  167. <col ref="cpgappno" style="text-align:center; "/>
  168. </datagrid>
  169. </group>
  170. </group>
  171. <group id="grp_btn" style="left:0px; top:757px; width:1194px; height:27px; ">
  172. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  173. <button id="btn_init" class="btn4_letter3" navindex="22" style="left:1122px; top:2px; width:68px; height:22px; ">
  174. <caption>초기화</caption>
  175. <script type="javascript" ev:event="DOMActivate">
  176. <![CDATA[
  177. fInitialize();
  178. ]]>
  179. </script>
  180. </button>
  181. </group>
  182. </xhtml:body>
  183. </xhtml:html>