SMAVE00400_각막이식 조건별검색.xrw 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <fromdd/>
  13. <todd/>
  14. <trnptkind/>
  15. <seaflag/>
  16. <corneakind/>
  17. </item>
  18. </info>
  19. <list>
  20. <item>
  21. <opdd/>
  22. <rgstdd/>
  23. <hngnm/>
  24. <trnptkind/>
  25. <diagnm/>
  26. <chrgdrid/>
  27. <ergradflag/>
  28. <cntctims/>
  29. <eyebankid/>
  30. </item>
  31. <message>
  32. <str1/>
  33. </message>
  34. </list>
  35. </main>
  36. <init>
  37. <cmbinfo>
  38. <trnptkind>
  39. <A0376/>
  40. </trnptkind>
  41. </cmbinfo>
  42. <sick>
  43. <diagcd>
  44. <A0382/>
  45. </diagcd>
  46. </sick>
  47. <ergrad>
  48. <ergradflag>
  49. <A0381/>
  50. </ergradflag>
  51. </ergrad>
  52. <cntc>
  53. <cntctims>
  54. <A0380/>
  55. </cntctims>
  56. </cntc>
  57. <cmbkind>
  58. <corneakind>
  59. <A0377/>
  60. </corneakind>
  61. </cmbkind>
  62. </init>
  63. <send>
  64. <data/>
  65. </send>
  66. <hidden>
  67. <message>
  68. <str1/>
  69. </message>
  70. <get_info/>
  71. <get_list/>
  72. </hidden>
  73. </root>
  74. </instance>
  75. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  76. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  77. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  78. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  79. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  80. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  81. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  82. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  83. <script type="javascript" ev:event="xforms-ready">
  84. <![CDATA[
  85. zbcfGetCodeList( new Array("A0376","A0382","A0381" ,"A0380","A0377" ), new Array("/root/init/cmbinfo/trnptkind", "/root/init/sick/diagcd", "/root/init/ergrad/ergradflag", "/root/init/cntc/cntctims", "/root/init/cmbkind/corneakind"));
  86. model.setValue("/root/main/info/item/fromdd", getCurrentDate() );
  87. model.setValue("/root/main/info/item/todd", getCurrentDate() );
  88. rad_seaflag.select(0);
  89. model.refresh();
  90. ]]>
  91. </script>
  92. <submission id="TRAVE00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
  93. <submission id="TRZBC00101"/>
  94. <submission id="TRAVE00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
  95. </model>
  96. <script type="javascript">
  97. <![CDATA[
  98. function fSetClear(){
  99. model.reset();
  100. }
  101. function fExeSelect(){
  102. if ( model.getValue("/root/main/info/item/trnptkind") == "A" ) {
  103. cmb_corneakind.visible = true;
  104. } else {
  105. model.setValue("/root/main/info/item/corneakind", "");
  106. model.refresh();
  107. cmb_corneakind.visible = false;
  108. }
  109. }
  110. function fGetInfo(){
  111. /* if( model.getValue("/root/main/info/item/pid") == "" && model.getValue("/root/main/info/item/eyebankid") == "" ) {
  112. messageBox("등록번호 또는 안은행등록번호 :","C001");
  113. return ;
  114. }
  115. */
  116. model.removeNodeset("/root/main/list/item");
  117. model.refresh();
  118. model.copyNode("/root/send/data","/root/main/info");
  119. //ret = submit("TRAVE00402");
  120. ret = submit("TRAVE00401");
  121. if( model.getValue("/root/main/list/message/str1")== "false")
  122. {
  123. alert("각막이식대기자 정보가 없습니다 ");
  124. // model.copyNode("/root/main/info","/root/hidden/get_info");
  125. }else {
  126. }
  127. model.refresh();
  128. return ret;
  129. }
  130. ]]>
  131. </script>
  132. </xhtml:head>
  133. <xhtml:body guideline="1,1194;2,784;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  134. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  135. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:210px; height:14px; ">각막이식 조건별검색</caption>
  136. </group>
  137. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  138. <caption id="caption1" class="tit_2" style="left:5px; top:56px; width:210px; height:14px; ">각막이식 대기자</caption>
  139. <line id="line1" class="line_1" style="x1:0px; y1:71px; x2:1194px; y2:71px; "/>
  140. <datagrid id="grd_list" nodeset="/root/main/list/item" autoresize="true" caption="수술일자^등록일자^등록번호^환자명^이식종류^질환^담당의^응급도^연락횟수" colsep="^" colwidth="120, 0, 100, 100, 100, 250, 100, 200, 200" dataheight="23" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:75px; width:1194px; height:664px; text-align:center; ">
  141. <col ref="opdd" type="output" format="yyyy-mm-dd"/>
  142. <col ref="rgstdd" format="yyyy-mm-dd"/>
  143. <col ref="eyebankid"/>
  144. <col ref="hngnm" type="output"/>
  145. <col disabled="true" ref="trnptkind" type="combo">
  146. <choices>
  147. <itemset nodeset="/root/init/cmbinfo/trnptkind/A0376">
  148. <label ref="cdnm"/>
  149. <value ref="cdid"/>
  150. </itemset>
  151. </choices>
  152. </col>
  153. <col disabled="true" ref="diagcd" type="combo">
  154. <choices>
  155. <itemset nodeset="/root/init/sick/diagcd/A0382">
  156. <label ref="cdnm"/>
  157. <value ref="cdid"/>
  158. </itemset>
  159. </choices>
  160. </col>
  161. <col disabled="true" ref="chrgdrid" type="combo">
  162. <choices>
  163. <item>
  164. <label>김만수</label>
  165. <value>85015179</value>
  166. </item>
  167. <item>
  168. <label>주천기</label>
  169. <value>88015059</value>
  170. </item>
  171. <item>
  172. <label>박신혜</label>
  173. <value>10105637</value>
  174. </item>
  175. <item>
  176. <label>정소향</label>
  177. <value>20800466</value>
  178. </item>
  179. <item>
  180. <label>이현수</label>
  181. <value>10205379</value>
  182. </item>
  183. <item>
  184. <label>나경선</label>
  185. <value>10303020</value>
  186. </item>
  187. <item>
  188. <label>권형구</label>
  189. <value>10001401</value>
  190. </item>
  191. </choices>
  192. </col>
  193. <col disabled="true" ref="ergradflag" type="combo">
  194. <choices>
  195. <itemset nodeset="/root/init/ergrad/ergradflag/A0381">
  196. <label ref="cdnm"/>
  197. <value ref="cdid"/>
  198. </itemset>
  199. </choices>
  200. </col>
  201. <col disabled="true" ref="cntctims" type="combo">
  202. <choices>
  203. <itemset nodeset="/root/init/cntc/cntctims/A0380">
  204. <label ref="cdnm"/>
  205. <value ref="cdid"/>
  206. </itemset>
  207. </choices>
  208. </col>
  209. </datagrid>
  210. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  211. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  212. <caption id="caption5" class="search_no_b" style="left:262px; top:10px; width:12px; height:17px; ">~</caption>
  213. <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
  214. <input id="input1" ref="/root/main/info/item/fromdd" class="input_s_essential" inputtype="date" style="left:159px; top:8px; width:100px; height:19px; "/>
  215. <input id="input25" ref="/root/main/info/item/todd" class="input_s_essential" inputtype="date" style="left:277px; top:8px; width:100px; height:19px; "/>
  216. <button id="btn_sea" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  217. <caption>조회</caption>
  218. <script type="javascript" ev:event="onclick">
  219. <![CDATA[
  220. fGetInfo();
  221. ]]>
  222. </script>
  223. </button>
  224. <select1 id="combo2" ref="/root/main/info/item/trnptkind" class="combo_search" appearance="minimal" style="left:490px; top:8px; width:100px; height:19px; ">
  225. <choices>
  226. <itemset nodeset="/root/init/cmbinfo/trnptkind/A0376">
  227. <label ref="cdnm"/>
  228. <value ref="cdid"/>
  229. </itemset>
  230. </choices>
  231. <script type="javascript" ev:event="xforms-select">
  232. <![CDATA[
  233. fExeSelect();
  234. ]]>
  235. </script>
  236. </select1>
  237. <caption id="caption7" class="search_name" style="left:401px; top:9px; width:86px; height:17px; ">이식종류 :</caption>
  238. <select1 id="rad_seaflag" ref="/root/main/info/item/seaflag" appearance="full" cols="2" overflow="visible" style="left:15px; top:10px; width:140px; height:15px; border-style:none; ">
  239. <choices>
  240. <item>
  241. <label>수술일자</label>
  242. <value>1</value>
  243. </item>
  244. <item>
  245. <label>등록일자 :</label>
  246. <value>2</value>
  247. </item>
  248. </choices>
  249. </select1>
  250. <select1 id="cmb_corneakind" ref="/root/main/info/item/corneakind" class="combo_search" appearance="minimal" style="left:595px; top:8px; width:100px; height:19px; ">
  251. <choices>
  252. <itemset nodeset="/root/init/cmbkind/corneakind/A0377">
  253. <label ref="cdnm"/>
  254. <value ref="cdid"/>
  255. </itemset>
  256. </choices>
  257. </select1>
  258. </group>
  259. <button id="btn_excsave" class="btn2_letter4" style="left:1129px; top:50px; width:64px; height:19px; ">
  260. <caption>엑셀저장</caption>
  261. <script type="javascript" ev:event="DOMActivate">
  262. <![CDATA[
  263. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  264. if (fileName != "")
  265. {
  266. grd_list.saveExcel(fileName);
  267. }
  268. ]]>
  269. </script>
  270. </button>
  271. </group>
  272. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  273. <button id="btn_prt" class="btn6_letter2" style="left:0px; top:5px; width:56px; height:22px; ">
  274. <caption>출력</caption>
  275. </button>
  276. </group>
  277. </xhtml:body>
  278. </xhtml:html>