123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMAVT02100.xrw
- * 설 명 : 조직은행 폐기대장 LIST 조회화면
- * 설 계 자 : 최예원
- * 작 성 자 : 최예원
- * 작 성 일 : 2010.12.15
- * 수정이력 : 2010.12.15 최예원 신규
- * 기 타 :
- -->
- <?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>
- <benflist>
- <item>
- <opdd/>
- <graftno/>
- <partseq/>
- <batchno/>
- <partname/>
- <hngnm/>
- <rrgstno/>
- <diagengnm/>
- <opengnm/>
- <recvno/>
- <hospnm/>
- </item>
- </benflist>
- </main>
- <send>
- <srchfromdd/>
- <srchtodd/>
- </send>
- <init>
- <combobscdlst/>
- </init>
- <hidden/>
- <temp/>
- <rexprnt>
- <benflist>
- <srchfromdd/>
- <srchtodd/>
- </benflist>
- </rexprnt>
- </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="../../../ast/tissuebankbaseweb/js/tissuebankcombolist.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- fGetScreenInit();
- ]]>
- </script>
- <submission id="TRAVB00001"/>
- <submission id="TRAVT02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/benflist"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- // 화면 초기화
- function fGetScreenInit(){
-
- model.setValue("/root/send/srchfromdd", getCurrentDate());
- model.setValue("/root/send/srchtodd", getCurrentDate());
-
- model.removenode("/root/main/benflist");
-
- model.refresh();
- }
-
- // 폐기대장 조회
- function fGetAbnList(){
- if( submit("TRAVT02101") ) {
- for(var i = 1; i < dtg_benflist.rows ; i++ ){
- var seq = model.getValue("/root/main/benflist/item["+ i +"]/partseq");
- var no = model.getValue("/root/main/benflist/item["+ i +"]/batchno");
-
- if( seq != "" && seq < 10 ) {
- model.setValue("/root/main/benflist/item["+ i +"]/partseq", "0" + seq );
- }
-
- if( no != "" && no < 10 ){
- model.setValue("/root/main/benflist/item["+ i +"]/batchno", "00" + no );
- }else if( no != "" && no > 9 && no < 100 ) {
- model.setValue("/root/main/benflist/item["+ i +"]/batchno", "0" + no );
- }
- }
- }
- model.refresh();
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1194;2,784;1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:210px; height:14px; ">조직은행 수혜자 정보</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:56px; width:210px; height:14px; ">조직은행 수혜자 정보</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:71px; x2:1194px; y2:71px; "/>
- <datagrid id="dtg_benflist" nodeset="/root/main/benflist/item" scroll="auto" caption="이식날짜^GraftNo^Seq^No^조직명^이름^주민번호^수술명^진단명^병원^이식번호" colsep="^" colwidth="80, 75, 40, 40, 210, 80, 100, 175, 175, 100, 55" dataheight="23" defaultrows="3" ellipsis="true" explorerbar="sortmove" focuscolor="#b9e5fb" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:76px; width:1194px; height:664px; text-align:center; ">
- <col ref="opdd" format="yyyy-mm-dd"/>
- <col ref="graftno" type="output"/>
- <col ref="partseq" type="output"/>
- <col ref="batchno"/>
- <col ref="partname" style="text-align:left; margin-left:20; "/>
- <col ref="hngnm" type="output"/>
- <col ref="rrgstno"/>
- <col ref="opengnm" style="text-align:left; margin-left:10; "/>
- <col ref="diagengnm" style="text-align:left; margin-left:10; "/>
- <col ref="hospnm" style="text-align:left; margin-left:10; "/>
- <col ref="recvno"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- dtg_benflist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">수술일자 :</caption>
- <caption id="caption5" class="search_no_b" style="left:207px; top:10px; width:12px; height:17px; ">~</caption>
- <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
- <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:104px; top:9px; width:100px; height:19px; "/>
- <input id="ipt_todd" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:222px; top:10px; width:100px; height:19px; "/>
- <button id="btn_sea" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if( model.getValue("/root/send/srchfromdd") == ""){
- messageBox("조회기간", "E013", "입력 후 다시 조회하세요.");
- return;
- }
-
- if( model.getValue("/root/send/srchtodd") == "" ){
- messageBox("조회기간", "E013", "입력 후 다시 조회하세요.");
- return;
- }
-
- fGetAbnList();
- ]]>
- </script>
- </button>
- </group>
- <button id="btn_excsave" class="btn2_letter4" style="left:1129px; top:50px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var filename = window.fileDialog("save",",",false,"excel","xls","All File(*.*)|*.*|Excel File(*.xls)|*.xls");
- if (filename != "")
- {
- dtg_benflist.saveExcel(filename);
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="btn_prt" class="btn6_letter2" style="left:0px; top:5px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/rexprnt/benflist/srchfromdd", ipt_fromdd.label );
- model.setValue("/root/rexprnt/benflist/srchtodd", ipt_todd.label );
-
- for(var i = 1; i < dtg_benflist.rows ; i++ ){
- model.makeNode("/root/rexprnt/benflist/item["+ i +"]");
- model.copyNode("/root/rexprnt/benflist/item["+ i +"]", "/root/main/benflist/item["+ i +"]");
- }
-
- exeReportPreview("RPAVT00109", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|