123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : 채혈접수취소등록.xrw
- * 설 명 : 채혈접수취소등록
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 -
- * 작 성 일 : 2006.11.11
- * 수정이력 : 2007.04.25 조철형 수정
- * 기 타 :
- -->
- <?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>
- <countlist>
- <prcpnm/>
- <rownm/>
- <d01/>
- <d02/>
- <d03/>
- <d04/>
- <d05/>
- <d06/>
- <d07/>
- <d08/>
- <d09/>
- <d10/>
- <d11/>
- <d12/>
- <d13/>
- <d14/>
- <d15/>
- <d16/>
- <d17/>
- <d18/>
- <d19/>
- <d20/>
- <d21/>
- <d22/>
- <d23/>
- <d24/>
- <d25/>
- <d26/>
- <d27/>
- <d28/>
- <d29/>
- <d30/>
- <d31/>
- <dsum/>
- </countlist>
- <total>
- <totaltest/>
- <totalpat/>
- </total>
- </main>
- <send>
- <bdioflag/>
- <recmonth/>
- <tclscd/>
- </send>
- <init>
- </init>
- <hidden>
- <ref>
- <bdioflag>O</bdioflag>
- <recmonth>200808</recmonth>
- </ref>
- <Rex/>
- <cal>
- <patsum/>
- <testsum/>
- <totaltest/>
- <totalpat/>
- <totalprint/>
- </cal>
- </hidden>
- </root>
- </instance>
- <script src="../../../com/commonweb/js/common.js" type="javascript"/>
- <script src="../../../com/commonweb/js/dateHelper.js" type="javascript"/>
- <script src="../../../com/commonweb/js/tfHelper.js" type="javascript"/>
- <script src="../../../lis/commonweb/js/LLZ001.js" type="javascript"/>
- <script src="../../../lis/commonweb/js/LZZ001.js" type="javascript"/>
- <script ev:event="xforms-ready" type="javascript">
- <![CDATA[
- fGetDayPatCountList();
- ]]>
- </script>
- <submission id="TRLNP90301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/countlist"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fGetDayPatCountList(){
-
- model.removeNodeset("/root/main/countlist");
- model.removeNodeset("/root/main/total");
- model.setValue("/root/send/bdioflag", "O");
-
- model.setValue("/root/hidden/ref/recmonth", opener.model.getValue("/root/send/srchym"));
- model.setValue("/root/send/recmonth", opener.model.getValue("/root/send/srchym"));
-
- //model.setValue("/root/send/recmonth", "200810");
-
- model.setValue("/root/send/tclscd", opener.model.getValue("/root/send/tclscd"));
- submit("TRLNP90301");
- }
-
- function fPrintRex(){
-
- model.removeNodeset("/root/hidden/Rex");
-
- var patsum = 0;
- var testsum = 0;
-
- var row = 1;
- for(i = 1 ; i < grd_detllist.rows ; i++){
- if(i%2 == 1){
- model.makeValue("/root/hidden/Rex["+row+"]/prcpnm", model.getValue("/root/main/countlist["+i+"]/prcpnm"));
- model.makeValue("/root/hidden/Rex["+row+"]/rownm", model.getValue("/root/main/countlist["+i+"]/rownm"));
- model.makeValue("/root/hidden/Rex["+row+"]/d01", model.getValue("/root/main/countlist["+i+"]/d01"));
- model.makeValue("/root/hidden/Rex["+row+"]/d02", model.getValue("/root/main/countlist["+i+"]/d02"));
- model.makeValue("/root/hidden/Rex["+row+"]/d03", model.getValue("/root/main/countlist["+i+"]/d03"));
- model.makeValue("/root/hidden/Rex["+row+"]/d04", model.getValue("/root/main/countlist["+i+"]/d04"));
- model.makeValue("/root/hidden/Rex["+row+"]/d05", model.getValue("/root/main/countlist["+i+"]/d05"));
- model.makeValue("/root/hidden/Rex["+row+"]/d06", model.getValue("/root/main/countlist["+i+"]/d06"));
- model.makeValue("/root/hidden/Rex["+row+"]/d07", model.getValue("/root/main/countlist["+i+"]/d07"));
- model.makeValue("/root/hidden/Rex["+row+"]/d08", model.getValue("/root/main/countlist["+i+"]/d08"));
- model.makeValue("/root/hidden/Rex["+row+"]/d09", model.getValue("/root/main/countlist["+i+"]/d09"));
- model.makeValue("/root/hidden/Rex["+row+"]/d10", model.getValue("/root/main/countlist["+i+"]/d10"));
- model.makeValue("/root/hidden/Rex["+row+"]/d11", model.getValue("/root/main/countlist["+i+"]/d11"));
- model.makeValue("/root/hidden/Rex["+row+"]/d12", model.getValue("/root/main/countlist["+i+"]/d12"));
- model.makeValue("/root/hidden/Rex["+row+"]/d13", model.getValue("/root/main/countlist["+i+"]/d13"));
- model.makeValue("/root/hidden/Rex["+row+"]/d14", model.getValue("/root/main/countlist["+i+"]/d14"));
- model.makeValue("/root/hidden/Rex["+row+"]/d15", model.getValue("/root/main/countlist["+i+"]/d15"));
- model.makeValue("/root/hidden/Rex["+row+"]/d16", model.getValue("/root/main/countlist["+i+"]/d16"));
- model.makeValue("/root/hidden/Rex["+row+"]/d17", model.getValue("/root/main/countlist["+i+"]/d17"));
- model.makeValue("/root/hidden/Rex["+row+"]/d18", model.getValue("/root/main/countlist["+i+"]/d18"));
- model.makeValue("/root/hidden/Rex["+row+"]/d19", model.getValue("/root/main/countlist["+i+"]/d19"));
- model.makeValue("/root/hidden/Rex["+row+"]/d20", model.getValue("/root/main/countlist["+i+"]/d20"));
- model.makeValue("/root/hidden/Rex["+row+"]/d21", model.getValue("/root/main/countlist["+i+"]/d21"));
- model.makeValue("/root/hidden/Rex["+row+"]/d22", model.getValue("/root/main/countlist["+i+"]/d22"));
- model.makeValue("/root/hidden/Rex["+row+"]/d23", model.getValue("/root/main/countlist["+i+"]/d23"));
- model.makeValue("/root/hidden/Rex["+row+"]/d24", model.getValue("/root/main/countlist["+i+"]/d24"));
- model.makeValue("/root/hidden/Rex["+row+"]/d25", model.getValue("/root/main/countlist["+i+"]/d25"));
- model.makeValue("/root/hidden/Rex["+row+"]/d26", model.getValue("/root/main/countlist["+i+"]/d26"));
- model.makeValue("/root/hidden/Rex["+row+"]/d27", model.getValue("/root/main/countlist["+i+"]/d27"));
- model.makeValue("/root/hidden/Rex["+row+"]/d28", model.getValue("/root/main/countlist["+i+"]/d28"));
- model.makeValue("/root/hidden/Rex["+row+"]/d29", model.getValue("/root/main/countlist["+i+"]/d29"));
- model.makeValue("/root/hidden/Rex["+row+"]/d30", model.getValue("/root/main/countlist["+i+"]/d30"));
- model.makeValue("/root/hidden/Rex["+row+"]/d31", model.getValue("/root/main/countlist["+i+"]/d31"));
- model.makeValue("/root/hidden/Rex["+row+"]/dsum", model.getValue("/root/main/countlist["+i+"]/dsum"));
- if(i < grd_detllist.rows-2){
- patsum = patsum + parseInt(model.getValue("/root/main/countlist["+i+"]/dsum"));
- }
-
- }else{
- model.makeValue("/root/hidden/Rex["+row+"]/erownm", model.getValue("/root/main/countlist["+i+"]/rownm"));
- model.makeValue("/root/hidden/Rex["+row+"]/e01", model.getValue("/root/main/countlist["+i+"]/d01"));
- model.makeValue("/root/hidden/Rex["+row+"]/e02", model.getValue("/root/main/countlist["+i+"]/d02"));
- model.makeValue("/root/hidden/Rex["+row+"]/e03", model.getValue("/root/main/countlist["+i+"]/d03"));
- model.makeValue("/root/hidden/Rex["+row+"]/e04", model.getValue("/root/main/countlist["+i+"]/d04"));
- model.makeValue("/root/hidden/Rex["+row+"]/e05", model.getValue("/root/main/countlist["+i+"]/d05"));
- model.makeValue("/root/hidden/Rex["+row+"]/e06", model.getValue("/root/main/countlist["+i+"]/d06"));
- model.makeValue("/root/hidden/Rex["+row+"]/e07", model.getValue("/root/main/countlist["+i+"]/d07"));
- model.makeValue("/root/hidden/Rex["+row+"]/e08", model.getValue("/root/main/countlist["+i+"]/d08"));
- model.makeValue("/root/hidden/Rex["+row+"]/e09", model.getValue("/root/main/countlist["+i+"]/d09"));
- model.makeValue("/root/hidden/Rex["+row+"]/e10", model.getValue("/root/main/countlist["+i+"]/d10"));
- model.makeValue("/root/hidden/Rex["+row+"]/e11", model.getValue("/root/main/countlist["+i+"]/d11"));
- model.makeValue("/root/hidden/Rex["+row+"]/e12", model.getValue("/root/main/countlist["+i+"]/d12"));
- model.makeValue("/root/hidden/Rex["+row+"]/e13", model.getValue("/root/main/countlist["+i+"]/d13"));
- model.makeValue("/root/hidden/Rex["+row+"]/e14", model.getValue("/root/main/countlist["+i+"]/d14"));
- model.makeValue("/root/hidden/Rex["+row+"]/e15", model.getValue("/root/main/countlist["+i+"]/d15"));
- model.makeValue("/root/hidden/Rex["+row+"]/e16", model.getValue("/root/main/countlist["+i+"]/d16"));
- model.makeValue("/root/hidden/Rex["+row+"]/e17", model.getValue("/root/main/countlist["+i+"]/d17"));
- model.makeValue("/root/hidden/Rex["+row+"]/e18", model.getValue("/root/main/countlist["+i+"]/d18"));
- model.makeValue("/root/hidden/Rex["+row+"]/e19", model.getValue("/root/main/countlist["+i+"]/d19"));
- model.makeValue("/root/hidden/Rex["+row+"]/e20", model.getValue("/root/main/countlist["+i+"]/d20"));
- model.makeValue("/root/hidden/Rex["+row+"]/e21", model.getValue("/root/main/countlist["+i+"]/d21"));
- model.makeValue("/root/hidden/Rex["+row+"]/e22", model.getValue("/root/main/countlist["+i+"]/d22"));
- model.makeValue("/root/hidden/Rex["+row+"]/e23", model.getValue("/root/main/countlist["+i+"]/d23"));
- model.makeValue("/root/hidden/Rex["+row+"]/e24", model.getValue("/root/main/countlist["+i+"]/d24"));
- model.makeValue("/root/hidden/Rex["+row+"]/e25", model.getValue("/root/main/countlist["+i+"]/d25"));
- model.makeValue("/root/hidden/Rex["+row+"]/e26", model.getValue("/root/main/countlist["+i+"]/d26"));
- model.makeValue("/root/hidden/Rex["+row+"]/e27", model.getValue("/root/main/countlist["+i+"]/d27"));
- model.makeValue("/root/hidden/Rex["+row+"]/e28", model.getValue("/root/main/countlist["+i+"]/d28"));
- model.makeValue("/root/hidden/Rex["+row+"]/e29", model.getValue("/root/main/countlist["+i+"]/d29"));
- model.makeValue("/root/hidden/Rex["+row+"]/e30", model.getValue("/root/main/countlist["+i+"]/d30"));
- model.makeValue("/root/hidden/Rex["+row+"]/e31", model.getValue("/root/main/countlist["+i+"]/d31"));
- model.makeValue("/root/hidden/Rex["+row+"]/esum", model.getValue("/root/main/countlist["+i+"]/dsum"));
-
- if(i < grd_detllist.rows-2){
- testsum = testsum + parseInt(model.getValue("/root/main/countlist["+i+"]/dsum"));
- }
- row++;
- }
- }
-
- model.setValue("/root/hidden/cal/patsum", patsum);
- model.setValue("/root/hidden/cal/testsum", testsum);
- model.setValue("/root/hidden/cal/totaltest", model.getValue("/root/main/total/totaltest"));
- model.setValue("/root/hidden/cal/totalpat", model.getValue("/root/main/total/totalpat"));
-
- exeReportPreview("RPLNP90300", "XMLSTR", "", "", "true", "", "", "", "","true");
- //exeReportPreview("RPLNP90300", "XMLSTR", "", "");
-
- }
-
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1050" pageheight="800" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" style="left:0px; top:0px; width:1015px; height:745px; ">
- <caption id="caption1" class="tit_2" style="left:0px; top:10px; width:108px; height:14px; ">환자 수 일계표</caption>
- <datagrid id="grd_detllist" nodeset="/root/main/countlist" class="datagrid2" caption="검사명^구분^1^2^3^4^5^6^7^8^9^10^11^12^13^14^15^16^17^18^19^20^21^22^23^24^25^26^27^28^29^30^31^합계" colsep="^" colwidth="145, 60, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 50" ellipsis="true" fixedcols="2" mergecellsfixedcols="bycol" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:25px; width:1005px; height:690px; ">
- <col ref="prcpnm"/>
- <col ref="rownm"/>
- <col ref="d01" style="text-align:right; "/>
- <col ref="d02" style="text-align:right; "/>
- <col ref="d03" style="text-align:right; "/>
- <col ref="d04" style="text-align:right; "/>
- <col ref="d05" style="text-align:right; "/>
- <col ref="d06" style="text-align:right; "/>
- <col ref="d07" style="text-align:right; "/>
- <col ref="d08" style="text-align:right; "/>
- <col ref="d09" style="text-align:right; "/>
- <col ref="d10" style="text-align:right; "/>
- <col ref="d11" style="text-align:right; "/>
- <col ref="d12" style="text-align:right; "/>
- <col ref="d13" style="text-align:right; "/>
- <col ref="d14" style="text-align:right; "/>
- <col ref="d15" style="text-align:right; "/>
- <col ref="d16" style="text-align:right; "/>
- <col ref="d17" style="text-align:right; "/>
- <col ref="d18" style="text-align:right; "/>
- <col ref="d19" style="text-align:right; "/>
- <col ref="d20" style="text-align:right; "/>
- <col ref="d21" style="text-align:right; "/>
- <col ref="d22" style="text-align:right; "/>
- <col ref="d23" style="text-align:right; "/>
- <col ref="d24" style="text-align:right; "/>
- <col ref="d25" style="text-align:right; "/>
- <col ref="d26" style="text-align:right; "/>
- <col ref="d27" style="text-align:right; "/>
- <col ref="d28" style="text-align:right; "/>
- <col ref="d29" style="text-align:right; "/>
- <col ref="d30" style="text-align:right; "/>
- <col ref="d31" style="text-align:right; "/>
- <col ref="dsum" style="text-align:right; "/>
- </datagrid>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:1005px; y2:25px; "/>
- <button id="btn_cfm" class="btn4_letter2" style="left:950px; top:722px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script ev:event="onclick" type="javascript">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_excel" class="btn2_letter4" navindex="2" style="left:60px; top:725px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script ev:event="onclick" type="javascript">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != ""){
- grd_detllist.saveExcel(fileName);
- }
-
- ]]>
- </script>
- </button>
- <button id="button11" class="btn6_letter2" style="left:0px; top:722px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- fPrintRex();
- ]]>
- </script>
- </button>
- <select id="checkbox1" ref="/root/hidden/cal/totalprint" overflow="visible" appearance="full" style="left:130px; top:725px; width:100px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>총합출력</label>
- <value>1</value>
- </item>
- </choices>
- </select>
- </group>
- </xhtml:body>
- </xhtml:html>
|