123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739 |
- <?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="">
- <send>
- <termflag>B</termflag>
- <fromdd/>
- <todd/>
- <clamym/>
- <clamdgfrom/>
- <clamdgto/>
- <ioflag>A</ioflag>
- <endyn>A</endyn>
- <patunitsrch1/>
- <patunitsrch2/>
- <certno/>
- <acdacptno/>
- <clamflag/>
- <insukind/>
- </send>
- <main>
- <list>
- <datagrid1>
- <insucd/>
- <insucmpymark/>
- <acptdd/>
- <ioflag/>
- <pid/>
- <patnm/>
- <patrrgstno/>
- <clamym/>
- <clamdg/>
- <orddeptcd/>
- <orddrid/>
- <indd/>
- <dschdd/>
- <interm/>
- <acdacptno/>
- <clamamt/>
- </datagrid1>
- <datagrid2>
- <ioflag/>
- <insucmpymark/>
- <ordym/>
- <clamdg/>
- <clamno/>
- <acptdd/>
- <acptno/>
- <clamcnt/>
- <clamamt/>
- </datagrid2>
- <datagrid3>
- <uncoym/>
- <clamym/>
- <ioflag/>
- <clamdg/>
- <orddeptcd/>
- <clamcnt/>
- <clamamt/>
- <avgordamt/>
- </datagrid3>
- <datagrid4>
- <insucd/>
- <clamym/>
- <insucmpymark/>
- <clamcnt/>
- <clamamt/>
- <acptdd/>
- </datagrid4>
- </list>
- <patinfo>
- <patinfolist/>
- </patinfo>
- </main>
- <init>
- <U0001list>
- <U0001>
- <cd/>
- <nm/>
- </U0001>
- </U0001list>
- <P0028list>
- <P0028>
- <cdid/>
- <cdnm/>
- </P0028>
- </P0028list>
- <P0155list>
- <P0155>
- <cdid/>
- <cdnm/>
- </P0155>
- </P0155list>
- </init>
- <hidden>
- <U0001>
- <cd/>
- <nm>전체</nm>
- </U0001>
- <U0002list>
- <U0002>
- <cdid/>
- <cdnm/>
- </U0002>
- </U0002list>
- <sppmc02500>
- <cond>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <insukind/>
- </cond>
- </sppmc02500>
- <excel>
- <seqno/>
- <printno/>
- </excel>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- CommCode_Load();
-
- // 그리드 초기화(행을 모두 삭제한다.)
- model.removeNodeset("/root/main/list/datagrid1");
- model.removeNodeset("/root/main/list/datagrid2");
- model.removeNodeset("/root/main/list/datagrid3");
- model.refresh();
-
-
- //model.setValue("/root/send/fromdd", getCurrentDate().toDate().getAddDate(-90).getDateFormat("YYYYMM"));
- //cmb_clamtype.select(1);
- model.refresh();
-
- model.setValue("/root/send/fromdd", getCurrentDate().substr(0, 6));
- model.setValue("/root/send/todd", getCurrentDate().substr(0, 6));
-
- fGetClamdg();
-
- // 손보사 코드 조회
- // submit("TRPIF70305");
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPIF30903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/U0002list"/>
- <!-- 손보사 리스트 조회 -->
- <submission id="TRPIF70305" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/U0001list"/>
- <!-- 손보사별/월별/과별 청구현황 -->
- <submission id="TRPIF71201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
- <submission id="TRPID20407" mediatype="application/x-www-form-urlencoded" method="post" ref="root/send" resultref="/root/init/clamdg"/>
- </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/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
- // 공통코드 Load작업
- function CommCode_Load() {
- // 관련 Control 초기화
- zbcfGetCodeList(new Array("P0028", "P0155"), new Array("/root/init/P0028list", "/root/init/P0155list"));
- //손보사 콤보 data 조회(자보미수관리 참조)
- submit("TRPIF70305");
-
- // 손보자 조회 조건에 전체가없어서 추가 해달라고 했는데 해당 조회 쿼리는 공통으로 쓰는거라
- // 임의로 추가함.
- // 20090108. JHP
- var node = root.init.U0001list;
- var addnode = root.hidden.U0001;
- var refnode = root.init.U0001list.U0001;
- node.insertbefore(addnode,refnode);
-
-
- }
-
- function fGetInAftJudgTrgtManList(){
-
- // 환자단위조회를 하는 경우
- var patunitsrch1 = model.getValue("/root/send/patunitsrch1").getTrim(); // (stringHelper.js) 문자열 앞뒤에 있는 공백 제거
- model.setValue("/root/send/patunitsrch1", patunitsrch1);
- if (patunitsrch1 == "") {
- model.setValue("/root/send/patunitsrch2", "");
- }
- else if (patunitsrch1.isNumber()) { // (numericHelper.js) 숫자가 입력된 경우 환자번호로 조회한다.
- /** [2007.03.23 jumi]
- Table Layout 상에는 pid가 VARCHAR(10) 이지만, 테스트용 data에서는 VARCHAR(8) 이므로 8자리로 구현함
- */
- // if (patunitsrch1.length < 8) {
- // model.setValue("/root/send/patunitsrch1", patunitsrch1.getLeftPad(8, "0")); // (stringHelper.js) 저장된 숫자 값에 원하는 길이만큼 '0'을 붙여 표현
- // }
- model.setValue("/root/send/patunitsrch2", "pidSrch");
- } else { // 문자가 입력된 경우 환자이름으로 조회한다.
- if (patunitsrch1.length > 1) {
- model.setValue("/root/send/patunitsrch2", "nmSrch");
- } else {
- model.setValue("/root/send/patunitsrch2", "");
- model.refresh();
- messageBox("환자단위조회시 검색할 환자이름은 2글자 이상", "C001"); ///환자단위조회시 검색할 환자이름은 2글자 이상 입력하십시오.
- return;
- }
- }
- }
-
- // 청구차수 함수
- function fGetClamdg() {
-
- var check = model.getValue("/root/send/termflag");
-
- if ( model.getValue("/root/send/fromdd") > model.getValue("/root/send/todd") ) {
- messageBox("종료일은 시작일보다 클 수 ", "I004");
- model.setValue("/root/send/todd","")
- }
-
- // 청구월일 경우
- if(check == "B"){
- if(model.getValue("/root/send/fromdd") != "" || model.getValue("/root/send/todd") != ""){
- model.removeNodeset("/root/init/clamdg");
- model.removenode("/root/init/clamdgfrom");
- model.removenode("/root/init/clamdgto");
- model.makeNode("/root/init/clamdg");
- model.setValue("/root/send/clamym",model.getValue("/root/send/fromdd"));
- model.setValue("/root/send/insukind","31");
- submit("TRPID20407");
- model.makeNode("/root/init/clamdgfrom");
- model.copyNode("/root/init/clamdgfrom","/root/init/clamdg");
- cmb_clamdgfrom.refresh();
-
-
- model.setValue("/root/send/clamym",model.getValue("/root/send/todd"));
- model.setValue("/root/send/insukind","31");
- submit("TRPID20407");
- model.makeNode("/root/init/clamdgto");
- model.copyNode("/root/init/clamdgto","/root/init/clamdg");
- addComboItem("cmb_clamdgfrom","전체","","above");
- addComboItem("cmb_clamdgto","전체","","above");
- cmb_clamdgto.refresh();
- }
- }
-
- }
-
- // 청구년월 차수 기간 체크, 동일한 월에 한에서만 차수로 검색이 가능하다.
- function fChkClamym() {
- var fromym = model.getValue("/root/send/fromacptym");
- var toym = model.getValue("/root/send/toacptym");
- var check = model.getValue("/root/send/termflag");
-
- if(check == "2"){
- if ( fromym != toym ){
-
- cmb_clamdgfrom.value = "";
- cmb_clamdgto.value = "";
- cmb_clamdgfrom.disabled = true;
- cmb_clamdgto.disabled = true;
-
- }else{
- cmb_clamdgfrom.disabled = false;
- cmb_clamdgto.disabled = false;
- cmb_clamdgfrom.select(0);
- cmb_clamdgto.select(0);
- }
- cmb_clamdgto.refresh();
- cmb_clamdgfrom.refresh();
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body class="datagrid2" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <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:311px; height:14px; ">청구현황(자보)</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:64px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:64px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button1" class="btn1_letter2" style="left:1118px; top:22px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- /*
- if(model.getValue("/root/send/clamdgfrom") == "") {
- messageBox("청구차수를","C002");
- model.setFocus("cmb_clamdgfrom");
- return false;
- }
- */
- /*
- if(model.getValue("/root/send/clamflag") == "") {
- messageBox("청구구분을","C002");
- model.setFocus("cmb_clamtype");
- return false;
- }
- */
-
- submit("TRPIF71201");
-
- if( getNodesetCount("/root/main/list/datagrid1/insucmpymark") > 0 ){
- datagrid1.multiTotals = true;
- datagrid1.subtotal("sum", datagrid1.colRef("insucmpymark"), datagrid1.colRef("clamamt"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", datagrid1.colRef("dschdd"), "기관별소계", true);
- //datagrid1.subtotal("count", datagrid1.colRef("insucmpymark"), datagrid1.colRef("interm"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", datagrid1.colRef("dschdd"), "기관별소계", true);
- datagrid1.subtotal("sum", -1, datagrid1.colRef("clamamt"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", datagrid1.colRef("dschdd"), "총합계", true);
- datagrid1.subtotal("count", -1, datagrid1.colRef("interm"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", datagrid1.colRef("dschdd"), "총합계", true);
-
- /*
- for(var i = 1; datagrid1.rows; i++) {
- if (datagrid1.valueMatrix(i, datagrid1.colRef("dschdd")) == "총합계" || datagrid1.valueMatrix(i, datagrid1.colRef("dschdd")) == "기관별소계") {
- datagrid1.valueMatrix(i, datagrid1.colRef("dschdd")) = datagrid1.valueMatrix(i, datagrid1.colRef("dschdd")) || '건';
- }
- }
- */
-
- }
- if( getNodesetCount("/root/main/list/datagrid2/insucmpymark") > 0 ){
- //datagrid1.subtotal("sum", datagrid1.colRef("insucmpymark"), datagrid1.colRef("clamamt"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", datagrid1.colRef("acdacptno"), "기관별소계 : ", true);
- datagrid2.multiTotals = true;
- datagrid2.subtotalPosition = "below";
- datagrid2.subtotal("sum", -1, datagrid2.colRef("clamcnt"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", datagrid2.colRef("insucmpymark"), "총합계", true);
- datagrid2.subtotal("sum", -1, datagrid2.colRef("clamamt"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", datagrid2.colRef("insucmpymark"), "총합계", true);
- datagrid2.subtotal("sum", -1, datagrid2.colRef("depoamt"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", datagrid2.colRef("insucmpymark"), "총합계", true);
- datagrid2.subtotal("sum", -1, datagrid2.colRef("fstcutamt"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", datagrid2.colRef("insucmpymark"), "총합계", true);
- datagrid2.subtotal("sum", -1, datagrid2.colRef("orgcutamt"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", datagrid2.colRef("insucmpymark"), "총합계", true);
- datagrid2.subtotal("sum", -1, datagrid2.colRef("uncoamt"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", datagrid2.colRef("insucmpymark"), "총합계", true);
- }
- if( getNodesetCount("/root/main/list/datagrid3/orddeptcd") > 0 ){
- datagrid3.multiTotals = true;
- datagrid3.subtotalPosition = "below";
- datagrid3.subtotal("sum", -1, datagrid3.colRef("clamcnt"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", datagrid3.colRef("orddeptcd"), "총합계", true);
- datagrid3.subtotal("sum", -1, datagrid3.colRef("clamamt"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", datagrid3.colRef("orddeptcd"), "총합계", true);
- datagrid3.subtotal("sum", -1, datagrid3.colRef("depoamt"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", datagrid3.colRef("orddeptcd"), "총합계", true);
- datagrid3.subtotal("sum", -1, datagrid3.colRef("fstcutamt"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", datagrid3.colRef("orddeptcd"), "총합계", true);
- datagrid3.subtotal("sum", -1, datagrid3.colRef("orgcutamt"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", datagrid3.colRef("orddeptcd"), "총합계", true);
- }
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1093px; y1:22px; x2:1093px; y2:44px; "/>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" format="yyyy-mm" style="left:140px; top:21px; width:85px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ipt_todd.value = ipt_fromdd.value;
- model.refreshpart("/root/send/todd");
- fGetClamdg();
- fChkClamym();
- ]]>
- </script>
- </input>
- <select1 id="radio1" ref="/root/send/ioflag" class="radio_search" appearance="full" cellspacing="5" cols="3" overflow="visible" style="left:727px; top:23px; width:145px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:640px; top:22px; width:86px; height:17px; ">내원유형 :</caption>
- <caption id="caption8" class="search_name" visibility="visible" style="left:890px; top:22px; width:87px; height:17px; ">손 보 사 :</caption>
- <select1 id="cmb_insucmpymark" ref="/root/send/certno" class="combo_search" visibility="visible" appearance="minimal" style="left:977px; top:21px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/U0001list/U0001">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_endyn" ref="/root/send/endyn" class="radio_search" visibility="hidden" appearance="full" cols="3" overflow="visible" style="left:1015px; top:5px; width:149px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>완료</label>
- <value>Y</value>
- </item>
- <item>
- <label>미완료</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption11" class="search_name" visibility="hidden" style="left:910px; top:4px; width:116px; height:17px; ">완 료 여 부 :</caption>
- <caption id="caption13" class="search_name" style="left:5px; top:22px; width:71px; height:17px; ">기간 :</caption>
- <input id="input11" ref="/root/send/acdacptno" class="input_search" visibility="hidden" style="left:255px; top:39px; width:78px; height:19px; "/>
- <caption id="caption17" class="search_name" visibility="hidden" style="left:150px; top:40px; width:112px; height:17px; ">사 고 번 호 :</caption>
- <select1 id="radio2" ref="/root/send/termflag" appearance="full" overflow="visible" style="left:65px; top:16px; width:65px; height:42px; border-style:none; ">
- <choices>
- <item>
- <label>청구월</label>
- <value>B</value>
- </item>
- <item>
- <label>청구일자</label>
- <value>C</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- if( model.getValue("/root/send/termflag") != 'C' ){
- model.setValue("/root/send/fromdd", "");
- model.setValue("/root/send/todd", "");
- ipt_fromdd.attribute("format") = "yyyy-mm";
- ipt_todd.attribute("format") = "yyyy-mm";
- ipt_fromdd.refresh();
- ipt_todd.refresh();
- }else{
- model.setValue("/root/send/fromdd", "");
- model.setValue("/root/send/todd", "");
- ipt_fromdd.attribute("format") = "yyyy-mm-dd";
- ipt_todd.attribute("format") = "yyyy-mm-dd";
- ipt_fromdd.refresh();
- ipt_todd.refresh();
- }
-
-
- // 청구월일때 차수콤보 활성화 그외는 비활성화
- if ( model.getValue("/root/send/termflag") == 'B' ){
- cmb_clamdgfrom.disabled = false;
- cmb_clamdgto.disabled = false;
- cmb_clamdgfrom.select(0);
- cmb_clamdgto.select(0);
- } else {
- cmb_clamdgfrom.value = "";
- cmb_clamdgto.value = "";
- cmb_clamdgfrom.disabled = true;
- cmb_clamdgto.disabled = true;
- }
-
- ]]>
- </script>
- </select1>
- <select1 id="cmb_clamdgfrom" ref="/root/send/clamdgfrom" class="combo_search" appearance="minimal" style="left:230px; top:21px; width:50px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/clamdgfrom/clamdglist">
- <label ref="clamdgnm"/>
- <value ref="clamdgcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- cmb_clamdgto.value = cmb_clamdgfrom.value;
- model.refreshpart("/root/send/clamdgto");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_clamtype" ref="/root/send/clamflag" class="combo_search" appearance="minimal" style="left:539px; top:20px; width:85px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0155list/P0155">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption14" class="search_name" style="left:449px; top:21px; width:93px; height:17px; ">청구구분 :</caption>
- <select1 id="cmb_clamdgto" ref="/root/send/clamdgto" class="combo_search" appearance="minimal" style="left:386px; top:21px; width:50px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/clamdgto/clamdglist">
- <label ref="clamdgnm"/>
- <value ref="clamdgcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" style="left:283px; top:22px; width:15px; height:20px; ">~</caption>
- <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" format="yyyy-mm" style="left:297px; top:21px; width:85px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- fGetClamdg();
- fChkClamym();
- ]]>
- </script>
- </input>
- </group>
- <switch id="switch1" class="sw_box" style="left:0px; top:104px; width:1194px; height:635px; ">
- <case id="case1" selected="true">
- <datagrid id="datagrid1" nodeset="/root/main/list/datagrid1" caption="코드^손보사^입/외^접수번호^등록번호^수진자명^주민번호^청구년월^차수^진료과^진료의^입원일^퇴원일^재원기간^청구액^사고접수번호^청구일자" colsep="^" colwidth="62, 140, 46, 72, 76, 70, 108, 80, 52, 100, 60, 78, 78, 62, 90, 134, 86" dataheight="25" defaultrows="2" ellipsis="true" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" subtotalposition="below" tooltip="true" style="left:4px; top:13px; width:1183px; height:613px; ">
- <col ref="insucd" style="text-align:center; "/>
- <col ref="insucmpymark" style="text-align:center; "/>
- <col ref="ioflag" style="text-align:center; "/>
- <col ref="acptno" style="text-align:center;"/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="patrrgstno" style="text-align:center; "/>
- <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
- <col ref="clamdg" style="text-align:center; "/>
- <col ref="orddeptcd" style="text-align:left; "/>
- <col ref="orddrid" style="text-align:left; "/>
- <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="interm" style="text-align:right; "/>
- <col ref="clamamt" format="#,###" style="text-align:right; "/>
- <col ref="acdacptno" style="text-align:left; "/>
- <col ref="acptdd" visibility="visible" format="yyyy-mm-dd" style="text-align:center; "/>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case2">
- <datagrid id="datagrid2" nodeset="/root/main/list/datagrid2" caption="청구월^차수^내원유형^코드^손보사^청구일자^청구건수^청구액" colsep="^" colwidth="80, 48, 60, 72, 124, 80, 66, 110" dataheight="25" defaultrows="2" ellipsis="true" explorerbar="sortshow" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" tooltip="true" style="left:4px; top:13px; width:1183px; height:613px; ">
- <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
- <col ref="clamdg" style="text-align:center; "/>
- <col ref="ioflag" style="text-align:center; "/>
- <col ref="insucd" style="text-align:center; "/>
- <col ref="insucmpymark" style="text-align:left; "/>
- <col ref="acptdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="clamcnt" format="#,###" style="text-align:right; "/>
- <col ref="clamamt" format="#,###" style="text-align:right; "/>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- </datagrid>
- <datagrid id="datagrid4" nodeset="/root/main/list/datagrid4" visibility="hidden" caption="코드^청구월^주소^손보사^일련번호^청구건수^청구액^청구일자" colsep="^" colwidth="68, 80, 100, 154, 80, 66, 110, 108" dataheight="25" defaultrows="2" ellipsis="true" explorerbar="sortshow" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" tooltip="true" style="left:165px; top:70px; width:777px; height:451px; ">
- <col ref="insucd" style="text-align:left; "/>
- <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
- <col ref="insucmpymarkaddr" style="text-align:left; "/>
- <col ref="insucmpymark" style="text-align:left; "/>
- <col ref="seqno" style="text-align:left; "/>
- <col ref="clamcnt" format="#,###" style="text-align:right; "/>
- <col ref="clamamt" format="#,###" style="text-align:right; "/>
- <col ref="acptdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case3">
- <datagrid id="datagrid3" nodeset="/root/main/list/datagrid3" caption="청구월^청구차수^내원유형^진료과^청구건수^청구액^건당평균진료비" colsep="^" colwidth="80, 70, 68, 140, 70, 110, 110" dataheight="25" defaultrows="2" ellipsis="true" explorerbar="sortshow" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" tooltip="true" style="left:4px; top:13px; width:1183px; height:613px; ">
- <col ref="clamym"/>
- <col ref="clamdg" style="text-align:center; "/>
- <col ref="ioflag" style="text-align:center; "/>
- <col ref="orddeptcd" style="text-align:left; "/>
- <col ref="clamcnt" format="#,###" style="text-align:right; "/>
- <col ref="clamamt" format="#,###" style="text-align:right; "/>
- <col ref="avgordamt" format="#,###" style="text-align:right; "/>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <button id="btn_rtndetl1" class="btn_sw" group="tab" selected="true" style="left:0px; top:83px; width:137px; height:22px; ">
- <caption>손보사별청구현황</caption>
- <toggle case="case1" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- btn_carlist.visible = true;
- cap_seqno.visible = false;
- ipt_seqno.visible = false;
- btn_insulist.visible = false;
- ]]>
- </script>
- </button>
- <button id="btn_rtndetl2" class="btn_sw" group="tab" style="left:137px; top:83px; width:137px; height:22px; ">
- <caption>월별청구현황</caption>
- <toggle case="case2" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- btn_carlist.visible = false;
- cap_seqno.visible = true;
- ipt_seqno.visible = true;
- btn_insulist.visible = true;
- ]]>
- </script>
- </button>
- <button id="btn_rtndetl3" class="btn_sw" group="tab" style="left:274px; top:83px; width:137px; height:22px; ">
- <caption>과별청구현황</caption>
- <toggle case="case3" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- btn_carlist.visible = false;
- cap_seqno.visible = false;
- ipt_seqno.visible = false;
- btn_insulist.visible = false;
- ]]>
- </script>
- </button>
- <button id="button10" class="btn2_letter3" visibility="hidden" style="left:489px; top:85px; width:53px; height:19px; ">
- <caption>열카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- datagrid1.attribute("selectionmode") = "bycol";
- datagrid2.attribute("selectionmode") = "bycol";
- datagrid3.attribute("selectionmode") = "bycol";
- ]]>
- </script>
- </button>
- <button id="button11" class="btn2_letter3" visibility="hidden" style="left:543px; top:85px; width:53px; height:19px; ">
- <caption>행카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- datagrid1.attribute("selectionmode") = "byrow";
- datagrid2.attribute("selectionmode") = "byrow";
- datagrid3.attribute("selectionmode") = "byrow";
- ]]>
- </script>
- </button>
- <button id="button12" class="btn2_letter4" style="left:1129px; top:84px; width:64px; height:19px; ">
- <caption>액셀저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(btn_rtndetl1.selected == true){
- var fileName = window.fileDialog("save", ",", false, '청구현황_손보사별청구현황', "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- datagrid1.saveExcel(fileName, "SheetName", true, true, "", "", "");
- }
- }else if(btn_rtndetl2.selected == true){
- var fileName = window.fileDialog("save", ",", false, '청구현황_월별청구현황', "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- datagrid2.saveExcel(fileName, "SheetName", true, true, "", "", "");
- }
- }else if(btn_rtndetl3.selected == true){
- var fileName = window.fileDialog("save", ",", false, '청구현황_과별청구현황', "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- datagrid3.saveExcel(fileName, "SheetName", true, true, "", "", "");
- }
- }
- ]]>
- </script>
- </button>
- <button id="button13" class="btn2_letter3" visibility="hidden" style="left:435px; top:85px; width:53px; height:19px; ">
- <caption>셀카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- datagrid1.attribute("selectionmode") = "free";
- datagrid2.attribute("selectionmode") = "free";
- datagrid3.attribute("selectionmode") = "free";
- ]]>
- </script>
- </button>
- <button id="btn_carlist" class="btn2_letter9" visibility="hidden" style="left:964px; top:84px; width:119px; height:19px; ">
- <caption>자보명단 액셀저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- if(btn_rtndetl1.selected == true){
- for(var i =1; i < datagrid1.rows; i++) {
- if (datagrid1.valueMatrix(i, datagrid1.colRef("pid")) == "")
- datagrid1.rowHidden(i) = true;
- }
- var fileName = window.fileDialog("save", ",", false, '자동차보험청구명단', "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- datagrid1.saveExcel(fileName, "SheetName;rowhiddenextend:false;exportfalsecols:2,6,7,10,11,12,15");
- }
-
- for(var i =1; i < datagrid1.rows; i++) {
- if (datagrid1.rowHidden(i) == true)
- datagrid1.rowHidden(i) = false;
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_insulist" class="btn2_letter11" visibility="hidden" style="left:790px; top:83px; width:140px; height:19px; ">
- <caption>손보사별청구액 액셀저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- if(btn_rtndetl2.selected == true){
-
- if (model.getValue("/root/hidden/excel/seqno") == "") {
- alert("일련번호를 입력하세요");
- model.setFocus("ipt_seqno");
- return false;
-
- } else {
- for(var i =1; i < datagrid4.rows; i++) {
- datagrid4.valueMatrix(i, datagrid4.colRef("seqno")) = model.getValue("/root/hidden/excel/seqno");
- }
- datagrid4.refresh();
- }
- var fileName = window.fileDialog("save", ",", false, '손보사별청구현황', "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- datagrid4.saveExcel(fileName, "SheetName;rowhiddenextend:false");
- }
-
- }
- ]]>
- </script>
- </button>
- <input id="ipt_seqno" ref="/root/hidden/excel/seqno" class="input_search" visibility="hidden" style="left:707px; top:82px; width:78px; height:19px; "/>
- <caption id="cap_seqno" style="left:644px; top:84px; width:60px; height:17px; ">일련번호 :</caption>
- <button id="button2" class="btn2_letter2" style="left:1085px; top:84px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(btn_rtndetl1.selected == true) {
- exeReportPreview("RPPIF71200", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
-
- }else if(btn_rtndetl2.selected == true) {
- model.setValue("/root/hidden/excel/printno" , model.getValue("/root/hidden/excel/seqno"));
- model.refresh();
- exeReportPreview("RPPIF80300", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; "/>
- <group id="group1" scroll="auto" style="left:0px; top:752px; width:1195px; height:28px; ">
- <button id="button45" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|