SMLPT00300_조직은행보관현황.xrw 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLPT00300_조직은행보관현황
  4. * 설 명 : 조직은행보관현황
  5. * 설 계 자 : (주)에이씨케이 - 유동철
  6. * 작 성 자 : (주)에이씨케이 - 유동철
  7. * 작 성 일 : 2007.10.01
  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. <keepspc>
  20. <keepspclist>
  21. <instcd/>
  22. <ptno/>
  23. <dispptno/>
  24. <keepptno/>
  25. <keepdispptno/>
  26. <pid/>
  27. <patnm/>
  28. <spccd/>
  29. <spcnm/>
  30. <keepdd/>
  31. <keeptm/>
  32. <keepid/>
  33. <keepnm/>
  34. <eqmtcd/>
  35. <eqmtnm/>
  36. <sectno/>
  37. <rackno/>
  38. <boxno/>
  39. <posno/>
  40. </keepspclist>
  41. </keepspc>
  42. </main>
  43. <send/>
  44. <init>
  45. <pid/>
  46. <acptfromdd/>
  47. <acpttodd/>
  48. <seameth/>
  49. <trstflag/>
  50. <exlabcd/>
  51. <sysdt>
  52. <sysdtinfo>
  53. <sysdd/>
  54. <systm/>
  55. </sysdtinfo>
  56. </sysdt>
  57. <resncd>
  58. <resncdist>
  59. <instcd/>
  60. <baseflagcd/>
  61. <resncd/>
  62. <resncnts/>
  63. </resncdist>
  64. </resncd>
  65. <ptnocd>
  66. <ptnocdlist>
  67. <instcd/>
  68. <ptnocd/>
  69. <ptnonm/>
  70. </ptnocdlist>
  71. </ptnocd>
  72. <ptnocode/>
  73. <fromyear/>
  74. <fromptno/>
  75. <toyear/>
  76. <toptno/>
  77. <init>
  78. <LB0110>
  79. <cd/>
  80. <nm/>
  81. </LB0110>
  82. </init>
  83. </init>
  84. <hidden/>
  85. <message/>
  86. </root>
  87. </instance>
  88. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  89. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  90. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  91. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  92. <script type="javascript" ev:event="xforms-ready">
  93. <![CDATA[
  94. fExeInitialize();
  95. ]]>
  96. </script>
  97. <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
  98. <submission id="TRLPZ00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/ptnocd/ptnocdlist"/>
  99. <submission id="TRLPT00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/keepspc/keepspclist"/>
  100. </model>
  101. <script type="javascript">
  102. <![CDATA[
  103. /* @group : 조직은행보관현황
  104. * @ver : 2007.10.01 (CMCDEV-0001)
  105. * @by : 유동철(ACK)
  106. * @-----------------------------------
  107. * @type : function
  108. * @access : public
  109. * @desc : 초기화 Function
  110. */
  111. function fExeInitialize() {
  112. var sCurDate = "";
  113. //---------------
  114. // 시스템일시 조회
  115. model.removeNodeset("/root/send");
  116. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  117. submit("TRLPZ00102", false);
  118. submit("TRLPZ00109");
  119. //------------------------------------------------------------
  120. sCurDate = model.getValue("/root/init/sysdt/sysdtinfo/sysdd");
  121. model.makeValue("/root/init/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
  122. model.makeValue("/root/init/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
  123. model.makeValue("/root/init/ptnocode", "");
  124. model.makeValue("/root/init/fromyear", sCurDate.substr(2,2));
  125. model.makeValue("/root/init/toyear", sCurDate.substr(2,2));
  126. model.makeValue("/root/init/fromptno", "");
  127. model.makeValue("/root/init/toptno", "");
  128. model.makeValue("/root/init/exlabcd", "");
  129. model.makeValue("/root/init/pid", "");
  130. model.makeValue("/root/init/trstflag", "1");
  131. //----------------------------------------------------
  132. model.removeNodeset("/root/main/keepspc/keepspclist");
  133. //--------------
  134. model.refresh();
  135. }
  136. /* @group : 조직은행보관현황
  137. * @ver : 2007.10.01 (CMCDEV-0001)
  138. * @by : 유동철(ACK)
  139. * @-----------------------------------
  140. * @type : function
  141. * @access : public
  142. * @desc : 보관검체목록 조회 Function
  143. */
  144. function fGetKeepSpecList() {
  145. var sTemp = "";
  146. var sFromDD = model.getValue("/root/init/acptfromdd");
  147. var sToDD = model.getValue("/root/init/acpttodd");
  148. //------------------------------------------------
  149. if (model.getValue("/root/init/ptnocode") != "") {
  150. //------------------------------------------------
  151. if (model.getValue("/root/init/fromyear") == "") {
  152. model.makeValue("/root/init/fromyear", sFromDD.substr(2,2));
  153. } else {
  154. sTemp = model.getValue("/root/init/fromyear");
  155. model.makeValue("/root/init/fromyear", sTemp.getLeftPad(2, "0"));
  156. }
  157. //----------------------------------------------
  158. if (model.getValue("/root/init/toyear") == "") {
  159. model.makeValue("/root/init/toyear", sToDD.substr(2,2));
  160. } else {
  161. sTemp = model.getValue("/root/init/toyear");
  162. model.makeValue("/root/init/toyear", sTemp.getLeftPad(2, "0"));
  163. }
  164. //------------------------------------------------
  165. if (model.getValue("/root/init/fromptno") == "") {
  166. model.makeValue("/root/init/fromptno", "000000");
  167. } else {
  168. sTemp = model.getValue("/root/init/fromptno");
  169. model.makeValue("/root/init/fromptno", sTemp.getLeftPad(6, "0"));
  170. }
  171. //----------------------------------------------
  172. if (model.getValue("/root/init/toptno") == "") {
  173. model.makeValue("/root/init/toptno", "999999");
  174. } else {
  175. sTemp = model.getValue("/root/init/toptno");
  176. model.makeValue("/root/init/toptno", sTemp.getLeftPad(6, "0"));
  177. }
  178. }
  179. //--------------------------------------------
  180. sTemp = model.getValue("/root/init/ptnocode");
  181. model.removeNodeset("/root/main/keepspc/keepspclist");
  182. //--------------------------------
  183. model.removeNodeset("/root/send");
  184. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  185. model.makeValue("/root/send/fromdd", model.getValue("/root/init/acptfromdd"));
  186. model.makeValue("/root/send/todd", model.getValue("/root/init/acpttodd"));
  187. model.makeValue("/root/send/ptnocode", sTemp.replace("-", ""));
  188. model.makeValue("/root/send/fromyear", model.getValue("/root/init/fromyear"));
  189. model.makeValue("/root/send/fromptno", model.getValue("/root/init/fromptno"));
  190. model.makeValue("/root/send/toyear", model.getValue("/root/init/toyear"));
  191. model.makeValue("/root/send/toptno", model.getValue("/root/init/toptno"));
  192. model.makeValue("/root/send/trstflagcd", model.getValue("/root/init/trstflag")); // 위탁구분(0:전, 1:후)
  193. model.makeValue("/root/send/pid", model.getValue("/root/init/pid"));
  194. //-------------------
  195. submit("TRLPT00301");
  196. }
  197. /* @group : 조직은행보관현황
  198. * @ver : 2007.10.01 (CMCDEV-0001)
  199. * @by : 유동철(ACK)
  200. * @-----------------------------------
  201. * @type : function
  202. * @access : public
  203. * @desc : 위탁검사목록 조회 Function
  204. */
  205. function fExeSaveToExcel() {
  206. grd_keepspclist.saveExcel("C:\\SMLPT00300_조직은행보관현황.xls", "조직은행보관현황", false, false);
  207. }
  208. ]]>
  209. </script>
  210. </xhtml:head>
  211. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  212. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  213. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:150px; height:14px; ">조직은행 보관현황</caption>
  214. </group>
  215. <group id="grp_biz" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  216. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35; vertical-align:top; ">
  217. <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; "/>
  218. <caption id="caption5" class="search_no_b" style="left:202px; top:8px; width:12px; height:17px; ">~</caption>
  219. <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
  220. <input id="ipt_acptddfrom" ref="/root/init/acptfromdd" class="input_s_essential" navindex="1" inputtype="date" style="left:105px; top:8px; width:94; height:19px; "/>
  221. <input id="ipt_acptddto" ref="/root/init/acpttodd" class="input_s_essential" navindex="2" inputtype="date" style="left:217px; top:8px; width:94px; height:19px; "/>
  222. <button id="btn_sea" class="btn1_letter2" navindex="11" style="left:1123px; top:7px; width:56px; height:22px; ">
  223. <caption>조회</caption>
  224. <script type="javascript" ev:event="DOMActivate">
  225. <![CDATA[
  226. fGetKeepSpecList();
  227. ]]>
  228. </script>
  229. </button>
  230. <caption id="caption10" class="search_name" autoresize="true" style="left:922px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
  231. <caption id="cap_ddflagcd" class="search_name" style="left:16px; top:9px; width:86px; height:17px; ">보관일자 :</caption>
  232. <select1 id="cbo_ptnocd" ref="/root/init/ptnocode" navindex="3" appearance="minimal" editmode="search" style="left:534px; top:8px; width:51px; height:19px; ">
  233. <choices>
  234. <itemset nodeset="/root/init/ptnocd/ptnocdlist">
  235. <label ref="ptnocd"/>
  236. <value ref="ptnocd"/>
  237. </itemset>
  238. </choices>
  239. </select1>
  240. <input id="ipt_fromptno" ref="/root/init/fromptno" class="text_center" navindex="5" maxlength="6" style="left:618px; top:8px; width:50px; height:19px; "/>
  241. <input id="ipt_fromyear" ref="/root/init/fromyear" class="text_center" navindex="4" maxlength="2" style="left:588px; top:8px; width:27px; height:19px; "/>
  242. <caption id="caption2" class="search_name" style="left:445px; top:9px; width:90px; height:17px; ">병리번호 :</caption>
  243. <caption id="caption4" class="search_no_b" style="left:671px; top:8px; width:12px; height:17px; ">~</caption>
  244. <input id="input1" ref="/root/init/toptno" class="text_center" navindex="7" maxlength="6" style="left:716px; top:8px; width:50px; height:19px; "/>
  245. <input id="input2" ref="/root/init/toyear" class="text_center" navindex="6" maxlength="2" style="left:686px; top:8px; width:27px; height:19px; "/>
  246. <input id="input3" ref="/root/init/pid" navindex="8" style="left:1013px; top:8px; width:80px; height:19px; "/>
  247. </group>
  248. <line id="line1" class="line_1" style="x1:0px; y1:70; x2:1194px; y2:70; "/>
  249. <caption id="caption3" class="tit_2" style="left:5px; top:55px; width:139px; height:13; ">위탁검사정보</caption>
  250. <datagrid id="grd_keepspclist" nodeset="/root/main/keepspc/keepspclist" autoresize="true" caption="instcd^ptno^병리번호^keepptno^보관병리번호^등록번호^환자명^spccd^검체명^보관일자^보관&#xA;시간^keepid^보관자^보관위치^보관위치^보관위치^보관위치^보관위치^보관위치|instcd^ptno^병리번호^keepptno^보관병리번호^등록번호^환자명^spccd^검체명^보관일자^보관&#xA;시간^keepid^보관자^장비코드^장비명^Section번호^Rack번호^Box번호^위치번호" colsep="^" colwidth="0, 0, 80, 0, 80, 80, 90, 0, 200, 70, 60, 0, 90, 0, 137, 80, 70, 70, 70" dataheight="23" ellipsis="true" mergecellsfixedrows="bycolrec" rowheight="32" rowsep="|" navindex="13" style="left:0px; top:75px; width:1194px; height:607px; ">
  251. <col ref="instcd"/>
  252. <col ref="ptno"/>
  253. <col class="text_center" ref="dispptno"/>
  254. <col ref="keepptno"/>
  255. <col class="text_center" ref="keepdispptno"/>
  256. <col class="text_center" ref="pid"/>
  257. <col class="text_center" ref="patnm"/>
  258. <col ref="spccd"/>
  259. <col ref="spcnm"/>
  260. <col ref="keepdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  261. <col ref="keeptm" format="hh:nn:ss" mask="exclude" showmask="true"/>
  262. <col ref="keepid"/>
  263. <col class="text_center" ref="keepnm"/>
  264. <col ref="eqmtcd"/>
  265. <col ref="eqmtnm"/>
  266. <col class="text_center" ref="sectno" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  267. <col class="text_center" ref="rackno" format="hh:nn:ss" mask="exclude" showmask="true"/>
  268. <col class="text_center" ref="boxno"/>
  269. <col class="text_center" ref="posno"/>
  270. </datagrid>
  271. </group>
  272. <group id="grp_btn" style="left:0px; top:13; width:1195px; height:27px; ">
  273. <line id="line17" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  274. <button id="button13" class="btn6_letter5" navindex="9" style="left:5px; top:3px; width:92px; height:22px; ">
  275. <caption>EXCEL저장</caption>
  276. <script type="javascript" ev:event="DOMActivate">
  277. <![CDATA[
  278. fExeSaveToExcel();
  279. ]]>
  280. </script>
  281. </button>
  282. </group>
  283. </xhtml:body>
  284. </xhtml:html>