SMPMI06400_상해외인환자현황.xrw 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>상해외인 환자 현황</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <ijorlist>
  11. <ijorinfo>
  12. <pid/>
  13. <hngnm/>
  14. <hometel/>
  15. <mpphontel/>
  16. <indd/>
  17. <cretno/>
  18. <mskind/>
  19. <insukind/>
  20. <insukindnm/>
  21. <suppkind/>
  22. <suppkindnm/>
  23. <dschdd/>
  24. <diagdd/>
  25. <orddeptcd/>
  26. <depthngnm/>
  27. <diagcd/>
  28. <termengnm/>
  29. <termhngnm/>
  30. <diagno/>
  31. <cnslttxt/>
  32. </ijorinfo>
  33. </ijorlist>
  34. </main>
  35. <send>
  36. <fromdd/>
  37. <todd/>
  38. </send>
  39. </root>
  40. </instance>
  41. <submission id="TRPMI01705" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/ijorlist/ijorinfo"/>
  42. </model>
  43. <script type="javascript">
  44. <![CDATA[
  45. ]]>
  46. </script>
  47. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  50. <script type="javascript" ev:event="xforms-ready">
  51. <![CDATA[
  52. grd_ijor.rowHeightMin = 23;
  53. model.setValue("/root/send/fromdd", getCurrentDate());
  54. model.setValue("/root/send/todd", getCurrentDate());
  55. ipt_fromdd.refresh();
  56. ipt_todd.refresh();
  57. ]]>
  58. </script>
  59. </xhtml:head>
  60. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  61. <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:145px; height:13px; font-family:돋움; vertical-align:middle; ">상해 외인 환자 현황</caption>
  62. <caption id="caption7" class="tit_2" style="left:0px; top:70px; width:85px; height:13px; font-weight:bold; ">조회 내역</caption>
  63. <line id="line1" class="line_1" style="x1:0px; y1:85px; x2:1195px; y2:85px; "/>
  64. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:20px; width:1195px; height:41px; background-color:#fffbf2; border-color:#ffd799; "/>
  65. <button id="btn_search" class="btn1_letter2" navindex="6" style="left:1130px; top:30px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  66. <caption>조회</caption>
  67. <script type="javascript" ev:event="DOMActivate">
  68. <![CDATA[
  69. submit("TRPMI01705");
  70. grd_ijor.resizeCells();
  71. var cnt = instance1.selectNodes("/root/main/ijorlist/ijorinfo").length;
  72. if (cnt < 1) {
  73. return;
  74. }
  75. var prevpid = model.getValue("/root/main/ijorlist/ijorinfo/pid");
  76. var color = "transparent";
  77. for (var i = 2; i <= cnt; i++) {
  78. var pid = model.getValue("/root/main/ijorlist/ijorinfo[" + i + "]/pid");
  79. if (pid != prevpid) {
  80. color = color == "#f4f4f4" ? "transparent" : "#f4f4f4";
  81. prevpid = pid;
  82. }
  83. grd_ijor.rowStyle(i, "data", "background-color") = color;
  84. }
  85. ]]>
  86. </script>
  87. </button>
  88. <line id="line13" style="x1:1120px; y1:30px; x2:1120px; y2:57px; border-color:#FFD799; border-left-style:solid; "/>
  89. <button id="btn_excel" class="btn2_letter4" style="left:1131px; top:65px; width:64px; height:19px; ">
  90. <caption>엑셀저장</caption>
  91. <script type="javascript" ev:event="DOMActivate">
  92. <![CDATA[
  93. var filename = window.fileDialog("save", ",", false, "상해 외인 환자 현황", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  94. grd_ijor.saveExcel(filename, "sheetname:상해외인환자현황;colhiddenextend:true;rowhiddenextend:false;");
  95. messageBox("엑셀 저장이 완료되었습니다.", "I999");
  96. ]]>
  97. </script>
  98. </button>
  99. <datagrid id="grd_ijor" nodeset="/root/main/ijorlist/ijorinfo" autoresize="true" backcoloralternate="transparent" caption="등록번호^이름^집전화번호^휴대전화번호^입원일^생성번호^주유형^보험유형^보험유형^보조유형^보조유형^퇴원일^진단일^진료과^진료과^상병코드^상병(영문)^상병(한글)^진단일련번호^상담내용" colsep="^" colwidth="55, 50, 0, 90, 75, 0, 0, 0, 60, 0, 60, 0, 75, 0, 120, 100, 0, 300, 0, 180" extendlastcol="scroll" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:90px; width:1195px; height:675px; text-align:center; ">
  100. <col ref="pid"/>
  101. <col ref="hngnm"/>
  102. <col ref="hometel"/>
  103. <col ref="mpphontel"/>
  104. <col ref="indd" format="yyyy-mm-dd"/>
  105. <col ref="cretno"/>
  106. <col ref="mskind"/>
  107. <col ref="insukind"/>
  108. <col ref="insukindnm"/>
  109. <col ref="suppkind"/>
  110. <col ref="suppkindnm"/>
  111. <col ref="dschdd" format="yyyy-mm-dd"/>
  112. <col ref="diagdd" format="yyyy-mm-dd"/>
  113. <col ref="orddeptcd" format="yyyy-mm-dd"/>
  114. <col ref="depthngnm"/>
  115. <col ref="diagcd" style="text-align:left; padding-left:1; "/>
  116. <col ref="termengnm"/>
  117. <col ref="termhngnm" style="text-align:left; padding-left:1; "/>
  118. <col ref="diagno"/>
  119. <col ref="cnslttxt" style="padding-left:1; "/>
  120. </datagrid>
  121. <caption id="caption1" class="search_name" style="left:5px; top:32px; width:75px; height:17px; ">입원일 :</caption>
  122. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" style="left:85px; top:31px; width:90px; height:19px; "/>
  123. <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" style="left:190px; top:31px; width:90px; height:19px; "/>
  124. <caption id="caption2" style="left:175px; top:32px; width:15px; height:20px; text-align:center; ">~</caption>
  125. </xhtml:body>
  126. </xhtml:html>