SPLBD90200_공여자정보.xrw 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <dnorinfo>
  11. <dnorlist>
  12. <check/>
  13. <dnornm/>
  14. <dnorrrgstno/>
  15. <dnorsex/>
  16. <dnorage/>
  17. <dnormappdd/>
  18. <dnorno/>
  19. </dnorlist>
  20. </dnorinfo>
  21. </main>
  22. <send>
  23. <pid/>
  24. </send>
  25. <init/>
  26. <hidden/>
  27. <temp/>
  28. </root>
  29. </instance>
  30. <script type="javascript" ev:event="xforms-ready">
  31. <![CDATA[
  32. readfunc();
  33. model.refresh();
  34. ]]>
  35. </script>
  36. <submission id="TRLBD90201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/dnorinfo"/>
  37. </model>
  38. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  39. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  40. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  41. <script type="javascript">
  42. <![CDATA[
  43. function readfunc(){
  44. model.removeNodeset("/root/main/dnorinfo/dnorlist");
  45. if (submit("TRLBD90201")){
  46. }
  47. if (model.getValue("/root/main/dnorinfo/dnorlist[" + 1 + "]/dnorno") == ""){
  48. model.removeNodeset("/root/main/dnorinfo/dnorlist");
  49. }
  50. model.refresh();
  51. }
  52. ]]>
  53. </script>
  54. </xhtml:head>
  55. <xhtml:body pagewidth="550" pageheight="380" guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  56. <group id="group1" style="left:0px; top:0px; width:520px; height:13px; ">
  57. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:124px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">공여자관리</caption>
  58. </group>
  59. <group id="group3" scroll="auto" style="left:1px; top:15px; width:518px; height:316px; ">
  60. <line id="line1" class="line_1" style="x1:0px; y1:31px; x2:517px; y2:32px; "/>
  61. <datagrid id="grd_diaglist" nodeset="/root/main/dnorinfo/dnorlist" caption="선택^공여자명^주민번호^S/A^S/A^Mapping일" colsep="^" colwidth="44, 88, 170, 40, 39, 115" dataheight="25" ellipsis="true" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:35px; width:517px; height:278px; ">
  62. <col checkvalue="Y,N" ref="check" type="checkbox"/>
  63. <col ref="dnornm"/>
  64. <col ref="dnorrrgstno" format="999999-9999999" style="text-align:center; "/>
  65. <col ref="dnorsex"/>
  66. <col ref="dnorage"/>
  67. <col ref="dnormappdd" format="yyyy-mm-dd" style="text-align:center; "/>
  68. </datagrid>
  69. </group>
  70. <button id="button51" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:475px; top:20px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  71. <caption>엑셀</caption>
  72. <script type="javascript" ev:event="onclick">
  73. <![CDATA[
  74. var file = window.fileDialog("save","","true","","xls","All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  75. if(file != "") {
  76. grd_diaglist.saveExcel(file);
  77. }
  78. ]]>
  79. </script>
  80. </button>
  81. <group id="grp_btn" scroll="auto" style="left:2px; top:330px; width:516px; height:27px; ">
  82. <button id="btn_prt" class="btn4_letter2" navindex="42" style="left:395px; top:3px; width:56px; height:22px; ">
  83. <caption>확인</caption>
  84. <script type="javascript" ev:event="DOMActivate">
  85. <![CDATA[
  86. var k = 0;
  87. for (var i = 1; i < grd_diaglist.rows; i ++){
  88. if (model.getValue("/root/main/dnorinfo/dnorlist[" + i + "]/check") == "Y"){
  89. k = parseInt(k) + 1;
  90. }
  91. }
  92. if (k == 0){
  93. messageBox("처리할 공여자를 선택하시기 바랍니다.", "E999", "");
  94. return;
  95. }
  96. copyNodeListType("/root/main/dnorinfo", "/root/main/dnorinfo/dnorlist[check='Y']", "replace", opener.model, model);
  97. window.close();
  98. ]]>
  99. </script>
  100. </button>
  101. <button id="button1" class="btn4_letter2" navindex="42" style="left:455px; top:3px; width:56px; height:22px; ">
  102. <caption>종료</caption>
  103. <script type="javascript" ev:event="DOMActivate">
  104. <![CDATA[
  105. window.close();
  106. ]]>
  107. </script>
  108. </button>
  109. </group>
  110. </xhtml:body>
  111. </xhtml:html>