SMMNI03200_항암프로토콜 환자리스트조회.xrw 7.1 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. <cond>
  11. <fromdd/>
  12. <todd/>
  13. </cond>
  14. <antiprtllist>
  15. <antiprtlinfo>
  16. <appdd/>
  17. <pid/>
  18. <hngnm/>
  19. <sexage/>
  20. <orddeptnm/>
  21. <orddrnm/>
  22. <sickclsnm/>
  23. <prtlnm/>
  24. <drugtm/>
  25. <prtldg/>
  26. </antiprtlinfo>
  27. </antiprtllist>
  28. </main>
  29. <init>
  30. </init>
  31. <send>
  32. <reqdata/>
  33. <savedata/>
  34. </send>
  35. </root>
  36. </instance>
  37. <script type="javascript" ev:event="xforms-ready">
  38. <![CDATA[
  39. fInit();
  40. ]]>
  41. </script>
  42. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  43. <submission id="TRMNI03201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/antiprtllist"/>
  44. </model>
  45. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  47. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  50. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  51. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  52. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  53. <script type="javascript">
  54. <![CDATA[
  55. //화면 오픈시 초기화
  56. function fInit() {
  57. //조회기간설정
  58. model.setValue("/root/main/cond/fromdd", getCurrentDate().substr(0,6) +"01");
  59. model.setValue("/root/main/cond/todd", getCurrentDate());
  60. fAntiPrtlInfo(); //조회
  61. model.refresh();
  62. }
  63. //조회버튼 클릭시
  64. function fAntiPrtlInfo() {
  65. model.removeNodeset("/root/send/reqdata");
  66. model.makeNode("/root/send/reqdata");
  67. model.copyNode("/root/send/reqdata", "/root/main/cond");
  68. submit("TRMNI03201");
  69. }
  70. //엑셀저장 버튼 클릭시
  71. function fExcel() {
  72. if (grd_antiprtlinfo.rows <= 1) {
  73. messageBox("엑셀파일로 저장할 리스트 내역이", "I004");
  74. return;
  75. }
  76. var fileName = window.fileDialog("save", ",", false, "항암프로토콜 활자리스트조회", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  77. if (fileName != ""){
  78. grd_antiprtlinfo.saveExcel(fileName, "SheetName", false, false, "", "", false);
  79. }
  80. }//fExcel END
  81. ]]>
  82. </script>
  83. </xhtml:head>
  84. <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  85. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  86. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">항암프로토콜 환자리스트조회</caption>
  87. </group>
  88. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  89. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  90. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
  91. <button id="button1" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  92. <caption>조회</caption>
  93. <script type="javascript" ev:event="DOMActivate">
  94. <![CDATA[
  95. fAntiPrtlInfo();
  96. ]]>
  97. </script>
  98. </button>
  99. <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
  100. <input id="ipt_fromdd" ref="/root/main/cond/fromdd" class="input_search" inputtype="date" style="left:109px; top:10px; width:85px; height:19px; "/>
  101. <caption id="caption3" class="search_name" style="left:20px; top:10px; width:94px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">조회기간 :</caption>
  102. <caption id="caption5" class="search_no_b" style="left:199px; top:10px; width:12px; height:17px; ">~</caption>
  103. <input id="ipt_todd" ref="/root/main/cond/todd" class="input_search" inputtype="date" style="left:217px; top:10px; width:85px; height:19px; "/>
  104. </group>
  105. <!--(20101206) 경북대
  106. <datagrid id="grd_antiprtlinfo" nodeset="/root/main/antiprtllist/antiprtlinfo" autoresize="true" caption="적용일자^등록번호^환자명^S/A^진료과^주치의^진단명^프로토콜명^항암치료시간(분)^차수(D)^caption3^caption2" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 183, 227, 102, 100" dataheight="25" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:76px; width:1194px; height:665px; ">
  107. -->
  108. <datagrid id="grd_antiprtlinfo" nodeset="/root/main/antiprtllist/antiprtlinfo" autoresize="true" caption="적용일자^등록번호^환자명^S/A^진료과^주치의^진단명^프로토콜명^항암치료시간(분)^차수(D)^caption3^caption2" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 183, 227, 102, 100" dataheight="25" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:76px; width:1194px; height:665px; ">
  109. <!--(20101206) 경북대 -->
  110. <col ref="appdd" format="yyyy-mm-dd" style="text-align:center; "/>
  111. <col ref="pid" style="text-align:center; "/>
  112. <col ref="hngnm" style="text-align:center; "/>
  113. <col ref="sexage" style="text-align:center; "/>
  114. <col ref="orddeptnm" style="text-align:center; "/>
  115. <col ref="orddrnm" style="text-align:center; "/>
  116. <col ref="sickclsnm" style="text-align:left; "/>
  117. <col ref="prtlnm" style="text-align:left; "/>
  118. <col ref="drugtm"/>
  119. <col ref="prtldg" style="text-align:center; "/>
  120. </datagrid>
  121. <button id="button11" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter4.gif" style="left:1118px; top:50px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter4.gif; ">
  122. <caption>엑셀저장</caption>
  123. <script type="javascript" ev:event="DOMActivate">
  124. <![CDATA[
  125. fExcel();
  126. ]]>
  127. </script>
  128. </button>
  129. </group>
  130. <group id="group5" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
  131. <line id="line37" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  132. </group>
  133. <caption id="caption1" class="tit_2" style="left:5px; top:71px; width:165px; height:14px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">환자리스트</caption>
  134. <line id="line1" class="line_1" style="x1:0px; y1:86px; x2:1194px; y2:86px; "/>
  135. </xhtml:body>
  136. </xhtml:html>