SMLPB00400_정도관리.xrw 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLPB00400_정도관리.xrw
  4. * 설 명 : 정도관리
  5. * 설 계 자 : (주)에이씨케이 - 유동철
  6. * 작 성 자 : (주)에이씨케이 - 유동철
  7. * 작 성 일 : 2007.04.17
  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>
  18. <main>
  19. <hospenv>
  20. <hospenvinfo>
  21. <instcd/>
  22. <lendrtnterm/>
  23. <recvqualmthdcd/>
  24. <reptautoprntflagcd/>
  25. </hospenvinfo>
  26. </hospenv>
  27. </main>
  28. <init>
  29. </init>
  30. <hidden>
  31. <hospenvinfo>
  32. <instcd/>
  33. <lendrtnterm/>
  34. <recvqualmthdcd/>
  35. <reptautoprntflagcd/>
  36. </hospenvinfo>
  37. </hidden>
  38. <send>
  39. <instcd/>
  40. </send>
  41. </root>
  42. </instance>
  43. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  44. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  45. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  46. <script type="javascript" ev:event="xforms-ready">
  47. <![CDATA[
  48. fExeInitialize();
  49. ]]>
  50. </script>
  51. <submission id="TRLPC01801" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/hospenv/hospenvinfo"/>
  52. <submission id="TXLPC01801" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/message"/>
  53. </model>
  54. <script type="javascript">
  55. <![CDATA[
  56. /* @group : 병리번호코드등록관리 화면
  57. * @ver : 2007.01.04 (CMCDEV-0001)
  58. * @by : 황상미(ACK)
  59. * @-----------------------------------
  60. * @type : function
  61. * @access : public
  62. * @desc : 화면초기화 함수
  63. */
  64. function fExeInitialize(){
  65. model.makeValue("/root/hidden/hospenvinfo/instcd", getUserInfo("dutplceinstcd")); //instcd
  66. model.removeNodeset("/root/send");
  67. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd")); //instcd
  68. submit("TRLPC01801");
  69. //---------------------------------------------------------
  70. if (getNodesetCount("/root/main/hospenv/hospenvinfo") > 0) {
  71. model.copyNode("/root/hidden/hospenvinfo", "/root/main/hospenv/hospenvinfo");
  72. model.refresh();
  73. }else {
  74. model.makeValue("/root/hidden/hospenvinfo/recvqualmthdcd", "0"); //수신확인방법코드(0:선조회,1:후조회)
  75. model.makeValue("/root/hidden/hospenvinfo/reptautoprntflagcd", "0"); //보고서자동출력구분코드(0:출력,1:미출력)
  76. model.refresh();
  77. }
  78. }
  79. /* @group : 병원환경등록 화면
  80. * @ver : 2007.04.18 (CMCDEV-0001)
  81. * @by : 황상미(ACK)
  82. * @-----------------------------------
  83. * @type : function
  84. * @access : public
  85. * @desc : 정도관리 수정(신규) 함수
  86. */
  87. function fSetUpdtData(){
  88. //필수 입력부분 확인 * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  89. if(model.getValue("/root/hidden/hospenvinfo/lendrtnterm") == ""){
  90. messageBox("대출반환기간 항목을", "C001");
  91. model.setFocus("ipt_lendrtnterm");
  92. return;
  93. }
  94. model.removeNodeset("/root/send");
  95. model.makeValue("/root/send/instcd", model.getValue("/root/hidden/hospenvinfo/instcd")); //병원코드
  96. model.makeValue("/root/send/lendrtnterm", model.getValue("/root/hidden/hospenvinfo/lendrtnterm")); //대출반환기간
  97. model.makeValue("/root/send/recvqualmthdcd", model.getValue("/root/hidden/hospenvinfo/recvqualmthdcd")); //수신확인방법코드
  98. model.makeValue("/root/send/reptautoprntflagcd", model.getValue("/root/hidden/hospenvinfo/reptautoprntflagcd")); //보고서자동출력구분
  99. model.makeValue("/root/send/existsyn", getNodesetCount("/root/main/hospenv/hospenvinfo")); //'0'=등록, '1'=수정
  100. if(submit("TXLPC01801")) {
  101. messageBox("저장이", "I002");
  102. } else {
  103. messageBox("저장이", "E009");
  104. return false;
  105. }
  106. //--------------
  107. model.refresh();
  108. }
  109. ]]>
  110. </script>
  111. </xhtml:head>
  112. <xhtml:body guideline="1,1194;2,784;2,757;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  113. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  114. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">정도관리</caption>
  115. </group>
  116. <group id="grp_biz" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  117. <caption id="caption1" class="cell_1" style="left:0px; top:20px; width:120px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">기관코드</caption>
  118. <caption id="caption24" class="tit_2" style="left:5px; top:0px; width:130px; height:14px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">병원환경정보</caption>
  119. <line id="line1" class="line_1" style="x1:0px; y1:15; x2:333px; y2:15; "/>
  120. <caption id="caption2" class="cell_1" style="left:0px; top:44px; width:120px; height:23px; ">대출반환기간</caption>
  121. <caption id="caption3" class="cell_1" style="left:0px; top:68px; width:120px; height:23px; ">수신확인방법코드</caption>
  122. <input id="ipt_lendrtnterm" ref="/root/hidden/hospenvinfo/lendrtnterm" navindex="1" class="input_essential" maxlength="3" format="#,###" showmask="true" mask="exclude" style="left:123px; top:45px; width:95px; height:19px; "/>
  123. <output id="opt_instcd" ref="/root/hidden/hospenvinfo/instcd" class="output_fix" style="left:123px; top:21px; width:95px; height:19px; "/>
  124. <caption id="caption4" class="cell_1" style="left:0px; top:92px; width:120px; height:23px; ">보고서자동출력구분</caption>
  125. <select1 id="cmb_recvqualmthdcd" ref="/root/hidden/hospenvinfo/recvqualmthdcd" navindex="2" appearance="minimal" style="left:123px; top:69px; width:95px; height:19px; ">
  126. <choices>
  127. <item>
  128. <label>선조회</label>
  129. <value>0</value>
  130. </item>
  131. <item>
  132. <label>후조회</label>
  133. <value>1</value>
  134. </item>
  135. </choices>
  136. </select1>
  137. <select1 id="cmb_reptautoprntflagcd" ref="/root/hidden/hospenvinfo/reptautoprntflagcd" navindex="3" appearance="minimal" style="left:123px; top:93px; width:95px; height:19px; ">
  138. <choices>
  139. <item>
  140. <label>출력</label>
  141. <value>0</value>
  142. </item>
  143. <item>
  144. <label>미출력</label>
  145. <value>1</value>
  146. </item>
  147. </choices>
  148. </select1>
  149. </group>
  150. <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  151. <button id="button11" navindex="4" class="btn4_letter2" style="left:1138px; top:3px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  152. <caption>저장</caption>
  153. <script type="javascript" ev:event="DOMActivate">
  154. <![CDATA[
  155. fSetUpdtData();
  156. ]]>
  157. </script>
  158. </button>
  159. <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  160. </group>
  161. </xhtml:body>
  162. </xhtml:html>