SMLPP03500_수정결과조회.xrw 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLPP03500.xrw
  4. * 설 명 : 수정결과조회
  5. * 설 계 자 : 유동철
  6. * 작 성 자 : 유동철
  7. * 작 성 일 : 2011.02.09
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>수정결과조회</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <updtrslt>
  20. <updtrsltlist>
  21. <choi/>
  22. <instcd/>
  23. <ptno/>
  24. <dispptno/>
  25. <pid/>
  26. <orgrslt/>
  27. <newrslt/>
  28. <cnfmdd/>
  29. <cnfmtm/>
  30. <cnfmnm/>
  31. </updtrsltlist>
  32. </updtrslt>
  33. <popupendflag/>
  34. <patinfo>
  35. <patinfolist>
  36. <pid/>
  37. </patinfolist>
  38. </patinfo>
  39. </main>
  40. <send>
  41. </send>
  42. <init>
  43. <pid/>
  44. <todd/>
  45. <fromdd/>
  46. <sysdt>
  47. <sysdtinfo>
  48. <sysdd/>
  49. </sysdtinfo>
  50. </sysdt>
  51. </init>
  52. <hidden>
  53. </hidden>
  54. </root>
  55. </instance>
  56. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  57. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  58. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  59. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  60. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  61. <script type="javascript" ev:event="xforms-ready">
  62. <![CDATA[
  63. fExeInitialize();
  64. ]]>
  65. </script>
  66. <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
  67. <submission id="TRLPP03501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/updtrslt/updtrsltlist"/>
  68. </model>
  69. <script type="javascript">
  70. <![CDATA[
  71. /* @group : 수정결과조회
  72. * @ver : 2011.02.09 (CMCDEV-0001)
  73. * @by : 유동철(ACK)
  74. * @-----------------------------------
  75. * @type : function
  76. * @access : public
  77. * @desc : 화면초기화 함수
  78. */
  79. function fExeInitialize() {
  80. //---------------
  81. submit("TRLPZ00102", false); // 시스템일자 조회
  82. //----------------
  83. // 조회조건 초기화
  84. model.makeValue("/root/init/fromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
  85. ipt_fromdd.value = ipt_fromdd.value.toDate().getAddDate(-7, "D").getDateFormat("YYYYMMDD"); // 일자FromDD
  86. model.makeValue("/root/init/todd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 일자ToDD
  87. model.refresh();
  88. }
  89. /* @group : 수정결과조회
  90. * @ver : 2011.02.09 (CMCDEV-0001)
  91. * @by : 유동철(ACK)
  92. * @-----------------------------------
  93. * @type : function
  94. * @access : public
  95. * @desc : 등록번호 조회값 입력 처리
  96. */
  97. function fExeRefValKeyPress() {
  98. if(event.keyCode == 13) {
  99. model.setValue("/root/init/pid", ipt_pid.currentText);
  100. ipt_pid.refresh();
  101. //-----------------
  102. fGetUpdtRsltList();
  103. }
  104. }
  105. /* @group : 수정결과조회
  106. * @ver : 2011.02.09 (CMCDEV-0001)
  107. * @by : 유동철(ACK)
  108. * @-----------------------------------
  109. * @type : function
  110. * @access : public
  111. * @desc : 수정결과 목록조회
  112. */
  113. function fGetUpdtRsltList() {
  114. model.makeValue("/root/send/fromdd", model.getValue("/root/init/fromdd"));
  115. model.makeValue("/root/send/todd", model.getValue("/root/init/todd"));
  116. model.makeValue("/root/send/pid", model.getValue("/root/init/pid"));
  117. submit("TRLPP03501");
  118. }
  119. ]]>
  120. </script>
  121. </xhtml:head>
  122. <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  123. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  124. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:122px; height:14px; ">수정결과조회</caption>
  125. </group>
  126. <group id="grp_biz" scroll="auto" style="left:0px; top:40; width:1194px; height:742; ">
  127. <group id="grp_sea" style="left:0px; top:0px; width:1194px; height:40px; vertical-align:top; ">
  128. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1193px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  129. <caption id="caption2" class="search_name" style="left:15px; top:12px; width:90px; height:17px; ">수정일자 :</caption>
  130. <input id="ipt_fromdd" ref="/root/init/fromdd" class="input_s_essential" navindex="1" inputtype="date" style="left:108px; top:11px; width:100px; height:19px; "/>
  131. <line id="line13" class="line_4" style="x1:1107px; y1:5px; x2:1107px; y2:35px; "/>
  132. <input id="ipt_todd" ref="/root/init/todd" class="input_s_essential" navindex="2" inputtype="date" style="left:229px; top:11px; width:100px; height:19px; "/>
  133. <caption id="caption34" class="search_no_b" style="left:213px; top:12px; width:12px; height:17px; ">~</caption>
  134. <button id="btn_sea" class="btn1_letter2" navindex="10" style="left:1123px; top:9px; width:56px; height:22px; ">
  135. <caption>조회</caption>
  136. <script type="javascript" ev:event="DOMActivate">
  137. <![CDATA[
  138. fGetUpdtRsltList();
  139. ]]>
  140. </script>
  141. </button>
  142. <caption id="caption1" class="search_name" style="left:883px; top:12px; width:90px; height:17px; ">등록번호 :</caption>
  143. <input id="ipt_pid" ref="/root/init/pid" class="input_s_essential" navindex="1" style="left:975px; top:11px; width:100px; height:19px; ">
  144. <script type="javascript" ev:event="onkeypress">
  145. <![CDATA[
  146. fExeRefValKeyPress();
  147. ]]>
  148. </script>
  149. </input>
  150. <button id="button33" class="icon_search" style="left:1078px; top:11px; width:16px; height:16px; ">
  151. <caption/>
  152. <script type="javascript" ev:event="DOMActivate">
  153. <![CDATA[
  154. var sPid = "";
  155. model.makeValue("/root/main/popupendflag", "cancel");
  156. modal("SPPMC02500",0,100,150,"SPPMC02500","","");
  157. //-------------------------------------------------------
  158. if (model.getValue("/root/main/popupendflag") == "ok") {
  159. //----------------------------------------------------------
  160. sPid = model.getValue("/root/main/patinfo/patinfolist/pid");
  161. //-----------------------------------------------
  162. if (sPid == null || sPid == "" || sPid == " ") {
  163. return false;
  164. }
  165. //------------------------------------------------------------------------------------------
  166. model.makeValue("/root/send/srchpid", model.getValue("/root/main/patinfo/patinfolist/pid"));
  167. ipt_pid.refresh();
  168. }
  169. ]]>
  170. </script>
  171. </button>
  172. </group>
  173. <datagrid id="grd_rsltlist" nodeset="/root/main/updtrslt/updtrsltlist" class="datagrid2" autoresize="true" caption="선택^instcd^ptno^병리번호^pid^원결과^수정결과^수정일자^수정시간^수정자^항목명^정도관리^기타내용" colsep="^" colwidth="0, 0, 0, 80, 0, 200, 200, 80, 70, 70, 200, 100, 150" dataheight="23" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" navindex="11" style="left:0px; top:70px; width:1194px; height:651px; ">
  174. <col ref="choi" type="checkbox" visibility="hidden" style="text-align:center; "/>
  175. <col ref="instcd" visibility="hidden" style="text-align:center; "/>
  176. <col ref="ptno" visibility="hidden" style="text-align:center; "/>
  177. <col ref="dispptno" style="text-align:center; "/>
  178. <col ref="pid" visibility="hidden" style="text-align:center; "/>
  179. <col ref="orgrslt"/>
  180. <col ref="newrslt"/>
  181. <col ref="cnfmdd" style="text-align:center; "/>
  182. <col ref="cnfmtm" style="text-align:center; "/>
  183. <col ref="cnfmnm" style="text-align:center; "/>
  184. <col ref="itemnm" style="text-align:center; "/>
  185. <col ref="grdeitemnm" style="text-align:center; "/>
  186. <col ref="grdecnts"/>
  187. <script type="javascript" ev:event="onaftersort">
  188. <![CDATA[
  189. grd_rsltlist.gridToInstance();
  190. ]]>
  191. </script>
  192. </datagrid>
  193. <line id="line12" class="line_1" style="x1:0px; y1:65px; x2:1194px; y2:65px; "/>
  194. <caption id="caption9" class="tit_2" style="left:5px; top:50px; width:139px; height:14px; ">수정결과 목록</caption>
  195. </group>
  196. <group id="grp_btn" style="left:0px; top:13; width:1195px; height:27px; ">
  197. <button id="btn_excel" accesskey="f9" class="btn6_letter5" navindex="13" style="left:5px; top:3px; width:92px; height:22px; ">
  198. <caption>EXCEL저장</caption>
  199. <script type="javascript" ev:event="DOMActivate">
  200. <![CDATA[
  201. //grd_rsltlist.colHidden(1) = true;
  202. lpzfExeSaveToExcel(grd_rsltlist, "수정결과목록");
  203. //grd_rsltlist.colHidden(1) = false;
  204. ]]>
  205. </script>
  206. </button>
  207. </group>
  208. </xhtml:body>
  209. </xhtml:html>