SPLPJ02100_병리번호목록.xrw 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPLPJ02101_병리번호목록
  4. * 설 명 : 병리번호목록
  5. * 설 계 자 : 설계자가 별도로 존재시 작성
  6. * 작 성 자 : 유동철(ACK)
  7. * 작 성 일 : 2007.07.03
  8. * 수정이력 : 최종작성일 기준으로 변경사항 이력관리
  9. * 기 타 : 주석문에 반영되어야 할 사항 표기
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <ptno>
  20. <ptnolist>
  21. <instcd/>
  22. <ptno/>
  23. <dispptno>SH07-234567</dispptno>
  24. <pid>2345678987</pid>
  25. <patnm>홍길동가나다</patnm>
  26. <acptdd>20072222</acptdd>
  27. <acpttm>121212</acpttm>
  28. <acptno/>
  29. <spccd/>
  30. <spcnm/>
  31. <spcacptdd/>
  32. <spcacptno/>
  33. <acptseqno/>
  34. <grosdrnm/>
  35. </ptnolist>
  36. </ptno>
  37. </main>
  38. <send/>
  39. <init>
  40. <ptnoflagcd/>
  41. </init>
  42. <hidden>
  43. </hidden>
  44. </root>
  45. </instance>
  46. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  47. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  49. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  50. <submission id="TRLPJ02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ptno/ptnolist"/>
  51. <script type="javascript" ev:event="xforms-ready">
  52. <![CDATA[
  53. fExeInitialize();
  54. ]]>
  55. </script>
  56. </model>
  57. <script type="javascript">
  58. <![CDATA[
  59. /* @group : 의뢰지 검체정보
  60. * @ver : 2007.07.03 (CMCDEV-0001)
  61. * @by : 유동철(ACK)
  62. * @-----------------------------------
  63. * @type : function
  64. * @access : public
  65. * @desc : 화면종료 처리 Function
  66. */
  67. function fExeInitialize() {
  68. //------------
  69. // 초기값 설정
  70. if(model.property("bfptnocnclptno") == "1") {
  71. model.makeValue("/root/init/ptnoflagcd", "1");
  72. } else {
  73. model.makeValue("/root/init/ptnoflagcd", "0");
  74. }
  75. //-------------------
  76. // 병리번호 목록 검색
  77. fGetBfAfPtNoList();
  78. //--------------
  79. model.refresh();
  80. }
  81. /* @group : 의뢰지 검체정보
  82. * @ver : 2007.07.03 (CMCDEV-0001)
  83. * @by : 유동철(ACK)
  84. * @-----------------------------------
  85. * @type : function
  86. * @access : public
  87. * @desc : 화면종료 처리 Function
  88. */
  89. function fExeWindowClose() {
  90. model.close();
  91. }
  92. /* @group : 의뢰지 검체정보
  93. * @ver : 2007.07.03 (CMCDEV-0001)
  94. * @by : 유동철(ACK)
  95. * @-----------------------------------
  96. * @type : function
  97. * @access : public
  98. * @desc : 병리번호 구분 변경 처리 Function
  99. */
  100. function fExePtNoChange() {
  101. fGetBfAfPtNoList();
  102. }
  103. /* @group : 의뢰지 검체정보
  104. * @ver : 2007.07.03 (CMCDEV-0001)
  105. * @by : 유동철(ACK)
  106. * @-----------------------------------
  107. * @type : function
  108. * @access : public
  109. * @desc : 병리번호 목록 조회 처리 Function
  110. */
  111. function fGetBfAfPtNoList() {
  112. //--------------------------------
  113. model.removeNodeset("/root/send");
  114. //-----------------------------------------------------------------
  115. model.makeValue("/root/send/instcd", model.property("instcd"));
  116. model.makeValue("/root/send/pid", model.property("pid"));
  117. model.makeValue("/root/send/ptnoflagcd", model.getValue("/root/init/ptnoflagcd"));
  118. //-------------------
  119. submit("TRLPJ02101");
  120. }
  121. /* @group : 의뢰지 검체정보
  122. * @ver : 2007.07.03 (CMCDEV-0001)
  123. * @by : 유동철(ACK)
  124. * @-----------------------------------
  125. * @type : function
  126. * @access : public
  127. * @desc : 병리번호 선택 처리 Function
  128. */
  129. function fExeGridSelect() {
  130. var grdRow = grd_ptnolist.row;
  131. if (grdRow > 0 && grd_ptnolist.isCell(event.target) && grdRow >= grd_ptnolist.fixedRows) {
  132. // Continue
  133. } else {
  134. return false;
  135. }
  136. //---------------------------------------------------------------------------------------
  137. model.property("ptno") = model.getValue("/root/main/ptno/ptnolist["+grdRow+"]/ptno");
  138. model.property("dispptno") = model.getValue("/root/main/ptno/ptnolist["+grdRow+"]/dispptno");
  139. //---------------------------------------------------
  140. if (model.getValue("/root/init/ptnoflagcd") == "0") {
  141. model.property("bfacptdd") = model.getValue("/root/main/ptno/ptnolist["+grdRow+"]/acptdd");
  142. model.property("bfacptno") = model.getValue("/root/main/ptno/ptnolist["+grdRow+"]/acptno");
  143. model.property("bfacptseqno") = model.getValue("/root/main/ptno/ptnolist["+grdRow+"acptseqno");
  144. model.property("reuseflagcd") = "0";
  145. model.property("bfspcacptdd") = model.getValue("/root/main/ptno/ptnolist["+grdRow+"]/spcacptdd");
  146. model.property("bfspcacptno") = model.getValue("/root/main/ptno/ptnolist["+grdRow+"]/spcacptno");
  147. } else {
  148. model.property("bfacptdd") = "-";
  149. model.property("bfacptno") = "-";
  150. model.property("bfacptseqno") = "0";
  151. model.property("reuseflagcd") = "1";
  152. model.property("bfspcacptdd") = "-";
  153. model.property("bfspcacptno") = "-";
  154. }
  155. //----------------
  156. fExeWindowClose();
  157. }
  158. ]]>
  159. </script>
  160. </xhtml:head>
  161. <xhtml:body pagewidth="566" pageheight="566" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  162. <group id="group2" scroll="auto" style="left:0px; top:523; width:550; height:27px; ">
  163. <button id="btn_cls" class="btn4_letter2" navindex="7" style="left:494; top:5px; width:56px; height:22px; ">
  164. <caption>닫기</caption>
  165. <script type="javascript" ev:event="DOMActivate">
  166. <![CDATA[
  167. fExeWindowClose();
  168. ]]>
  169. </script>
  170. </button>
  171. <line id="line17" class="line_6" style="x1:0px; y1:0px; x2:432; y2:0px; "/>
  172. </group>
  173. <group id="grp_b" style="left:0px; top:0px; width:550; height:523px; ">
  174. <caption id="caption1" class="tit_2" autoresize="true" style="left:5px; top:10px; width:161px; height:14px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">병리번호목록</caption>
  175. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:550px; y2:25px; "/>
  176. <select1 id="rdo_ptno" ref="/root/init/ptnoflagcd" appearance="full" cols="2" overflow="visible" style="left:415px; top:8px; width:135px; height:20px; border-style:none; ">
  177. <choices>
  178. <item>
  179. <label>이전번호</label>
  180. <value>0</value>
  181. </item>
  182. <item>
  183. <label>결번번호</label>
  184. <value>1</value>
  185. </item>
  186. </choices>
  187. <script type="javascript" ev:event="xforms-value-changed">
  188. <![CDATA[
  189. fExePtNoChange();
  190. ]]>
  191. </script>
  192. </select1>
  193. <datagrid id="grd_ptnolist" nodeset="/root/main/ptno/ptnolist" caption="instcd^ptno^병리번호^육안검사의^등록번호^환자명^접수일자^접수시간^접수번호^spccd^검체명^검체접수일자^검체접수번호^접수일련번호" colsep="^" colwidth="0, 0, 80, 80, 70, 80, 80, 60, 0, 0, 90, 0, 0, 0" dataheight="25" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheight="32" rowsep="|" navindex="7" style="left:0px; top:30px; width:550px; height:492px; border-color:#c0c0c0; border-style:solid; ">
  194. <col ref="instcd"/>
  195. <col ref="ptno"/>
  196. <col class="text_center" ref="dispptno"/>
  197. <col ref="grosdrnm"/>
  198. <col class="text_center" ref="pid"/>
  199. <col class="text_center" ref="patnm"/>
  200. <col class="text_center" ref="acptdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  201. <col ref="acpttm" format="hh:nn:ss" mask="exclude" showmask="true"/>
  202. <col ref="acptno"/>
  203. <col ref="spccd"/>
  204. <col ref="spcnm"/>
  205. <col ref="spcacptdd"/>
  206. <col ref="spcacptno"/>
  207. <col ref="acptseqno"/>
  208. <script type="javascript" ev:event="ondblclick">
  209. <![CDATA[
  210. fExeGridSelect();
  211. ]]>
  212. </script>
  213. </datagrid>
  214. </group>
  215. </xhtml:body>
  216. </xhtml:html>