SMAVE00200_각막공여자정보관리.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>각막 공여자 정보 관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <info>
  11. <item>
  12. <dnorid/>
  13. <instcd/>
  14. <eyeballflag/>
  15. <importnati/>
  16. <eyebank/>
  17. <dnornm/>
  18. <dnorage/>
  19. <dethdd/>
  20. <dethcas/>
  21. <dnorrrgstno1/>
  22. <dnorrrgstno2/>
  23. <thosp/>
  24. <extrdd/>
  25. <extrtm/>
  26. <preserdd/>
  27. <presertm/>
  28. <preserkind/>
  29. <corneaendocnt/>
  30. </item>
  31. </info>
  32. </main>
  33. <init>
  34. <baseinfo/>
  35. </init>
  36. <send>
  37. <req/>
  38. </send>
  39. <hidden>
  40. <message>
  41. <str1/>
  42. </message>
  43. <get_info/>
  44. </hidden>
  45. </root>
  46. </instance>
  47. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  50. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  51. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  52. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  53. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  54. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  55. <script type="javascript" ev:event="xforms-ready">
  56. <![CDATA[
  57. ]]>
  58. </script>
  59. <submission id="TRAVE00201" ref="/root/send/req" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/hidden/get_info"/>
  60. <submission id="TXAVE00201" ref="root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="root/hidden"/>
  61. <submission id="TXAVE00202" ref="root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="root/hidden"/>
  62. </model>
  63. <script type="javascript">
  64. <![CDATA[
  65. function fSetClear(){
  66. model.reset();
  67. }
  68. /* @group : 각막 공여자 정보관리
  69. * @ver : 2007.11.20
  70. * @by : 남수현
  71. * @type : function
  72. * @access : public
  73. * @desc : 각막 공여자 정보 저장
  74. * @param :
  75. */
  76. function fExeInfo(){
  77. model.copyNode("/root/send/req","/root/main/info/item");
  78. ret = submit("TXAVE00201");
  79. if( model.getValue("/root/hidden/message/str1") == "true" ){
  80. alert('저장되었습니다.');
  81. // fGetInfo();
  82. } else {
  83. messageBox("처리되지","E007");
  84. }
  85. }
  86. function fDelInfo(){
  87. if( model.getValue("/root/main/info/item/dnorid") == "" ) {
  88. messageBox("공여자id 를","C001");
  89. return ;
  90. }
  91. model.copyNode("/root/send/req","/root/main/info/item");
  92. ret = submit("TXAVE00202");
  93. if( model.getValue("/root/hidden/message/str1") == "true" ){
  94. alert('삭제 되었습니다.');
  95. fSetClear();
  96. }
  97. else {
  98. messageBox("처리되지","E007");
  99. }
  100. }
  101. function fGetInfo(){
  102. inputEnterKey();
  103. if( model.getValue("/root/main/info/item/dnorid") == "" ) {
  104. messageBox("공여자id 를","C001");
  105. return ;
  106. }
  107. model.copyNode("/root/send/req","/root/main/info/item");
  108. ret = submit("TRAVE00201");
  109. if( model.getValue("/root/hidden/get_info/message/str1")== "false")
  110. {
  111. alert("각막이식공여자 정보가 없습니다. 등록해주세요 ");
  112. fSetClear();
  113. } else{
  114. model.copyNode("/root/main/info","/root/hidden/get_info");
  115. }
  116. model.refresh();
  117. return ret;
  118. }
  119. ]]>
  120. </script>
  121. </xhtml:head>
  122. <xhtml:body guideline="1,602;2,306;2,784;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  123. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  124. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:160px; height:14px; ">각막 공여자 정보 관리</caption>
  125. </group>
  126. <group id="group3" scroll="auto" style="left:0px; top:40px; width:590px; height:252px; ">
  127. <line id="line12" class="line_1" style="x1:0px; y1:25px; x2:577px; y2:25px; "/>
  128. <caption id="caption18" class="tit_2" style="left:5px; top:10px; width:170px; height:14px; font-family:돋움; vertical-align:middle; ">공여자 정보</caption>
  129. <line id="line15" class="line_2" style="x1:0px; y1:100px; x2:577px; y2:100px; "/>
  130. <line id="line16" class="line_2" style="x1:0px; y1:124px; x2:577px; y2:124px; "/>
  131. <caption id="caption19" class="cell_1" style="left:0px; top:54px; width:130px; height:23px; vertical-align:middle; ">수입국가 및 EyeBank</caption>
  132. <line id="line17" class="line_2" style="x1:0px; y1:196px; x2:287px; y2:196px; "/>
  133. <caption id="caption20" class="cell_1" style="left:0px; top:78px; width:130px; height:23px; vertical-align:middle; ">나이</caption>
  134. <caption id="caption21" class="cell_1" style="left:0px; top:102px; width:130px; height:23px; vertical-align:middle; ">사망일자</caption>
  135. <caption id="caption22" class="cell_1" style="left:0px; top:126px; width:130px; height:23px; vertical-align:middle; ">사인</caption>
  136. <caption id="caption23" class="cell_1" style="left:0px; top:174px; width:130px; height:23px; vertical-align:middle; ">보존액의 종류</caption>
  137. <caption id="caption26" class="cell_1" style="left:0px; top:150px; width:130px; height:23px; vertical-align:middle; ">적출시간</caption>
  138. <line id="line18" class="line_2" style="x1:0px; y1:76px; x2:577px; y2:76px; "/>
  139. <input id="input6" ref="/root/main/info/item/dnorage" navindex="3" class="input_default" style="left:133px; top:79px; width:154px; height:19px; "/>
  140. <caption id="caption27" class="cell_1" style="left:290px; top:150px; width:130px; height:23px; vertical-align:middle; ">Preservation time</caption>
  141. <line id="line19" class="line_2" style="x1:0px; y1:148px; x2:577px; y2:148px; "/>
  142. <input id="input7" ref="/root/main/info/item/corneaendocnt" navindex="15" class="input_default" style="left:133px; top:199px; width:154px; height:19px; "/>
  143. <line id="line20" class="line_2" style="x1:0px; y1:172px; x2:577px; y2:172px; "/>
  144. <caption id="caption1" class="cell_1" style="left:0px; top:198px; width:130px; height:23px; vertical-align:middle; ">각막내피 숫자</caption>
  145. <caption id="caption2" class="cell_1" style="left:290px; top:78px; width:130px; height:23px; vertical-align:middle; ">성명</caption>
  146. <input id="input1" ref="/root/main/info/item/dnornm" navindex="4" class="input_default" style="left:423px; top:79px; width:154px; height:19px; "/>
  147. <caption id="caption3" class="cell_1" style="left:290px; top:102px; width:130px; height:23px; vertical-align:middle; ">주민번호</caption>
  148. <input id="input2" ref="/root/main/info/item/dnorrrgstno1" navindex="6" class="input_default" style="left:423px; top:103px; width:68px; height:19px; "/>
  149. <input id="input3" ref="/root/main/info/item/dnorrrgstno2" navindex="7" class="input_default" style="left:509px; top:103px; width:68px; height:19px; "/>
  150. <caption id="caption28" class="search_no_b" style="left:494px; top:105px; width:12px; height:17px; ">-</caption>
  151. <input id="input24" ref="/root/main/info/item/dethdd" navindex="5" class="input_default" inputtype="date" style="left:133px; top:103px; width:154px; height:19px; "/>
  152. <caption id="caption4" class="cell_1" style="left:290px; top:126px; width:130px; height:23px; vertical-align:middle; ">이송병원</caption>
  153. <input id="input4" ref="/root/main/info/item/thosp" navindex="9" class="input_default" style="left:423px; top:127px; width:154px; height:19px; "/>
  154. <input id="input5" ref="/root/main/info/item/extrdd" navindex="10" class="input_default" inputtype="date" style="left:133px; top:151px; width:90px; height:19px; "/>
  155. <input id="input8" ref="/root/main/info/item/preserdd" navindex="12" class="input_default" inputtype="date" style="left:423px; top:151px; width:90px; height:19px; "/>
  156. <input id="input9" ref="/root/main/info/item/extrtm" navindex="11" class="input_default" format="hh:nn" showmask="true" style="left:226px; top:151px; width:60px; height:19px; text-align:center; "/>
  157. <input id="input10" ref="/root/main/info/item/presertm" navindex="13" class="input_default" format="hh:nn" showmask="true" style="left:516px; top:151px; width:60px; height:19px; text-align:center; "/>
  158. <caption id="caption5" class="cell_1" style="left:0px; top:30px; width:130px; height:23px; vertical-align:middle; ">공여자ID</caption>
  159. <input id="input11" ref="/root/main/info/item/dnorid" navindex="1" class="input_default" style="left:133px; top:31px; width:154px; height:19px; text-align:center; ">
  160. <script type="javascript" ev:event="onkeypress">
  161. <![CDATA[
  162. if(event.keyCode == "13"){
  163. fGetInfo('pid');
  164. }
  165. ]]>
  166. </script>
  167. </input>
  168. <line id="line2" class="line_2" style="x1:0px; y1:52px; x2:287px; y2:52px; "/>
  169. <input id="input12" ref="/root/main/info/item/importnati" navindex="2" class="input_default" style="left:133px; top:55px; width:154px; height:19px; ">
  170. <script type="javascript" ev:event="onkeypress">
  171. <![CDATA[
  172. if(event.keyCode == "13"){
  173. fGetInfo('pid');
  174. }
  175. ]]>
  176. </script>
  177. </input>
  178. <line id="line1" class="line_3" style="x1:0px; y1:220px; x2:287px; y2:220px; "/>
  179. <line id="line3" class="line_3" style="x1:290px; y1:196px; x2:577px; y2:196px; "/>
  180. <select1 id="combo1" ref="/root/main/info/item/dethcas" class="input_default" appearance="minimal" style="left:133px; top:127px; width:154px; height:19px; ">
  181. <choices>
  182. <item>
  183. <label>combo1</label>
  184. <value>1</value>
  185. </item>
  186. </choices>
  187. </select1>
  188. <select1 id="combo2" ref="/root/main/info/item/preserkind" class="input_default" appearance="minimal" style="left:133px; top:175px; width:443px; height:19px; ">
  189. <choices>
  190. <item>
  191. <label>combo2</label>
  192. <value>1</value>
  193. </item>
  194. </choices>
  195. </select1>
  196. </group>
  197. <group id="grp_btn" style="left:0px; top:13px; width:588px; height:27px; ">
  198. <button id="btn_del" class="btn4_letter2" style="left:472px; top:5px; width:56px; height:22px; ">
  199. <caption>삭제</caption>
  200. <script type="javascript" ev:event="onclick">
  201. <![CDATA[
  202. fDelInfo();
  203. ]]>
  204. </script>
  205. </button>
  206. <button id="btn_prt" class="btn4_letter3" style="left:401px; top:5px; width:68px; height:22px; ">
  207. <caption>초기화</caption>
  208. <script type="javascript" ev:event="onclick">
  209. <![CDATA[
  210. fSetClear();
  211. ]]>
  212. </script>
  213. </button>
  214. <button id="btn_save" class="btn4_letter2" style="left:531px; top:5px; width:56px; height:22px; ">
  215. <caption>저장</caption>
  216. <script type="javascript" ev:event="onclick">
  217. <![CDATA[
  218. fExeInfo();
  219. ]]>
  220. </script>
  221. </button>
  222. </group>
  223. </xhtml:body>
  224. </xhtml:html>