123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>내시경병리조직검사조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <item>
- <prcpdd/>
- <ioflag/>
- <pid/>
- <hngnm/>
- <prcpcd/>
- <prcpnm/>
- <drugmthdspccd/>
- <spcnm/>
- <spccnt/>
- </item>
- </list>
- </main>
- <send>
- <execfromdd/>
- <exectodd/>
- <comparefromdd/>
- <comparetodd/>
- <orddeptcd/>
- <orddrid/>
- <execdeptcd/>
- <execdrid/>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <suppdeptcd/>
- <srchflag/>
- </send>
- <inti/>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.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/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <submission id="TRPMOCOM01" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/session" replace="instance" resultref="/root/init"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- aezfSetSuppDeptcd();
-
- model.removenode("/root/main/list/item");
-
- model.setValue("/root/send/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
- model.setValue("/root/send/execfromdd", getCurrentDate().toDate().getAddDate(-1, "D").getDateFormat("YYYYMMDD"));
- model.setValue("/root/send/exectodd", getCurrentDate().toDate().getAddDate(-1, "D").getDateFormat("YYYYMMDD"));
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRAES06401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">내시경 병리조직검사 건수</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:50px; width:200px; height:14px; ">내시경 병리조직검사 건수</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:65px; x2:1195px; y2:65px; "/>
- <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:30px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:7px; width:86px; height:17px; ">조회기간 :</caption>
- <line id="line13" class="line_4" style="x1:1110px; y1:5px; x2:1110px; y2:25px; "/>
- <button id="btn_sea" class="btn1_letter2" navindex="4" style="left:1120px; top:4px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removenode("/root/main/list");
-
- //20150603 by kya 건진내시경일 경우
- var suppdeptcd = model.getValue("/root/send/globalinstance/instance1");
- if (suppdeptcd == "2370124000" ) {
- model.setValue("/root/send/srchflag","S");
- } else {
- model.setValue("/root/send/srchflag","O");
- }
-
- if (submit("TRAES06401")) {
- var cnt = getNodesetCount("/root/main/list/item");
- if (cnt > 1) {
- for ( i = 1; i <= cnt; i++ ) {
- grd_list.rowstyle( i , "data" , "background-color" ) = "#FFFFFF";
- grd_list.rowstyle( i , "data" , "color" ) = "#000000";
- }
-
- grd_list.colSort(0) = "asc";
- grd_list.sort(0, 0, grd_list.rows, grd_list.cols) = "usersort";
-
- for(i=9; i<14; i++) {
- grd_list.subtotal("sum", -1, i, "#,###", "background-color:#CCFFCC; color:#0000ff; font-weight:bold; ", 1, "총계");
- }
- grd_list.mergeByFree(grd_list.rows-1, 1 , grd_list.rows-1, 2);
- model.refresh();
- }
- }
- ]]>
- </script>
- </button>
- <input id="ipt_fromdd" ref="/root/send/execfromdd" class="input_default" navindex="1" inputtype="date" style="left:109px; top:6px; width:100px; height:19px; "/>
- <input id="ipt_todd" ref="/root/send/exectodd" class="input_default" navindex="2" inputtype="date" style="left:227px; top:6px; width:100px; height:19px; "/>
- <caption id="caption5" class="search_no_b" style="left:212px; top:6px; width:12px; height:17px; ">~</caption>
- </group>
- <button id="btn_excsave" class="btn2_letter4" style="left:1130px; top:45px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- grd_list.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_list" nodeset="/root/main/list/item" caption="처방일자^입외^환자번호^환자명^처방코드^처방명^검체코드^검체명^검체채취건수" colsep="^" colwidth="108, 51, 72, 85, 75, 325, 86, 255, 84" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="below" style="left:0px; top:70px; width:1195px; height:670px; ">
- <col ref="prcpdd" style="text-align:center; "/>
- <col ref="ioflag" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="prcpcd" style="text-align:center; "/>
- <col ref="prcpnm" style="text-align:left; "/>
- <col ref="drugmthdspccd" style="text-align:center; "/>
- <col ref="spcnm" style="text-align:left; "/>
- <col ref="spccnt" style="text-align:center; "/>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|