123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLPT00200_보관상세내역.xrw
- * 설 명 : 보관상세내역
- * 설 계 자 : (주)에이씨케이 - 유동철
- * 작 성 자 : (주)에이씨케이 - 유동철
- * 작 성 일 : 2007.09.30
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>보관검체 상세내역</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <keepspc>
- <keepspclist>
- <choi/>
- <instcd/>
- <ptno/>
- <dispptno/>
- <keepptno/>
- <keepdispptno/>
- <pid/>
- <patnm/>
- <spccd/>
- <spcnm/>
- <keepdd/>
- <keeptm/>
- <keepid/>
- <keepnm/>
- <eqmtcd/>
- <sectno/>
- <rackno/>
- <boxno/>
- <posno/>
- </keepspclist>
- </keepspc>
- </main>
- <send/>
- <init>
- </init>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fExeInitialize();
- ]]>
- </script>
- <submission id="TRLPT00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/keepspc/keepspclist"/>
- <submission id="TXLPT00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/message"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /* @group : 보관상세내역
- * @ver : 2007.09.30 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면초기화 함수
- */
- function fExeInitialize() {
-
- //----------------------------------------------------
- model.removeNodeset("/root/main/keepspc/keepspclist");
- /*
- model.makeValue("/root/init/instcd", "012");
- model.makeValue("/root/init/eqmtcd", "AA");
- model.makeValue("/root/init/sectno", "1");
- model.makeValue("/root/init/rackno", "2");
- model.makeValue("/root/init/boxno", "1");
- model.makeValue("/root/init/posno", "4");
- */
-
- //-------------------
- // 병리번호 목록 조회
- model.makeValue("/root/send/instcd", model.getValue("/root/init/instcd"));
- model.makeValue("/root/send/eqmtcd", model.getValue("/root/init/eqmtcd"));
- model.makeValue("/root/send/sectno", model.getValue("/root/init/sectno"));
- model.makeValue("/root/send/rackno", model.getValue("/root/init/rackno"));
- model.makeValue("/root/send/boxno", model.getValue("/root/init/boxno"));
- model.makeValue("/root/send/posno", model.getValue("/root/init/posno"));
- submit("TRLPT00201");
-
- //------------------------------------------
- grd_keepspclist.fixedcellcheckbox(0,0)=true;
-
- //--------------
- model.refresh();
- }
- /* @group : 동결절편 결과조회 화면
- * @ver : 2007.09.30 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면종료 함수
- */
- function fExePopupClose() {
- window.close();
- }
-
- /* @group : 동결절편 결과조회 화면
- * @ver : 2007.10.01 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 보관검체 삭제 처리 함수
- */
- function fExeKeepSpcDel() {
-
- var bState = false;
- var sNode = "/root/main/keepspc/keepspclist";
-
-
- //----------------------------
- grd_keepspclist.clearStatus();
-
- //-----------------------------------------------------
- for (var iNo=1; iNo <= getNodesetCount(sNode); iNo++) {
- if (model.getValue(sNode+"["+iNo+"]/choi") == "true") {
- grd_keepspclist.addStatus(iNo, "insert");
- bState = true;
- }
- }
-
- //------------
- if (!bState) {
- messageBox("삭제대상을 ", "C002");
- return false;
- }
-
- //--------------------------------
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/keepspclist", grd_keepspclist.getUpdateData());
-
- //-----------
- setAlertOn();
- if (submit("TXLPT00201")) {
- for (var iNo=getNodesetCount(sNode); iNo >= 1; iNo--) {
- if (model.getValue(sNode+"["+iNo+"]/choi") == "true") {
- grd_keepspclist.deleteRow(iNo);
- }
- }
- }
-
- //--------------
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="776" pageheight="546" guideline="1,1063;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="grp_biz" style="left:0px; top:0px; width:760; height:503; ">
- <caption id="caption5" class="tit_2" style="left:5px; top:0px; width:111px; height:14px; ">보관목록</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:15px; x2:760px; y2:15px; "/>
- <datagrid id="grd_keepspclist" nodeset="/root/main/keepspc/keepspclist" caption="선택^기관코드^ptno^조직병리번호^keepptno^보관병리번호^등록번호^환자명^검체코드^검체^보관일자^보관시간^keepid^보관자^eqmtcd^sectno^rackno^boxno^posno" colsep="^" colwidth="50, 0, 0, 80, 0, 80, 70, 70, 0, 160, 70, 60, 0, 100, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowsep="|" navindex="6" style="left:0px; top:20px; width:760px; height:483; border-color:#c0c0c0; border-style:solid; ">
- <col ref="choi" type="checkbox"/>
- <col ref="instcd"/>
- <col ref="ptno"/>
- <col class="text_center" ref="dispptno"/>
- <col ref="keepptno"/>
- <col ref="keepdispptno"/>
- <col class="text_center" ref="pid"/>
- <col class="text_center" ref="patnm"/>
- <col class="text_center" ref="spccd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
- <col class="text_center" ref="spcnm" format="99:99:99" mask="exclude" showmask="true"/>
- <col ref="keepdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
- <col ref="keeptm" format="hh:nn:ss" mask="exclude" showmask="true"/>
- <col ref="keepid"/>
- <col ref="keepnm"/>
- <col ref="eqmtcd"/>
- <col ref="sectno"/>
- <col ref="rackno"/>
- <col ref="boxno"/>
- <col ref="posno"/>
- </datagrid>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:503; width:760; height:27px; ">
- <button id="btn_cls" class="btn4_letter2" navindex="7" style="left:704; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExePopupClose();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:760; y2:0px; "/>
- <button id="btn_del" class="btn4_letter2" navindex="7" style="left:645; top:5px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeKeepSpcDel();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|