123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- <?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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <cond>
- <bugtym/>
- </cond>
- <grddata>
- </grddata>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <submission id="TRSTP01705" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/cond" resultref="/root/grddata"/>
- <submission id="TXSTP00902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/cond" resultref="root/reqExeEarnBugtList"/>
- </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 fInit(){
- model.setValue("/root/cond/bugtym", getCurrentDate().substr(0, 6));
- ipt_srchdd.refresh();
- }
-
- function fDispAprvCnclChng(grdObj){
- var nodePath = grdObj.attribute("nodeset");
- var chagValue = "";
- grdObj.rebuildStyle();
- for(var i = 1; i < grdObj.rows; i++){
- chagValue = model.getValue(nodePath + "[" + i + "]/orddeptcd");
- if(chagValue == ""){
- grdObj.rowStyle(i, "data", "background-color") = "#ffff99";
- grdObj.rowStyle(i, "data", "font-weight") = "bold";
- }
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="2,767;1,1200;1,1290;">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:19px; width:1200px; height:43px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:1005px; y1:25px; x2:1005px; y2:55px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption21" class="search_name" style="left:21px; top:30px; width:86px; height:17px; ">조회년월 :</caption>
- <input id="ipt_srchdd" ref="/root/cond/bugtym" class="input_search" navindex="1" inputtype="date" format="yyyy-mm" style="left:110px; top:30px; width:90px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keycode == 13){
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <button id="btn_search" class="btn1_letter2" navindex="2" style="left:1015px; top:30px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/cond/bugtym") == ""){
- return;
- }
- model.removeNodeset("/root/grddata");
- model.refresh();
- if(submit("TRSTP01705")){
- fDispAprvCnclChng(grd_earnbugt);
- }
- ]]>
- </script>
- </button>
- <button id="button1" class="btn1_letter2" navindex="4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:1074px; top:30px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var today = model.getValue("/root/cond/bugtym");
- var fileName = window.fileDialog("save", ",", false, "수익예산_"+today, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if(fileName != ""){
- grd_earnbugt.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <button id="button2" class="btn1_letter2" navindex="5" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:1133px; top:30px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPSTP00904", "XMLSTR");
- ]]>
- </script>
- </button>
- <line id="line1" class="line_1" style="x1:0px; y1:85px; x2:1200px; y2:85px; "/>
- <datagrid id="grd_earnbugt" nodeset="/root/grddata/earnbugtList" caption="구분^센터^과별^입원목표^입원실적^입원달성율(%)^외래목표^외래실적^외래달성율(%)" colsep="^" colwidth="80, 100, 140, 130, 130, 120, 130, 130, 120" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:90px; width:1200px; height:690px; ">
- <col ref="grupgbnm" style="text-align:center; "/>
- <col ref="centhngnm" style="text-align:center; "/>
- <col ref="depthngnm" style="text-align:center; "/>
- <col ref="inpgoalamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="inptotamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="inpgoalp" style="text-align:right; "/>
- <col ref="outgoalamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="outtotamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="outgoalp" style="text-align:right; "/>
- </datagrid>
- <caption id="caption60" class="tit_1" style="left:0px; top:0px; width:183px; height:14px; font-family:돋움; vertical-align:middle; ">수익예산조회</caption>
- <caption id="caption46" class="tit_2" style="left:0px; top:70px; width:151px; height:13px; ">수익예산조회</caption>
- <button id="button3" class="btn4_letter7" navindex="2" style="left:881px; top:30px; width:116px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>수익데이터 생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/cond/bugtym") == ""){
- return;
- }
-
- if (messageBox(ipt_srchdd.label + " 수익자료 생성을","Q004") == "6" ) {
- if(submit("TXSTP00902")) {
- model.refresh();
- if (model.getValue("root/reqExeEarnBugtList/msg/result") > 0) {
- messageBox(model.getValue("root/reqExeEarnBugtList/msg/message"),"I002");
- btn_search.dispatch("DOMActivate");
-
- } else {
- messageBox(model.getValue("root/reqExeEarnBugtList/msg/message"),"C001");
- }
- //alert(model.getValue("root/reqExeEarnBugtList/msg/message"));
- }
- }
-
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|