SPLPC02000_기본파트팝업.xrw 5.4 KB

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