123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- * 제 목 : SMMCT00107_암병원 주사실 업무 통계.xrw
- * 설 명 : 암병원주사실 업무 통계 조회
- * 설 계 자 : 박유진
- * 작 성 자 : 박유진
- * 작 성 일 : 2009.09.28
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <condition>
- <term/>
- <fromdd/>
- <todd/>
- </condition>
- <cncrinjbizstatsinfo>
- <cncrinjbizstatslist>
- <dept/>
- <patcnt/>
- <sixtmmorthn/>
- <ccd/>
- <blodqty/>
- <vacncnt/>
- <injcnt/>
- <infsolut/>
- <etccnt/>
- <total/>
- <benchmark/>
- <incrsdecrs/>
- </cncrinjbizstatslist>
- </cncrinjbizstatsinfo>
- </main>
- <send>
- <reqdata/>
- </send>
- <init>
- <orddept>
- <dept/>
- </orddept>
- <info/>
- <userlist>
- <usercombo>
- <userid/>
- <usernm/>
- </usercombo>
- </userlist>
- <subdeptinfo>
- <subdeptlist/>
- </subdeptinfo>
- </init>
- </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/dateHelper.js"/>
- <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit_SMMCT00107();
- ]]>
- </script>
- <submission id="TRMCT00107" ref="/root/send/reqdata" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/cncrinjbizstatsinfo"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /*
- * @desc : 초기화
- */
- function fInit_SMMCT00107(){
-
- //초기
- ipt_todd.visible=true;
- cp_term.visible=true;
- cmb_term.value='D';
-
- //초기값 셋팅
- model.setValue("/root/main/condition/fromdd" , getCurrentDate().toDate().getAddDate(-1,"D").getDateFormat() );
- model.setValue("/root/main/condition/todd" , getCurrentDate().toDate().getAddDate(-1,"D").getDateFormat() );
- model.removeNodeset(grd_cncrinjbizstats.nodeset );
-
- cap_total.value = "총 0 건";
-
- model.refresh();
- }
-
-
- /*
- * @desc : 암병원 주사실 업무 통계 조회
- */
- function fGetOutRsrvObserv(){
- var curTm = getCurrentTime();
- /*
- if( curTm< "170000" && curTm > "080000" ) {
- alert("업무시간에는 사용하실 수 없습니다. ( 08:00~ 17:00 ) " );
- return ;
- }*/
-
- var cnt = 0 ;
- cap_total.value = "총 " + cnt + " 건";
- model.removeNodeset(grd_cncrinjbizstats.nodeset);
- model.resetInstanceNode("/root/send/reqdata");
- model.copyNode("/root/send/reqdata", "/root/main/condition");
- submit("TRMCT00107");
-
- var nodelst = instance1.selectNodes(grd_cncrinjbizstats.nodeset );
- cnt = nodelst.length;
-
- cap_total.value = "총 " + cnt + " 건";
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body accesskey="f2" guideline="2,763;2,765;2,763;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:300px; height:14px; ">암병원 주사실 업무 통계</caption>
- <shape id="roundrect1" appearance="roundrect" style="left:0px; top:20px; width:1194px; height:40px; "/>
- <line id="line5" style="x1:1110px; y1:30px; x2:1110px; y2:52px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption20" class="tit_2" style="left:0px; top:65px; width:270px; height:14px; ">암병원 주사실 통계</caption>
- <caption id="caption9" class="search_name" style="left:15px; top:32px; width:86px; height:17px; ">기간 :</caption>
- <datagrid id="grd_cncrinjbizstats" nodeset="/root/main/cncrinjbizstatsinfo/cncrinjbizstatslist" autoresize="true" caption="과^환자수^6hr이상^C code^혈액^예방접종^주사제^수액^기타^합계^벤치마크^증감" colwidth="80, 80, 80, 100, 100, 110, 100, 100, 100, 100, 100, 100" ellipsis="true" explorerbar="sortshow" extendlastcol="noscroll" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" subtotalposition="below" rowsep="|" colsep="^" tooltip="true" style="left:0px; top:90px; width:1187px; height:675px; ">
- <col ref="dept" style="text-align:center; "/>
- <col ref="patcnt" style="text-align:center; "/>
- <col ref="sixtmmorthn" style="text-align:center; "/>
- <col ref="ccd" style="text-align:center; "/>
- <col ref="blodqty" style="text-align:center; "/>
- <col ref="vacncnt" style="text-align:center; "/>
- <col ref="injcnt" style="text-align:center; "/>
- <col ref="infsolut" style="text-align:center; "/>
- <col ref="etccnt" style="text-align:center; "/>
- <col ref="total" style="text-align:center; "/>
- <col ref="benchmark" style="text-align:center; "/>
- <col ref="incrsdecrs" style="text-align:center; "/>
- </datagrid>
- <caption id="cap_total" class="search_name" style="left:1010px; top:33px; width:125px; height:17px; ">총 0 건</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:86px; x2:1187px; y2:86px; "/>
- <button id="btn_req" class="btn1_letter2" style="left:1125px; top:30px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetOutRsrvObserv();
- ]]>
- </script>
- </button>
- <select1 id="cmb_term" ref="/root/main/condition/term" disabled="false" appearance="minimal" style="left:85px; top:32; width:90px; height:19px; ">
- <choices>
- <item>
- <label>일별</label>
- <value>D</value>
- </item>
- <item>
- <label>주별</label>
- <value>W</value>
- </item>
- <item>
- <label>월별</label>
- <value>M</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- /*
- * @desc : 기간조회 설정
- */
- var termnm = model.getValue("/root/main/condition/term");
- if(termnm=='D'){
- ipt_todd.visible=true;
- cp_term.visible=true;
- }else{
- ipt_todd.visible=false;
- cp_term.visible=false;
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_todd" ref="/root/main/condition/todd" class="input_s_essential" inputtype="date" style="left:280px; top:32; width:90px; height:19px; "/>
- <caption id="cp_term" style="left:269px; top:38px; width:15px; height:15px; ">~</caption>
- <input id="ipt_fromdd" ref="/root/main/condition/fromdd" class="input_s_essential" inputtype="date" style="left:180px; top:32; width:90px; height:19px; "/>
- <button id="button1" class="btn2_letter2" style="left:1145px; top:66px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var title = "암병원주사실업무통계 (" + model.getValue("/root/main/condition/fromdd" ) + " ~ " + model.getValue("/root/main/condition/todd" ) + " ) " ;
- //fsaveGridToExcel(grd_inpatinfolst, title);
-
- var fileName = window.fileDialog("save", ",", false, "암병원주사실업무통계", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != ""){
- grd_cncrinjbizstats.saveExcel(fileName, "암병원주사실업무통계", true, true, "", "", false);
- var s = fileName.lastIndexOf("\\");
- var fileName=fileName.substring(s+1);
-
- var rmsg = messageBox("저장된 Excel을", "Q004");
- if( rmsg == 6 ){
- window.exec("excel.exe", fileName);
- }
- }
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|