SMMNE03300_대기시간별상세환자리스트.xrw 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. </main>
  12. </root>
  13. </instance>
  14. </model>
  15. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  16. </xhtml:head>
  17. <xhtml:body pagewidth="680" pageheight="650" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  18. <group id="grp_tle" style="left:0px; top:0px; width:660px; height:13px; ">
  19. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">대기시간별 환자현황</caption>
  20. </group>
  21. <group id="grp_biz" scroll="auto" style="left:0px; top:45px; width:661px; height:600px; ">
  22. <datagrid id="grd_nursMngt" nodeset="/root/main/list/patlist" class="datagrid2" caption="등록번호^환자명^나이^성별^주민등록번호^진료과^내원일시^퇴실일시^대기(분)" colsep="^" colwidth="70, 75, 30, 30, 105, 48, 100, 100, 65" dataheight="25" rowheader="seq" rowheight="90" rowsep="|" style="left:0px; top:10px; width:660px; height:585px; ">
  23. <col ref="pid" style="left:20px; top:32px; width:80px; height:25px; "/>
  24. <col ref="patnm" style="left:100px; top:32px; width:70px; height:25px; text-align:center; "/>
  25. <col ref="sex" style="text-align:center; "/>
  26. <col ref="age" style="text-align:center; "/>
  27. <col ref="rrgstno" style="text-align:center; "/>
  28. <col ref="orddept" style="text-align:center; "/>
  29. <col ref="chosdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  30. <col ref="outrmdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  31. <col ref="staytm" style="text-align:right; "/>
  32. </datagrid>
  33. <line id="line1" class="line_1" style="x1:0px; y1:6px; x2:661px; y2:6px; "/>
  34. </group>
  35. <group id="grp_btn" style="left:0px; top:13px; width:661px; height:27px; ">
  36. <button id="btn_print" class="btn6_letter2" style="left:0px; top:3px; width:56px; height:22px; ">
  37. <caption>출력</caption>
  38. <script type="javascript" ev:event="DOMActivate">
  39. <![CDATA[
  40. model.copyNode("/root/send","root/main");
  41. exeReportPreview("RPMNE03300","XMLSTR","");
  42. ]]>
  43. </script>
  44. </button>
  45. <line id="line14" class="line_6" style="x1:0px; y1:25px; x2:661px; y2:25px; "/>
  46. <button id="button1" class="btn1_letter2" style="left:602px; top:3px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  47. <caption>엑셀</caption>
  48. <script type="javascript" ev:event="onclick">
  49. <![CDATA[
  50. var xrwflag = model.getValue("/root/main/list/xrwflag");
  51. // 수정_20081126
  52. if(xrwflag == "dept"){ // 과별 환자 현황 화면에서 띄웠을 경우
  53. var fileName = window.fileDialog("save", ",", false, model.getValue("/root/main/list/patlist/orddept") + "과상세환자리스트", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  54. }else if(xrwflag == "type"){ // 유형별 환자 현황 화면에서 띄웠을 경우
  55. var fileName = window.fileDialog("save", ",", false, "대기시간별 환자현황" + model.getValue("/root/main/list/totime") , "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  56. }
  57. if (fileName != "") {
  58. grd_nursMngt.saveExcel(fileName, "SheetName", true, true, "", "", false);
  59. }
  60. ]]>
  61. </script>
  62. </button>
  63. </group>
  64. </xhtml:body>
  65. </xhtml:html>