SMLLJ00500_샘플뱅킹시스템.xrw 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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. <samplebank>
  11. <item>
  12. <bcno/>
  13. <pid/>
  14. <patnm/>
  15. <sex/>
  16. <age/>
  17. <orddeptnm/>
  18. <orddrnm/>
  19. <prcpnm/>
  20. <bcolldt/>
  21. <spcnm/>
  22. <spcstat/>
  23. <prcpremfact/>
  24. </item>
  25. </samplebank>
  26. <popupendflag/>
  27. </main>
  28. <send>
  29. <reqfromdd/>
  30. <reqtodd/>
  31. <code/>
  32. <select>1</select>
  33. </send>
  34. </root>
  35. </instance>
  36. <script type="javascript" ev:event="xforms-ready">
  37. <![CDATA[
  38. var reqfromdd = getCurrentDate().substr(0,8).toDate().getAddDate(-7,"D").getDateFormat("YYYYMMDD");
  39. ipt_reqfromdd.value = reqfromdd;
  40. var reqtodd = getCurrentDate().substr(0,8).toDate().getDateFormat("YYYYMMDD");
  41. ipt_reqtodd.value = reqtodd;
  42. model.refresh();
  43. ]]>
  44. </script>
  45. <submission id="TRLLJ00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/samplebank"/>
  46. </model>
  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/tfHelper.js"/>
  50. </xhtml:head>
  51. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  52. <group id="grp_tle" style="left:0px; top:0px; width:1194px; height:13px; ">
  53. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">샘플 뱅킹 시스템</caption>
  54. </group>
  55. <group id="grp_biz" scroll="auto" style="left:0px; top:15px; width:1194px; height:718px; ">
  56. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1190px; y2:70px; "/>
  57. <group id="grp_sea" style="left:0px; top:10px; width:1190px; height:35px; vertical-align:top; ">
  58. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1190px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  59. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:112px; height:17px; ">조회 구간 :</caption>
  60. <caption id="caption5" class="search_no_b" style="left:233px; top:10px; width:12px; height:17px; ">~</caption>
  61. <line id="line13" class="line_4" style="x1:1112px; y1:7px; x2:1112px; y2:29px; "/>
  62. <input id="ipt_reqfromdd" ref="/root/send/reqfromdd" class="input_default" inputtype="date" style="left:130px; top:8px; width:100px; height:19px; "/>
  63. <input id="ipt_reqtodd" ref="/root/send/reqtodd" class="input_default" inputtype="date" style="left:249px; top:8px; width:100px; height:19px; "/>
  64. <button id="btn_sea" class="btn1_letter2" style="left:1128px; top:7px; width:56px; height:22px; ">
  65. <caption>조회</caption>
  66. <script type="javascript" ev:event="DOMActivate">
  67. <![CDATA[
  68. submit("TRLLJ00501");
  69. ]]>
  70. </script>
  71. </button>
  72. <select1 id="combo1" ref="/root/send/select" appearance="minimal" style="left:901px; top:8px; width:100px; height:19px; ">
  73. <choices>
  74. <item>
  75. <label>바코드번호</label>
  76. <value>1</value>
  77. </item>
  78. <item>
  79. <label>등록번호</label>
  80. <value>2</value>
  81. </item>
  82. <item>
  83. <label>환자명</label>
  84. <value>3</value>
  85. </item>
  86. <item>
  87. <label>진료과</label>
  88. <value>4</value>
  89. </item>
  90. <item>
  91. <label>진료의</label>
  92. <value>5</value>
  93. </item>
  94. <item>
  95. <label>채혈일시</label>
  96. <value>6</value>
  97. </item>
  98. <item>
  99. <label>검체명</label>
  100. <value>7</value>
  101. </item>
  102. </choices>
  103. </select1>
  104. <caption id="caption1" class="search_name" style="left:802px; top:9px; width:112px; height:17px; ">조회 구분 :</caption>
  105. <input id="input1" ref="/root/send/code" style="left:1003px; top:8px; width:100px; height:19px; "/>
  106. </group>
  107. <button id="btn_excsave" class="btn2_letter4" style="left:1125px; top:48px; width:64px; height:19px; ">
  108. <caption>엑셀저장</caption>
  109. <script type="javascript" ev:event="DOMActivate">
  110. <![CDATA[
  111. var fileName = window.fileDialog("save", ",", false, "샘플뱅킹리스트", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  112. if (fileName != "")
  113. {
  114. grd_smpbaking.saveExcel(fileName);
  115. }
  116. ]]>
  117. </script>
  118. </button>
  119. <datagrid id="grd_smpbaking" nodeset="/root/main/samplebank/item" caption="바코드번호^등록번호^환자명^성별^나이^진료과^진료의^채혈일시^처방명^검체명^검체상태^의뢰의사Remark" colsep="^" colwidth="130, 90, 100, 50, 62, 100, 90, 130, 226, 100, 100, 300" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:75px; width:1190px; height:640px; ">
  120. <col ref="bcno" type="output"/>
  121. <col ref="pid" type="output"/>
  122. <col ref="patnm" type="output"/>
  123. <col ref="sex" type="output"/>
  124. <col ref="age" type="output"/>
  125. <col ref="orddeptnm" type="output"/>
  126. <col ref="orddrnm" type="output"/>
  127. <col ref="bcolldt" type="output" format="yyyy-mm-dd hh:nn:ss"/>
  128. <col ref="prcpnm" type="output"/>
  129. <col ref="spcnm" type="output"/>
  130. <col ref="spcstat" type="output"/>
  131. <col ref="prcpremfact" type="output"/>
  132. <script type="javascript" ev:event="onaftersort">
  133. <![CDATA[
  134. grd_smpbaking.gridToInstance();
  135. ]]>
  136. </script>
  137. </datagrid>
  138. </group>
  139. </xhtml:body>
  140. </xhtml:html>