123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279 |
- <?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="">
- <main>
- <baseinfo>
- <docuflag>1</docuflag>
- <ordflag>I</ordflag>
- </baseinfo>
- <statininfo>
- <ret>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- <col21/>
- <col22/>
- <col23/>
- <col24/>
- <col25/>
- <errflag/>
- </ret>
- </statininfo>
- </main>
- <send>
- <fromdd/>
- <todd/>
- <ordflag/>
- </send>
- <init>
- <grdform>
- <grdform>
- <grdtitle/>
- <colcount/>
- </grdform>
- </grdform>
- </init>
- <temp/>
- <hidden>
- <session>
- <userid/>
- <usernm/>
- <posinstcd/>
- <posinstnm/>
- <dutplcecd/>
- <dutplcenm/>
- <dutinstnm/>
- </session>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/send/ordflag", model.getValue("/root/main/baseinfo/ordflag"));
- if (submit("TRSTP00102")) {
- grd_statinlist.caption = model.getValue("/root/init/grdform/grdform/grdtitle");
-
- var colCount = model.getValue("/root/init/grdform/grdform/colcount");
- for (var i = colCount ; i <= grd_statinlist.cols ; i++) {
- grd_statinlist.colHidden(i) = true;
- }
- }
- fGetUserInfo2();
- // 날짜전날로 Default로 넣어주기
- var currentDate = getCurrentDate();
- var date = currentDate.toDate("YYYYMMDD");
- date.getAddDate(-1, "D");
- var prvDate = date.getDateFormat();
- ipt_fromdd.value = prvDate;
- ipt_todd.value = prvDate;
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRSTP00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/statininfo"/>
- <submission id="TRSTP00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/grdform"/>
- </model>
- <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/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript">
- <![CDATA[
-
- var cash = 0;
- //로그인한 사용자 정보조회
- function fGetUserInfo2(){
-
- var sUserInfosS = getUserInfos();
-
- sUserInfosS = sUserInfosS + "|";
- var UserInfosS_Array = sUserInfosS.split("|");
-
- var userid = UserInfosS_Array[0]; //사용자번호
- var usernm = UserInfosS_Array[1]; //사용자이름
- var posinstcd = UserInfosS_Array[2]; //소속기관코드
- var posinstnm = UserInfosS_Array[3]; //소속기관명
- var dutplcecd = UserInfosS_Array[4]; //근무지부서코드
- var dutplcenm = UserInfosS_Array[5]; //근무지부서명
- var dutinstnm = UserInfosS_Array[7]; //근무지기관명
-
- model.setValue("/root/hidden/session/userid",userid);
- model.setValue("/root/hidden/session/usernm",usernm);
- model.setValue("/root/hidden/session/posinstcd",posinstcd);
- model.setValue("/root/hidden/session/posinstnm",posinstnm);
- model.setValue("/root/hidden/session/dutplcecd",dutplcecd);
- model.setValue("/root/hidden/session/dutplcenm",dutplcenm);
- model.setValue("/root/hidden/session/dutinstnm",dutinstnm);
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <group id="group3" style="left:0px; top:0px; width:1206px; height:13px; ">
- <caption id="caption60" class="tit_1" style="left:0px; top:0px; width:183px; height:14px; font-family:돋움; vertical-align:middle; ">통계조회</caption>
- </group>
- <group id="group4" style="left:0px; top:18px; width:1203px; height:40px; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1203px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:985px; top:10px; width:56px; height:22px; color:transparent; background-image:../../../com/commonweb/images/btn1_letter2.gif; border-color:transparent; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_statinlist.rebuildStyle();
-
- var fromdd = model.getValue("/root/send/fromdd");
- var todd = model.getValue("/root/send/todd");
- model.setValue("/root/send/ordflag",model.getValue("/root/main/baseinfo/ordflag"));
-
- var ordflag = model.getValue("/root/main/baseinfo/ordflag");
- if (submit("TRSTP00101")) {
- for( var i = 1 ; i < grd_statinlist.rows ; i++) {
- var errFlag = model.getValue("/root/main/statininfo/ret[" + i + " ]/errflag");
-
- if (errFlag == "Y") {
- for( var j = 1 ; j < grd_statinlist.cols ; j++) {
- if (grd_statinlist.valueMatrix(i, j) != '') {
- grd_statinlist.cellStyle("background-color",i,j,i,j) = "#ff0000";
- grd_statinlist.cellStyle("color",i,j,i,j) = "#ffffff";
- }
- }
- }
- }
- }
-
- grd_statinlist.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_default" navindex="7" visibility="visible" inputtype="date" style="left:335px; top:10px; width:90px; height:19px; "/>
- <input id="ipt_todd" ref="/root/send/todd" class="input_default" navindex="7" inputtype="date" style="left:440px; top:10px; width:90px; height:19px; "/>
- <button id="btn_excel" class="btn1_letter4" visibility="visible" disable.background-image="../../../com/commonweb/images/dis_btn6_letter4.gif" style="left:1053px; top:10px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn1_letter4.gif; ">
- <caption>EXCEL</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var fromdd = model.getValue("/root/send/fromdd");
- var todd = model.getValue("/root/send/todd");
-
- //엑셀저장 여부(타이틀별)
- var fileName = window.fileDialog("save", ",", false, "수익일보상호검증("+fromdd+"~"+todd+")", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- grd_statinlist.saveExcel(fileName, "수익일보상호검증("+fromdd+"~"+todd+")", false, false, "", "", false);
- ]]>
- </script>
- </button>
- <select1 id="cmb_ordflag" ref="/root/main/baseinfo/ordflag" appearance="minimal" style="left:104px; top:10px; width:115px; height:19px; ">
- <choices>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/ordflag", model.getValue("/root/main/baseinfo/ordflag"));
- if (submit("TRSTP00102")) {
- grd_statinlist.caption = model.getValue("/root/init/grdform/grdform/grdtitle");
-
- var colCount = model.getValue("/root/init/grdform/grdform/colcount");
-
- for (var i = 1 ; i <= colCount ; i++) {
- grd_statinlist.colHidden(i) = false;
- }
-
- for (var i = colCount ; i <= grd_statinlist.cols ; i++) {
- grd_statinlist.colHidden(i) = true;
- }
- }
-
- model.removeNodeset("/root/main/statininfo");
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption6" class="search_name" style="left:15px; top:10px; width:98px; height:17px; ">진료구분</caption>
- <caption id="caption1" visibility="visible" style="left:427px; top:10px; width:15px; height:20px; ">~</caption>
- <caption id="caption2" class="search_name" style="left:245px; top:10px; width:98px; height:17px; ">조회기간</caption>
- <line id="line2" class="line_4" style="top:5px; x1:1046px; y1:9px; x2:1046px; y2:33px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="button1" class="btn1_letter2" style="left:1136px; top:10px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 입원, 외래를 구분하여 출력
- var temp = model.getValue("/root/main/baseinfo/ordflag");
- if(temp == "O"){
- exeReportPreview("RPSTP00901", "XMLSTR", "", "", "false", "", "", "", "", "false");
- }else{
- exeReportPreview("RPSTP00902", "XMLSTR", "", "", "false", "", "", "", "", "false");
- }
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption3" class="tit_2" style="left:0px; top:73px; width:181px; height:13px; ">수익일보상호검증</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:90px; x2:1203px; y2:90px; "/>
- <datagrid id="grd_statinlist" nodeset="/root/main/statininfo/ret" class="datagrid2" caption="^장표^장표^장표^장표^장표^장표^장표^장표^장표^장표^장표^장표^장표^장표^장표^장표^장표^장표^장표^장표^장표^장표^장표^장표" colsep="^" colwidth="160, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110,110, 110, 110, 110, 110, 110" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:95px; width:1203px; height:654px; ">
- <col ref="col1" style="text-align:left; vertical-align:middle; "/>
- <col ref="col2" style="text-align:right; "/>
- <col ref="col3" style="text-align:right; "/>
- <col ref="col4" style="text-align:right; "/>
- <col ref="col5" style="text-align:right; "/>
- <col ref="col6" style="text-align:right; "/>
- <col ref="col7" style="text-align:right; "/>
- <col ref="col8" style="text-align:right; "/>
- <col ref="col9" style="text-align:right; "/>
- <col ref="col10" style="text-align:right; "/>
- <col ref="col11" style="text-align:right; "/>
- <col ref="col12" style="text-align:right; "/>
- <col ref="col13" style="text-align:right; "/>
- <col ref="col14" style="text-align:right; "/>
- <col ref="col15" style="text-align:right; "/>
- <col ref="col16" style="text-align:right; "/>
- <col ref="col17" style="text-align:right; "/>
- <col ref="col18" style="text-align:right; "/>
- <col ref="col19" style="text-align:right; "/>
- <col ref="col20" style="text-align:right; "/>
- <col ref="col21" style="text-align:right; "/>
- <col ref="col22" style="text-align:right; "/>
- <col ref="col23" style="text-align:right; "/>
- <col ref="col24" style="text-align:right; "/>
- <col ref="col25" style="left:2690px; top:32px; width:110px; height:23px; text-align:right; "/>
- </datagrid>
- <caption id="caption4" style="left:5px; top:751px; width:995px; height:20px; font-weight:bold; ">※ 전년대비의료수익현황, 예산대비의료수익현황은 매월 1일부터 말일까지 조회해야 상호검증이 가능합니다.</caption>
- </xhtml:body>
- </xhtml:html>
|