123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- * 제 목 : HLA검사결과관리.xrw
- * 설 명 : HLA검사결과관리
- * 설 계 자 :
- * 작 성 자 : 김성희
- * 작 성 일 : 2008.12.16
- * 수정이력 :
- * 기 타 :
- -->
- <?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/>
- <model id="model1">
- <instance id="instance1">
- <root>
- <main>
- <testinfo>
- <patlist>
- <dnorinfo/>
- <dnorid/>
- <inptrslt1 prcpcdyn=""/>
- <inptrslt2 prcpcdyn=""/>
- <inptrslt3 prcpcdyn=""/>
- <inptrslt4 prcpcdyn=""/>
- <inptrslt5 prcpcdyn=""/>
- <inptrslt6 prcpcdyn=""/>
- <inptrslt7 prcpcdyn=""/>
- <inptrslt8 prcpcdyn=""/>
- <inptrslt9 prcpcdyn=""/>
- <inptrslt10 prcpcdyn=""/>
- <rsltdt/>
- <id/>
- </patlist>
- </testinfo>
- </main>
- <send>
- <data1/>
- </send>
- <hidden>
- <default/>
- <refparam>
- <pid/>
- <prcpgenrflag/>
- </refparam>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- fSetInit();
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
- <submission id="TRLLP90201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" replace="instance" resultref="/root/main/testinfo"/>
- </model>
- <script type="javascript">
- <![CDATA[
- var gStartCol = 2;
-
- /* @group : 초기화
- * @ver : 2008.12.22
- * @by : 김성희
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 초기화 Function
- */
- function fSetInit(){
-
- fBaseInfoRef("0000|1002|1003|");
-
- //fGrdReMake();
- for(i=grd_testlist.cols ; i >= gStartCol ; i--){
- grd_testlist.colHidden(i) = true;
- }
-
- //공여자목록 그리드 셋팅
- fGrdReMake();
-
- model.copyNode("/root/send/data1" , "/root/hidden/refparam");
- model.makeValue("/root/send/data1/userdeptflagcd" , model.getValue("/root/init/LB0000/nm"));
- model.makeValue("/root/send/data1/testcdlist", model.getValue("/root/init/LB1003/etc01"));
-
- submit("TRLLP90201", false);
-
- model.copyNode("/root/send/data1" , "/root/hidden/default");
-
- model.refresh();
-
- fGrdReMake2();
- grd_testlist.refresh();
- }
-
- /* @group : 그리드 셋팅
- * @ver : 2009.01.19
- * @by : 김성희
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 그리드 셋팅 Function
- */
- function fGrdReMake(){
- model.removeNodeset("/root/main/testinfo/patlist");
- model.refresh();
- var strCaption = "공여자명";
- var endCaption = "^검사일자^검사자";
- var caption = "";
-
- var vTclsnmA = model.getValue("/root/init/LB1003/etc02").split("▦");
- var vTclsnmB = model.getValue("/root/init/LB1003/nm").split("▦");
-
- caption = strCaption;
-
- for(i=0;i<vTclsnmA.length;i++){
- grd_testlist.colHidden(i + gStartCol) = false;
-
- caption += "^" + vTclsnmA[i];
- }
-
- caption += endCaption + "|" + strCaption;
-
- for(i=0;i<vTclsnmB.length;i++){
- grd_testlist.colHidden(i + gStartCol) = false;
-
- caption += "^" + vTclsnmB[i];
- }
-
- caption += endCaption;
-
- model.makeValue("/root/send/caption", caption);
- grd_testlist.caption = caption;
- grd_testlist.rebuild();
- }
-
-
- //조회후 그리드 리메이크
- function fGrdReMake2(){
- var vCdList = model.getValue("/root/init/LB1003/etc01").split("▦");
- var vCdCount = vCdList.length;
- //alert(vCdCount);
- var vOrgrst = "";
- var curCol = 0;
-
- for (var row = 1; row < (grd_testlist.rows-1) ; row++) {
-
- for (var col=0; col < parseInt(vCdCount); col++) {
- vOrgrst = "inptrslt" + (eval(col+1) );
-
- if (model.getValue("/root/main/testinfo/patlist["+row+"]/"+vOrgrst+"/@prcpcdyn") == "false") {
- curCol = eval(gStartCol+col);
- grd_testlist.cellStyle("background-color", (row+1), curCol, (row+1),curCol) = "#eaeaea";
- }
- }
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1150" pageheight="420" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:20px; width:1095px; height:370px; ">
- <line id="line9" class="line_1" style="x1:5px; y1:0px; x2:1090px; y2:0px; "/>
- <datagrid id="grd_testlist" nodeset="/root/main/testinfo/patlist" autoresize="true" backcoloralternate="transparent" caption="공여자^inptrslt1^inptrslt2^inptrslt3^inptrslt4^inptrslt5^inptrslt6^inptrslt7^inptrslt8^inptrslt9^inptrslt10^inptrslt11^inptrslt12^inptrslt13^inptrslt14^inptrslt15^inptrslt16^inptrslt17^inptrslt18^inptrslt19^inptrslt20^inptrslt21^inptrslt22^inptrslt23^inptrslt24^inptrslt25^inptrslt26^inptrslt27^inptrslt28^inptrslt29^inptrslt30^검사일자^검사자" colsep="^" colwidth="130, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 120, 74" dataheight="23" defaultrows="1" ellipsis="true" explorerbar="sortshow" frozencols="1" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" selectionmode="free" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:5px; top:5px; width:1085px; height:360px; ">
- <col ref="dnorinfo"/>
- <col ref="inptrslt1"/>
- <col ref="inptrslt2"/>
- <col ref="inptrslt3"/>
- <col ref="inptrslt4"/>
- <col ref="inptrslt5"/>
- <col ref="inptrslt6"/>
- <col ref="inptrslt7"/>
- <col ref="inptrslt8"/>
- <col ref="inptrslt9"/>
- <col ref="inptrslt10"/>
- <col ref="inptrslt11"/>
- <col ref="inptrslt12"/>
- <col ref="inptrslt13"/>
- <col ref="inptrslt14"/>
- <col ref="inptrslt15"/>
- <col ref="inptrslt16"/>
- <col ref="inptrslt17"/>
- <col ref="inptrslt18"/>
- <col ref="inptrslt19"/>
- <col ref="inptrslt20"/>
- <col ref="inptrslt21"/>
- <col ref="inptrslt22"/>
- <col ref="inptrslt23"/>
- <col ref="inptrslt24"/>
- <col ref="inptrslt25"/>
- <col ref="inptrslt26"/>
- <col ref="inptrslt27"/>
- <col ref="inptrslt28"/>
- <col ref="inptrslt29"/>
- <col ref="inptrslt30"/>
- <col ref="rsltdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="id"/>
- </datagrid>
- </group>
- <group id="group2" style="left:0px; top:0px; width:1090px; height:13px; ">
- <caption id="caption17" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">HLA 검사 결과조회</caption>
- </group>
- <script type="javascript" ev:event="onmenu">
- <![CDATA[
- //var popupParam = event.description;
- //fOnmenu(popupParam);
- ]]>
- </script>
- </xhtml:body>
- </xhtml:html>
|