123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="txt/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>
- <cond>
- <ioflag>A</ioflag>
- <year/>
- </cond>
- <curebizinfo>
- <curebizlist>
- <tmp/>
- <medicalflagnm/>
- <medicalcdnm/>
- <m01/>
- <m02/>
- <m03/>
- <m04/>
- <m05/>
- <m06/>
- <m07/>
- <m08/>
- <m09/>
- <m10/>
- <m11/>
- <m12/>
- <total/>
- <bftotal/>
- <medicalflag/>
- <medicalcd/>
- </curebizlist>
- </curebizinfo>
- </main>
- <send/>
- <init>
- </init>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.removeNodeset("/root/main/curebizinfo/curebizlist");
- //현재 일자 세팅
- model.setValue("/root/main/cond/ioflag", "A");
- model.setValue("/root/main/cond/year", getCurrentDate().substring(0, 4));
- model.setFocus("btn_ref");
- grd_curebizlist.mergeCol(grd_curebizlist.colRef("tmp")) = true; //통계기준지정
- grd_curebizlist.mergeCol(grd_curebizlist.colRef("medicalflagnm")) = true;
- fGetCureBizList();
- ]]>
- </script>
- <submission id="TRSNN00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/curebizinfo"/>
- </model>
- <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">
- <![CDATA[
- //조회
- function fGetCureBizList(){
- model.removeNodeset("/root/send");
- model.makeNode("/root/send");
- model.makeValue("/root/send/ioflag", model.getValue("/root/main/cond/ioflag"));
- model.makeValue("/root/send/bfyear", model.getValue("/root/main/cond/year")-1);
- model.makeValue("/root/send/year", model.getValue("/root/main/cond/year"));
- if(submit("TRSNN00501")){
- grd_curebizlist.colstyle(grd_curebizlist.colRef("total"), "data", "background-color") = "#ffffcc";
- //grd_curebizlist.colstyle(grd_curebizlist.colRef("total"), "data", "font-weight") = "bold";
- grd_curebizlist.subtotalPosition = "below";
- grd_curebizlist.multiTotals = true;
- grd_curebizlist.subtotal("sum", 0, grd_curebizlist.colRef("m01"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; color:#0000ff; font-weight:bold; ", 1, "합계", true);
- grd_curebizlist.subtotal("sum", 0, grd_curebizlist.colRef("m02"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; color:#0000ff; font-weight:bold; ", 1, "합계", true);
- grd_curebizlist.subtotal("sum", 0, grd_curebizlist.colRef("m03"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; color:#0000ff; font-weight:bold; ", 1, "합계", true);
- grd_curebizlist.subtotal("sum", 0, grd_curebizlist.colRef("m04"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; color:#0000ff; font-weight:bold; ", 1, "합계", true);
- grd_curebizlist.subtotal("sum", 0, grd_curebizlist.colRef("m05"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; color:#0000ff; font-weight:bold; ", 1, "합계", true);
- grd_curebizlist.subtotal("sum", 0, grd_curebizlist.colRef("m06"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; color:#0000ff; font-weight:bold; ", 1, "합계", true);
- grd_curebizlist.subtotal("sum", 0, grd_curebizlist.colRef("m07"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; color:#0000ff; font-weight:bold; ", 1, "합계", true);
- grd_curebizlist.subtotal("sum", 0, grd_curebizlist.colRef("m08"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; color:#0000ff; font-weight:bold; ", 1, "합계", true);
- grd_curebizlist.subtotal("sum", 0, grd_curebizlist.colRef("m09"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; color:#0000ff; font-weight:bold; ", 1, "합계", true);
- grd_curebizlist.subtotal("sum", 0, grd_curebizlist.colRef("m10"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; color:#0000ff; font-weight:bold; ", 1, "합계", true);
- grd_curebizlist.subtotal("sum", 0, grd_curebizlist.colRef("m11"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; color:#0000ff; font-weight:bold; ", 1, "합계", true);
- grd_curebizlist.subtotal("sum", 0, grd_curebizlist.colRef("m12"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; color:#0000ff; font-weight:bold; ", 1, "합계", true);
- grd_curebizlist.subtotal("sum", 0, grd_curebizlist.colRef("total"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; color:#0000ff; font-weight:bold; ", 1, "합계", true);
- grd_curebizlist.subtotal("sum", 0, grd_curebizlist.colRef("bftotal"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#ffffcc; color:#0000ff; font-weight:bold; ", 1, "합계", true);
- }
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:742px; ">
- <line id="line2" class="line_1" style="x1:0px; y1:65px; x2:1194px; y2:65px; "/>
- <group id="group1" style="left:0px; top:5px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line3" class="line_4" style="x1:1040px; y1:5px; x2:1040px; y2:27px; "/>
- <button id="btn_ref" class="btn1_letter2" style="left:1057px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fGetCureBizList();
- ]]>
- </script>
- </button>
- <caption id="caption30" class="search_name" style="left:246px; top:10px; width:92px; height:17px; ">해당연도 :</caption>
- <select1 id="cmb_year" ref="/root/main/cond/year" class="combo_search" navindex="1" appearance="minimal" editmode="search" itemcount="20" style="left:340px; top:10px; width:94px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetCureBizList();
- ]]>
- </script>
- <choices>
- <item>
- <label>2008</label>
- <value>2008</value>
- </item>
- <item>
- <label>2009</label>
- <value>2009</value>
- </item>
- <item>
- <label>2010</label>
- <value>2010</value>
- </item>
- <item>
- <label>2011</label>
- <value>2011</value>
- </item>
- </choices>
- </select1>
- <button id="button1" class="btn1_letter2" style="left:1117px; top:7px; width:56px; height:22px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "분만실 처치업무 통계" , "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- grd_curebizlist.saveExcel(fileName, "분만실 처치업무 통계", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:15px; top:10px; width:92px; height:17px; ">구 분 :</caption>
- <select1 id="cmb_ioflag" ref="/root/main/cond/ioflag" class="combo_search" navindex="1" appearance="minimal" editmode="search" itemcount="20" style="left:109px; top:10px; width:94px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetCureBizList();
- ]]>
- </script>
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </select1>
- </group>
- <caption id="caption26" class="tit_2" style="left:5px; top:50px; width:255px; height:14px; ">분만실 처치업무 통계 리스트</caption>
- <datagrid id="grd_curebizlist" nodeset="/root/main/curebizinfo/curebizlist" caption="tmp^종류^종류^1월^2월^3월^4월^5월^6월^7월^8월^9월^10월^11월^12월^합계^전년도" colsep="^" colwidth="0, 90, 222, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60" dataheight="25" extendlastcol="false" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" style="left:0px; top:70px; width:1194px; height:670px; ">
- <col ref="tmp"/>
- <col ref="medicalflagnm" type="output"/>
- <col ref="medicalcdnm" type="output"/>
- <col ref="m01" type="output" style="text-align:right; "/>
- <col ref="m02" type="output" style="text-align:right; "/>
- <col ref="m03" type="output" style="text-align:right; "/>
- <col ref="m04" type="output" style="text-align:right; "/>
- <col ref="m05" type="output" style="text-align:right; "/>
- <col ref="m06" type="output" style="text-align:right; "/>
- <col ref="m07" type="output" style="text-align:right; "/>
- <col ref="m08" type="output" style="text-align:right; "/>
- <col ref="m09" type="output" style="text-align:right; "/>
- <col ref="m10" type="output" style="text-align:right; "/>
- <col ref="m11" type="output" style="text-align:right; "/>
- <col ref="m12" type="output" style="text-align:right; "/>
- <col ref="total" type="output" style="text-align:right; "/>
- <col ref="bftotal" type="output" style="text-align:right; "/>
- </datagrid>
- </group>
- <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:298px; height:14px; ">분만실 처치업무 통계</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; "/>
- </xhtml:body>
- </xhtml:html>
|