SPLPT00200_보관상세내역.xrw 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPLPT00200_보관상세내역.xrw
  4. * 설 명 : 보관상세내역
  5. * 설 계 자 : (주)에이씨케이 - 유동철
  6. * 작 성 자 : (주)에이씨케이 - 유동철
  7. * 작 성 일 : 2007.09.30
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>보관검체 상세내역</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <keepspc>
  20. <keepspclist>
  21. <choi/>
  22. <instcd/>
  23. <ptno/>
  24. <dispptno/>
  25. <keepptno/>
  26. <keepdispptno/>
  27. <pid/>
  28. <patnm/>
  29. <spccd/>
  30. <spcnm/>
  31. <keepdd/>
  32. <keeptm/>
  33. <keepid/>
  34. <keepnm/>
  35. <eqmtcd/>
  36. <sectno/>
  37. <rackno/>
  38. <boxno/>
  39. <posno/>
  40. </keepspclist>
  41. </keepspc>
  42. </main>
  43. <send/>
  44. <init>
  45. </init>
  46. <hidden/>
  47. </root>
  48. </instance>
  49. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  50. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  51. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  52. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  53. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  54. <script type="javascript" ev:event="xforms-ready">
  55. <![CDATA[
  56. fExeInitialize();
  57. ]]>
  58. </script>
  59. <submission id="TRLPT00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/keepspc/keepspclist"/>
  60. <submission id="TXLPT00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/message"/>
  61. </model>
  62. <script type="javascript">
  63. <![CDATA[
  64. /* @group : 보관상세내역
  65. * @ver : 2007.09.30 (CMCDEV-0001)
  66. * @by : 유동철(ACK)
  67. * @-----------------------------------
  68. * @type : function
  69. * @access : public
  70. * @desc : 화면초기화 함수
  71. */
  72. function fExeInitialize() {
  73. //----------------------------------------------------
  74. model.removeNodeset("/root/main/keepspc/keepspclist");
  75. /*
  76. model.makeValue("/root/init/instcd", "012");
  77. model.makeValue("/root/init/eqmtcd", "AA");
  78. model.makeValue("/root/init/sectno", "1");
  79. model.makeValue("/root/init/rackno", "2");
  80. model.makeValue("/root/init/boxno", "1");
  81. model.makeValue("/root/init/posno", "4");
  82. */
  83. //-------------------
  84. // 병리번호 목록 조회
  85. model.makeValue("/root/send/instcd", model.getValue("/root/init/instcd"));
  86. model.makeValue("/root/send/eqmtcd", model.getValue("/root/init/eqmtcd"));
  87. model.makeValue("/root/send/sectno", model.getValue("/root/init/sectno"));
  88. model.makeValue("/root/send/rackno", model.getValue("/root/init/rackno"));
  89. model.makeValue("/root/send/boxno", model.getValue("/root/init/boxno"));
  90. model.makeValue("/root/send/posno", model.getValue("/root/init/posno"));
  91. submit("TRLPT00201");
  92. //------------------------------------------
  93. grd_keepspclist.fixedcellcheckbox(0,0)=true;
  94. //--------------
  95. model.refresh();
  96. }
  97. /* @group : 동결절편 결과조회 화면
  98. * @ver : 2007.09.30 (CMCDEV-0001)
  99. * @by : 유동철(ACK)
  100. * @-----------------------------------
  101. * @type : function
  102. * @access : public
  103. * @desc : 화면종료 함수
  104. */
  105. function fExePopupClose() {
  106. window.close();
  107. }
  108. /* @group : 동결절편 결과조회 화면
  109. * @ver : 2007.10.01 (CMCDEV-0001)
  110. * @by : 유동철(ACK)
  111. * @-----------------------------------
  112. * @type : function
  113. * @access : public
  114. * @desc : 보관검체 삭제 처리 함수
  115. */
  116. function fExeKeepSpcDel() {
  117. var bState = false;
  118. var sNode = "/root/main/keepspc/keepspclist";
  119. //----------------------------
  120. grd_keepspclist.clearStatus();
  121. //-----------------------------------------------------
  122. for (var iNo=1; iNo <= getNodesetCount(sNode); iNo++) {
  123. if (model.getValue(sNode+"["+iNo+"]/choi") == "true") {
  124. grd_keepspclist.addStatus(iNo, "insert");
  125. bState = true;
  126. }
  127. }
  128. //------------
  129. if (!bState) {
  130. messageBox("삭제대상을 ", "C002");
  131. return false;
  132. }
  133. //--------------------------------
  134. model.removeNodeset("/root/send");
  135. model.makeValue("/root/send/keepspclist", grd_keepspclist.getUpdateData());
  136. //-----------
  137. setAlertOn();
  138. if (submit("TXLPT00201")) {
  139. for (var iNo=getNodesetCount(sNode); iNo >= 1; iNo--) {
  140. if (model.getValue(sNode+"["+iNo+"]/choi") == "true") {
  141. grd_keepspclist.deleteRow(iNo);
  142. }
  143. }
  144. }
  145. //--------------
  146. model.refresh();
  147. }
  148. ]]>
  149. </script>
  150. </xhtml:head>
  151. <xhtml:body pagewidth="776" pageheight="546" guideline="1,1063;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  152. <group id="grp_biz" style="left:0px; top:0px; width:760; height:503; ">
  153. <caption id="caption5" class="tit_2" style="left:5px; top:0px; width:111px; height:14px; ">보관목록</caption>
  154. <line id="line2" class="line_1" style="x1:0px; y1:15px; x2:760px; y2:15px; "/>
  155. <datagrid id="grd_keepspclist" nodeset="/root/main/keepspc/keepspclist" caption="선택^기관코드^ptno^조직병리번호^keepptno^보관병리번호^등록번호^환자명^검체코드^검체^보관일자^보관시간^keepid^보관자^eqmtcd^sectno^rackno^boxno^posno" colsep="^" colwidth="50, 0, 0, 80, 0, 80, 70, 70, 0, 160, 70, 60, 0, 100, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowsep="|" navindex="6" style="left:0px; top:20px; width:760px; height:483; border-color:#c0c0c0; border-style:solid; ">
  156. <col ref="choi" type="checkbox"/>
  157. <col ref="instcd"/>
  158. <col ref="ptno"/>
  159. <col class="text_center" ref="dispptno"/>
  160. <col ref="keepptno"/>
  161. <col ref="keepdispptno"/>
  162. <col class="text_center" ref="pid"/>
  163. <col class="text_center" ref="patnm"/>
  164. <col class="text_center" ref="spccd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  165. <col class="text_center" ref="spcnm" format="99:99:99" mask="exclude" showmask="true"/>
  166. <col ref="keepdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  167. <col ref="keeptm" format="hh:nn:ss" mask="exclude" showmask="true"/>
  168. <col ref="keepid"/>
  169. <col ref="keepnm"/>
  170. <col ref="eqmtcd"/>
  171. <col ref="sectno"/>
  172. <col ref="rackno"/>
  173. <col ref="boxno"/>
  174. <col ref="posno"/>
  175. </datagrid>
  176. </group>
  177. <group id="grp_btn" scroll="auto" style="left:0px; top:503; width:760; height:27px; ">
  178. <button id="btn_cls" class="btn4_letter2" navindex="7" style="left:704; top:5px; width:56px; height:22px; ">
  179. <caption>닫기</caption>
  180. <script type="javascript" ev:event="DOMActivate">
  181. <![CDATA[
  182. fExePopupClose();
  183. ]]>
  184. </script>
  185. </button>
  186. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:760; y2:0px; "/>
  187. <button id="btn_del" class="btn4_letter2" navindex="7" style="left:645; top:5px; width:56px; height:22px; ">
  188. <caption>삭제</caption>
  189. <script type="javascript" ev:event="DOMActivate">
  190. <![CDATA[
  191. fExeKeepSpcDel();
  192. ]]>
  193. </script>
  194. </button>
  195. </group>
  196. </xhtml:body>
  197. </xhtml:html>