SMLPP02100_전송취소내역.xrw 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLPP02100_전송취소내역.xrw
  4. * 설 명 : 전송취소내역 화면
  5. * 설 계 자 : (주)에이씨케이 - 유동철
  6. * 작 성 자 : (주)에이씨케이 - 유동철
  7. * 작 성 일 : 2008.02.6
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <cnclinfo>
  20. <cncllist>
  21. <instcd/>
  22. <ptno/>
  23. <dispptno/>
  24. <pid/>
  25. <patnm/>
  26. <sexage/>
  27. <cncldd/>
  28. <cncltm/>
  29. <cnclid/>
  30. <cnclnm/>
  31. <cnclresnnm/>
  32. </cncllist>
  33. </cnclinfo>
  34. </main>
  35. <send/>
  36. <init>
  37. <acptfromdd/>
  38. <acpttodd/>
  39. <refmthdcd/>
  40. <refval/>
  41. <ptnocode/>
  42. <fromyear/>
  43. <fromptno/>
  44. <toyear/>
  45. <toptno/>
  46. <sysdt>
  47. <sysdtinfo>
  48. <sysdd/>
  49. <systm/>
  50. </sysdtinfo>
  51. </sysdt>
  52. <ptnocd>
  53. <ptnocdlist>
  54. <instcd/>
  55. <ptnocd/>
  56. <ptnonm/>
  57. </ptnocdlist>
  58. </ptnocd>
  59. <imgsrc/>
  60. <imgdisp/>
  61. </init>
  62. <hidden>
  63. <paval/>
  64. </hidden>
  65. <message/>
  66. </root>
  67. </instance>
  68. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  69. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  70. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  71. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  72. <script type="javascript" ev:event="xforms-ready">
  73. <![CDATA[
  74. fExeInitialize();
  75. ]]>
  76. </script>
  77. <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
  78. <submission id="TRLPZ00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/ptnocd/ptnocdlist"/>
  79. <submission id="TRLPP02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/cnclinfo/cncllist"/>
  80. </model>
  81. <script type="javascript">
  82. <![CDATA[
  83. /* @group : 전송취소내역 화면
  84. * @ver : 2008.02.13 (CMCDEV-0001)
  85. * @by : 유동철(ACK)
  86. * @-----------------------------------
  87. * @type : function
  88. * @access : public
  89. * @desc : 화면초기화 함수
  90. */
  91. function fExeInitialize() {
  92. var sCurDate = "";
  93. var menuparam = getScreenMenuParameter();
  94. //--------------------------------------------------
  95. model.removeNodeset("/root/main/cnclinfo/cncllist");
  96. //----------------
  97. // 시스템일자 조회
  98. model.removeNodeset("/root/send");
  99. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  100. submit("TRLPZ00102", false);
  101. submit("TRLPZ00109");
  102. //------------------------------------------------------------
  103. sCurDate = model.getValue("/root/init/sysdt/sysdtinfo/sysdd");
  104. //------------
  105. // 초기값 설정
  106. model.makeValue("/root/init/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 등록일자(From)
  107. model.makeValue("/root/init/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 등록일자(To)
  108. model.makeValue("/root/init/refval", ""); // 검색값
  109. model.makeValue("/root/init/ptnocode", "");
  110. model.makeValue("/root/init/fromyear", sCurDate.substr(2,2));
  111. model.makeValue("/root/init/fromptno", "");
  112. model.makeValue("/root/init/toyear", sCurDate.substr(2,2));
  113. model.makeValue("/root/init/toptno", "");
  114. //-------------------------------------
  115. // 메뉴에서 화면이 선택되었을 경우 처리
  116. if (menuparam == "1") {
  117. // Continue
  118. } else {
  119. //-------------------------------------------------
  120. // 검사결과등록, 결과조회 화면에서 호출할 경우 처리
  121. if (window.parent == null) {
  122. // Continue
  123. } else {
  124. /*
  125. model.makeValue("/root/init/ptnocode", opener.javascript.getParameter("SMLPP02100_ptnocd"));
  126. model.makeValue("/root/init/fromyear", opener.javascript.getParameter("SMLPP02100_year"));
  127. model.makeValue("/root/init/fromptno", opener.javascript.getParameter("SMLPP02100_no"));
  128. model.makeValue("/root/init/toyear", opener.javascript.getParameter("SMLPP02100_year"));
  129. model.makeValue("/root/init/toptno", opener.javascript.getParameter("SMLPP02100_no"));
  130. */
  131. model.makeValue("/root/init/refval", opener.javascript.getParameter("SMLPP02100_pid"));
  132. //--------------
  133. fGetCnclList();
  134. }
  135. }
  136. //--------------
  137. model.refresh();
  138. }
  139. /* @group : 전송취소내역 화면
  140. * @ver : 2008.02.13 (CMCDEV-0001)
  141. * @by : 유동철(ACK)
  142. * @-----------------------------------
  143. * @type : function
  144. * @access : public
  145. * @desc : 접수목록 조회 처리 함수
  146. */
  147. function fGetCnclList() {
  148. var sNode = "/root/main/cnclinfo/cncllist";
  149. var sTemp = "";
  150. var sFromDD = model.getValue("/root/init/acptfromdd");
  151. var sToDD = model.getValue("/root/init/acpttodd");
  152. //------------------------------------------------
  153. if (model.getValue("/root/init/ptnocode") != "") {
  154. //------------------------------------------------
  155. if (model.getValue("/root/init/fromyear") == "") {
  156. model.makeValue("/root/init/fromyear", sFromDD.substr(2,2));
  157. } else {
  158. sTemp = model.getValue("/root/init/fromyear");
  159. model.makeValue("/root/init/fromyear", sTemp.getLeftPad(2, "0"));
  160. }
  161. //------------------------------------------------
  162. if (model.getValue("/root/init/fromptno") == "") {
  163. model.makeValue("/root/init/fromptno", "000000");
  164. } else {
  165. sTemp = model.getValue("/root/init/fromptno");
  166. model.makeValue("/root/init/fromptno", sTemp.getLeftPad(6, "0"));
  167. }
  168. //----------------------------------------------
  169. if (model.getValue("/root/init/toyear") == "") {
  170. model.makeValue("/root/init/toyear", sToDD.substr(2,2));
  171. } else {
  172. sTemp = model.getValue("/root/init/toyear");
  173. model.makeValue("/root/init/toyear", sTemp.getLeftPad(2, "0"));
  174. }
  175. //----------------------------------------------
  176. if (model.getValue("/root/init/toptno") == "") {
  177. model.makeValue("/root/init/toptno", "999999");
  178. } else {
  179. sTemp = model.getValue("/root/init/toptno");
  180. model.makeValue("/root/init/toptno", sTemp.getLeftPad(6, "0"));
  181. }
  182. }
  183. //--------------------------------------------
  184. sTemp = model.getValue("/root/init/ptnocode");
  185. //--------------------------------
  186. model.removeNodeset("/root/send");
  187. model.removeNodeset(sNode);
  188. //----------------------------------------------------------------------
  189. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  190. model.makeValue("/root/send/cnclfromdd", model.getValue("/root/init/acptfromdd"));
  191. model.makeValue("/root/send/cncltodd", model.getValue("/root/init/acpttodd"));
  192. model.makeValue("/root/send/pid", model.getValue("/root/init/refval"));
  193. model.makeValue("/root/send/ptnocode", sTemp.replace("-", ""));
  194. model.makeValue("/root/send/fromyear", model.getValue("/root/init/fromyear"));
  195. model.makeValue("/root/send/fromptno", model.getValue("/root/init/fromptno"));
  196. model.makeValue("/root/send/toyear", model.getValue("/root/init/toyear"));
  197. model.makeValue("/root/send/toptno", model.getValue("/root/init/toptno"));
  198. //-------------------
  199. submit("TRLPP02101");
  200. }
  201. /* @group : 전송취소내역
  202. * @ver : 2007.11.14 (CMCDEV-0001)
  203. * @by : 유동철(ACK)
  204. * @-----------------------------------
  205. * @type : function
  206. * @access : public
  207. * @desc : 검색값을 입력하고 Enter키를 누를 경우 처리 Function
  208. */
  209. function fExeInputKey() {
  210. if(event.keyCode == 13) {
  211. model.makeValue("/root/init/refval", ipt_seaval.currentText);
  212. ipt_seaval.refresh();
  213. //-------------
  214. fGetCnclList();
  215. }
  216. }
  217. ]]>
  218. </script>
  219. </xhtml:head>
  220. <xhtml:body visibility="visible">
  221. <group id="grp_btn" style="left:0px; top:13; width:1195px; height:27px; ">
  222. <line id="line10" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  223. <button id="btn_excel" class="btn6_letter5" navindex="13" style="left:5px; top:3px; width:92px; height:22px; ">
  224. <caption>EXCEL저장</caption>
  225. <script type="javascript" ev:event="DOMActivate">
  226. <![CDATA[
  227. lpzfExeSaveToExcel(grd_ptnolist, "최종진단 취소내역");
  228. ]]>
  229. </script>
  230. </button>
  231. </group>
  232. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  233. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:220px; height:14px; ">최종진단 취소내역</caption>
  234. </group>
  235. <group id="grp_biz" style="left:0; top:40; width:1195; height:744; ">
  236. <caption id="caption4" class="tit_2" style="left:5px; top:55px; width:146px; height:14px; ">취소 목록</caption>
  237. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  238. <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  239. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  240. <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  241. <input id="ipt_seaval" ref="/root/init/refval" class="input_search" navindex="6" maxlength="10" style="left:612px; top:8px; width:98px; height:19px; ">
  242. <script type="javascript" ev:event="onkeypress">
  243. <![CDATA[
  244. fExeInputKey();
  245. ]]>
  246. </script>
  247. </input>
  248. <caption id="caption3" class="search_name" style="left:521px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
  249. <caption id="caption5" class="search_no_b" style="left:979px; top:8px; width:12px; height:17px; ">~</caption>
  250. <button id="btn_sea" class="btn1_letter2" navindex="10" style="left:1123px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  251. <caption>조회</caption>
  252. <script type="javascript" ev:event="DOMActivate">
  253. <![CDATA[
  254. fGetCnclList();
  255. ]]>
  256. </script>
  257. </button>
  258. <input id="ipt_cnclfromdd" ref="/root/init/acptfromdd" class="input_s_essential" navindex="8" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:876px; top:8px; width:100px; height:19px; ">
  259. <script type="javascript" ev:event="xforms-value-changed">
  260. <![CDATA[
  261. lpzfExeDateChange(ipt_fromyear, "/root/init/acptfromdd", "/root/init/fromyear");
  262. ]]>
  263. </script>
  264. </input>
  265. <input id="ipt_cncltodd" ref="/root/init/acpttodd" class="input_s_essential" navindex="9" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:995px; top:8px; width:100px; height:19px; ">
  266. <script type="javascript" ev:event="xforms-value-changed">
  267. <![CDATA[
  268. lpzfExeDateChange(ipt_toyear, "/root/init/acpttodd", "/root/init/toyear");
  269. ]]>
  270. </script>
  271. </input>
  272. <select1 id="cbo_ptnocd" ref="/root/init/ptnocode" navindex="1" appearance="minimal" editmode="search" style="left:109px; top:8px; width:156px; height:19px; ">
  273. <choices>
  274. <itemset nodeset="/root/init/ptnocd/ptnocdlist">
  275. <label ref="ptnonm"/>
  276. <value ref="ptnocd"/>
  277. </itemset>
  278. </choices>
  279. </select1>
  280. <input id="ipt_fromptno" ref="/root/init/fromptno" class="text_center" navindex="3" maxlength="6" style="left:298px; top:8px; width:50px; height:19px; "/>
  281. <caption id="caption1" class="search_name" style="left:15px; top:9px; width:90px; height:17px; ">병리번호 :</caption>
  282. <input id="ipt_fromyear" ref="/root/init/fromyear" class="text_center" navindex="2" maxlength="2" style="left:268px; top:8px; width:27px; height:19px; "/>
  283. <caption id="cap_refdd" class="search_name" style="left:787px; top:9px; width:86px; height:17px; ">취소일자 :</caption>
  284. <caption id="caption2" class="search_no_b" style="left:351px; top:8px; width:12px; height:17px; ">~</caption>
  285. <input id="input1" ref="/root/init/toptno" class="text_center" navindex="5" maxlength="6" style="left:396px; top:8px; width:50px; height:19px; "/>
  286. <input id="ipt_toyear" ref="/root/init/toyear" class="text_center" navindex="4" maxlength="2" style="left:366px; top:8px; width:27px; height:19px; "/>
  287. </group>
  288. <datagrid id="grd_ptnolist" nodeset="/root/main/cnclinfo/cncllist" class="datagrid2" caption="기관코드^병리번호^병리번호^등록번호^환자명^성별/나이^취소일자^취소시간^취소자ID^취소자^취소사유" colsep="^" colwidth="0, 0, 100, 80, 80, 100, 100, 70, 0, 80, 541" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" navindex="11" style="left:0px; top:75px; width:1194px; height:668px; ">
  289. <col ref="instcd"/>
  290. <col ref="ptno"/>
  291. <col class="text_center" ref="dispptno"/>
  292. <col class="text_center" ref="pid"/>
  293. <col class="text_center" ref="patnm"/>
  294. <col class="text_center" ref="sexage"/>
  295. <col class="text_center" ref="cncldd" format="yyyy-mm-dd"/>
  296. <col class="text_center" ref="cncltm" format="hh:nn:ss"/>
  297. <col ref="cnclid"/>
  298. <col class="text_center" ref="cnclnm"/>
  299. <col class="text_center" ref="cnclresnnm"/>
  300. <script type="javascript" ev:event="onaftersort">
  301. <![CDATA[
  302. grd_ptnolist.gridToInstance();
  303. ]]>
  304. </script>
  305. </datagrid>
  306. </group>
  307. </xhtml:body>
  308. </xhtml:html>