SMLPJ00700_접수취소현황.xrw 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLPJ00700_접수취소현황.xrw
  4. * 설 명 : 접수취소현황 화면
  5. * 설 계 자 : (주)에이씨케이 - 유동철
  6. * 작 성 자 : (주)에이씨케이 - 유동철
  7. * 작 성 일 : 2007.08.23
  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. <acptcncl>
  20. <acptcncllist>
  21. <instcd/>
  22. <ptno/>
  23. <dispptno/>
  24. <relaptno/>
  25. <disprelaptno/>
  26. <pid/>
  27. <patnm/>
  28. <patflagnm/>
  29. <prcpdd/>
  30. <acptdd/>
  31. <cncldd/>
  32. <cncltm/>
  33. <cnclid/>
  34. <cnclnm/>
  35. <testcd/>
  36. <testnm/>
  37. <tgrupcd/>
  38. <tgrupnm/>
  39. <orddeptcd/>
  40. <orddeptnm/>
  41. <orddrid/>
  42. <orddrnm/>
  43. <appeorddrid/>
  44. <appeorddrnm/>
  45. <spccd/>
  46. <spcnm/>
  47. <blocno/>
  48. <resncnts/>
  49. </acptcncllist>
  50. </acptcncl>
  51. </main>
  52. <send/>
  53. <init>
  54. <ptnocode/>
  55. <fromyear/>
  56. <fromptno/>
  57. <toyear/>
  58. <toptno/>
  59. <sysdt>
  60. <sysdtinfo>
  61. <sysdd/>
  62. <systm/>
  63. </sysdtinfo>
  64. </sysdt>
  65. <ptnocd>
  66. <ptnocdlist>
  67. <instcd/>
  68. <ptnocd/>
  69. <ptnonm/>
  70. </ptnocdlist>
  71. </ptnocd>
  72. <refflagcd/>
  73. </init>
  74. <hidden>
  75. <acptfromdd/>
  76. <acpttodd/>
  77. <seameth>0</seameth>
  78. <seaval/>
  79. </hidden>
  80. <message/>
  81. </root>
  82. </instance>
  83. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  84. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  85. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  86. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  87. <script type="javascript" ev:event="xforms-ready">
  88. <![CDATA[
  89. fExeInitialize();
  90. ]]>
  91. </script>
  92. <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
  93. <submission id="TRLPZ00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/ptnocd/ptnocdlist"/>
  94. <submission id="TRLPJ00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptcncl/acptcncllist"/>
  95. </model>
  96. <script type="javascript">
  97. <![CDATA[
  98. /* @group : 접수취소현황 화면
  99. * @ver : 2007.02.22 (CMCDEV-0001)
  100. * @by : 유동철(ACK)
  101. * @-----------------------------------
  102. * @type : function
  103. * @access : public
  104. * @desc : 화면초기화 함수
  105. */
  106. function fExeInitialize() {
  107. var sCurDate = "";
  108. //------------------------------------------------------
  109. model.removeNodeset("/root/main/acptcncl/acptcncllist");
  110. //----------------
  111. // 시스템일자 조회
  112. model.removeNodeset("/root/send");
  113. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  114. submit("TRLPZ00102", false);
  115. submit("TRLPZ00109");
  116. //------------------------------------------------------------
  117. sCurDate = model.getValue("/root/init/sysdt/sysdtinfo/sysdd");
  118. //------------
  119. // 초기값 설정
  120. model.makeValue("/root/hidden/seaval", ""); // 검색값
  121. model.makeValue("/root/hidden/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 취소일자(From)
  122. model.makeValue("/root/hidden/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 취소일자(To)
  123. model.makeValue("/root/hidden/seameth", "1"); // 검색방법(등록번호)
  124. model.makeValue("/root/init/refflagcd", "0"); // 조회구분(0:접수,1:최수)
  125. model.makeValue("/root/init/ptnocode", "");
  126. model.makeValue("/root/init/fromyear", sCurDate.substr(2,2));
  127. model.makeValue("/root/init/toyear", sCurDate.substr(2,2));
  128. model.makeValue("/root/init/fromptno", "");
  129. model.makeValue("/root/init/toptno", "");
  130. //-------------
  131. model.refresh();
  132. }
  133. /* @group : 접수취소현황 화면
  134. * @ver : 2007.08.23 (CMCDEV-0001)
  135. * @by : 유동철(ACK)
  136. * @-----------------------------------
  137. * @type : function
  138. * @access : public
  139. * @desc : 취소대상 접수자료 조회 처리 함수
  140. */
  141. function fGetCnclPrcpList() {
  142. var sTemp = "";
  143. var sFromDD = model.getValue("/root/hidden/acptfromdd");
  144. var sToDD = model.getValue("/root/hidden/acpttodd");
  145. //------------------------------------------------
  146. if (model.getValue("/root/init/ptnocode") != "") {
  147. //------------------------------------------------
  148. if (model.getValue("/root/init/fromyear") == "") {
  149. model.makeValue("/root/init/fromyear", sFromDD.substr(2,2));
  150. } else {
  151. sTemp = model.getValue("/root/init/fromyear");
  152. model.makeValue("/root/init/fromyear", sTemp.getLeftPad(2, "0"));
  153. }
  154. //----------------------------------------------
  155. if (model.getValue("/root/init/toyear") == "") {
  156. model.makeValue("/root/init/toyear", sToDD.substr(2,2));
  157. } else {
  158. sTemp = model.getValue("/root/init/toyear");
  159. model.makeValue("/root/init/toyear", 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/toptno") == "") {
  170. model.makeValue("/root/init/toptno", "999999");
  171. } else {
  172. sTemp = model.getValue("/root/init/toptno");
  173. model.makeValue("/root/init/toptno", sTemp.getLeftPad(6, "0"));
  174. }
  175. }
  176. //--------------------------------------------
  177. sTemp = model.getValue("/root/init/ptnocode");
  178. //--------------------------------
  179. model.removeNodeset("/root/send");
  180. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  181. model.makeValue("/root/send/cnclfromdd", model.getValue("/root/hidden/acptfromdd"));
  182. model.makeValue("/root/send/cncltodd", model.getValue("/root/hidden/acpttodd"));
  183. model.makeValue("/root/send/refmthd", model.getValue("/root/hidden/seameth"));
  184. model.makeValue("/root/send/refval", model.getValue("/root/hidden/seaval"));
  185. model.makeValue("/root/send/ptnocode", sTemp.replace("-", ""));
  186. model.makeValue("/root/send/fromyear", model.getValue("/root/init/fromyear"));
  187. model.makeValue("/root/send/fromptno", model.getValue("/root/init/fromptno"));
  188. model.makeValue("/root/send/toyear", model.getValue("/root/init/toyear"));
  189. model.makeValue("/root/send/toptno", model.getValue("/root/init/toptno"));
  190. model.makeValue("/root/send/acptflagcd", model.getValue("/root/init/refflagcd"));
  191. //-------------------
  192. submit("TRLPJ00701");
  193. }
  194. /* @group : 접수취소현황
  195. * @ver : 2007.08.23 (CMCDEV-0001)
  196. * @by : 유동철(ACK)
  197. * @-----------------------------------
  198. * @type : function
  199. * @access : public
  200. * @desc : 접수취소현황 Excel저장 처리 Function
  201. */
  202. function fExeSaveToExcel() {
  203. grd_acptcncllist.saveExcel("C:\\SMLPJ00700_접수취소현황.xls", "접수취소현황", false, true);
  204. }
  205. /* @group : 접수취소현황
  206. * @ver : 2007.08.23 (CMCDEV-0001)
  207. * @by : 유동철(ACK)
  208. * @-----------------------------------
  209. * @type : function
  210. * @access : public
  211. * @desc : 검색값을 입력하고 Enter키를 누를 경우 처리 Function
  212. */
  213. function fExeInputKey() {
  214. if(event.keyCode == 13) {
  215. model.makeValue("/root/hidden/seaval", ipt_seaval.currentText);
  216. ipt_seaval.refresh();
  217. //-----------------
  218. fGetCnclPrcpList();
  219. }
  220. }
  221. /* @group : 접수취소현황
  222. * @ver : 2007.11.13 (CMCDEV-0001)
  223. * @by : 유동철(ACK)
  224. * @-----------------------------------
  225. * @type : function
  226. * @access : public
  227. * @desc : 조회구분 변경 처리 Function
  228. */
  229. function fExeRefFlagChng() {
  230. //--------------------------------------------------
  231. if (model.getValue("/root/init/refflagcd") == "0") {
  232. cap_refdd.text = "접수일자";
  233. } else {
  234. cap_refdd.text = "취소일자";
  235. }
  236. //------------------
  237. cap_refdd.refresh();
  238. }
  239. ]]>
  240. </script>
  241. </xhtml:head>
  242. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  243. <group id="grp_btn" style="left:0px; top:13; width:1195px; height:27px; ">
  244. <line id="line10" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  245. <button id="button13" class="btn6_letter5" navindex="12" style="left:5px; top:3px; width:92px; height:22px; ">
  246. <caption>EXCEL저장</caption>
  247. <script type="javascript" ev:event="DOMActivate">
  248. <![CDATA[
  249. fExeSaveToExcel();
  250. ]]>
  251. </script>
  252. </button>
  253. </group>
  254. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  255. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:220px; height:14px; ">접수/취소현황</caption>
  256. </group>
  257. <group id="grp_biz" style="left:0; top:40; width:1195; height:744; ">
  258. <caption id="caption4" class="tit_2" style="left:5px; top:55px; width:146px; height:14px; ">접수/취소 목록</caption>
  259. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  260. <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  261. <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; "/>
  262. <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  263. <input id="ipt_seaval" ref="/root/hidden/seaval" class="input_search" navindex="6" maxlength="10" style="left:507px; top:8px; width:98px; height:19px; ">
  264. <script type="javascript" ev:event="onkeypress">
  265. <![CDATA[
  266. fExeInputKey();
  267. ]]>
  268. </script>
  269. </input>
  270. <caption id="caption3" class="search_name" style="left:416px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
  271. <caption id="caption5" class="search_no_b" style="left:979px; top:8px; width:12px; height:17px; ">~</caption>
  272. <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; ">
  273. <caption>조회</caption>
  274. <script type="javascript" ev:event="DOMActivate">
  275. <![CDATA[
  276. fGetCnclPrcpList();
  277. ]]>
  278. </script>
  279. </button>
  280. <input id="ipt_cnclfromdd" ref="/root/hidden/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; "/>
  281. <input id="ipt_cncltodd" ref="/root/hidden/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; "/>
  282. <select1 id="cbo_ptnocd" ref="/root/init/ptnocode" navindex="1" appearance="minimal" editmode="search" style="left:109px; top:8px; width:111px; height:19px; ">
  283. <choices>
  284. <itemset nodeset="/root/init/ptnocd/ptnocdlist">
  285. <label ref="ptnonm"/>
  286. <value ref="ptnocd"/>
  287. </itemset>
  288. </choices>
  289. </select1>
  290. <input id="ipt_fromptno" ref="/root/init/fromptno" class="text_center" navindex="3" maxlength="6" style="left:253px; top:8px; width:50px; height:19px; "/>
  291. <caption id="caption1" class="search_name" style="left:15px; top:9px; width:90px; height:17px; ">병리번호 :</caption>
  292. <caption id="caption7" class="search_no_b" style="left:306px; top:8px; width:12px; height:17px; ">~</caption>
  293. <input id="input1" ref="/root/init/toptno" class="text_center" navindex="5" maxlength="6" style="left:351px; top:8px; width:50px; height:19px; "/>
  294. <input id="input2" ref="/root/init/toyear" class="text_center" navindex="4" maxlength="2" style="left:321px; top:8px; width:27px; height:19px; "/>
  295. <input id="ipt_fromyear" ref="/root/init/fromyear" class="text_center" navindex="2" maxlength="2" style="left:223px; top:8px; width:27px; height:19px; "/>
  296. <caption id="caption8" class="search_name" style="left:620px; top:9px; width:86px; height:17px; ">조회구분 :</caption>
  297. <select1 id="cbo_refflagcd" ref="/root/init/refflagcd" navindex="7" appearance="minimal" style="left:711px; top:8px; width:60px; height:19px; ">
  298. <choices>
  299. <item>
  300. <label>접수</label>
  301. <value>0</value>
  302. </item>
  303. <item>
  304. <label>취소</label>
  305. <value>1</value>
  306. </item>
  307. </choices>
  308. <script type="javascript" ev:event="xforms-value-changed">
  309. <![CDATA[
  310. fExeRefFlagChng();
  311. ]]>
  312. </script>
  313. </select1>
  314. <caption id="cap_refdd" class="search_name" style="left:787px; top:9px; width:86px; height:17px; ">접수일자 :</caption>
  315. </group>
  316. <datagrid id="grd_acptcncllist" nodeset="/root/main/acptcncl/acptcncllist" class="datagrid2" caption="기관코드^병리번호^병리번호^관련병리번호^관련병리번호^등록번호^환자명^환자구분^처방일자^접수일자^취소일자^취소시간^취소자ID^취소자^검사코드^검사명^검사그룹코드^그룹검사명^진료과코드^진료과^진료의ID^진료의^추가처방의ID^추가&#xA;처방의^검체코드^검체명^Cassette&#xA;번호^취소사유" colsep="^" colwidth="0, 0, 80, 0, 80, 70, 60, 100, 70, 70, 70, 60, 0, 60, 0, 120, 0, 0, 0, 70, 0, 60, 0, 60, 0, 0, 60, 63" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" navindex="11" style="left:0px; top:75px; width:1194px; height:653px; ">
  317. <col ref="instcd"/>
  318. <col ref="ptno"/>
  319. <col class="text_center" ref="dispptno"/>
  320. <col ref="relaptno"/>
  321. <col class="text_center" ref="disprelaptno"/>
  322. <col class="text_center" ref="pid"/>
  323. <col class="text_center" ref="patnm"/>
  324. <col class="text_center" ref="patflagnm"/>
  325. <col class="text_center" ref="prcpdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  326. <col class="text_center" ref="acptdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  327. <col class="text_center" ref="cncldd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  328. <col class="text_center" ref="cncltm" format="hh:nn:ss" mask="exclude" showmask="true"/>
  329. <col ref="cnclid"/>
  330. <col class="text_center" ref="cnclnm"/>
  331. <col ref="testcd"/>
  332. <col ref="testnm"/>
  333. <col ref="tgrupcd"/>
  334. <col ref="tgrupnm"/>
  335. <col ref="orddeptcd"/>
  336. <col class="text_center" ref="orddeptnm"/>
  337. <col ref="orddrid"/>
  338. <col class="text_center" ref="orddrnm"/>
  339. <col ref="appeorddrid"/>
  340. <col class="text_center" ref="appeorddrnm"/>
  341. <col ref="spccd"/>
  342. <col ref="spcnm"/>
  343. <col class="text_center" ref="blocno"/>
  344. <col ref="resncnts"/>
  345. <script type="javascript" ev:event="onaftersort">
  346. <![CDATA[
  347. grd_acptcncllist.gridToInstance();
  348. ]]>
  349. </script>
  350. </datagrid>
  351. </group>
  352. </xhtml:body>
  353. </xhtml:html>