SPLPC02400_병리번호코드팝업.xrw 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPLPC02400_병리번호코드팝업.xrw
  4. * 설 명 : 병리번호코드팝업 선택 공통 팝업화면
  5. * 설 계 자 : (주)에이씨케이 - 황상미
  6. * 작 성 자 : (주)에이씨케이 - 황상미
  7. * 작 성 일 : 2007.02.09
  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/>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root>
  18. <main>
  19. <ptnocdcnts>
  20. <ptnocdlist>
  21. <instcd/>
  22. <ptnocd/>
  23. <ptnonm/>
  24. </ptnocdlist>
  25. </ptnocdcnts>
  26. </main>
  27. <send>
  28. </send>
  29. <init>
  30. </init>
  31. <hidden>
  32. <scrndata/>
  33. </hidden>
  34. </root>
  35. </instance>
  36. <submission id="TRLPC02401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ptnocdcnts/ptnocdlist"/>
  37. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  38. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  39. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  40. <script type="javascript" ev:event="xforms-ready">
  41. <![CDATA[
  42. fExeInitialize();
  43. ]]>
  44. </script>
  45. <!-- public Script Start -->
  46. <script type="javascript">
  47. <![CDATA[
  48. /* @group : 병리번호코드선택 공통 팝업화면
  49. * @ver : 2007.02.09 (CMCDEV-0001)
  50. * @by : 황상미(ACK)
  51. * @-----------------------------------
  52. * @type : function
  53. * @access : public
  54. * @desc : 화면초기화 함수
  55. */
  56. function fExeInitialize(){
  57. model.resetInstanceNode("/root/main/ptnocdcnts/ptnocdlist");
  58. fGetRefData();
  59. }
  60. /* @group : 병리번호코드선택 공통 팝업화면
  61. * @ver : 2007.02.09 (CMCDEV-0001)
  62. * @by : 황상미(ACK)
  63. * @-----------------------------------
  64. * @type : function
  65. * @access : public
  66. * @desc : 병리번호코드코드조회 함수
  67. */
  68. function fGetRefData(){
  69. model.removeNodeset("/root/send");
  70. model.makeValue("/root/send/delflagcd", "0");
  71. model.makeValue("/root/send/instcd", opener.model.getValue("/root/hidden/userinfo/instcd"));
  72. submit("TRLPC02401");
  73. }
  74. /* @group : 병리번호코드선택 공통 팝업화면
  75. * @ver : 2007.02.09 (CMCDEV-0001)
  76. * @by : 황상미(ACK)
  77. * @-----------------------------------
  78. * @type : function
  79. * @access : public
  80. * @desc : 병리번호코드선택 확인 함수
  81. */
  82. function fExeChoiPtnoCd(){
  83. var curRow = grd_ptnocdlist.row;
  84. if(curRow > 0){
  85. model.setValue(opener.root.hidden.scrndata.ptnocd,
  86. model.getValue("/root/main/ptnocdcnts/ptnocdlist[" + curRow + "]/ptnocd")); //메인화면 병리번호코드코드 setting
  87. model.setValue(opener.root.hidden.scrndata.ptnonm,
  88. model.getValue("/root/main/ptnocdcnts/ptnocdlist[" + curRow + "]/ptnonm")); //메인화면 병리번호코드명 setting
  89. opener.model.refresh(); //메인화면 Refresh();
  90. }
  91. model.close();
  92. }
  93. /* @group : 병리번호코드선택 공통 팝업화면
  94. * @ver : 2007.02.09 (CMCDEV-0001)
  95. * @by : 황상미(ACK)
  96. * @-----------------------------------
  97. * @type : function
  98. * @access : public
  99. * @desc : 화면 닫기 함수
  100. */
  101. function fExeClsScrn(){
  102. model.close();
  103. }
  104. ]]>
  105. </script>
  106. <!-- public Script End -->
  107. </model>
  108. </xhtml:head>
  109. <xhtml:body pagewidth="345" pageheight="410" guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  110. <group id="group3" style="left:0px; top:380px; width:325px; height:27px; ">
  111. <line id="line2" class="line_6" style="x1:0px; y1:0px; x2:325px; y2:0px; "/>
  112. <button id="btn_cls" class="btn4_letter2" style="left:269px; top:5px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  113. <caption>닫기</caption>
  114. <script type="javascript" ev:event="onclick">
  115. <![CDATA[
  116. fExeClsScrn();
  117. ]]>
  118. </script>
  119. </button>
  120. <button id="btn_cfm" class="btn4_letter2" style="left:210px; top:5px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  121. <caption>확인</caption>
  122. <script type="javascript" ev:event="onclick">
  123. <![CDATA[
  124. fExeChoiPtnoCd();
  125. ]]>
  126. </script>
  127. </button>
  128. </group>
  129. <group id="grp_popup" style="left:0px; top:0px; width:325px; height:380px; ">
  130. <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:121px; height:14px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">병리번호코드</caption>
  131. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:325px; y2:25px; "/>
  132. <datagrid id="grd_ptnocdlist" nodeset="/root/main/ptnocdcnts/ptnocdlist" caption="병원코드^병리번호코드^병리번호명칭" colsep="^" colwidth="0,100, 200" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:30px; width:325px; height:347px; border-color:#c0c0c0; ">
  133. <col ref="instcd"/>
  134. <col ref="ptnocd"/>
  135. <col ref="ptnonm"/>
  136. <script type="javascript" ev:event="ondblclick">
  137. <![CDATA[
  138. fExeChoiPtnoCd();
  139. ]]>
  140. </script>
  141. </datagrid>
  142. </group>
  143. </xhtml:body>
  144. </xhtml:html>