123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * @(#)SMPIB01700_심사자분배관리.xrw
- * 수정이력
- * - 2008.02.13 / 수정 / 박재형 / 청구구분 값 변경
- * - 2008.04.08 / 수정 / 박재형 / 심사구분추가, 심사구분에 따른 청구구분 변경, 화면명변경, 조회확인, 엑셀저장 등.
- * - 2008.05.08 / 수정 / 박재형 / 심사구분에 따른 사전, 사후 조건에 따른 조회정리완료, 세부조회 정리완료, 추후 clbs수정되면 쿼리수정요. (프로그램진척율을 80%찍기-창원샘)
- -->
- <?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>
- <judgkindlist>
- <judgkind>
- <judgrid/>
- <judgrnm/>
- <alldivcnt/>
- <totordamt/>
- <alldivsum/>
- <divcntrate/>
- <totordamtsum/>
- <totordamtrate/>
- </judgkind>
- </judgkindlist>
- <detljudgkindlist>
- <detljudgkind>
- <judgrid/>
- <judgrnm/>
- <orddeptcd/>
- <orddeptnm/>
- <atdoctid/>
- <atdoctnm/>
- <alldivcnt/>
- <totordamt/>
- <alldivsum/>
- <divcntrate/>
- <totordamtsum/>
- <totordamtrate/>
- </detljudgkind>
- </detljudgkindlist>
- <orddeptkindlist>
- <orddeptkind>
- <deptengabbr/>
- <orddeptcd/>
- <orddeptnm/>
- <alldivcnt/>
- <totordamt/>
- <alldivsum/>
- <divcntrate/>
- <totordamtsum/>
- <totordamtrate/>
- </orddeptkind>
- </orddeptkindlist>
- <detlorddeptkindlist>
- <detlorddeptkind>
- <orddeptcd/>
- <orddeptnm/>
- <judgrid/>
- <judgrnm/>
- <alldivcnt/>
- <totordamt/>
- <alldivsum/>
- <divcntrate/>
- <totordamtsum/>
- <totordamtrate/>
- </detlorddeptkind>
- </detlorddeptkindlist>
- </main>
- <send>
- <judgcondlist>
- <judgcond>
- <allinsukindflag/>
- <insukindflag/>
- <ioflag/>
- <judgment/>
- <clamflag/>
- <fromdd/>
- <degree/>
- <todd/>
- <degree1/>
- <delincl/>
- <insukindflagfirst/>
- <insukindflagtwo/>
- <insukindflagthree/>
- <insukindflagfour/>
- <insukindflagfive/>
- </judgcond>
- </judgcondlist>
- <judgkindlist>
- <judgkind>
- <judgrid/>
- <judgrnm/>
- <alldivcnt/>
- <allinsukindflag/>
- <insukindflag/>
- <ioflag/>
- <judgment/>
- <clamflag/>
- <fromdd/>
- <degree/>
- <todd/>
- <degree1/>
- <delincl/>
- <insukindflagfirst/>
- <insukindflagtwo/>
- <insukindflagthree/>
- <insukindflagfour/>
- <insukindflagfive/>
- </judgkind>
- </judgkindlist>
- <orddeptkindlist>
- <orddeptkind>
- <orddeptcd/>
- <orddeptnm/>
- <alldivcnt/>
- <allinsukindflag/>
- <insukindflag/>
- <ioflag/>
- <judgment/>
- <clamflag/>
- <fromdd/>
- <degree/>
- <todd/>
- <degree1/>
- <delincl/>
- <insukindflagfirst/>
- <insukindflagtwo/>
- <insukindflagthree/>
- <insukindflagfour/>
- <insukindflagfive/>
- </orddeptkind>
- </orddeptkindlist>
- <clammonth1>
- <clammonth>
- <clamflag/>
- <month/>
- </clammonth>
- </clammonth1>
- </send>
- <init>
- <fromdegree>
- <degree>
- <cdnm/>
- <cdid/>
- </degree>
- </fromdegree>
- <todegree>
- <degree>
- <cdnm/>
- <cdid/>
- </degree>
- </todegree>
- </init>
- <hidden/>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRPIB01701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/judgcondlist/judgcond" resultref="/root/main/judgkindlist"/>
- <submission id="TRPIB01702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/judgcondlist/judgcond" resultref="/root/main/orddeptkindlist"/>
- <submission id="TRPIB01703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/judgkindlist/judgkind" resultref="/root/main/detljudgkindlist"/>
- <submission id="TRPIB01704" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/orddeptkindlist/orddeptkind" resultref="/root/main/detlorddeptkindlist"/>
- <submission id="TRPIB01705" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/clammonth1/clammonth" resultref="/root/init/fromdegree"/>
- <submission id="TRPIB01706" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/clammonth1/clammonth" resultref="/root/init/todegree"/>
- </model>
- <!-- 기본적으로 많이 사용하는 공통함수-->
- <script type="javascript" src="../../../com/commonweb/js/common.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/commonweb/js/dateHelper.js"/>
- <!-- 기타 여러가지 필요한 함수를 신청한 공통함수-->
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize() {
- // 초기화 작업으로 조회부의 각 인스턴스들을 초기화한다.
- model.resetInstanceNode("/root/send/judgcondlist/judgcond/allinsukindflag");
- model.resetInstanceNode("/root/send/judgcondlist/judgcond/insukindflag");
- model.resetInstanceNode("/root/send/judgcondlist/judgcond/ioflag");
- model.resetInstanceNode("/root/send/judgcondlist/judgcond/judgment");
- model.resetInstanceNode("/root/send/judgcondlist/judgcond/clamflag");
- model.resetInstanceNode("/root/send/judgcondlist/judgcond/fromdd");
- model.resetInstanceNode("/root/send/judgcondlist/judgcond/degree");
- model.resetInstanceNode("/root/send/judgcondlist/judgcond/todd");
- model.resetInstanceNode("/root/send/judgcondlist/judgcond/degree1");
- model.resetInstanceNode("/root/send/judgcondlist/judgcond/delincl");
-
- // 4개의 그리드를 초기화한다.
- model.removeNodeset("/root/main/judgkindlist/judgkind");
- model.removeNodeset("/root/main/detljudgkindlist/detljudgkind");
- model.removeNodeset("/root/main/orddeptkindlist/orddeptkind");
- model.removeNodeset("/root/main/detlorddeptkindlist/detlorddeptkind");
-
- // 20100420 초기값추가
- var gToday = new Date();
- var gCurrentym = gToday.getDateFormat("YYYYMM")
- model.setValue("/root/send/judgcondlist/judgcond/fromdd",gCurrentym);
- model.setValue("/root/send/judgcondlist/judgcond/todd",gCurrentym);
-
- model.refresh();
-
- // 초기화작업 후 각 컨트롤들을 기본셋팅한다.
- rdo_allinsukindflag.select(0);
- rdo_ioflag.select(0);
- rdo_judgment.select(1);
- rdo_delincl.select(0);
-
- cmb_clamflag.select(0);
- }
-
- function fJudgRefChk() {
- // 지금하는 작업은 보험유형을 여러조건 선택하였을 경우 하나의 값으로 합쳐지기에
- // 그 값을 길이를 계산하여 각각 node를 생성하여 나눠서 담아놓는 작업이다.
- var insukindflag = model.getValue("/root/send/judgcondlist/judgcond/insukindflag");
- var insukindflaglength = insukindflag.length;
-
- if(insukindflaglength > 1){
- // insukindflag의 문자열에서 시작이 0에서 끝이 2인 사이의 문자열을 반환한다.
- //var insukindflagfirst = insukindflag.substring(0,2);
- var insukindflagfirst = insukindflag.substr(0,2);
-
- // insukindflag의 문자열에서 3번째문자열에서 시작해서 2개의 문자열을 반환한다.
- var insukindflagtwo = insukindflag.substr(3,2);
- // insukindflag의 문자열에서 6번째문자열에서 시작해서 2개의 문자열을 반환한다.
- var insukindflagthree = insukindflag.substr(6,2);
-
- if(insukindflagfirst == '20' || insukindflagtwo == '20' || insukindflagthree == '20'){
- model.setValue("/root/send/judgcondlist/judgcond/insukindflagfour", "21");
- model.setValue("/root/send/judgcondlist/judgcond/insukindflagfive", "22");
- }
- model.setValue("/root/send/judgcondlist/judgcond/insukindflagfirst",insukindflagfirst);
- model.setValue("/root/send/judgcondlist/judgcond/insukindflagtwo",insukindflagtwo);
- model.setValue("/root/send/judgcondlist/judgcond/insukindflagthree",insukindflagthree);
- }
- // 작업끝
-
- // 각 조회 조건 값들 확인
- // fJudgSearchChk();
- // case가 심사자인경우
- if(case_judgref.selected){
- // 기본조건으로 청구차수의 월을 입력했는지 확인하는 작업
- if(fClamChk()){
- submit("TRPIB01701");
- // 심사자 첫번째 그리드의 맨밑에 합계를 위한 row를 생성한다.
- grd_judgkind.subtotalPosition = "below";
- // 위에서 생성된 각 row를 더한다.
- grd_judgkind.subtotal("sum", -1, 3, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 1, "SUM", false);
- grd_judgkind.subtotal("sum", -1, 4, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 1, "SUM", false);
- grd_judgkind.subtotal("sum", -1, 5, "format:#,###; roundmode:ceil; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 1, "SUM", false);
- grd_judgkind.subtotal("sum", -1, 6, "format:#,###; roundmode:ceil; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 1, "SUM", false);
- // 합계row에 "SUM"이라는 글자를 넣기위해 merge를 한다.
- grd_judgkind.mergeByFree(grd_judgkind.rows - 1,1,grd_judgkind.rows - 1,2);
- // 그리드의 한 셀을 지정하여 셀속성을 정한다.
- grd_judgkind.cellStyle("text-align",grd_judgkind.rows - 1,1,grd_judgkind.rows - 1,2) = "center"
- var chkroundsumrows = grd_judgkind.rows - 1;
- // 사사오입시 100이 나오지 않을 수 있기에 100으로 값을 박는다.
- grd_judgkind.valueMatrix(grd_judgkind.rows - 1, 5) = 100;
- grd_judgkind.valueMatrix(grd_judgkind.rows - 1, 6) = 100;
- return true;
- };
- }
- // case가 진료과인경우
- if(case_orddeptref.selected){
- // 기본조건으로 청구차수의 월을 입력했는지 확인하는 작업
- if(fClamChk()){
- submit("TRPIB01702");
- grd_orddeptkind.subtotalPosition= "below";
- // 위에서 생성된 각 row를 더한다.
- grd_orddeptkind.subtotal("sum", -1, 4, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 1, "SUM", false);
- grd_orddeptkind.subtotal("sum", -1, 5, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 1, "SUM", false);
- grd_orddeptkind.subtotal("sum", -1, 6, "format:#,###; roundmode:ceil; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 1, "SUM", false);
- grd_orddeptkind.subtotal("sum", -1, 7, "format:#,###; roundmode:ceil; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 1, "SUM", false);
- // 합계row에 "SUM"이라는 글자를 넣기위해 merge를 한다.
- grd_orddeptkind.mergeByFree(grd_orddeptkind.rows - 1,1,grd_orddeptkind.rows - 1,3);
- // 그리드의 한 셀을 지정하여 셀속성을 정한다.
- grd_orddeptkind.cellStyle("text-align",grd_orddeptkind.rows - 1,1,grd_orddeptkind.rows - 1,2) = "center"
-
- // 사사오입시 100이 나오지 않을 수 있기에 100으로 값을 박는다.
- grd_orddeptkind.valueMatrix(grd_orddeptkind.rows - 1, 6) = 100;
- grd_orddeptkind.valueMatrix(grd_orddeptkind.rows - 1, 7) = 100;
-
- return true;
- };
- }
- }
- function fJudgSearchChk(){
- var fromdd = model.getValue("/root/send/judgcondlist/judgcond/fromdd");
- var todd = model.getValue("/root/send/judgcondlist/judgcond/todd");
- var currentdate = getCurrentDate();
- var currentdatemonth = currentdate.substr(1,4);
-
- // 청구차수 시작월을 입력하지 않았을경우 오늘날짜의 월로 맞춘다.
- if(fromdd == ""){
- model.setValue("/root/send/judgcondlist/judgcond/fromdd",currentdatemonth);
- fromdd = currentdatemonth;
- }
-
- // 청구종료일자를 입력하지 않았을경우 청구차수 시작월과 맞춰서 셋팅한다.
- if (todd == ""){
- var fromdd = model.getValue("/root/send/judgcondlist/judgcond/fromdd");
- model.setValue("/root/send/judgcondlist/judgcond/todd",fromdd);
- todd = fromdd;
- }
- }
-
- function fClamChk(){
- var fromdd = model.getValue("/root/send/judgcondlist/judgcond/fromdd");
- var todd = model.getValue("/root/send/judgcondlist/judgcond/todd");
- var judgment = model.getValue("/root/send/judgcondlist/judgcond/judgment");
-
- if(judgment == 'A'){
- if(fromdd == "" && todd == ""){
- messageBox("청구차수의 조회월을","C001");
- return false;
- }
- if(fromdd == "" && todd != ""){
- messageBox("청구차수의 시작월을","C001");
- return false;
- }
- if(fromdd != "" && todd == ""){
- messageBox("청구차수의 종료월을","C001");
- return false;
- }
- }
- return true;
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body scroll="auto" guideline="1,1211;2,783;" style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1211px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:150px; height:13px; ">심사자배분현황관리</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:15px; width:1211px; height:769px; ">
- <group id="group2" style="left:0px; top:8px; width:1211px; height:64px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" style="left:0px; top:3px; width:1210px; height:59px; "/>
- <caption id="caption2" class="search_name" style="left:36px; top:11px; width:106px; height:17px; ">보 험 유 형 :</caption>
- <button id="button1" class="btn1_letter2" style="left:1126px; top:20px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fJudgRefChk();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1095px; y1:15px; x2:1095px; y2:49px; "/>
- <caption id="caption7" class="search_name" style="left:36px; top:38px; width:106px; height:17px; ">청 구 구 분 :</caption>
- <select id="chk_insukindflag" ref="/root/send/judgcondlist/judgcond/insukindflag" overflow="visible" appearance="full" cols="5" style="left:210px; top:12px; width:173px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>보험</label>
- <value>11</value>
- </item>
- <item>
- <label>보호</label>
- <value>20</value>
- </item>
- <item>
- <label>자보</label>
- <value>31</value>
- </item>
- <item>
- <label>산재</label>
- <value>41</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // 보험유형의 개별적으로 선택되었으면 '전체'를 선택해제한다.
- var select = model.getValue("/root/send/judgcondlist/judgcond/insukindflag");
- if(select != ""){
- rdo_allinsukindflag.deselect();
- //rdo_allinsukindflag.disabled= true;
- }
-
- //보험유형의 길이를 재서 4개를 다 선택한 11자리가 되면 모두를 비선택하고 전체를 선택하게 한다.
- var selectlength = select.length;
- // 보험유형이 모두 선택을 누르면 개별보험유형은 초기화시키고 '전체'를 선택시킨다.
- if(selectlength == 11){
- model.resetInstanceNode("/root/send/judgcondlist/judgcond/insukindflag");
- rdo_allinsukindflag.select(0);
- rdo_allinsukindflag.disabled= false;
- }
- // if(select == "11 20 31 41"){
- // model.resetInstanceNode("/root/send/judgcondlist/judgcond/insukindflag");
- // rdo_allinsukindflag.select(0);
- // rdo_allinsukindflag.disabled= false;
- // }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- // 개별 보험유형이 하나도 선택되지 않았을경우 '전체'를 선택시키도록한다.
- var select = model.getValue("/root/send/judgcondlist/judgcond/insukindflag");
- if(select == ""){
- rdo_allinsukindflag.select(0);
- rdo_allinsukindflag.disabled= false;
- }
- ]]>
- </script>
- </select>
- <caption id="caption1" class="search_name" style="left:480px; top:10px; width:142px; height:17px; ">입 원 외 래 구 분 :</caption>
- <select1 id="rdo_ioflag" ref="/root/send/judgcondlist/judgcond/ioflag" appearance="full" cols="3" overflow="visible" style="left:635px; top:12px; width:95px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var ioflag = model.getValue("/root/send/judgcondlist/judgcond/ioflag");
- if(ioflag == "O"){
- rdo_judgment.select(1);
- rdo_judgment.disabled = true;
- }else{
- rdo_judgment.disabled = false;
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_fromdd" ref="/root/send/judgcondlist/judgcond/fromdd" inputtype="date" format="yyyy-mm" style="left:445px; top:37px; width:80px; height:19px; vertical-align:middle; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var clamflag = model.getValue("/root/send/judgcondlist/judgcond/clamflag");
- var frommonth = model.getValue("/root/send/judgcondlist/judgcond/fromdd");
- if(clamflag == ""){
- messagebox("청구구분을","C001");
- }else if(frommonth == ""){
- messagebox("청구차수 시작월을","C001");
- } else {
- model.setValue("/root/send/clammonth1/clammonth/clamflag",clamflag);
- model.setValue("/root/send/clammonth1/clammonth/month",frommonth);
-
- submit("TRPIB01705");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_todd" ref="/root/send/judgcondlist/judgcond/todd" inputtype="date" format="yyyy-mm" style="left:619px; top:37px; width:80px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var clamflag = model.getValue("/root/send/judgcondlist/judgcond/clamflag");
- var tomonth = model.getValue("/root/send/judgcondlist/judgcond/todd");
- if(clamflag == ""){
- messagebox("청구구분을","C001");
- } else if(tomonth == ""){
- messagebox("청구차수 종료월을","C001");
- }else{
- model.setValue("/root/send/clammonth1/clammonth/clamflag",clamflag);
- model.setValue("/root/send/clammonth1/clammonth/month",tomonth);
-
- submit("TRPIB01706");
- }
- ]]>
- </script>
- </input>
- <caption id="caption4" style="left:602px; top:37px; width:12px; height:19px; ">~</caption>
- <select1 id="rdo_allinsukindflag" ref="/root/send/judgcondlist/judgcond/allinsukindflag" appearance="full" overflow="visible" style="left:154px; top:12px; width:45px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>_</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // '전체'를 선택하였을 경우 개별 보험유형을 선택해제한다.
- chk_insukindflag.deselect(0);
- chk_insukindflag.deselect(1);
- chk_insukindflag.deselect(2);
- chk_insukindflag.deselect(3);
- ]]>
- </script>
- </select1>
- <caption id="caption5" class="search_name" style="left:855px; top:38px; width:106px; height:17px; ">삭 제 건 수 :</caption>
- <select1 id="rdo_delincl" ref="/root/send/judgcondlist/judgcond/delincl" appearance="full" cols="2" overflow="visible" style="left:975px; top:39px; width:87px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>제외</label>
- <value>I</value>
- </item>
- <item>
- <label>포함</label>
- <value>D</value>
- </item>
- </choices>
- </select1>
- <caption id="caption8" class="search_name" style="left:855px; top:9px; width:108px; height:17px; ">심 사 구 분 :</caption>
- <select1 id="rdo_judgment" ref="/root/send/judgcondlist/judgcond/judgment" appearance="full" cols="3" overflow="visible" style="left:975px; top:10px; width:95px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>사전</label>
- <value>B</value>
- </item>
- <item>
- <label>사후</label>
- <value>A</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // 심사구분에 따라 청구구분 cmb_judgflag, cmb_judgflag2의 visible, disabled를 변경한다.
- var judgment = model.getValue("/root/send/judgcondlist/judgcond/judgment");
-
- if (judgment == 'B'){
- cmb_clamflag.disabled= true;
- ipt_fromdd.disabled= true;
- cmb_degree.disabled= true;
- ipt_todd.disabled= true;
- cmb_degree1.disabled = true;
- rdo_delincl.disabled = true;
- } else {
- cmb_clamflag.disabled= false;
- ipt_fromdd.disabled= false;
- cmb_degree.disabled= false;
- ipt_todd.disabled= false;
- cmb_degree1.disabled = false;
- rdo_delincl.disabled = false;
- }
- ]]>
- </script>
- </select1>
- <!-- 수정이력 : 2008.04.08 : 박재형 : P0121코드참조 재원, 사후구분하여 재원따로 사후는 원청구에 정상(0),분리(3)적용하고 보완청구에 보완(1), 추가청구에 추가(2)적용시킨다. -->
- <!-- 수정이력 ; 2008.04.10 : 박재형 : 청구서상의 청구방법으로 하여야 하여 심사구분이 사전일때는 비활성, 사후일때는 활성으로 전체, 원, 누락원, 보완, 추가 청구로 한다. -->
- <select1 id="cmb_clamflag" ref="/root/send/judgcondlist/judgcond/clamflag" appearance="minimal" style="left:153px; top:37px; width:97px; height:19px; vertical-align:middle; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>원(분리)청구</label>
- <value>0</value>
- </item>
- <item>
- <label>보완청구</label>
- <value>1</value>
- </item>
- <item>
- <label>추가청구</label>
- <value>2</value>
- </item>
- <item>
- <label>누락청구</label>
- <value>4</value>
- </item>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" style="left:336px; top:38px; width:106px; height:17px; ">청 구 차 수 :</caption>
- <select1 id="cmb_degree" ref="/root/send/judgcondlist/judgcond/degree" class="combo_search" appearance="minimal" style="left:527px; top:37px; width:70px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/fromdegree/degree">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="DOMFocusIn">
- <![CDATA[
- // var clamflag = model.getValue("/root/send/judgcondlist/judgcond/clamflag");
- // var frommonth = model.getValue("/root/send/judgcondlist/judgcond/fromdd");
- //
- // if(clamflag == ""){
- // messagebox("청구구분을","C001");
- // }else if(frommonth == ""){
- // messagebox("청구차수 시작월을","C001");
- // } else {
- //
- // model.setValue("/root/send/clammonth1/clammonth/clamflag",clamflag);
- // model.setValue("/root/send/clammonth1/clammonth/month",frommonth);
- //
- // submit("TRPIB01705");
- // }
- ]]>
- </script>
- </select1>
- <select1 id="cmb_degree1" ref="/root/send/judgcondlist/judgcond/degree1" class="combo_search" appearance="minimal" style="left:701px; top:37px; width:70px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/todegree/degree">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="DOMFocusIn">
- <![CDATA[
- // var clamflag = model.getValue("/root/send/judgcondlist/judgcond/clamflag");
- // var tomonth = model.getValue("/root/send/judgcondlist/judgcond/todd");
- //
- // if(clamflag == ""){
- // messagebox("청구구분을","C001");
- // } else if(tomonth == ""){
- // messagebox("청구차수 종료월을","C001");
- // }else{
- // model.setValue("/root/send/clammonth1/clammonth/clamflag",clamflag);
- // model.setValue("/root/send/clammonth1/clammonth/month",tomonth);
- //
- // submit("TRPIB01706");
- // }
- ]]>
- </script>
- </select1>
- </group>
- <button id="btn_clspcd" class="btn_sw" group="tab" selected="true" style="left:0px; top:82px; width:85px; height:22px; ">
- <caption>심사자별</caption>
- <!--
- <toggle case="case_spcl" ev:event="onclick"/>
- -->
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // if (case_judgref.selected) { // 기존에 이미 선택되어 있는 tab인데 해당 tab을 다시 선택한 경우
- // if (swt_spclmemo.attribute("height") == "608") { // 세로로 확대된 창을 원래대로 한다.
- // swt_spclmemo.attribute("height") = "173";
- // grd_clsphist.attribute("height") = "165";
- // tar_judgrmk.attribute("height") = "130";
- // tar_edirmk.attribute("height") = "130";
- // } else { // textarea를 세로로 확대시킨다.
- // swt_spclmemo.attribute("height") = "608";
- // grd_clsphist.attribute("height") = "588";
- // tar_judgrmk.attribute("height") = "568";
- // tar_edirmk.attribute("height") = "568";
- // }
- // } else { // 기존에 선택되지 않은 tab인 경우
- // swt_spclmemo.attribute("height") = "608";
- // grd_clsphist.attribute("height") = "588";
- // tar_judgrmk.attribute("height") = "568";
- // tar_edirmk.attribute("height") = "568";
- // }
- model.toggle("case_judgref"); // 해당 tab 으로 토글시킨다.
-
- // 선택시 현재 조건으로 자동 조회 되게 한다.
- fJudgRefChk();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn_sw" group="tab" selected="false" style="left:84px; top:82px; width:85px; height:22px; ">
- <caption>진료과별</caption>
- <!--
- <toggle case="case_spcl" ev:event="onclick"/>
- -->
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // if (case_spclspec.selected) { // 기존에 이미 선택되어 있는 tab인데 해당 tab을 다시 선택한 경우
- // if (swt_spclmemo.attribute("height") == "608") { // 세로로 확대된 창을 원래대로 한다.
- // swt_spclmemo.attribute("height") = "173";
- // grd_clsphist.attribute("height") = "165";
- // tar_judgrmk.attribute("height") = "130";
- // tar_edirmk.attribute("height") = "130";
- // } else { // textarea를 세로로 확대시킨다.
- // swt_spclmemo.attribute("height") = "608";
- // grd_clsphist.attribute("height") = "588";
- // tar_judgrmk.attribute("height") = "568";
- // tar_edirmk.attribute("height") = "568";
- // }
- // } else { // 기존에 선택되지 않은 tab인 경우
- // swt_spclmemo.attribute("height") = "608";
- // grd_clsphist.attribute("height") = "588";
- // tar_judgrmk.attribute("height") = "568";
- // tar_edirmk.attribute("height") = "568";
- // }
- model.toggle("case_orddeptref"); // 해당 tab 으로 토글시킨다.
- // 선택시 현재 조건으로 자동 조회 되게 한다.
- fJudgRefChk();
- ]]>
- </script>
- </button>
- <switch id="switch1" style="left:0px; top:104px; width:1211px; height:665px; ">
- <case id="case_judgref" selected="true" style="left:0px; top:0px; width:1211px; height:665px; ">
- <datagrid id="grd_judgkind" nodeset="/root/main/judgkindlist/judgkind" class="datagrid2" caption="심사자ID^심사자^건수^총진료비^건수비율(%)^진료비비율" colsep="^" colwidth="157, 161, 197, 276, 197, 200" dataheight="23" defaultrows="2" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:0px; width:1211px; height:321px; ">
- <col ref="judgrid" type="output" style="text-align:center; "/>
- <col ref="judgrnm" type="output" style="text-align:center; "/>
- <col ref="alldivcnt" type="output" style="text-align:center; "/>
- <col ref="totordamt" type="output" format="#,###" style="text-align:right; "/>
- <col ref="divcntrate" type="output" style="text-align:center; "/>
- <col ref="totordamtrate" type="output" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- // 그리드 전체row수에서 1을 뺀다.
- var rows = grd_judgkind.rows - 1;
- // 위의 값하고 선택된 row의 값하고 같으면 마지막 sum하는 row이기때문에 세부조회가 되지않는다는 메세지 띄운다.
- if(rows == grd_judgkind.row){
- messageBox("합계는 조회 할 수","I004");
- return false;
- }
- // 선택된 row의 심사자id, 심사자명, 건수를 받는다.
- var judgrid = model.getValue("/root/main/judgkindlist/judgkind[" + grd_judgkind.row+ "]/judgrid");
- var judgrnm = model.getValue("/root/main/judgkindlist/judgkind[" + grd_judgkind.row+ "]/judgnm");
- var alldivcnt = model.getValue("/root/main/judgkindlist/judgkind[" + grd_judgkind.row+ "]/alldivcnt");
-
- // 조회부의 값을 받는다.
- var allinsukindflag = model.getValue("/root/send/judgcondlist/judgcond/allinsukindflag");
- var insukindflag = model.getValue("/root/send/judgcondlist/judgcond/insukindflag");
- var ioflag = model.getValue("/root/send/judgcondlist/judgcond/ioflag");
- var judgment = model.getValue("/root/send/judgcondlist/judgcond/judgment");
-
- var clamflag = model.getValue("/root/send/judgcondlist/judgcond/clamflag");
-
- var fromdd = model.getValue("/root/send/judgcondlist/judgcond/fromdd");
- var degree = model.getValue("/root/send/judgcondlist/judgcond/degree");
-
- var todd = model.getValue("/root/send/judgcondlist/judgcond/todd");
- var degree1 = model.getValue("/root/send/judgcondlist/judgcond/degree1");
- var delincl = model.getValue("/root/send/judgcondlist/judgcond/delincl");
-
- // 개별 보험유형의 값을 나누어서 받는다.
- var insukindflaglength = insukindflag.length;
-
- if(insukindflaglength > 1){
- // insukindflag의 문자열에서 시작이 0에서 끝이 2인 사이의 문자열을 반환한다.
- var insukindflagfirst = insukindflag.substring(0,2);
- // insukindflag의 문자열에서 3번째문자열에서 시작해서 2개의 문자열을 반환한다.
- var insukindflagtwo = insukindflag.substr(3,2);
- // insukindflag의 문자열에서 6번째문자열에서 시작해서 2개의 문자열을 반환한다.
- var insukindflagthree = insukindflag.substr(6,2);
-
- if(insukindflagfirst == '20' || insukindflagtwo == '20' || insukindflagthree == '20'){
- model.setValue("/root/send/judgkindlist/judgkind/insukindflagfour", "21");
- model.setValue("/root/send/judgkindlist/judgkind/insukindflagfive", "22");
- }
-
- model.setValue("/root/send/judgkindlist/judgkind/insukindflagfirst",insukindflagfirst);
- model.setValue("/root/send/judgkindlist/judgkind/insukindflagtwo",insukindflagtwo);
- model.setValue("/root/send/judgkindlist/judgkind/insukindflagthree",insukindflagthree);
- }
-
- // 생성된 노드에 받아놓은 값을 넣는다.
- model.setValue("/root/send/judgkindlist/judgkind/judgrid",judgrid);
- model.setValue("/root/send/judgkindlist/judgkind/judgrnm",judgrnm);
- model.setValue("/root/send/judgkindlist/judgkind/alldivcnt",alldivcnt);
-
- model.setValue("/root/send/judgkindlist/judgkind/allinsukindflag",allinsukindflag);
- model.setValue("/root/send/judgkindlist/judgkind/insukindflag",insukindflag);
- model.setValue("/root/send/judgkindlist/judgkind/ioflag",ioflag);
- model.setValue("/root/send/judgkindlist/judgkind/judgment",judgment);
-
- model.setValue("/root/send/judgkindlist/judgkind/clamflag",clamflag);
-
- model.setValue("/root/send/judgkindlist/judgkind/fromdd",fromdd);
- model.setValue("/root/send/judgkindlist/judgkind/degree",degree);
-
- model.setValue("/root/send/judgkindlist/judgkind/todd",todd);
- model.setValue("/root/send/judgkindlist/judgkind/degree1",degree1);
- model.setValue("/root/send/judgkindlist/judgkind/delincl",delincl);
- submit("TRPIB01703")
-
- // 마지막에 합계를 위한 row를 생성하고 sum을 실행하고 merge를 실행하고 cell스타일을 지정한다.
- grd_detljudgkind.subtotalPosition = "below";
- grd_detljudgkind.subtotal("sum", -1, 6, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 1, "SUM", false);
- grd_detljudgkind.subtotal("sum", -1, 7, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 1, "SUM", false);
- grd_detljudgkind.subtotal("sum", -1, 8, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 1, "SUM", false);
- grd_detljudgkind.subtotal("sum", -1, 9, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 1, "SUM", false);
- grd_detljudgkind.mergeByFree(grd_detljudgkind.rows - 1,1,grd_detljudgkind.rows - 1,5);
- grd_detljudgkind.cellStyle("text-align",grd_detljudgkind.rows - 1,1,grd_detljudgkind.rows - 1,5) = "center"
-
- // 사사오입시 100이 나오지 않을 수 있기에 100으로 값을 박는다.
- grd_detljudgkind.valueMatrix(grd_detljudgkind.rows - 1, 8) = 100;
- grd_detljudgkind.valueMatrix(grd_detljudgkind.rows - 1, 9) = 100;
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_detljudgkind" nodeset="/root/main/detljudgkindlist/detljudgkind" class="datagrid2" caption="심사자ID^심사자^진료과^진료의ID^진료의^건수^총진료비^건수비율(%)^진료비비율" colsep="^" colwidth="110, 109, 110, 130, 120, 130, 218, 130, 130" dataheight="23" defaultrows="2" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:330px; width:1211px; height:334px; ">
- <col ref="judgrid" type="output" style="text-align:center; "/>
- <col ref="judgrnm" type="output" style="text-align:center; "/>
- <col ref="orddeptnm" type="output" style="text-align:center; "/>
- <col ref="atdoctid" type="output" style="text-align:center; "/>
- <col ref="atdoctnm" type="output" style="text-align:center; "/>
- <col ref="alldivcnt" type="output" style="text-align:center; "/>
- <col ref="totordamt" type="output" format="#,###" style="text-align:right; "/>
- <col ref="divcntrate" type="output" style="text-align:center; "/>
- <col ref="totordamtrate" type="output" style="text-align:center; "/>
- </datagrid>
- <line id="line1" class="line_1" style="x1:1px; y1:324px; x2:1210px; y2:324px; "/>
- </case>
- <case id="case_orddeptref" style="left:0px; top:0px; width:1211px; height:665px; ">
- <datagrid id="grd_orddeptkind" nodeset="/root/main/orddeptkindlist/orddeptkind" class="datagrid2" caption="진료과^진료과코드^과명^건수^총진료비^건수비율(%)^진료비비율" colsep="^" colwidth="197,197,197,197,197,197,203" dataheight="23" defaultrows="2" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:0px; width:1210px; height:320px; ">
- <col ref="deptengabbr" type="output" style="text-align:center; "/>
- <col ref="orddeptcd" type="output" visibility="hidden" style="text-align:center; "/>
- <col ref="orddeptnm" type="output" style="text-align:center; "/>
- <col ref="alldivcnt" type="output" style="text-align:center; "/>
- <col ref="totordamt" type="output" format="#,###" style="text-align:right; "/>
- <col ref="divcntrate" type="output" style="text-align:center; "/>
- <col ref="totordamtrate" type="output" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- // 그리드 전체row수에서 1을 뺀다.
- var rows = grd_orddeptkind.rows - 1;
- // 위의 값하고 선택된 row의 값하고 같으면 마지막 sum하는 row이기때문에 세부조회가 되지않는다는 메세지 띄운다.
- if(rows == grd_orddeptkind.row){
- messageBox("합계는 조회 할 수","I004");
- return false;
- }
- // 선택된 row의 진료과코드, 진료과명, 건수를 받는다.
- var orddeptcd = model.getValue("/root/main/orddeptkindlist/orddeptkind[" + grd_orddeptkind.row+ "]/orddeptcd");
- var orddeptnm = model.getValue("/root/main/orddeptkindlist/orddeptkind[" + grd_orddeptkind.row+ "]/orddeptnm");
- var alldivcnt = model.getValue("/root/main/orddeptkindlist/orddeptkind[" + grd_orddeptkind.row+ "]/alldivcnt");
-
- // 조회부의 값을 받는다.
- var allinsukindflag = model.getValue("/root/send/judgcondlist/judgcond/allinsukindflag");
- var insukindflag = model.getValue("/root/send/judgcondlist/judgcond/insukindflag");
- var ioflag = model.getValue("/root/send/judgcondlist/judgcond/ioflag");
- var judgment = model.getValue("/root/send/judgcondlist/judgcond/judgment");
- var clamflag = model.getValue("/root/send/judgcondlist/judgcond/clamflag");
-
- var fromdd = model.getValue("/root/send/judgcondlist/judgcond/fromdd");
- var degree = model.getValue("/root/send/judgcondlist/judgcond/degree");
- var todd = model.getValue("/root/send/judgcondlist/judgcond/todd");
- var degree1 = model.getValue("/root/send/judgcondlist/judgcond/degree1");
- var delincl = model.getValue("/root/send/judgcondlist/judgcond/delincl");
-
- // 개별보험유형의 길이를 받는다.
- var insukindflaglength = insukindflag.length;
-
- // 개별보험유형을 각각 나누어서 받는다. 그리고 임의의 노드를 생성하여 넣어놓는다.
- if(insukindflaglength > 1){
- // insukindflag의 문자열에서 시작이 0에서 끝이 2인 사이의 문자열을 반환한다.
- var insukindflagfirst = insukindflag.substring(0,2);
- // insukindflag의 문자열에서 3번째문자열에서 시작해서 2개의 문자열을 반환한다.
- var insukindflagtwo = insukindflag.substr(3,2);
- // insukindflag의 문자열에서 6번째문자열에서 시작해서 2개의 문자열을 반환한다.
- var insukindflagthree = insukindflag.substr(6,2);
-
- if(insukindflagfirst == '20' || insukindflagtwo == '20' || insukindflagthree == '20'){
- model.setValue("/root/send/orddeptkindlist/orddeptkind/insukindflagfour", "21");
- model.setValue("/root/send/orddeptkindlist/orddeptkind/insukindflagfive", "22");
- }
-
- model.setValue("/root/send/orddeptkindlist/orddeptkind/insukindflagfirst",insukindflagfirst);
- model.setValue("/root/send/orddeptkindlist/orddeptkind/insukindflagtwo",insukindflagtwo);
- model.setValue("/root/send/orddeptkindlist/orddeptkind/insukindflagthree",insukindflagthree);
- }
-
- // 받아놓은 값을 임의의 노드에 넣는다.
- model.setValue("/root/send/orddeptkindlist/orddeptkind/orddeptcd",orddeptcd);
- model.setValue("/root/send/orddeptkindlist/orddeptkind/orddeptnm",orddeptnm);
- model.setValue("/root/send/orddeptkindlist/orddeptkind/alldivcnt",alldivcnt);
-
- model.setValue("/root/send/orddeptkindlist/orddeptkind/allinsukindflag",allinsukindflag);
- model.setValue("/root/send/orddeptkindlist/orddeptkind/insukindflag",insukindflag);
- model.setValue("/root/send/orddeptkindlist/orddeptkind/ioflag",ioflag);
- model.setValue("/root/send/orddeptkindlist/orddeptkind/judgment",judgment);
- model.setValue("/root/send/orddeptkindlist/orddeptkind/clamflag",clamflag);
-
- model.setValue("/root/send/orddeptkindlist/orddeptkind/fromdd",fromdd);
- model.setValue("/root/send/orddeptkindlist/orddeptkind/degree",degree);
- model.setValue("/root/send/orddeptkindlist/orddeptkind/todd",todd);
- model.setValue("/root/send/orddeptkindlist/orddeptkind/degree1",degree1);
-
- model.setValue("/root/send/orddeptkindlist/orddeptkind/delincl",delincl);
-
- submit("TRPIB01704")
-
- // 합계를 위한 row를 생성하고 각 cell별 합계를 실행하며 'sum'글자를 넣기위한 머지를 하고 셀스타일을 지정한다.
- grd_detlorddeptkind.subtotalPosition = "below";
- grd_detlorddeptkind.subtotal("sum", -1, 5, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 1, "SUM", false);
- grd_detlorddeptkind.subtotal("sum", -1, 6, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 1, "SUM", false);
- grd_detlorddeptkind.subtotal("sum", -1, 7, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 1, "SUM", false);
- grd_detlorddeptkind.subtotal("sum", -1, 8, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold; ", 1, "SUM", false);
- grd_detlorddeptkind.mergeByFree(grd_detlorddeptkind.rows - 1,1,grd_detlorddeptkind.rows - 1,6);
- grd_detlorddeptkind.cellStyle("text-align",grd_detlorddeptkind.rows - 1,1,grd_detlorddeptkind.rows - 1,6) = "center"
-
- // 사사오입시 100이 나오지 않을 수 있기에 100으로 값을 박는다.
- grd_detlorddeptkind.valueMatrix(grd_detlorddeptkind.rows - 1, 9) = 100;
- grd_detlorddeptkind.valueMatrix(grd_detlorddeptkind.rows - 1, 10) = 100;
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_detlorddeptkind" nodeset="/root/main/detlorddeptkindlist/detlorddeptkind" class="datagrid2" caption="진료과^과명^심사자ID^심사자^진료의ID^진료의^건수^총진료비^건수비율(%)^진료비비율" colsep="^" colwidth="140,125,110,110,110,110,110,150,110,110" dataheight="23" defaultrows="2" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:330px; width:1210px; height:334px; ">
- <col ref="orddeptcd" type="output" style="text-align:center; "/>
- <col ref="orddeptnm" type="output" style="text-align:center; "/>
- <col ref="judgrid" type="output" style="text-align:center; "/>
- <col ref="judgrnm" type="output" style="text-align:center; "/>
- <col ref="atdoctid" type="output" style="text-align:center; "/>
- <col ref="atdoctnm" type="output" style="text-align:center; "/>
- <col ref="alldivcnt" type="output" style="text-align:center; "/>
- <col ref="totordamt" type="output" format="#,###" style="text-align:right; "/>
- <col ref="divcntrate" type="output" style="text-align:center; "/>
- <col ref="totordamtrate" type="output" style="text-align:center; "/>
- </datagrid>
- <line id="line2" class="line_1" style="x1:1px; y1:324px; x2:1210px; y2:324px; "/>
- </case>
- </switch>
- <button id="button3" class="btn2_letter4" navindex="5" style="left:1141px; top:84px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(case_judgref.selected){
- var mesnum = messageBox("상단 기본정보 엑셀받기는 예, 하단 상세정보 엑셀받기는 아니오","S001");
- alert(mesnum);
-
- if(mesnum == "6"){
- if (grd_judgkind.rows == 1) {
- return;
- }
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "")
- {
- grd_judgkind.saveExcel(fileName, "심사배분현황관리-심사자별 일반조회", true, true, "", "", true);
- }
- }
-
- if(mesnum == "7"){
- if (grd_detljudgkind.rows == 1) {
- return;
- }
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "")
- {
- grd_detljudgkind.saveExcel(fileName, "심사배분현황관리-심사자별 세부조회", true, true, "", "", true);
- }
- }
-
- if(mesnum == "2"){
- return false;
- }
-
- }else{
-
- var mesnum = messageBox("심사자별 일반조회는 예, 심사자별 세부조회는 아니오","S001");
-
- if(mesnum == "6"){
- if (grd_orddeptkind.rows == 1) {
- return;
- }
-
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_orddeptkind.saveExcel(fileName, "심사배분현황관리-진료과별 일반조회", true, true, "", "", true);
- }
- }
-
- if(mesnum == "7"){
- if (grd_detlorddeptkind.rows == 1) {
- return;
- }
-
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_detlorddeptkind.saveExcel(fileName, "심사배분현황관리-진료과별 세부조회", true, true, "", "", true);
- }
- }
-
- if(mesnum == "2"){
- return false;
- }
-
- }
- ]]>
- </script>
- </button>
- <caption id="caption14" class="tit_2" visibility="hidden" style="left:505px; top:85px; width:455px; height:13px; color:#0000ff; ">속도문제로 사전조회시 금액은 30일 이내 내역으로 제한하여 조회합니다.</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|