123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284 |
- <?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>
- <detlinfo>
- <item>
- <cdnm1/>
- <cdnm2/>
- <cmpynm/>
- <pid/>
- <hngnm/>
- <rrgstno/>
- <hopedd/>
- <sngbn/>
- <totpayamt/>
- <payownbamt/>
- <payinsubamt/>
- <payhealcntrbamt/>
- <paycmpybamt/>
- <sel/>
- <healexamdetlflag1/>
- <healexamdetlflag2/>
- <gubun/>
- <cmpycd/>
- </item>
- </detlinfo>
- <fstrsltinfo>
- <itemasso/>
- <itemjudg/>
- </fstrsltinfo>
- </main>
- <send>
- <srchhealexamdetlflag>
- </srchhealexamdetlflag>
- <srchhealexamflag/>
- <srchfromdd/>
- <srchtodd/>
- <srchcmpycd/>
- <srchcmpynm/>
- <srchinstcd/>
- <srchcondd/>
- <srchcontype/>
- <srchpkgcd/>
- <srchstatflag/>
- <srchpid/>
- <srchhngnm/>
- <srchrsrvdd/>
- <srchrsrvno/>
- <srchplceflag/>
- </send>
- <init>
- <baseinfo>
- <plceflag/>
- <healexamflag>
- <A0068>
- <cdid/>
- <cdnm/>
- </A0068>
- </healexamflag>
- <healexamdetlflag>
- <A0070>
- <cdid/>
- <cdnm/>
- </A0070>
- </healexamdetlflag>
- </baseinfo>
- </init>
- <hidden/>
- <temp>
- <send>
- <pid/>
- <hngnm/>
- </send>
- <preview/>
- </temp>
- </root>
- </instance>
- <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/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- fGetBaseInfo();
- fInitInfo();
- ]]>
- </script>
- <submission id="TRZBC00101"/>
- <submission id="TRAHR00931" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/detlinfo"/>
- </model>
- <script type="javascript">
- <![CDATA[
- var vHealExamFlag = "";
- var vHealExamDetlFlag = "";
- /**========================================================================================================================================
- * 초기화
- =========================================================================================================================================*/
- function fInitInfo(){
- var curDt = getCurrentDate();
- model.setValue(ipt_srchfromdd.attribute("ref") , curDt);
- model.setValue(ipt_srchtodd.attribute("ref") , curDt);
- model.refresh();
- }
-
- function fGetBaseInfo(){
- vHealExamFlag = "G"
-
- // vHealExamDetlFlag = ""
- zbcfGetCodeList( new Array("A0068","A0070", "A0110")
- ,new Array("/root/init/baseinfo/healexamflaglst"
- , "/root/init/baseinfo/healexamdetlflag"
- , "/root/init/baseinfo/plceflag" ) );
-
- //건진구분 콤보에 전체가 들어가게 한다.
- addComboItem("combo1","전체","","above");
- submit("TRZBC00101");
- }
- /**========================================================================================================================================
- * 상세현황조회
- =========================================================================================================================================*/
- function fGetRsrvAcptList(){
- model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
- //model.setValue("/root/send/srchinstcd", "011" );
- //alert(model.getValue("/root/send/srchinstcd") );
- //model.setValue("/root/send/srchhealexamflag" , vHealExamFlag);
- submit("TRAHR00931");
- }
-
- /**========================================================================================================================================
- * 그리드 색 바꾸기
- =========================================================================================================================================*/
- function fSetRcptSum() {
- //그리드 merge 및 합계 초기화
- grd_prntlst.autoMerge = false;
- grd_prntlst.mergeCells = "byrestriccol";
-
- grd_prntlst.subtotalPosition = "below";
- grd_prntlst.multiTotals = true;
-
- grd_prntlst.subtotal("clear", 0, 0);
- for(var i =0; i < grd_prntlst.cols ; i++) {
- // 소계
- if(i >= grd_prntlst.colRef("totpayamt") && i <= grd_prntlst.colRef("paycmpybamt")) {
- grd_prntlst.subtotal("sum", grd_prntlst.colRef("cdnm2") , i ,"format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold ", grd_prntlst.colRef("cdnm2") , "소계" );
- grd_prntlst.subtotal("sum", -1 , i ,"format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#808080; color:#ffffff; font-weight:bold ", grd_prntlst.colRef("cdnm1") , "총계" );
- }
- if(i >= grd_prntlst.colRef("hngnm") && i <= grd_prntlst.colRef("hngnm")) {
- grd_prntlst.subtotal("count", grd_prntlst.colRef("cdnm2") , i ,"format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold ", grd_prntlst.colRef("pid") , "환자수" );
- grd_prntlst.subtotal("count", -1 , i ,"format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#808080; color:#ffffff; font-weight:bold ", grd_prntlst.colRef("pid") ,"총환자수" );
- }
-
- /*if (grd_prntlst.valueMatrix(i, grd_prntlst.colRef("cdnm2")) == "소계") {
- grd_prntlst.rowStyle(i,"data", "background-color")="#7CBBDD";
- }
- // 소계
- if (grd_prntlst.valueMatrix(i, grd_prntlst.colRef("cdnm1")) == "총계") {
- grd_prntlst.rowStyle(i,"data", "background-color")="#808080";
- } */
- }
-
- grd_prntlst.merge();
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1196;1,1195;2,757;2,786;1,1192;" style="border-left-style:none; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:184px; height:14px; ">통합건진 상세수익분류</caption>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1194px; height:744px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:76px; x2:1191px; y2:76px; "/>
- <group id="group5" style="left:0px; top:9px; width:1193px; height:41px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption11" class="search_name" style="left:216px; top:12px; width:81px; height:17px; ">기준일자:</caption>
- <caption id="caption12" class="search_name" style="left:517px; top:12px; width:78px; height:17px; ">사업체 :</caption>
- <line id="line7" style="x1:1110px; y1:11px; x2:1110px; y2:31px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="ipt_srchfromdd" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:301px; top:12px; width:97px; height:19px; "/>
- <input id="ipt_srchtodd" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:413px; top:12px; width:97px; height:19px; "/>
- <input id="ipt_srchcmpycd" ref="/root/send/srchcmpycd" class="input_search" style="left:592px; top:11px; width:75px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_selcmpy", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_selcmpy" class="icon_search" style="left:672px; top:11px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetComnCd("SMAHA01500", "09" , "cd", ipt_srchcmpycd.currentText ,ipt_srchcmpycd.attribute("ref"), opt_srchcmpynm.attribute("ref"));
- ]]>
- </script>
- </button>
- <output id="opt_srchcmpynm" ref="/root/send/srchcmpynm" class="output_fix" style="left:694px; top:11px; width:116px; height:19px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1123px; top:10px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/main/detlinfo/item");
- model.refresh();
- fGetRsrvAcptList();
- fSetRcptSum();
-
- ]]>
- </script>
- </button>
- <caption id="caption19" class="search_n_b" style="left:399px; top:12px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <caption id="caption2" class="search_name" style="left:820px; top:12px; width:86px; height:17px; ">건진장소 :</caption>
- <select1 id="combo1" ref="/root/send/srchplceflag" appearance="minimal" style="left:910px; top:11px; width:75px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/plceflag/A0110">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetRsrvAcptList();
- fSetRcptSum();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_srchhealexamdetlflag" ref="/root/send/srchhealexamdetlflag" class="combo_search" appearance="minimal" style="left:120px; top:12px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamdetlflag/A0070">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetRsrvAcptList();
- fSetRcptSum();
- ]]>
- </script>
- </select1>
- <caption id="caption9" class="search_name" style="left:5px; top:12px; width:117px; height:17px; ">건진상세분류 :</caption>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:60px; width:151px; height:13px; ">상세현황</caption>
- <datagrid id="grd_prntlst" nodeset="/root/main/detlinfo/item" caption="건진구분명^건진상세구분명^사업장명^환자번호^성명^주민등록번호^건진일자^수납구분^총발생금액^개인금액^공단금액^보건소금액^단체금액^A01^A02^A03^A04^A05^A06^A07^A08^A09^A10^A11^A12^A13^A14^A15^A16^A17^A18^A19^A20^A21^A22^A23^A24^A25^A26^A27^A28^A29^TESTNM^소견 및 조치사항내용^판정일정^판정의ID^의사명^의사면허번호^TBDD^관리기관코드^조합명^기관코드^건진구분^INSTCD_1^orddd" colsep="^" colwidth="115, 115, 150, 90, 80, 110, 80, 70, 80, 80, 80, 80, 80" defaultrows="1" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:81px; width:1190px; height:634px; ">
- <col ref="cdnm1" style="text-align:center; "/>
- <col ref="cdnm2" style="text-align:center; "/>
- <col ref="cmpynm" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="rrgstno" style="text-align:center; "/>
- <col ref="hopedd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="sngbn"/>
- <col ref="totpayamt" format="(-,+)#,###" style="text-align:right; "/>
- <col ref="payownbamt" format="(-,+)#,###" style="text-align:right; "/>
- <col ref="payinsubamt" format="(-,+)#,###" style="text-align:right; "/>
- <col ref="payhealcntrbamt" format="(-,+)#,###" style="text-align:right; "/>
- <col ref="paycmpybamt" format="(-,+)#,###" style="text-align:right; "/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_prntlst.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="btn_excelsave" class="btn6_letter4" visibility="visible" style="left:1016px; top:19px; width:80px; height:22px; ">
- <caption>액셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- grd_prntlst.saveExcel(fileName, "SheetName", true, true, "", "", false);
- ]]>
- </script>
- </button>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:756px; width:1195px; height:28px; "/>
- </xhtml:body>
- </xhtml:html>
|