SPAEA01101_키몸무게(기능검사).xrw 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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. <patinfolist>
  11. <patinfo>
  12. <height/>
  13. <weight/>
  14. <pid/>
  15. <seq/>
  16. </patinfo>
  17. </patinfolist>
  18. </main>
  19. <send>
  20. <pid/>
  21. <height/>
  22. <weight/>
  23. <globalinstance>
  24. <instance1/>
  25. </globalinstance>
  26. </send>
  27. <hidden/>
  28. <init>
  29. <patinfo>
  30. <pid/>
  31. <hngnm/>
  32. </patinfo>
  33. </init>
  34. <temp>
  35. <item/>
  36. </temp>
  37. </root>
  38. </instance>
  39. <script type="javascript" ev:event="xforms-ready">
  40. <![CDATA[
  41. aezfSetSuppDeptcd();
  42. model.setValue("/root/send/pid", model.getValue("/root/init/patinfo/pid"));
  43. submit("TRAEA01131");
  44. ]]>
  45. </script>
  46. <submission id="TRAEA01131" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/patinfolist"/>
  47. <submission id="TXAEA01108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
  48. </model>
  49. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  50. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  51. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  52. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  53. </xhtml:head>
  54. <xhtml:body pagewidth="350" pageheight="160" guideline="1,1194;2,576;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  55. <group id="group3" scroll="auto" style="left:0px; top:0px; width:327px; height:80px; ">
  56. <caption id="caption1" class="tit_2" style="left:5px; top:8px; width:120px; height:14px; ">키/몸무게 관리</caption>
  57. <line id="line1" class="line_1" style="x1:0px; y1:23px; x2:327px; y2:23px; "/>
  58. <caption id="caption22" class="cell_1" style="left:165px; top:28px; width:60px; height:23px; vertical-align:middle; ">환자명</caption>
  59. <output id="input2" ref="/root/init/patinfo/pid" class="output_fix" style="left:62px; top:30px; width:100px; height:19px; font-size:12pt; font-weight:bold; "/>
  60. <output id="input3" ref="/root/init/patinfo/hngnm" class="output_fix" style="left:227px; top:30px; width:100px; height:19px; font-size:12pt; font-weight:bold; "/>
  61. <caption id="caption17" class="cell_1" style="left:0px; top:28px; width:60px; height:23px; vertical-align:middle; ">등록번호</caption>
  62. <line id="line17" class="line_2" style="x1:0px; y1:51px; x2:327px; y2:51px; "/>
  63. <caption id="caption2" class="cell_1" style="left:165px; top:52px; width:60px; height:23px; vertical-align:middle; ">체중</caption>
  64. <caption id="caption3" class="cell_1" style="left:0px; top:52px; width:60px; height:23px; vertical-align:middle; ">키</caption>
  65. <line id="line18" class="line_3" style="x1:0px; y1:75px; x2:327px; y2:75px; "/>
  66. <caption id="caption4" style="left:137px; top:55px; width:25px; height:20px; ">cm</caption>
  67. <caption id="caption5" style="left:302px; top:55px; width:25px; height:20px; ">kg</caption>
  68. <input id="input1" ref="/root/main/patinfolist/patinfo/height" class="input_search" format="#,###" style="left:62px; top:54px; width:70px; height:19px; "/>
  69. <input id="input4" ref="/root/main/patinfolist/patinfo/weight" class="input_search" format="#,###" style="left:227px; top:54px; width:70px; height:19px; "/>
  70. </group>
  71. <group id="group1" scroll="auto" style="left:0px; top:83px; width:330px; height:27px; ">
  72. <button id="btn_cfm" class="btn4_letter2" style="left:212px; top:4px; width:56px; height:22px; ">
  73. <caption>저장</caption>
  74. <script type="javascript" ev:event="DOMActivate">
  75. <![CDATA[
  76. if( model.getValue("/root/main/patinfolist/patinfo/height") > 1000 ){
  77. messageBox("입력한 키값이 범위를","E003");
  78. return;
  79. }
  80. if( model.getValue("/root/main/patinfolist/patinfo/weight") > 1000 ){
  81. messageBox("입력한 체중값이 범위를","E003");
  82. return;
  83. }
  84. if( model.getValue("/root/main/patinfolist/patinfo/height") == "" ){
  85. messageBox("키값이 입력되지","E007");
  86. return;
  87. }
  88. if( model.getValue("/root/main/patinfolist/patinfo/weight") == "" ){
  89. messageBox("체중값이 입력되지","E007");
  90. return;
  91. }
  92. model.setValue("/root/send/pid", model.getValue("/root/init/patinfo/pid"));
  93. model.setValue("/root/send/height", model.getValue("/root/main/patinfolist/patinfo/height"));
  94. model.setValue("/root/send/weight", model.getValue("/root/main/patinfolist/patinfo/weight"));
  95. submit("TXAEA01108");
  96. submit("TRAEA01131");
  97. opener.model.refresh();
  98. window.close();
  99. ]]>
  100. </script>
  101. </button>
  102. <button id="btn_cls" class="btn4_letter2" style="left:271px; top:4px; width:56px; height:22px; ">
  103. <caption>닫기</caption>
  104. <close ev:event="DOMActivate"/>
  105. </button>
  106. </group>
  107. </xhtml:body>
  108. </xhtml:html>