123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLNP00100_핵의학WorkList조회.xrw
- * 설 명 : 핵의학 WorkList 조회
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)평화is - 김성희
- * 작 성 일 : 2007.08.28
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <retestlist>
- <pid/>
- <hngnm/>
- <sexage/>
- <orddrnm/>
- <tclsscrnnm/>
- <spcnm/>
- <fir/>
- <sec/>
- <last/>
- <rsltstat/>
- </retestlist>
- </main>
- <send>
- <fromdd/>
- <todd/>
- </send>
- <init/>
- <hidden>
- <cnt/>
- <cnt2/>
- <date/>
- <report>
- <rslt1>
- </rslt1>
- <rslt2/>
- </report>
- </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" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fSetInit();
- ]]>
- </script>
- <submission id="TRLNP00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/retestlist"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- function fSetInit() {
-
- model.setValue("/root/send/fromdd", getCurrentDate());
- model.setValue("/root/send/todd", getCurrentDate());
-
- model.refresh();
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body caption="2" itemwidth="50" 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; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">일일 재검일지(핵의학 검체검사)</caption>
- </group>
- <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:1195px; height:35px; "/>
- <line id="line1" class="line_4" style="x1:1098px; y1:8px; x2:1098px; y2:25px; "/>
- <button id="button6" class="btn1_letter2" style="left:1115px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRLNP00801", false);
- model.setValue("/root/hidden/cnt", model.getxpathvalue('count(/root/main/retestlist[rsltstat != "5"])') + " 건");
- model.setValue("/root/hidden/cnt2", model.getxpathvalue('count(/root/main/retestlist[rsltstat = "5"])') + " 건");
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- <group id="group5" style="left:15px; top:15px; width:320px; height:25px; background-color:#fffbf2; ">
- <caption id="caption3" class="search_name" style="left:0px; top:4px; width:90px; height:17px; ">검사일자 :</caption>
- <caption id="caption4" style="left:190px; top:5px; width:20px; height:20px; text-align:center; ">~</caption>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_s_essential" inputtype="date" style="left:90px; top:4px; width:100px; height:19px; "/>
- <input id="ipt_todd" ref="/root/send/todd" class="input_s_essential" inputtype="date" style="left:210px; top:4px; width:100px; height:19px; "/>
- </group>
- <datagrid id="datagrid1" nodeset="/root/main/retestlist[rsltstat != 5]" caption="등록번호^환자명^성별/나이^주치의^검사명^검체명^첫번째결과^재검결과^보고결과^결과상태" colsep="^" colwidth="90, 90, 80, 80, 200, 150, 110, 110, 110, 0" dataheight="25" defaultrows="1" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:71px; width:1194px; height:545px; ">
- <col ref="pid"/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="sexage" style="text-align:center; "/>
- <col ref="orddrnm"/>
- <col ref="tclsscrnnm"/>
- <col ref="spcnm"/>
- <col ref="fir"/>
- <col ref="sec"/>
- <col ref="last"/>
- <col ref="rsltstat"/>
- </datagrid>
- <caption id="caption1" class="tit_2" style="left:5px; top:50px; width:134px; height:14px; ">자체 재검 리스트</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:66px; x2:1194px; y2:66px; "/>
- <button id="button2" class="btn2_letter2" style="left:1149px; top:46px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "재검리스트_" + getCurrentDate(), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != ""){
- datagrid1.nodeset = "/root/main/retestlist";
- datagrid1.refresh()
- datagrid1.saveExcel(fileName);
- datagrid1.nodeset = "/root/main/retestlist[rsltstat != 5]";
- datagrid1.refresh()
- }
-
- ]]>
- </script>
- </button>
- <caption id="cap_countlist" style="left:390px; top:105px; width:750px; height:20px; "/>
- <caption id="caption7" visibility="hidden" style="left:910px; top:105px; width:235px; height:20px; font-size:10pt; font-weight:bold; color:#3366ff; "/>
- <caption id="caption2" class="tit_2" style="left:5px; top:619px; width:134px; height:14px; ">임상 재검 리스트</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:635px; x2:1194px; y2:635px; "/>
- <datagrid id="datagrid2" nodeset="/root/main/retestlist[rsltstat = 5]" caption="등록번호^환자명^성별/나이^주치의^검사명^검체명^첫번째결과^재검결과^보고결과^결과상태" colsep="^" colwidth="90, 90, 80, 80, 200, 150, 110, 110, 110, 0" dataheight="25" defaultrows="1" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:640px; width:1194px; height:102px; ">
- <col ref="pid"/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="sexage" style="text-align:center; "/>
- <col ref="orddrnm"/>
- <col ref="tclsscrnnm"/>
- <col ref="spcnm"/>
- <col ref="fir"/>
- <col ref="sec"/>
- <col ref="last"/>
- <col ref="rsltstat"/>
- </datagrid>
- <output id="output1" ref="/root/hidden/cnt" style="left:790px; top:46px; width:65px; height:19px; font-weight:bold; "/>
- <output id="output2" ref="/root/hidden/cnt2" style="left:975px; top:46px; width:65px; height:19px; font-weight:bold; "/>
- <caption id="caption5" style="left:688px; top:48px; width:100px; height:15px; font-weight:bold; ">자체 재검 건수 :</caption>
- <caption id="caption8" style="left:875px; top:48px; width:100px; height:15px; font-weight:bold; ">임상 재검 건수 :</caption>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="button11" class="btn6_letter2" visibility="visible" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/hidden/date", model.getValue("/root/send/todd"));
- copyNodeListType("/root/hidden/report/rslt1", "/root/main/retestlist[rsltstat != 5]", "replace");
- copyNodeListType("/root/hidden/report/rslt2", "/root/main/retestlist[rsltstat = 5]", "replace");
-
- var r1Cnt = getNodesetCount("/root/main/retestlist[rsltstat != 5]");
- var r2Cnt = getNodesetCount("/root/main/retestlist[rsltstat = 5]");
- if(r2Cnt > 0 ){ //임상재검 있을경우
- model.makeValue("/root/hidden/report/rslt1/retestlist["+ r1Cnt + "]/lastflag", "True"); //마지막행 True라면 임상재검리스트 보여지게끔처리함
- }
-
- exeReportPreview("RPLNP00800", "XMLSTR");
- ]]>
- </script>
- </button>
- <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|