SPABO62200_요양급여신청서팝업2.xrw 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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. <tnsrec>
  11. <wbc/>
  12. <hgb/>
  13. <plt/>
  14. <prccnt/>
  15. <pccnt/>
  16. </tnsrec>
  17. </main>
  18. <send>
  19. </send>
  20. <init>
  21. </init>
  22. <hidden>
  23. </hidden>
  24. <temp>
  25. <ret/>
  26. <cdnmnode/>
  27. </temp>
  28. </root>
  29. </instance>
  30. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  31. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  32. <script type="javascript" ev:event="xforms-ready">
  33. <![CDATA[
  34. // common.js
  35. if ( checkOpener() ) {
  36. var param = opener.javascript.getParameter("opener_parameter_id"); //opener parameter value를 get
  37. if (param != "") { // opener parameter value가 있는 경우
  38. condarray = param.split("▦");
  39. model.setValue("/root/temp/cdnmnode" , condarray[0]); // 코드값 리턴 인스턴스
  40. model.refresh();
  41. }
  42. }
  43. ]]>
  44. </script>
  45. </model>
  46. </xhtml:head>
  47. <xhtml:body pagewidth="230" pageheight="200" guideline="1,209;2,200;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  48. <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:210px; height:160px; ">
  49. <line id="line1" class="line_1" style="x1:5px; y1:25px; x2:205px; y2:25px; "/>
  50. <caption id="cpt_title" class="tit_2" style="left:10px; top:10px; width:170px; height:13px; ">요양급여신청서 수혈 기록</caption>
  51. <input id="ipt_wbc" ref="/root/main/tnsrec/wbc" class="input_default" navindex="1" style="left:105px; top:31px; width:100px; height:19px; "/>
  52. <input id="input8" ref="/root/main/tnsrec/plt" class="input_default" navindex="3" style="left:105px; top:79px; width:100px; height:19px; "/>
  53. <input id="ipt_pc" ref="/root/main/tnsrec/pccnt" class="input_default" navindex="5" style="left:105px; top:127px; width:75px; height:19px; "/>
  54. <line id="line2" class="line_2" style="x1:5px; y1:52px; x2:205px; y2:52px; "/>
  55. <input id="ipt_prc" ref="/root/main/tnsrec/prccnt" class="input_default" navindex="4" style="left:105px; top:103px; width:75px; height:19px; "/>
  56. <line id="line3" class="line_2" style="x1:5px; y1:76px; x2:205px; y2:76px; "/>
  57. <line id="line4" class="line_2" style="x1:5px; y1:100px; x2:205px; y2:100px; "/>
  58. <line id="line5" class="line_2" style="x1:5px; y1:124px; x2:205px; y2:124px; "/>
  59. <caption id="cpt_prcunit" style="left:187px; top:105px; width:20px; height:20px; ">회</caption>
  60. <caption id="cpt_pcunit" style="left:187px; top:129px; width:20px; height:20px; ">회</caption>
  61. <caption id="cpt_prc" class="cell_1" style="left:5px; top:102px; width:97px; height:23px; ">PRC</caption>
  62. <caption id="cpt_hgb" class="cell_1" style="left:5px; top:54px; width:97px; height:23px; ">Hgb</caption>
  63. <caption id="cpt_wbc" class="cell_1" style="left:5px; top:30px; width:97px; height:23px; ">WBC</caption>
  64. <caption id="cpt_plt" class="cell_1" style="left:5px; top:78px; width:97px; height:23px; ">PLT</caption>
  65. <caption id="cpt_pc" class="cell_1" style="left:5px; top:126px; width:97px; height:23px; ">PC</caption>
  66. <line id="line7" class="line_3" style="x1:5px; y1:148px; x2:205px; y2:148px; "/>
  67. <input id="ipt_hgb" ref="/root/main/tnsrec/hgb" class="input_default" navindex="2" style="left:105px; top:55px; width:100px; height:19px; "/>
  68. </group>
  69. <group id="grp_btn" scroll="auto" style="left:0px; top:160px; width:210px; height:27px; ">
  70. <button id="btn_confirm1" class="btn4_letter2" navindex="6" style="left:90px; top:3px; width:56px; height:22px; ">
  71. <caption>확인</caption>
  72. <script type="javascript" ev:event="onclick">
  73. <![CDATA[
  74. var swbc = model.getValue("/root/main/tnsrec/wbc");
  75. var shgb = model.getValue("/root/main/tnsrec/hgb");
  76. var splt = model.getValue("/root/main/tnsrec/plt");
  77. var sprccnt = model.getValue("/root/main/tnsrec/prccnt");
  78. var spccnt = model.getValue("/root/main/tnsrec/pccnt");
  79. var svalue = "";
  80. if(swbc != ""){
  81. svalue = cpt_wbc.text + ":" + swbc;
  82. }
  83. if(shgb != ""){
  84. svalue = svalue + ", " + cpt_hgb.text + ":" + shgb;
  85. }
  86. if(splt != ""){
  87. svalue = svalue + ", " + cpt_plt.text + ":" + splt;
  88. }
  89. if(sprccnt != ""){
  90. svalue = svalue + ", " + cpt_prc.text + ":" + sprccnt + cpt_prcunit.text;
  91. }
  92. if(spccnt != ""){
  93. svalue = svalue + ", " + cpt_pc.text + ":" + spccnt + cpt_pcunit.text;
  94. }
  95. // var svalue = cpt_wbc.text + ":" + swbc + ", " +
  96. // cpt_hgb.text + ":" + shgb + ", " +
  97. // cpt_plt.text + ":" + splt + ", " +
  98. // cpt_prc.text + ":" + sprccnt + cpt_prcunit.text + ", " +
  99. // cpt_pc.text + ":" + spccnt + cpt_pcunit.text;
  100. var scdidnode = model.getValue("/root/temp/cdnmnode");
  101. opener.model.setValue(scdidnode, svalue);
  102. opener.model.refresh();
  103. ]]>
  104. </script>
  105. <close ev:event="DOMActivate"/>
  106. </button>
  107. <button id="btn_cancel1" class="btn4_letter2" navindex="7" style="left:149px; top:3px; width:56px; height:22px; ">
  108. <caption>취소</caption>
  109. <close ev:event="DOMActivate"/>
  110. </button>
  111. </group>
  112. </xhtml:body>
  113. </xhtml:html>