SMAES06400_내시경병리조직검사(일별).xrw 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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. <list>
  11. <item>
  12. <prcpdd/>
  13. <ioflag/>
  14. <pid/>
  15. <hngnm/>
  16. <prcpcd/>
  17. <prcpnm/>
  18. <drugmthdspccd/>
  19. <spcnm/>
  20. <spccnt/>
  21. </item>
  22. </list>
  23. </main>
  24. <send>
  25. <execfromdd/>
  26. <exectodd/>
  27. <comparefromdd/>
  28. <comparetodd/>
  29. <orddeptcd/>
  30. <orddrid/>
  31. <execdeptcd/>
  32. <execdrid/>
  33. <globalinstance>
  34. <instance1/>
  35. </globalinstance>
  36. <suppdeptcd/>
  37. <srchflag/>
  38. </send>
  39. <inti/>
  40. <hidden/>
  41. </root>
  42. </instance>
  43. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  44. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  47. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  48. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  49. <submission id="TRPMOCOM01" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/session" replace="instance" resultref="/root/init"/>
  50. <script type="javascript" ev:event="xforms-ready">
  51. <![CDATA[
  52. aezfSetSuppDeptcd();
  53. model.removenode("/root/main/list/item");
  54. model.setValue("/root/send/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
  55. model.setValue("/root/send/execfromdd", getCurrentDate().toDate().getAddDate(-1, "D").getDateFormat("YYYYMMDD"));
  56. model.setValue("/root/send/exectodd", getCurrentDate().toDate().getAddDate(-1, "D").getDateFormat("YYYYMMDD"));
  57. model.refresh();
  58. ]]>
  59. </script>
  60. <submission id="TRAES06401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
  61. </model>
  62. </xhtml:head>
  63. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  64. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  65. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">내시경 병리조직검사 건수</caption>
  66. </group>
  67. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  68. <caption id="caption1" class="tit_2" style="left:5px; top:50px; width:200px; height:14px; ">내시경 병리조직검사 건수</caption>
  69. <line id="line1" class="line_1" style="x1:0px; y1:65px; x2:1195px; y2:65px; "/>
  70. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:30px; vertical-align:top; ">
  71. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
  72. <caption id="caption2" class="search_name" style="left:15px; top:7px; width:86px; height:17px; ">조회기간 :</caption>
  73. <line id="line13" class="line_4" style="x1:1110px; y1:5px; x2:1110px; y2:25px; "/>
  74. <button id="btn_sea" class="btn1_letter2" navindex="4" style="left:1120px; top:4px; width:56px; height:22px; ">
  75. <caption>조회</caption>
  76. <script type="javascript" ev:event="DOMActivate">
  77. <![CDATA[
  78. model.removenode("/root/main/list");
  79. //20150603 by kya 건진내시경일 경우
  80. var suppdeptcd = model.getValue("/root/send/globalinstance/instance1");
  81. if (suppdeptcd == "2370124000" ) {
  82. model.setValue("/root/send/srchflag","S");
  83. } else {
  84. model.setValue("/root/send/srchflag","O");
  85. }
  86. if (submit("TRAES06401")) {
  87. var cnt = getNodesetCount("/root/main/list/item");
  88. if (cnt > 1) {
  89. for ( i = 1; i <= cnt; i++ ) {
  90. grd_list.rowstyle( i , "data" , "background-color" ) = "#FFFFFF";
  91. grd_list.rowstyle( i , "data" , "color" ) = "#000000";
  92. }
  93. grd_list.colSort(0) = "asc";
  94. grd_list.sort(0, 0, grd_list.rows, grd_list.cols) = "usersort";
  95. for(i=9; i<14; i++) {
  96. grd_list.subtotal("sum", -1, i, "#,###", "background-color:#CCFFCC; color:#0000ff; font-weight:bold; ", 1, "총계");
  97. }
  98. grd_list.mergeByFree(grd_list.rows-1, 1 , grd_list.rows-1, 2);
  99. model.refresh();
  100. }
  101. }
  102. ]]>
  103. </script>
  104. </button>
  105. <input id="ipt_fromdd" ref="/root/send/execfromdd" class="input_default" navindex="1" inputtype="date" style="left:109px; top:6px; width:100px; height:19px; "/>
  106. <input id="ipt_todd" ref="/root/send/exectodd" class="input_default" navindex="2" inputtype="date" style="left:227px; top:6px; width:100px; height:19px; "/>
  107. <caption id="caption5" class="search_no_b" style="left:212px; top:6px; width:12px; height:17px; ">~</caption>
  108. </group>
  109. <button id="btn_excsave" class="btn2_letter4" style="left:1130px; top:45px; width:64px; height:19px; ">
  110. <caption>엑셀저장</caption>
  111. <script type="javascript" ev:event="DOMActivate">
  112. <![CDATA[
  113. var fileName = window.fileDialog("save", ",", false, "", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  114. if (fileName != "") {
  115. grd_list.saveExcel(fileName);
  116. }
  117. ]]>
  118. </script>
  119. </button>
  120. <datagrid id="grd_list" nodeset="/root/main/list/item" caption="처방일자^입외^환자번호^환자명^처방코드^처방명^검체코드^검체명^검체채취건수" colsep="^" colwidth="108, 51, 72, 85, 75, 325, 86, 255, 84" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="below" style="left:0px; top:70px; width:1195px; height:670px; ">
  121. <col ref="prcpdd" style="text-align:center; "/>
  122. <col ref="ioflag" style="text-align:center; "/>
  123. <col ref="pid" style="text-align:center; "/>
  124. <col ref="hngnm" style="text-align:center; "/>
  125. <col ref="prcpcd" style="text-align:center; "/>
  126. <col ref="prcpnm" style="text-align:left; "/>
  127. <col ref="drugmthdspccd" style="text-align:center; "/>
  128. <col ref="spcnm" style="text-align:left; "/>
  129. <col ref="spccnt" style="text-align:center; "/>
  130. </datagrid>
  131. </group>
  132. </xhtml:body>
  133. </xhtml:html>