123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>
- <rsltlist>
- <row>
- <a/>
- <b/>
- <c/>
- <d/>
- <e/>
- <f/>
- </row>
- <header/>
- </rsltlist>
- </main>
- <send>
- <ref/>
- </send>
- <init/>
- <hidden>
- <ref>
- <requestgbn>00</requestgbn>
- <fromdd/>
- <todd/>
- </ref>
- <temp>
- <rsltlist/>
- </temp>
- </hidden>
- </root>
- </instance>
- <script src="../../../com/commonweb/js/common.js" type="javascript"/>
- <script src="../../../com/commonweb/js/dateHelper.js" type="javascript"/>
- <script src="../../../lis/commonweb/js/LLZ001.js" type="javascript"/>
- <script src="../../../com/commonweb/js/stringHelper.js" type="javascript"/>
- <script src="../../../com/commonweb/js/tfHelper.js" type="javascript"/>
- <script src="../../../lis/commonweb/js/LZZ001.js" type="javascript"/>
- <script src="../../../lis/commonweb/js/LPZ001.js" type="javascript"/>
- <script ev:event="xforms-ready" type="javascript">
- <![CDATA[
- fsetinit();
- ]]>
- </script>
- <submission id="TRLMP00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/ref" replace="instance" resultref="/root/hidden/temp/rsltlist"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
-
- function fsetinit(){
-
- model.setValue("/root/hidden/ref/fromdd", getCurrentDate());
- model.setValue("/root/hidden/ref/todd", getCurrentDate());
- ipt_fromdd.value = ipt_fromdd.value.toDate().getAddDate(-7,"D").getDateFormat("YYYYMMDD");
-
- model.removeNodeset("/root/main/");
- model.refresh();
- }
-
- function fgetOutrequestlist(){
-
-
-
- // 그리드 컬럼 초기화
- var cols = grd_testlist.cols-grd_testlist.fixedCols;
- var rows = grd_testlist.rows-grd_testlist.fixedRows;
- //alert(cols)
- for( var i = 0; i < cols; i++ ) {
- grd_testlist.removeColumn(false);
- }
-
- for( var i = 0; i < rows; i++ ) {
- grd_testlist.removeRow(false);
- }
-
- model.removeNodeset("/root/main/");
- model.copyNode("/root/send/ref", "/root/hidden/ref");
-
- submit("TRLMP00601", false);
-
- var gridCaption = model.getValue("/root/hidden/temp/rsltlist/header/caption");
-
- if(gridCaption == "") return;
- //ref 정보
- var gridColRef = model.getValue("/root/hidden/temp/rsltlist/header/colref");
- var gridColRefArray = gridColRef.split("^");
-
- for( var i = 0; i < gridColRefArray.length; i++ ) {
-
- grd_testlist.addColumn("ref:" + gridColRefArray[i] + ";", false);
- }
- grd_testlist.colWidth(1) = 130;
- grd_testlist.colWidth(2) = 80;
- grd_testlist.colWidth(3) = 80;
- grd_testlist.colWidth(4) = 100;
- grd_testlist.colWidth(5) = 130;
- grd_testlist.colWidth(6) = 100;
- grd_testlist.colWidth(7) = 130;
- grd_testlist.colWidth(8) = 120;
- grd_testlist.colWidth(9) = 170;
- grd_testlist.ellipsis = true;
- grd_testlist.colAttribute(1, "format") = "yyyy-mm-dd : hh:nn:ss";
-
-
-
-
- for( i = 10; i < grd_testlist.cols; i++ ) {
-
- grd_testlist.colWidth(i) = 70;
-
- }
- grd_testlist.caption = gridCaption;
-
- var node = instance1.selectSingleNode("/root/main");
- node.replaceChild(instance1.root.hidden.temp.rsltlist, instance1.root.main.rsltlist);
- grd_testlist.rebuild();
-
- }
-
-
-
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <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:341px; top:9px; width:86px; height:17px; ">조회일시 :</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- fgetOutrequestlist();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
- <input id="ipt_fromdd" ref="/root/hidden/ref/fromdd" class="input_s_essential" inputtype="date" style="left:430px; top:8px; width:105px; height:19px; "/>
- <caption id="caption3" class="search_no_b" style="left:539px; top:9px; width:15px; height:17px; ">~</caption>
- <input id="ipt_todd" ref="/root/hidden/ref/todd" class="input_s_essential" inputtype="date" style="left:555px; top:8px; width:105px; height:19px; "/>
- <caption id="caption7" class="search_name" style="left:10px; top:9px; width:88px; height:17px; ">의뢰그룹 :</caption>
- <select1 id="combo2" ref="/root/hidden/ref/requestgbn" appearance="minimal" style="left:100px; top:8px; width:135px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>00</value>
- </item>
- <item>
- <label>LMA107</label>
- <value>LMA107</value>
- </item>
- <item>
- <label>LMA001</label>
- <value>LMA001</value>
- </item>
- <item>
- <label>LPD193</label>
- <value>LPD193</value>
- </item>
- </choices>
- </select1>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:147px; height:14px; ">결핵균외부의뢰리스트</caption>
- <datagrid id="grd_testlist" nodeset="/root/main/rsltlist/row" backcoloralternate="transparent" colsep="^" dataheight="23" defaultrows="1" ellipsis="true" explorerbar="sortshow" fixedcols="0" frozencols="8" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" selectionmode="byrow" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:75px; width:1194px; height:669px; ">
- <script ev:event="onaftersort" type="javascript">
- <![CDATA[
- grd_testlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
- <button id="btn_excel" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:1153px; top:50px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
- <caption>엑셀</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- var filename = window.fileDialog("save",",",false,"결핵균검사의뢰리스트","xls","All File(*.*)|*.*|Excel File(*.xls)|*.xls");
-
- if(filename != "") {
- grd_testlist.saveExcel(filename);
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="button5" class="btn4_letter3" disable.background-image="../../../com/commonweb/images/dis_btn4_letter3.gif" style="left:1127px; top:3px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
- <caption>초기화</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- fsetinit();
- ]]>
- </script>
- </button>
- <line id="line15" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- </group>
- <group id="group5" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">결핵균외부의뢰조회</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|