123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- 2007.05.30 / 최초작성 / 이종찬
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>
- <list01>
- <griduncoinfo>
- <chkbox/>
- <clamflag/>
- <ioflag/>
- <ordym/>
- <ordfildcd/>
- <acptno/>
- <acptdd/>
- <cnt/>
- <medcaretotamt/>
- <ownbamt/>
- <insuclamamt/>
- <uncoyn/>
- <clamno/>
- </griduncoinfo>
- </list01>
- <rCSV/>
- </main>
- <send>
- <fromacptdd/>
- <toacptdd/>
- <clamtypecd/>
- <tmp>
- <list/>
- </tmp>
- <insukind/>
- </send>
- <init>
- <P0103list>
- <P0103>
- <cdid/>
- <cdnm/>
- </P0103>
- </P0103list>
- <P0155list>
- <P0155>
- <cdid/>
- <cdnm/>
- </P0155>
- </P0155list>
- <P0028list>
- <P0028>
- <cdid/>
- <cdnm/>
- </P0028>
- </P0028list>
- <P0235list>
- <P0235>
- <cdid/>
- <cdnm/>
- </P0235>
- </P0235list>
- <P0008list>
- <P0008>
- <cdid/>
- <cdnm/>
- </P0008>
- </P0008list>
- </init>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //20070214 chanie.캡션영역까지 체크박스로 만든다.
- grduncoinfo.fixedcellcheckbox(0,1) = true;
-
- CommCode_Load();
-
- // 그리드 행을 모두 삭제한다.
- model.removeNodeset("/root/main/list01/griduncoinfo");
- model.refresh();
- ]]>
- </script>
- <submission id="TRPIF10300" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list01"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TXPIF10301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/tmp"/>
- <submission id="TXPIF10302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/tmp"/>
- <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TXPIF10303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/tmp"/>
- <submission id="TXPIF10304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/tmp"/>
- </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" src="../../../com/batchinfoweb/js/ZSB001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
- // 공통코드 Load작업
- function CommCode_Load() {
- // 관련 Control 초기화
- zbcfGetCodeList(new Array("P0103"), new Array("/root/init/P0103list")); // 청구유형
- zbcfGetCodeList(new Array("P0155"), new Array("/root/init/P0155list")); // 청구구분
- zbcfGetCodeList(new Array("P0028"), new Array("/root/init/P0028list")); // 내원형태
- zbcfGetCodeList(new Array("P0235"), new Array("/root/init/P0235list")); // 진료분야
- model.refresh();
- }
- // 2007.09.10 초기화 함수
- function fInitialize(){
- // 조회 조건 입력값 초기화
- model.resetInstanceNode("/root/send");
- // 그리드 공라인 없애기
- model.removeNodeset("/root/main/list01/griduncoinfo");
- model.refresh();
- //
- // 포커스 이동
- model.setFocus("ipt_fromacptym");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:254px; height:14px; ">일괄접수정보생성조회</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <caption id="caption1" class="tit_2" style="left:6px; top:54px; width:147px; height:13px; ">일괄접수정보생성내역</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:69px; x2:1194px; y2:69px; "/>
- <group id="group4" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button15" class="btn1_letter2" navindex="4" style="left:1122px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRPIF10300");
- ]]>
- </script>
- </button>
- <line id="line2" class="line_4" style="x1:1106px; y1:7px; x2:1106px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption9" class="search_name" style="left:24px; top:9px; width:86px; height:17px; ">접수일자 :</caption>
- <caption id="caption3" class="search_name" style="left:375px; top:9px; width:86px; height:17px; ">청구유형 :</caption>
- <select1 id="combo4" ref="/root/send/clamtypecd" class="combo_search" navindex="3" visibility="hidden" appearance="minimal" style="left:716px; top:8px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0103list/P0103">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // 2007.10.16 청구유형 선택하면 조회버튼 누를 필요 없이 자동으로 조회하는 기능 추가
- submit("TRPIF10300");
- ]]>
- </script>
- </select1>
- <caption id="caption7" style="left:219px; top:10px; width:15px; height:15px; ">~</caption>
- <input id="ipt_fromacptym" ref="/root/send/fromacptdd" class="input_search" navindex="1" inputtype="date" maxlength="8" style="left:115px; top:8px; width:100px; height:19px; ">
- <!-- - 2007.05.30 / 화면수정 / 접수일자를 입력받는다. -->
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("button115", "DOMActivate");
- ]]>
- </script>
- <!-- - 2008.02.18 / 정숙희 선생님 요청사항. -->
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- model.setValue("/root/send/toacptdd",model.getValue("/root/send/fromacptdd"));
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/toacptdd",model.getValue("/root/send/fromacptdd"));
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_toacptym" ref="/root/send/toacptdd" class="input_search" navindex="2" inputtype="date" maxlength="8" style="left:233px; top:8px; width:100px; height:19px; ">
- <!-- - 2007.05.30 / 화면수정 / 접수일자를 입력받는다. -->
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("button4", "DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="rdo_clamtypecd" ref="/root/send/clamtypecd" class="radio_search" navindex="3" appearance="full" cellspacing="5" cols="4" overflow="visible" style="left:464px; top:10px; width:246px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>요양급여</label>
- <value>1</value>
- </item>
- <item>
- <label>의료급여</label>
- <value>4</value>
- </item>
- <item>
- <label>산재</label>
- <value>6</value>
- </item>
- </choices>
- <!-- - 2008.02.18 / 콤보를 라디오로 변경(정숙희 선생님 요청사항) -->
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- submit("TRPIF10300");
- ]]>
- </script>
- </select1>
- </group>
- <col type="checkbox"/>
- <button id="button1" class="btn2_letter2" visibility="hidden" style="left:920px; top:20px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 체크된 행을 가져온다.
- var nodeList = instance1.selectNodes("/root/main/list01/griduncoinfo[chkbox='true']");
- var rCSV = getNodeListCSV(nodeList);
-
- model.setValue("/root/main/rCSV", rCSV);
-
- // rCSV에 있는 자료를 전송보낼 인스턴스에 담는댜.
- var CSV = model.getValue("/root/main/rCSV");
- // 가비지 데이터를 삭제한다.
- model.resetInstanceNode("/root/send/tmp");
- //model.removeNodeset("/root/send/tmp");
-
- setCSVToNode("/root/send/tmp", CSV);
- // 미수 생성 요청
- submit("TXPIF10302");
-
- // 현재 조건으로 미수대상 조회(미수 생성 후 변경을 반영한다.)
- submit("TRPIF10300");
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter4" style="left:1130px; top:48px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "") {
- grduncoinfo.saveExcel(fileName, "SheetName", true, true, "", "", "");
- }
- ]]>
- </script>
- </button>
- <datagrid id="grduncoinfo" nodeset="/root/main/list01/griduncoinfo" caption="^생성^청구유형^청구구분^내원형태^진료년월^진료분야^접수번호^접수일자^청구건수^요양급여총액^본인부담금^청구액^본인상한초과금^지원금^장애인의료비^대불금^청구번호" colsep="^" colwidth="25, 35, 84, 75, 65, 75, 90, 82, 80, 85, 115, 115, 115, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:74px; width:1194px; height:668px; ">
- <col ref="chkbox" type="checkbox" visibility="hidden"/>
- <col ref="uncoyn" style="text-align:center; "/>
- <col disabled="true" ref="clamtypecd" style="text-align:center; "/>
- <col disabled="true" ref="clamflag" style="text-align:center; "/>
- <col ref="ioflag" style="text-align:center; "/>
- <col ref="ordym" format="yyyy-mm" style="text-align:center; "/>
- <col ref="ordfildcd" style="text-align:center; "/>
- <col ref="acptno" style="text-align:center; "/>
- <col ref="acptdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="cnt" format="#,###" style="text-align:right; "/>
- <col ref="medcaretotamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="ownbamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="insuclamamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="ownbmaxexamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="suppamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="handcaprfund" format="(-)#,###" style="text-align:right; "/>
- <col ref="subtamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="clamno" visibility="hidden" style="text-align:center; "/>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- </datagrid>
- <button id="button115" class="btn2_letter15" visibility="hidden" style="left:20px; top:145px; width:240px; height:19px; ">
- <caption>[인풋박스]접수일자로 포커스이동</caption>
- <!-- - 2007.05.30 / 화면수정 / 다음 인풋박스로 이동하기위한 [Enter] 이벤트 핸들러 -->
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setFocus("ipt_toacptym");
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter16" visibility="hidden" style="left:30px; top:155px; width:240px; height:19px; ">
- <caption>[인풋박스]환자유형으로 포커스이동</caption>
- <!-- - 2007.05.30 / 화면수정 / 다음 인풋박스로 이동하기위한 [Enter] 이벤트 핸들러 -->
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setFocus("combo4");
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter10" disabled="true" visibility="hidden" style="left:967px; top:18px; width:130px; height:19px; ">
- <caption>접수미수배치작업확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 2007.11.23 접수미수정보생성배치로그조회
- //modal("SPZSB00301", "", "400", "400" ,"SPZSB00301", "", "");
- var todd = getCurrentDate();
- todd = todd.toDate().getAddDate(+1, 'D');
- zsbfOpenBatchLogPopup("uncomngtmgr.AcptUncoCretBatch",getCurrentDate(),todd.getDateFormat());
- ]]>
- </script>
- </button>
- <button id="button10" class="btn2_letter3" style="left:932px; top:48px; width:53px; height:19px; ">
- <caption>열카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grduncoinfo.attribute("selectionmode") = "bycol";
- ]]>
- </script>
- </button>
- <button id="button11" class="btn2_letter3" style="left:987px; top:48px; width:53px; height:19px; ">
- <caption>행카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grduncoinfo.attribute("selectionmode") = "byrow";
- ]]>
- </script>
- </button>
- <button id="button13" class="btn2_letter3" style="left:877px; top:48px; width:53px; height:19px; ">
- <caption>셀카피</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grduncoinfo.attribute("selectionmode") = "free";
- ]]>
- </script>
- </button>
- <button id="button7" class="btn2_letter6" style="left:1042px; top:48px; width:86px; height:19px; ">
- <caption>Open Excel</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- try {
- window.exec("excel");
- } catch(e) {
- alert(e);
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="button42" class="btn4_letter6" disabled="true" visibility="hidden" style="left:915px; top:5px; width:104px; height:22px; ">
- <caption>접수미수생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 선택 항목이 아무것도 없을 때
- var chkflag;
- var cnt=0;
- int = 0;
-
- for (i = 1; i <grduncoinfo.rows; i++) {
- chkflag = model.getValue("/root/main/list01/griduncoinfo["+ i +"]/chkbox");
-
- if (chkflag == "true") {
- cnt++;
- }
- }
-
- if (cnt == 0) {
- messageBox("선택된 항목이 존재하지 않습니다. 체크 표시를", "C001");
- }
- // 체크된 행을 가져온다.
- var nodeList = instance1.selectNodes("/root/main/list01/griduncoinfo[chkbox='true']");
- var rCSV = getNodeListCSV(nodeList);
-
- model.setValue("/root/main/rCSV", rCSV);
-
- // rCSV에 있는 자료를 전송보낼 인스턴스에 담는댜.
- var CSV = model.getValue("/root/main/rCSV");
- // 노드 초기화
- model.destroy("/root/send/tmp");
- model.makeNode("/root/send/tmp");
-
- setCSVToNode("/root/send/tmp", CSV);
- // 미수 생성 요청
- //submit("TXPIF10301");
- submit("TXPIF10303");
-
- // 현재 조건으로 미수대상 조회(미수 생성 후 변경을 반영한다.)
- submit("TRPIF10300");
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- <button id="button3" class="btn4_letter3" visibility="visible" style="left:1127px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <!-- - 2007.05.30 / 화면수정 / 미수생성을 요청한다. -->
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <button id="button6" class="btn4_letter6" disabled="true" visibility="hidden" style="left:1021px; top:5px; width:104px; height:22px; ">
- <caption>접수미수삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 체크된 행을 가져온다.
- var nodeList = instance1.selectNodes("/root/main/list01/griduncoinfo[chkbox='true']");
- var rCSV = getNodeListCSV(nodeList);
-
- model.setValue("/root/main/rCSV", rCSV);
-
- // rCSV에 있는 자료를 전송보낼 인스턴스에 담는댜.
- var CSV = model.getValue("/root/main/rCSV");
- // 가비지 데이터를 삭제한다.
- model.resetInstanceNode("/root/send/tmp");
- //model.removeNodeset("/root/send/tmp");
-
- setCSVToNode("/root/send/tmp", CSV);
- // 미수 생성 요청
- //submit("TXPIF10302");
-
- submit("TXPIF10304");
-
- // 현재 조건으로 미수대상 조회(미수 생성 후 변경을 반영한다.)
- submit("TRPIF10300");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|