123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLBP02500_헌혈자검사결과조회(BISS).xrw
- * 설 명 : 헌혈자검사결과조회(BISS)
- * 설 계 자 : (주)에이씨케이 - 박정은
- * 작 성 자 : (주)에이씨케이 - 박정은
- * 작 성 일 : 2008. 02. 19
- * 수정이력 :
- * 기 타 :
- -->
- <?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>헌혈자검사결과조회(BISS)</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root>
- <main>
- <dnorrsltlist>
- <hospcd/>
- <hospnm/>
- <dondt/>
- <natno/>
- <dnorrrgstno/>
- <dnornm/>
- <btype/>
- <jobcd/>
- <homezipcd/>
- <homeaddr/>
- <hometel/>
- <mpphonno/>
- <blodbarcd/>
- <blodbarnm/>
- <inptid/>
- <natreqyn/>
- <hiv/>
- <hcv/>
- <hbv/>
- <sts/>
- <alt/>
- <nhcv/>
- <nhiv/>
- <abs/>
- <sub/>
- <nhbv/>
- <mal/>
- <htlvreqyn/>
- <htlv/>
- </dnorrsltlist>
- </main>
- <send>
- <codeflag/>
- <prcpdd/>
- <reqyn>Y</reqyn>
- </send>
- <init>
- </init>
- <hidden>
- <ref>
- <refsdd/>
- </ref>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fSetInit();
- ]]>
- </script>
- <submission id="TRLBP02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/dnorrsltlist"/>
- </model>
- <script type="javascript">
- <![CDATA[
- // 초기화
- function fSetInit() {
- model.setValue("/root/hidden/ref/refsdd", getCurrentDate());
- model.refresh();
- }
-
- // 조회
- function fGetDnorRslt(){
- model.setValue("/root/send/prcpdd", model.getValue("/root/hidden/ref/refsdd"));
-
- submit("TRLBP02501");
- }
-
-
- // BISS전송한 NAT검사 Y로 바꾸기
- function fSetNatBissReqYN(){
-
- }
-
- // CSV 저장
- function fExeCSV(pGridId) {
- var dd = model.getValue("/root/hidden/ref/refsdd");
- var fileName = window.fileDialog("save", ",", false, "BISS파일전송_"+dd+".csv", "", "");
-
- if (fileName != "")
- {
- pGridId.saveText(fileName, "\n", ", ", "", "", "");
- }
-
- }
-
- // 엑셀 저장
- function fExeExcel(pGridId) {
- var dd = model.getValue("/root/hidden/ref/refsdd");
- var fileName = window.fileDialog("save", ",", false, "BISS파일전송_"+dd, "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != "")
- {
- pGridId.saveExcel(fileName, dd, false, false , "", "0");
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; "/>
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <caption id="caption2" class="search_name" style="left:16px; top:9px; width:94px; height:17px; ">시행일자 :</caption>
- <button id="button1" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetDnorRslt();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
- <input id="input26" ref="/root/hidden/ref/refsdd" class="input_s_essential" inputtype="date" style="left:110px; top:8px; width:110px; height:19px; "/>
- <select1 id="radio1" ref="/root/send/reqyn" appearance="full" cols="2" overflow="visible" style="left:1007px; top:10px; width:95px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>의뢰</label>
- <value>Y</value>
- </item>
- <item>
- <label>완료</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:197px; height:13px; ">헌혈자 검사결과 조회(BISS)</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
- <button id="btn_excel" class="btn2_letter4" style="left:1130px; top:49px; width:64px; height:19px; ">
- <caption>CSV저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeCSV(grd_rsltbiss);
- ]]>
- </script>
- </button>
- <datagrid id="grd_rsltbiss" nodeset="/root/main/dnorrsltlist" caption="병원코드^병원명^헌혈일자^증서번호^주민번호^이름^혈액형코드^직업코드^우편번호^주소^집전화^휴대전화^제제코드^제제종류명^입력자^NAT검사의뢰유무^결과(HIV)^결과(HCV)^결과(HBV)^결과(STS)^결과(ALT)^결과(ABS)^결과(SUB)^NAT(HIV)^NAT(HCV)^NAT(HBV)^결과(MAL)^HTLV의뢰^결과(HTLV)" colsep="^" colwidth="80, 120, 70, 100, 130, 90, 65, 60, 70, 159, 90, 100, 70, 80, 80, 80, 90, 90, 90, 90, 90, 0, 0, 90, 90, 0, 90, 90, 90" dataheight="23" defaultrows="1" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooptip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:75px; width:1194px; height:646px; text-align:center; ">
- <col ref="hospcd"/>
- <col ref="hospnm" style="text-align:center; "/>
- <col ref="dondt" format="yyyy-mm-dd"/>
- <col ref="natno" format="99-99-999999"/>
- <col ref="dnorrrgstno" style="text-align:center; "/>
- <col ref="dnornm"/>
- <col checkvalue="Y,N" ref="btype" style="left:610px; top:23px; width:65px; height:23px; "/>
- <col ref="jobcd" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="homezipcd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="homeaddr" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="hometel" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="mpphonno"/>
- <col ref="blodbarcd" type="input"/>
- <col ref="blodbarnm" type="input"/>
- <col ref="inptid" type="input"/>
- <col ref="natreqyn" type="input"/>
- <col ref="hiv"/>
- <col ref="hcv"/>
- <col ref="hbv"/>
- <col ref="sts"/>
- <col ref="alt"/>
- <col ref="abs"/>
- <col ref="sub"/>
- <col ref="nhiv"/>
- <col ref="nhcv"/>
- <col ref="nhbv"/>
- <col ref="mal"/>
- <col ref="htlvreqyn" type="input"/>
- <col ref="htlv"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_rsltbiss.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="button3" class="btn2_letter4" style="left:1063px; top:49px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeExcel(grd_rsltbiss);
- ]]>
- </script>
- </button>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="button5" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.reload();
- ]]>
- </script>
- </button>
- <line id="line15" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="button2" class="btn4_letter2" visibility="hidden" style="left:1068px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // BISS전송한 NAT검사 Y로 바꾸기
- fSetNatBissReqYN();
- ]]>
- </script>
- </button>
- </group>
- <group id="group5" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:199px; height:13px; ">헌혈자 검사결과 조회(BISS)</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|