123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * @(#)SSSTC00100_통계조회.xrw
- * 수정이력
- * - 2008.06.24 / 최초작성 / 박정화
- * /* 이 화면은 통합통계조회 공통화면으로 각 장표별 layout 을 DB에 적용하여 업무구분별로 검색기준 및 장표 Grid를 Dynamic 하게 조회가 가능하도록 설계하였다.
- 장표에 대한 layout 은 STS.SDCMRPTM 에서 관리하고, 화면은 하나로 구현하며, OPEN시 각 업무별 화면 parameter 를 활용하여 UI를 구성한다. */
- -->
- <?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/>
- <send>
- <in_cdflag/>
- <in_lrgcd/>
- <in_mdlcd/>
- <in_smlcd/>
- <in_rptcd/>
- <in_cond1/>
- <in_cond2/>
- <in_cond3/>
- <in_cond4/>
- <in_cond5/>
- <in_cond6/>
- <in_cond7/>
- <in_cond8/>
- <in_cond9/>
- <in_cond10/>
- <in_fromdd/>
- <in_todd/>
- <in_fromdd2/>
- <in_todd2/>
- <in_deptcd/>
- <in_doctcd/>
- <cond>
- <condnum/>
- </cond>
- <listcombo/>
- <in_pid/>
- <list/>
- <usernm/>
- <instnm/>
- <date/>
- <combo1/>
- <combo2/>
- <combo3/>
- <combo4/>
- <combo5/>
- <combo6/>
- <combo7/>
- <combo8/>
- <combo9/>
- <combo10/>
- <in_submit/>
- <in_sum1/>
- <in_sum2/>
- <in_sum3/>
- <in_sum>01</in_sum>
- <in_filenm/>
- <data>
- <pid/>
- <srchcond/>
- </data>
- </send>
- <hide>
- <etc>
- <today/>
- </etc>
- <condsend>
- <dept/>
- </condsend>
- </hide>
- <init>
- <rptm>
- <lrg>
- <lrgcd>
- <lrgcd/>
- <lrgnm/>
- </lrgcd>
- </lrg>
- <mdl>
- <mdlcd>
- <mdlcd/>
- <mdlnm/>
- </mdlcd>
- </mdl>
- <sml>
- <smlcd>
- <smlcd/>
- <smlnm/>
- </smlcd>
- </sml>
- <rpt>
- <rptcd>
- <rptcd/>
- <rptnm/>
- </rptcd>
- </rpt>
- </rptm>
- <rptm_cond>
- <func>
- <func>
- <funccd/>
- </func>
- </func>
- <cond1>
- </cond1>
- <cond2>
- </cond2>
- <cond3>
- </cond3>
- <cond4>
- </cond4>
- <cond5>
- </cond5>
- <cond6>
- </cond6>
- <cond7>
- </cond7>
- <cond8>
- </cond8>
- <cond9>
- </cond9>
- <cond10>
- </cond10>
- <grdform>
- <grdform>
- <grdtitle/>
- <grdsize/>
- <colcount/>
- </grdform>
- </grdform>
- <cond>
- <condcd>
- <cd/>
- <nm/>
- </condcd>
- </cond>
- </rptm_cond>
- <rptInfo>
- <rptInfoList/>
- </rptInfo>
- </init>
- <basicSample>
- </basicSample>
- <hidden>
- <sppmc02500>
- <cond>
- <!-- SPPMC02500_환자조회 화면으로 검색조건을 보내는 경로임 -->
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- </cond>
- </sppmc02500>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 화면 초기화
- fInitialize();
- cb_rpt.select(0);
- model.setValue("root/send/usernm", getUserName());
- model.setValue("root/send/instnm", getUserInfo("posinstnm"));
- model.setValue("root/send/date", getCurrentDateTime());
-
- // 2008.08.22 By 강모씨
- // # 콤보 리스트를 쿼리에서 가져 오기 위한 설정
- // 최초 로딩시에는 공통으로 뽑을 수도 있으나 그 수가 제한적이고 도리어 햇갈릴 수 있으므로 따로 하기로 결심
- // @추가해야 할 코드들
- // 1. DB에서 sts.sdcmrptm 테이블의 코드번호를 지정해 준다.
- // 1.1 99 - temp, 98 - 지역, 97 - 청구차수, 96 - 심사자, 95 - 진료과
- // 1.2 꼭 코드를 맞춰 줄 필요는 없다. StsComMgtImpl에서 mdlcd를 비교할 때 사용할 뿐이다.
- // 하지만 조건 코드가 없으면 콤보박스가 hidden 이 되기 때문에 코드값은 꼭 있어야 한다.
- // 2. 아래에서 장표번호를 매치 시켜서 조건에 맞는 submission을 호출한다.
- // 조건 순서가 정확히 일치 하지 않는다면 submission을 새로 생성해야 한다.
- // 3. StsComMgtImpl 의 getStsComboList 메서드에서 조건에 따라 쿼리문을 연결한다. 꼭 들어 맞는 조건이 없다면 만든다.
- // 적절한 조건이 없어서 submission을 생성했다면 조건에 맞게 if 절을 추가해 주도록 한다.
- // 2009.01.07 syjung 보험에서 사용하는 submit 종류
- // A : 청구차수 B : 시도 C : 시군구 D : 심사자 E : 청구과 F : 처방과
-
- // !!!!!!요주의!!!!! -> 테스트 용도로 하드 코딩한 상태에서 절대 커밋 하지 말것 !!!!!!!!!!!!!!!!
- // var a = '030103RR00736H';
- // var gScrParmR = a.substr(6,7);
-
- var gScrParmR = getScreenMenuParameter().substr(6,7);
-
- // gScrParmR = "RR01142";
-
- // 환자수내역
- if (gScrParmR == "RR00823") {
- ipt_procdd.visible = true;
- ipt_procdd.attribute("format") = "yyyy";
- input1.visible = false;
- }
-
- // 예산대비의료수익현황
- if (gScrParmR == "RR00827") {
- ipt_procdd.visible = true;
- ipt_procdd.attribute("format") = "yyyy";
- input1.visible = false;
- }
-
- // 전년대비의료수익현황
- if (gScrParmR == "RR00829") {
- ipt_procdd.visible = true;
- // ipt_procdd.attribute("format") = "yyyy";
- // input1.visible = false;
-
-
- // 조회부분의 기간이 하나로 표현되는 부분을 from~to로 표현하기 위해 로직 수정-강태훈(09.10.12)
- input1.visible = true;
-
- var temp = input1.value;
- var temp1 = temp.toDate("YYYYMMDD");
- temp1.getAddDate(-1,"Y");
- ipt_procdd.value = temp1.getDateFormat();
-
- ipt_procdd.attribute("format") = "yyyy";
- ipt_procdd.refresh();
- input1.attribute("format") = "yyyy";
- input1.refresh();
-
- }
-
- // 외래환자현황
- if (gScrParmR == "RR00843") {
- input1.visible = false;
- }
-
- //중간청구리스트
- if (gScrParmR == "RR01099")
- {
- ipt_procdd.visible = true;
- ipt_procdd.attribute("format") = "yyyy-mm";
- input1.visible = false;
- }
-
- if (gScrParmR == "RR00797")
- {
- cb_cond1_1.select(1);
- }
-
- if (gScrParmR == "RR00701")
- {
- input1.visible = false;
- btn_cmmt.visible = true;
- cb_cond3_1.select(1);
- cb_cond4_1.select(0);
- setgridcaption();
- }
-
- if (gScrParmR == "RR00702")
- {
- input1.visible = false;
- cb_cond2_1.select(1);
- setgridcaption();
- }
-
- if (gScrParmR == "RR01149")
- { // 시도 리스트
- model.setValue("/root/send/in_submit","B");
- submit("TRSTC00800");
- cb_cond5_2.select(0);
- //청구차수
- model.setValue("/root/send/in_submit","A");
- submit("TRSTC00901");
- cb_cond7_2.select(0);
-
- model.setValue("/root/send/in_sum","01");
- model.setValue("/root/send/in_sum1","00");
- model.setValue("/root/send/in_sum2","00");
- model.setValue("/root/send/in_sum3","00");
-
- grp_sum.visible = true;
- }
-
- if (gScrParmR == "RR00756" )
- { // 청구 차수
- model.setValue("/root/send/in_submit","A");
- submit("TRSTC00900");
- cb_cond6_3.select(0);
- }
-
- if (gScrParmR == "RR00730" )
- { // 청구 차수
- model.setValue("/root/send/in_submit","A");
- submit("TRSTC00903");
- cb_cond8_8.select(0);
- }
-
- if (gScrParmR == "RR00736" )
- { // 청구 차수
- model.setValue("/root/send/in_submit","A");
- submit("TRSTC00903");
- cb_cond8_8.select(0);
- }
-
- if (gScrParmR == "RR00742" )
- { // 청구 차수
- model.setValue("/root/send/in_submit","A");
- submit("TRSTC00903");
- cb_cond8_8.select(0);
- }
-
- if (gScrParmR == "RR01140" || gScrParmR == "RR01141" )
- { //청구 차수
- model.setValue("/root/send/in_submit","A");
- submit("TRSTC00900");
- cb_cond6_3.select(0);
- }
-
- if (gScrParmR == "RR01147" )
- { //청구차수
- model.setValue("/root/send/in_submit","A");
- submit("TRSTC00901");
- cb_cond7_2.select(0);
- }
-
- if (gScrParmR == "RR01148" )
- { //청구차수
- model.setValue("/root/send/in_submit","A");
- submit("TRSTC00901");
- cb_cond7_2.select(0);
- }
-
- if (gScrParmR == "RR01143")
- { // 청구차수
- model.setValue("/root/send/in_submit","A");
- submit("TRSTC00901");
- cb_cond7_7.select(0);
- // 시도
- model.setValue("/root/send/in_submit","B");
- submit("TRSTC00800");
- cb_cond5_7.select(0);
- }
-
- if (gScrParmR == "RR01139")
- { //심사자
- model.setValue("/root/send/in_submit","D");
- submit("TRSTC01000");
- cb_cond4_4.select(0);
- //진료과
- model.setValue("/root/send/in_submit","F");
- submit("TRSTC00800");
- cb_cond5_4.select(0);
-
- model.setValue("/root/send/in_cond6","true");
- model.setValue("/root/send/in_cond2","01");
- model.setValue("/root/send/in_cond7","01");
- }
-
- if (gScrParmR == "RR01142")
- { // 상한금 지원금 대상자(진료과)
- model.setValue("/root/send/in_submit","F");
- submit("TRSTC00800");
- cb_cond5_5.select(0);
- // 청구차수
- model.setValue("/root/send/in_submit","A");
- submit("TRSTC00902");
- cb_cond9_5.select(0);
- }
-
- if (gScrParmR == "RR01146") // 재원/퇴원 심사현황
- {
- // tmp 노드로 복사해 와서 해당 콤보 조건에 집어 넣는다
- model.setValue("/root/send/listcombo",model.getValue("/root/init/rptInfo/rptInfoList/cond3"));
- model.setValue("/root/send/in_submit","F");
- submit("TRSTC01100");
- model.copyNode("/root/init/rptm_cond/cond3","/root/tmp");
-
- model.setValue("/root/send/listcombo",model.getValue("/root/init/rptInfo/rptInfoList/cond4"));
- model.setValue("/root/send/in_submit","D");
- submit("TRSTC01100");
- model.copyNode("/root/init/rptm_cond/cond4","/root/tmp");
-
- model.removeNodeset("/root/tmp");
-
- cb_cond3_6.select(0);
- cb_cond4_6.select(0);
- }
-
- if (gScrParmR == "RR00732")
- { // 청구 차수
- model.setValue("/root/send/in_submit","A");
- submit("TRSTC00903");
- cb_cond8_8.select(0);
-
- caption8.visible = false;
- input8.visible = false;
- }
-
- if (gScrParmR == "RR01141")
- {
- caption1.visible = false;
- input11.visible = false;
- }
-
- if (gScrParmR == "RR01140")
- {
- caption10.visible = false;
- input2.visible = false;
- }
-
- if (gScrParmR == "RR00708" )
- {
- input1.visible = false;
- cap_time.visible = true;
- ipt_time.visible = true;
- caption7.visible = true;
- // 선택진료조건
- model.setValue("/root/send/in_cond4","02");
- model.setValue("/root/send/in_cond5","10");
- }
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRSTC00100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/rptm"/>
- <submission id="TRSTC00200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/rptm_cond"/>
- <submission id="TRSTC00300" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/rptm_grid"/>
- <submission id="TRSTC00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/rptInfo"/>
- <submission id="TRSTC00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond" resultref="/root/init/rptm_cond/cond"/>
- <submission id="TRSTC00700" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/rptm_cond/cond6"/>
- <submission id="TRSTC00800" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/rptm_cond/cond5"/>
- <submission id="TRSTC00900" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/rptm_cond/cond6"/>
- <submission id="TRSTC01000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/rptm_cond/cond4"/>
- <submission id="TRSTC01100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/tmp"/>
- <submission id="TRSTC01200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/rptm_cond/cond2"/>
- <submission id="TRSTC00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/rptm_cond/cond7"/>
- <submission id="TRSTC00902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/rptm_cond/cond9"/>
- <submission id="TRSTC00903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/rptm_cond/cond8"/>
- <submission id="TXSTC00200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../sts/stscomweb/js/SSSTC00100.js"/>
- <script type="javascript" src="../../../com/batchinfoweb/js/ZSB001.js"/>
- <script type="javascript">
- <![CDATA[
- function getweekday(enddd){
- var printday;
-
- if (enddd.toDate().getDay() == 0) {
- printday = "일";
- } else if (enddd.toDate().getDay() == 1) {
- printday = "월";
- } else if (enddd.toDate().getDay() == 2) {
- printday = "화";
- } else if (enddd.toDate().getDay() == 3) {
- printday = "수";
- } else if (enddd.toDate().getDay() == 4) {
- printday = "목";
- } else if (enddd.toDate().getDay() == 5) {
- printday = "금";
- } else if (enddd.toDate().getDay() == 6) {
- printday = "토";
- }
-
- return printday;
- }
-
- function setgridcaption() {
- if (model.getValue("/root/send/in_rptcd") == "RR00701") {
- // 일보
- if ( model.getValue("/root/send/in_cond1") == "01" ) {
- dgrd_rpt.colHidden(6) = true;
- dgrd_rpt.colHidden(7) = true;
- dgrd_rpt.colHidden(8) = true;
- dgrd_rpt.colHidden(9) = true;
- dgrd_rpt.colHidden(10) = true;
-
- var enddd = model.getValue("/root/send/in_fromdd");
- dgrd_rpt.caption = "구분^구분^명칭^"+enddd.substr(4,2)+"월 "+enddd.substr(6,2)+"일"+"^월누계^일평균^|구분^구분^명칭^"+getweekday(enddd)+"^월누계^일평균^";
- dgrd_rpt.refresh();
- } // 월보
- else if ( model.getValue("/root/send/in_cond1") == "02" ) {
- dgrd_rpt.colHidden(6) = false;
- dgrd_rpt.colHidden(7) = false;
- dgrd_rpt.colHidden(8) = false;
- dgrd_rpt.colHidden(9) = false;
- dgrd_rpt.colHidden(10) = false;
-
- var enddd = model.getValue("/root/send/in_fromdd");
- var benddd1 = enddd.toDate("YYYYMMDD");
- var benddd2 = enddd.toDate("YYYYMMDD");
-
- benddd1 = benddd1.getAddDate(-1,"M").getDateFormat("YYYYMMDD") ;
- benddd2 = benddd2.getAddDate(-1,"Y").getDateFormat("YYYYMMDD") ;
-
- // if (model.getValue("/root/send/in_cond2")=="01") {
- // benddd1 = benddd.getAddDate(-1,"M").getDateFormat("YYYYMMDD") ;
- // } else if (model.getValue("/root/send/in_cond2")=="02") {
- // benddd2 = benddd.getAddDate(-1,"Y").getDateFormat("YYYYMMDD") ;
- // }
- dgrd_rpt.caption = "구분^구분^명칭^"+enddd.substr(0,4)+"년 "+enddd.substr(4,2)+"월"+"^일평균^전월^전월^전월^전년동월^전년동월^전년동월^|구분^구분^명칭^"+enddd.substr(0,4)+"년 "+enddd.substr(4,2)+"월"+"^일평균^"+benddd1.substr(0,4)+"년 "+benddd1.substr(4,2)+"월"+"^증감^증감율^"+benddd2.substr(0,4)+"년 "+benddd2.substr(4,2)+"월"+"^증감^증감율^";
- dgrd_rpt.refresh();
- } //년보
- else if ( model.getValue("/root/send/in_cond1") == "03" ) {
- dgrd_rpt.colHidden(6) = false;
- dgrd_rpt.colHidden(7) = true;
- dgrd_rpt.colHidden(8) = true;
- dgrd_rpt.colHidden(9) = true;
- dgrd_rpt.colHidden(10) = true;
-
- var enddd = model.getValue("/root/send/in_fromdd");
- var benddd1 = enddd.toDate("YYYYMMDD");
- var benddd2 = enddd.toDate("YYYYMMDD");
-
- benddd1 = benddd1.getAddDate(-1,"M").getDateFormat("YYYYMMDD") ;
- benddd2 = benddd2.getAddDate(-1,"Y").getDateFormat("YYYYMMDD") ;
-
- dgrd_rpt.caption = "구분^구분^명칭^"+enddd.substr(0,4)+"년"+"^전년^전년^전년^|구분^구분^명칭^"+enddd.substr(0,4)+"년"+"^"+benddd1.substr(0,4)+"년"+"^증감^증감율^";
- dgrd_rpt.refresh();
- }
- } else if (model.getValue("/root/send/in_rptcd") == "RR00702") {
- var enddd = model.getValue("/root/send/in_fromdd");
-
- var enddd1 = enddd;
- var weekday1 = getweekday(enddd1);
- enddd1=enddd1.substr(4,2)+"월 "+enddd1.substr(6,2)+"일";
- var enddd2 = enddd.toDate("YYYYMMDD").getAddDate(1,"D").getDateFormat("YYYYMMDD");
- var weekday2 = getweekday(enddd2);
- enddd2=enddd2.substr(4,2)+"월 "+enddd2.substr(6,2)+"일";
- var enddd3 = enddd.toDate("YYYYMMDD").getAddDate(2,"D").getDateFormat("YYYYMMDD");
- var weekday3 = getweekday(enddd3);
- enddd3=enddd3.substr(4,2)+"월 "+enddd3.substr(6,2)+"일";
- var enddd4 = enddd.toDate("YYYYMMDD").getAddDate(3,"D").getDateFormat("YYYYMMDD");
- var weekday4 = getweekday(enddd4);
- enddd4=enddd4.substr(4,2)+"월 "+enddd4.substr(6,2)+"일";
- var enddd5 = enddd.toDate("YYYYMMDD").getAddDate(4,"D").getDateFormat("YYYYMMDD");
- var weekday5 = getweekday(enddd5);
- enddd5=enddd5.substr(4,2)+"월 "+enddd5.substr(6,2)+"일";
- var enddd6 = enddd.toDate("YYYYMMDD").getAddDate(5,"D").getDateFormat("YYYYMMDD");
- var weekday6 = getweekday(enddd6);
- enddd6=enddd6.substr(4,2)+"월 "+enddd6.substr(6,2)+"일";
- var enddd7 = enddd.toDate("YYYYMMDD").getAddDate(6,"D").getDateFormat("YYYYMMDD");
- var weekday7 = getweekday(enddd7);
- enddd7=enddd7.substr(4,2)+"월 "+enddd7.substr(6,2)+"일";
-
- dgrd_rpt.caption = "구분^구분^명칭^"+enddd1+"^"+enddd2+"^"+enddd3+"^"+enddd4+"^"+enddd5+"^"+enddd6+"^"+enddd7+"^합계^합계^합계^일평균^일평균^일평균^|구분^구분^명칭^"+weekday1+"^"+weekday2+"^"+weekday3+"^"+weekday4+"^"+weekday5+"^"+weekday6+"^"+weekday7+"^금주^벤치마크^증감^금주^벤치마크^증감"
- dgrd_rpt.refresh();
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1190" pageheight="1000" style="font-family:돋움, Arial; font-size:12px; color:#4d4d4d; ">
- <object id="tfexcel" clsid="{fe8d1001-6a9d-424d-ae2a-301493bb12da}" visibility="hidden" style="left:950px; top:55px; width:180px; height:35px; "/>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:163px; height:14px; ">통계조회</caption>
- <group id="group1" style="left:0px; top:15px; width:1146px; height:30px; ">
- <shape id="roundrect3" appearance="roundrect" style="left:0px; top:0px; width:1143px; height:30px; "/>
- <caption id="caption30" class="search_name" style="left:6px; top:5px; width:102px; height:17px; ">통합통계장표</caption>
- <input id="ipt_procdd" ref="/root/send/in_fromdd" class="input_search" navindex="2" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:592px; top:5px; width:90px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- //진료실적(일보,월보)
- if (model.getValue("/root/send/in_rptcd") == "RR00701") {
- //일보
- if ( model.getValue("/root/send/in_cond1") == "01" ) {
- model.setValue("/root/send/in_todd",model.getValue("/root/send/in_fromdd"));
- } //월보
- else if ( model.getValue("/root/send/in_cond1") == "02" ) {
- model.setValue("/root/send/in_fromdd",model.getValue("/root/send/in_fromdd").substr(0,6)+"01");
- var FirstDate = model.getValue("/root/send/in_fromdd")
- var LastDate = FirstDate.toDate("YYYYMMDD")
- LastDate = LastDate.getAddDate(1,"M").getAddDate(-1,"D").getDateFormat("YYYYMMDD") ;
- model.setValue("/root/send/in_todd",LastDate);
- } //년보
- else if ( model.getValue("/root/send/in_cond1") == "03" ) {
- model.setValue("/root/send/in_fromdd",model.getValue("/root/send/in_fromdd").substr(0,4)+"0101");
- var FirstDate = model.getValue("/root/send/in_fromdd")
- var LastDate = FirstDate.toDate("YYYYMMDD")
- LastDate = LastDate.getAddDate(1,"Y").getAddDate(-1,"D").getDateFormat("YYYYMMDD") ;
- model.setValue("/root/send/in_todd",LastDate);
- }
- setgridcaption();
- } //진료실적(주보)
- if (model.getValue("/root/send/in_rptcd") == "RR00702") {
- model.setValue("/root/send/in_todd",model.getValue("/root/send/in_fromdd"));
- setgridcaption();
- }
- ]]>
- </script>
- </input>
- <button id="btn_execute" class="btn4_letter2" navindex="3" style="left:995px; top:4px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group5.visible = false;
- ObjGrp = document.all("group_c1");
-
- if(ObjGrp.attribute("visibility") == 'visible')
- {
- //조회 날자 세팅
- if(model.getValue("/root/send/in_fromdd") > model.getValue("/root/send/in_todd") ){
- if (input1.visible == true) {
- messageBox("시작 일자는 종료일자보다 클 수 없습니다.! 다시 " , "C001");
- return ;
- }
- }
- else if(model.getValue("/root/send/in_fromdd") < '19500000' ){
- messageBox("시작 일자는 1950년 보다 이전일 수 없습니다.! 다시 " , "C001");
- return ;
- }
-
- }
-
-
- ObjGrp = document.all("group_c2");
-
- if (ObjGrp.attribute("visibility") == "visible" )
- {
- if ( cb_cond2_2.value == "" || cb_cond3_2.value == "" )
- {
- messageBox("청구구분/ 보험유형 조건을","C002");
- return;
- }
- }
-
- ObjGrp = document.all("group_c3");
-
- if (ObjGrp.attribute("visibility") == "visible" )
- {
- if ( cb_cond2_3.value == "" || cb_cond4_3.value == "" )
- {
- messageBox("청구구분/ 보험유형 조건을","C002");
- return;
- }
- }
-
- ObjGrp = document.all("group_c4");
-
- if (ObjGrp.attribute("visibility") == "visible" )
- {
- if ( cb_cond2_4.value == "")
- {
- messageBox("보험유형 조건을","C002");
- return;
- }
- }
-
- ObjGrp = document.all("group_c5");
-
- if (ObjGrp.attribute("visibility") == "visible" )
- {
- if ( cb_cond2_5.value == "")
- {
- messageBox("청구형태 조건을","C002");
- return;
- }
- }
-
- ObjGrp = document.all("group_c7");
-
- if (ObjGrp.attribute("visibility") == "visible" )
- {
- if ( cb_cond3_7.value == "")
- {
- messageBox("청구형태 조건을","C002");
- return;
- }
- }
-
- ObjGrp = document.all("group_c8");
-
- if (ObjGrp.attribute("visibility") == "visible" )
- {
- if ( cb_cond2_8.value == "" || cb_cond3_8.value == "" )
- {
- messageBox("청구구분/ 보험유형 조건을","C002");
- return;
-
- }
- }
-
- if ( model.getValue("/root/send/in_rptcd") == "RR01146" )
- {
- if ( model.getValue("/root/send/in_cond1") == "02" )
- {
- if ( model.getValue("/root/send/in_fromdd") == "" || model.getValue("/root/send/in_todd") == "" )
- {
- messageBox("퇴원일자 조건을","C002");
- return;
- }
- }
- }
-
- if (model.getValue("/root/send/in_rptcd") == "RR01148" || model.getValue("/root/send/in_rptcd") == "RR00730"
- || model.getValue("/root/send/in_rptcd") == "RR00732" || model.getValue("/root/send/in_rptcd") == "RR00736"
- || model.getValue("/root/send/in_rptcd") == "RR00742" ) {
- dgrd_rpt.rebuildStyle();
- }
-
- fGetGridData();
-
- if ( model.getValue("/root/send/in_rptcd") == "RR00730" ){
- dgrd_rpt.rowStyle(3, "data", "background-color") = "#ffcc99";
- } else if (model.getValue("/root/send/in_rptcd") == "RR00732" ){
- for( var i = 1 ; i < dgrd_rpt.rows ; i++) {
- var ColorVar = model.getValue("/root/init/rptm_grid/ret[" + i + " ]/hid10");
- var ColorSum = model.getValue("/root/init/rptm_grid/ret[" + i + " ]/col2");
-
- if (ColorVar == "A") {
- dgrd_rpt.rowStyle(i+2, "data", "background-color") = "#ffcc99";
- } else if (ColorSum == "소계") {
- dgrd_rpt.cellstyle("background-color", i+2, 1, i+2, dgrd_rpt.cols-1) = "#cdcdcd";
- }
- }
-
- model.refresh();
- } else if (model.getValue("/root/send/in_rptcd") == "RR00736" ){
- dgrd_rpt.rowStyle(dgrd_rpt.rows-1, "data", "background-color") = "#ccffcc";
- dgrd_rpt.rowStyle(dgrd_rpt.rows-2, "data", "background-color") = "#ffcc99";
- } else if (model.getValue("/root/send/in_rptcd") == "RR00742" ){
- dgrd_rpt.colStyle(10, "data", "background-color") = "#ccffcc";
- dgrd_rpt.colStyle(11, "data", "background-color") = "#ccffcc";
-
- for( var i = 1 ; i < dgrd_rpt.rows ; i++) {
- var ColorVar = model.getValue("/root/init/rptm_grid/ret[" + i + " ]/hid10");
- var ColorSum = model.getValue("/root/init/rptm_grid/ret[" + i + " ]/col2");
-
- if (ColorVar == "B") {
- dgrd_rpt.rowStyle(i+1, "data", "background-color") = "#ffcc99";
- } else if (ColorSum == "[소 계]") {
- dgrd_rpt.rowStyle(i+1, "data", "background-color") = "#cdcdcd";
- }
- }
- } else if ( model.getValue("/root/send/in_rptcd") == "RR01146" ){
- caption18.refresh();
- } else if (model.getValue("/root/send/in_rptcd") == "RR00701" ) {
- model.setValue("/root/init/inp_cmmt/in_cmmt", model.getValue("/root/init/rptm_grid/ret_cmmt/out_cmmt"));
- txtbox_cmmt.refresh();
- dgrd_rpt.cellStyle("font-weight", 2,2,23,2) = "bold";
-
-
- for(var i = 1; i<23;i++)
- {
- model.makeNode("root/hidden/chart/chartkind["+i+"]");
- model.setValue("root/hidden/chart/chartkind["+i+"]", model.getValue("root/init/rptm_grid/ret["+i+"]/col3"));
-
- }
-
-
- } else if (model.getValue("/root/send/in_rptcd") == "RR01148") {
- for( var i = 1 ; i < dgrd_rpt.rows ; i++) {
- var ColorVar = model.getValue("/root/init/rptm_grid/ret[" + i + " ]/hid10");
- if (ColorVar == "B") {
- dgrd_rpt.rowStyle(i+1, "data", "background-color") = "#ffff99";
- } else if (ColorVar == "C") {
- dgrd_rpt.rowStyle(i+1, "data", "background-color") = "#ccffcc";
- } else if (ColorVar == "D") {
- dgrd_rpt.rowStyle(i+1, "data", "background-color") = "#ffcc99";
- }
- }
-
- model.refresh();
-
- }
- else if(model.getValue("/root/send/in_rptcd") == "RR00829"){
- var from1 = ipt_procdd.value;
- var from2 = from1.substr(0, 4);
- var to1 = input1.value;
- var to2 = to1.substr(0,4);
- if(to2-from2 <= 1){
- dgrd_rpt.colhidden(1) = true;
- dgrd_rpt.colhidden(4) = true;
- dgrd_rpt.colhidden(6) = true;
- dgrd_rpt.colhidden(9) = true;
- dgrd_rpt.colhidden(11) = true;
- dgrd_rpt.colhidden(14) = true;
- dgrd_rpt.refresh();
- }else{
- dgrd_rpt.colhidden(1) = false;
- dgrd_rpt.colhidden(4) = false;
- dgrd_rpt.colhidden(6) = false;
- dgrd_rpt.colhidden(9) = false;
- dgrd_rpt.colhidden(11) = false;
- dgrd_rpt.colhidden(14) = false;
- dgrd_rpt.refresh();
- }
-
- }else if (model.getValue("/root/send/in_rptcd") == "RR01149") {
- if (model.getValue("/root/send/in_sum") == "01") {
- dgrd_rpt.colhidden(0) = false;
- dgrd_rpt.colhidden(1) = false;
- dgrd_rpt.colhidden(2) = false;
- dgrd_rpt.colhidden(3) = false;
- dgrd_rpt.colhidden(4) = false;
- dgrd_rpt.colhidden(5) = false;
- dgrd_rpt.colhidden(7) = false;
- dgrd_rpt.colhidden(8) = false;
- dgrd_rpt.colhidden(9) = false;
- dgrd_rpt.colhidden(10) = false;
- dgrd_rpt.colhidden(11) = false;
- } else {
- dgrd_rpt.colhidden(0) = true;
- dgrd_rpt.colhidden(1) = true;
- dgrd_rpt.colhidden(2) = true;
- dgrd_rpt.colhidden(3) = true;
- dgrd_rpt.colhidden(4) = true;
- dgrd_rpt.colhidden(5) = true;
- dgrd_rpt.colhidden(7) = true;
- dgrd_rpt.colhidden(8) = true;
- dgrd_rpt.colhidden(9) = true;
- dgrd_rpt.colhidden(10) = true;
- dgrd_rpt.colhidden(11) = true;
-
- if (model.getValue("/root/send/in_sum1") == "01") {
- dgrd_rpt.colhidden(0) = true;
- } else {
- dgrd_rpt.colhidden(0) = false;
- }
-
- if (model.getValue("/root/send/in_sum2") == "01") {
- dgrd_rpt.colhidden(7) = true;
- dgrd_rpt.colhidden(8) = true;
- } else {
- dgrd_rpt.colhidden(7) = false;
- dgrd_rpt.colhidden(8) = false;
- }
-
- if (model.getValue("/root/send/in_sum3") == "01") {
- dgrd_rpt.colhidden(9) = true;
- } else {
- dgrd_rpt.colhidden(9) = false;
- }
- }
-
- model.refresh();
- }else if (model.getValue("/root/send/in_rptcd") == "RR00708") {
- if (model.getValue("/root/send/in_cond5") == 0 || model.getValue("/root/send/in_cond5") == null || model.getValue("/root/send/in_cond5") == "") {
- dgrd_rpt.colhidden(6) = false;
- dgrd_rpt.colhidden(7) = false;
- } else {
- dgrd_rpt.colhidden(6) = true;
- dgrd_rpt.colhidden(7) = true;
- }
- dgrd_rpt.colstyle(14, "data", "background-color") = "#FFF000";
- dgrd_rpt.colstyle(15, "data", "background-color") = "#FFF000";
- dgrd_rpt.colstyle(20, "data", "background-color") = "#FFF000";
- dgrd_rpt.colstyle(21, "data", "background-color") = "#FFF000";
- }
- ]]>
- </script>
- </button>
- <input id="input1" ref="/root/send/in_todd" class="input_search" navindex="2" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:687px; top:5px; width:90px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[]]>
- </script>
- </input>
- <button id="button1" class="btn4_letter4" navindex="3" style="left:1055px; top:4px; width:80px; height:22px; ">
- <caption>EXCEL</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /*
- var sProcdd = model.getValue("/root/send/in_procdd");
- if ( sProcdd != "" ) {
- submit("TXSTP00100");
- } else {
- model.alert("집계일자를 입력하세요");
- model.setFocus("ipt_procdd");
- return;
- }
- */
-
- /*
- 수정이력
- 2008-08-04
- 이형재
- excel 출력 기능을 가지고 있는 method를 이용
- */
- //2008.12.10 syjung 보험장표는 파일명에 프로그램 이름 주기.
- if (model.getValue("/root/send/in_lrgcd") == "03"){
- var fileName = window.fileDialog("save", ",", false, model.getValue("/root/init/rptInfo/rptInfoList/rptnm"), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- } else {
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- }
-
- if (fileName != "")
- {
- var rptcd = model.getValue("/root/send/in_rptcd");
-
- // 20008.12.02 syjung 인원장표는 조회기간을 상단에 출력해주어야 함.
- // 2009.05.11 이창록 조회기간 상단에 출력 리스트 추가
- if (rptcd=="RR00705"||rptcd=="RR00707"||rptcd=="RR00711"||rptcd=="RR01097"||rptcd=="RR00779"||rptcd=="RR00780"||rptcd=="RR00797"||rptcd=="RR00801"||rptcd=="RR00802"
- ||rptcd=="RR00804"||rptcd=="RR00207"||rptcd=="RR00209"||rptcd=="RR00293"||rptcd=="RR00221"||rptcd=="RR00219"||rptcd=="RR00235"
- ||rptcd=="RR00231"||rptcd=="RR00229"||rptcd=="RR00230"||rptcd=="RR00223"||rptcd=="RR00222"||rptcd=="RR00226"||rptcd=="RR00237"
- ||rptcd=="RR00234"||rptcd=="RR00243" ||rptcd=="RR00240"||rptcd=="RR00227" ||rptcd=="RR00241"||rptcd=="RR00239"||rptcd=="RR00216"
- ||rptcd=="RR00212"||rptcd=="RR00211" ||rptcd=="RR00276"||rptcd=="RR00213" ||rptcd=="RR00210" ||rptcd=="RR00214" ||rptcd=="RR00215"||rptcd=="RR00273"
- ||rptcd=="RR00217"||rptcd=="RR00242" ||rptcd=="RR00238" )
- {
- var fromdd = model.getValue("/root/send/in_fromdd");
- var todd = model.getValue("/root/send/in_todd");
-
- tfexcel.launchnewinstance(0);
- tfexcel.createworkbook();
-
- tfexcel.addsheet(1, "SheetName");
- tfexcel.cellvalue(1,1) = "조회기간 :"+fromdd.substr(0,4)+"년 "+fromdd.substr(4,2)+"월 "+fromdd.substr(6,2)+"일"+" ~ "+todd.substr(0,4)+"년 "+todd.substr(4,2)+"월 "+todd.substr(6,2)+"일"
- for(var col=1 ; col <= dgrd_rpt.cols ; col++) {
- for( var row=1 ; row <= dgrd_rpt.rows ; row++ ) {
- tfexcel.cellvalue(row+1,col) = dgrd_rpt.valuematrix(row-1,col-1);
- tfexcel.colwidth(col) = 11;
-
- }
- }
- // border line
- tfexcel.setbordercolor(2,1,dgrd_rpt.rows+1,dgrd_rpt.cols-1,window.rgb(0,0,0));
- // 헤더 바탕색 주기
- tfexcel.cellbgcolor(2,1,dgrd_rpt.fixedrows+1,dgrd_rpt.cols-1)=window.rgb(192,192,192);
-
- tfexcel.save(fileName);
- tfexcel.close();
- } else {
- dgrd_rpt.saveExcel(fileName, "SheetName", true, true, "", "",true);
- }
- }
-
- window.exec(fileName);
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter2" navindex="3" visibility="hidden" style="left:935px; top:4px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /*
- var sProcdd = model.getValue("/root/send/in_procdd");
- if ( sProcdd != "" ) {
- submit("TXSTP00100");
- } else {
- model.alert("집계일자를 입력하세요");
- model.setFocus("ipt_procdd");
- return;
- }
- */
- model.setValue("/root/send/combo1", cb_cond1_1.label);
- model.setValue("/root/send/combo2", cb_cond2_1.label);
- model.setValue("/root/send/combo3", cb_cond3_1.label);
- model.setValue("/root/send/combo4", cb_cond4_1.label);
- model.setValue("/root/send/combo5", cb_cond5_1.label);
- model.setValue("/root/send/combo6", cb_cond6_1.label);
- model.setValue("/root/send/combo7", cb_cond7_1.label);
- model.setValue("/root/send/combo8", cb_cond8_1.label);
- model.setValue("/root/send/combo9", cb_cond9_1.label);
- model.setValue("/root/send/combo10", cb_cond10_1.label);
- var rptcd = model.getValue("/root/send/in_rptcd");
- switch(rptcd){
- case "RR00701":
-
- var nodeList = instance1.selectNodes("/root/init/rptm_grid/ret");
- var grid1_row = 1;
- var grid2_row = 1;
- var grid3_row = 1;
- var grid4_row = 1;
- var grid5_row = 1;
-
- var enddd = model.getValue("/root/send/in_fromdd");
- var printday=getweekday(enddd);
-
- printymd = enddd.substr(0,4)+"년 "+enddd.substr(4,2)+"월 "+enddd.substr(6,2)+"일("+printday+")"
- model.makeValue("/root/init/inp_cmmt/in_enddd",printymd);
-
- for ( i = 1; i <= nodeList.length; i++) {
- if (i == 1) {
- printymd = enddd.substr(4,2)+"월 "+enddd.substr(6,2)+"일"
- model.makeValue("/root/init/rptm_grid1/ret[" + grid1_row + "]/col1",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col1"));
- model.makeValue("/root/init/rptm_grid1/ret[" + grid1_row + "]/col2",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col2"));
- model.makeValue("/root/init/rptm_grid1/ret[" + grid1_row + "]/col3",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col3"));
- model.makeValue("/root/init/rptm_grid1/ret[" + grid1_row + "]/col4",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col4"));
- model.makeValue("/root/init/rptm_grid1/ret[" + grid1_row + "]/col5",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col5"));
- model.makeValue("/root/init/rptm_grid1/ret[" + grid1_row + "]/col6",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col6"));
- model.makeValue("/root/init/rptm_grid1/ret[" + grid1_row + "]/in_printymd",printymd);
- model.makeValue("/root/init/rptm_grid1/ret[" + grid1_row + "]/in_printday",printday);
-
- } else if (i >=2 && i <= 17 ) {
- printymd = enddd.substr(4,2)+"월 "+enddd.substr(6,2)+"일"
- model.makeValue("/root/init/rptm_grid2/ret[" + grid2_row + "]/col1",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col1"));
- model.makeValue("/root/init/rptm_grid2/ret[" + grid2_row + "]/col2",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col2"));
- model.makeValue("/root/init/rptm_grid2/ret[" + grid2_row + "]/col3",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col3"));
- model.makeValue("/root/init/rptm_grid2/ret[" + grid2_row + "]/col4",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col4"));
- model.makeValue("/root/init/rptm_grid2/ret[" + grid2_row + "]/col5",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col5"));
- model.makeValue("/root/init/rptm_grid2/ret[" + grid2_row + "]/col6",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col6"));
-
- // if (i >= 13 && i <= 16) {
- // var pos;
- //
- // pos = model.getValue("/root/init/rptm_grid/ret[" + i + "]/col4").search(" ");
- // model.makeValue("/root/init/rptm_grid2/ret[" + grid2_row + "]/col4",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col4").substr(0,pos));
- // pos = model.getValue("/root/init/rptm_grid/ret[" + i + "]/col5").search(" ");
- // model.makeValue("/root/init/rptm_grid2/ret[" + grid2_row + "]/col5",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col5").substr(0,pos));
- // pos = model.getValue("/root/init/rptm_grid/ret[" + i + "]/col6").search(" ");
- // model.makeValue("/root/init/rptm_grid2/ret[" + grid2_row + "]/col6",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col6").substr(0,pos));
- // } else {
- // model.makeValue("/root/init/rptm_grid2/ret[" + grid2_row + "]/col4",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col4"));
- // model.makeValue("/root/init/rptm_grid2/ret[" + grid2_row + "]/col5",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col5"));
- // model.makeValue("/root/init/rptm_grid2/ret[" + grid2_row + "]/col6",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col6"));
- // }
- model.makeValue("/root/init/rptm_grid2/ret[" + grid2_row + "]/in_printymd",printymd);
- model.makeValue("/root/init/rptm_grid2/ret[" + grid2_row + "]/in_printday",printday);
-
- grid2_row++;
-
- } else if (i >= 18 && i <= 22 ) {
- printymd = enddd.substr(4,2)+"월 "+enddd.substr(6,2)+"일"
- model.makeValue("/root/init/rptm_grid3/ret[" + grid3_row + "]/col1",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col1"));
- model.makeValue("/root/init/rptm_grid3/ret[" + grid3_row + "]/col2",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col2"));
- model.makeValue("/root/init/rptm_grid3/ret[" + grid3_row + "]/col3",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col3"));
- model.makeValue("/root/init/rptm_grid3/ret[" + grid3_row + "]/col4",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col4"));
- model.makeValue("/root/init/rptm_grid3/ret[" + grid3_row + "]/col5",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col5"));
- model.makeValue("/root/init/rptm_grid3/ret[" + grid3_row + "]/col6",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col6"));
- model.makeValue("/root/init/rptm_grid3/ret[" + grid3_row + "]/in_printymd",printymd);
- model.makeValue("/root/init/rptm_grid3/ret[" + grid3_row + "]/in_printday",printday);
-
- grid3_row++;
-
- } else if (i >= 23 && i <= 29 ) {
- printymd = enddd.substr(4,2)+"월 "+enddd.substr(6,2)+"일"
- model.makeValue("/root/init/rptm_grid4/ret[" + grid4_row + "]/col1",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col1"));
- model.makeValue("/root/init/rptm_grid4/ret[" + grid4_row + "]/col2",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col2"));
- model.makeValue("/root/init/rptm_grid4/ret[" + grid4_row + "]/col3",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col3"));
- model.makeValue("/root/init/rptm_grid4/ret[" + grid4_row + "]/col4",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col4"));
- model.makeValue("/root/init/rptm_grid4/ret[" + grid4_row + "]/col5",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col5"));
- model.makeValue("/root/init/rptm_grid4/ret[" + grid4_row + "]/col6",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col6"));
- model.makeValue("/root/init/rptm_grid4/ret[" + grid4_row + "]/in_printymd",printymd);
- model.makeValue("/root/init/rptm_grid4/ret[" + grid4_row + "]/in_printday",printday);
-
- grid4_row++;
-
- } else if (i >= 30) {
- printymd = enddd.substr(4,2)+"월 "+enddd.substr(6,2)+"일"
- model.makeValue("/root/init/rptm_grid5/ret[" + grid5_row + "]/col1",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col1"));
- model.makeValue("/root/init/rptm_grid5/ret[" + grid5_row + "]/col2",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col2"));
- model.makeValue("/root/init/rptm_grid5/ret[" + grid5_row + "]/col3",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col3"));
- model.makeValue("/root/init/rptm_grid5/ret[" + grid5_row + "]/col4",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col4"));
- model.makeValue("/root/init/rptm_grid5/ret[" + grid5_row + "]/col5",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col5"));
- model.makeValue("/root/init/rptm_grid5/ret[" + grid5_row + "]/col6",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col6"));
- model.makeValue("/root/init/rptm_grid5/ret[" + grid5_row + "]/in_printymd",printymd);
- model.makeValue("/root/init/rptm_grid5/ret[" + grid5_row + "]/in_printday",printday);
-
- grid5_row++;
- }
- }
- exeReportPreview("RPSTC00800", "XMLSTR", "","", "false","","","","","false");
- break;
-
- case "RR00821":
- exeReportPreview("RPSTC00200", "XMLSTR", "","", "false","","","","","false");
- break;
-
- case "RR00822":
- exeReportPreview("RPSTC00100", "XMLSTR", "","", "false","","","","","false");
- break;
-
- case "RR00827":
- exeReportPreview("RPSTC00300", "XMLSTR", "","", "false","","","","","false");
- break;
-
- case "RR00730":
- exeReportPreview("RPSTC00730", "XMLSTR", "","", "false","","","","","false");
- break;
-
- case "RR00736":
- model.setValue("/root/send/combo6", cb_cond6_8.label);
- exeReportPreview("RPSTC00736", "XMLSTR", "","", "false","","","","","false");
- break;
-
- case "RR00829":
-
- // 년도로 자르고 조회년도가 2년이내일 경우와 3년일 경우를 구분하여 rexpert 출력
- var from1 = ipt_procdd.value;
- var from2 = from1.substr(0, 4);
- model.setValue("/root/send/in_cond9",from2);
- var to1 = input1.value;
- var to2 = to1.substr(0,4);
- model.setValue("/root/send/in_cond10",to2);
-
- if(to2 - from2 <= 1){
- exeReportPreview("RPSTC00400", "XMLSTR", "","", "false","","","","","false");
- }else{
- exeReportPreview("RPSTC00401", "XMLSTR", "","", "false","","","","","false");
- }
- break;
-
- case "RR00844":
- exeReportPreview("RPSTC00500", "XMLSTR", "","", "false","","","","","false");
- break;
-
- case "RR00828":
- exeReportPreview("RPSTC00600", "XMLSTR", "","", "false","","","","","false");
- break;
-
- case "RR00820":
- exeReportPreview("RPSTC00700", "XMLSTR", "","", "false","","","","","false");
- break;
- }
- ]]>
- </script>
- </button>
- <select1 id="cb_rpt" ref="/root/send/in_rptcd" class="ouput_fix" disabled="true" navindex="1" appearance="minimal" editmode="search" itemcount="20" style="left:111px; top:5px; width:404px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm/rpt/rptcd">
- <label ref="rptnm"/>
- <value ref="rptcd"/>
- </itemset>
- </choices>
- </select1>
- <input id="in_pid" ref="/root/send/in_pid" visibility="hidden" style="left:790px; top:5px; width:100px; height:19px; "/>
- <button id="btn_print2" class="btn4_letter6" visibility="hidden" style="left:827px; top:4px; width:104px; height:22px; ">
- <caption>보직자용 출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rptcd = model.getValue("/root/send/in_rptcd");
- switch(rptcd){
- case "RR00701":
-
- var nodeList = instance1.selectNodes("/root/init/rptm_grid/ret");
- var grid1_row = 1;
- var grid2_row = 1;
- var grid4_row = 1;
- var grid5_row = 1;
-
- var enddd = model.getValue("/root/send/in_fromdd");
- var printday=getweekday(enddd);
-
- printymd = enddd.substr(0,4)+"년 "+enddd.substr(4,2)+"월 "+enddd.substr(6,2)+"일("+printday+")"
- model.makeValue("/root/init/inp_cmmt/in_enddd",printymd);
-
- for ( i = 1; i <= nodeList.length; i++) {
- if (i == 1) {
- printymd = enddd.substr(4,2)+"월 "+enddd.substr(6,2)+"일"
- model.makeValue("/root/init/rptm_grid1/ret[" + grid1_row + "]/col1",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col1"));
- model.makeValue("/root/init/rptm_grid1/ret[" + grid1_row + "]/col2",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col2"));
- model.makeValue("/root/init/rptm_grid1/ret[" + grid1_row + "]/col3",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col3"));
- model.makeValue("/root/init/rptm_grid1/ret[" + grid1_row + "]/col4",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col4"));
- model.makeValue("/root/init/rptm_grid1/ret[" + grid1_row + "]/col5",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col5"));
- model.makeValue("/root/init/rptm_grid1/ret[" + grid1_row + "]/col6",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col6"));
- model.makeValue("/root/init/rptm_grid1/ret[" + grid1_row + "]/in_printymd",printymd);
- model.makeValue("/root/init/rptm_grid1/ret[" + grid1_row + "]/in_printday",printday);
-
- } else if (i >=2 && i <= 19 && i != 8 && i != 10 && i != 12 ) {
- printymd = enddd.substr(4,2)+"월 "+enddd.substr(6,2)+"일"
- model.makeValue("/root/init/rptm_grid2/ret[" + grid2_row + "]/col1",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col1"));
- model.makeValue("/root/init/rptm_grid2/ret[" + grid2_row + "]/col2",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col2"));
- model.makeValue("/root/init/rptm_grid2/ret[" + grid2_row + "]/col3",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col3"));
-
- if (i >= 13 && i <= 16) {
- var pos;
-
- pos = model.getValue("/root/init/rptm_grid/ret[" + i + "]/col4").search(" ");
- model.makeValue("/root/init/rptm_grid2/ret[" + grid2_row + "]/col4",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col4").substr(0,pos));
- pos = model.getValue("/root/init/rptm_grid/ret[" + i + "]/col5").search(" ");
- model.makeValue("/root/init/rptm_grid2/ret[" + grid2_row + "]/col5",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col5").substr(0,pos));
- pos = model.getValue("/root/init/rptm_grid/ret[" + i + "]/col6").search(" ");
- model.makeValue("/root/init/rptm_grid2/ret[" + grid2_row + "]/col6",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col6").substr(0,pos));
- } else {
- model.makeValue("/root/init/rptm_grid2/ret[" + grid2_row + "]/col4",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col4"));
- model.makeValue("/root/init/rptm_grid2/ret[" + grid2_row + "]/col5",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col5"));
- model.makeValue("/root/init/rptm_grid2/ret[" + grid2_row + "]/col6",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col6"));
- }
- model.makeValue("/root/init/rptm_grid2/ret[" + grid2_row + "]/in_printymd",printymd);
- model.makeValue("/root/init/rptm_grid2/ret[" + grid2_row + "]/in_printday",printday);
-
- grid2_row++;
- } else if (i >= 26 && i <= 30 ) {
- printymd = enddd.substr(4,2)+"월 "+enddd.substr(6,2)+"일"
- model.makeValue("/root/init/rptm_grid4/ret[" + grid4_row + "]/col1",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col1"));
- model.makeValue("/root/init/rptm_grid4/ret[" + grid4_row + "]/col2",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col2"));
- model.makeValue("/root/init/rptm_grid4/ret[" + grid4_row + "]/col3",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col3"));
- model.makeValue("/root/init/rptm_grid4/ret[" + grid4_row + "]/col4",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col4"));
- model.makeValue("/root/init/rptm_grid4/ret[" + grid4_row + "]/col5",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col5"));
- model.makeValue("/root/init/rptm_grid4/ret[" + grid4_row + "]/col6",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col6"));
- model.makeValue("/root/init/rptm_grid4/ret[" + grid4_row + "]/in_printymd",printymd);
- model.makeValue("/root/init/rptm_grid4/ret[" + grid4_row + "]/in_printday",printday);
-
- grid4_row++;
- } else if (i >= 33 && i != 34 && i != 36) {
- printymd = enddd.substr(4,2)+"월 "+enddd.substr(6,2)+"일"
-
- if (i >= 33 && i <= 37) {
- model.makeValue("/root/init/rptm_grid5/ret[" + grid5_row + "]/col1","외래진료실 사용 현황 (임상강사이상)");
- model.makeValue("/root/init/rptm_grid5/ret[" + grid5_row + "]/col2","외래진료실 사용 현황 (임상강사이상)");
- model.makeValue("/root/init/rptm_grid5/ret[" + grid5_row + "]/col3",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col3"));
- } else {
- model.makeValue("/root/init/rptm_grid5/ret[" + grid5_row + "]/col1",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col1"));
- model.makeValue("/root/init/rptm_grid5/ret[" + grid5_row + "]/col2",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col2"));
- model.makeValue("/root/init/rptm_grid5/ret[" + grid5_row + "]/col3",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col3"));
- }
-
- if (i >= 40 && i <= 43) {
- model.makeValue("/root/init/rptm_grid5/ret[" + grid5_row + "]/col4",Math.round(model.getValue("/root/init/rptm_grid/ret[" + i + "]/col4")));
- model.makeValue("/root/init/rptm_grid5/ret[" + grid5_row + "]/col5",Math.round(model.getValue("/root/init/rptm_grid/ret[" + i + "]/col5")));
- model.makeValue("/root/init/rptm_grid5/ret[" + grid5_row + "]/col6",Math.round(model.getValue("/root/init/rptm_grid/ret[" + i + "]/col6")));
- } else {
- model.makeValue("/root/init/rptm_grid5/ret[" + grid5_row + "]/col4",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col4"));
- model.makeValue("/root/init/rptm_grid5/ret[" + grid5_row + "]/col5",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col5"));
- model.makeValue("/root/init/rptm_grid5/ret[" + grid5_row + "]/col6",model.getValue("/root/init/rptm_grid/ret[" + i + "]/col6"));
- }
- model.makeValue("/root/init/rptm_grid5/ret[" + grid5_row + "]/in_printymd",printymd);
- model.makeValue("/root/init/rptm_grid5/ret[" + grid5_row + "]/in_printday",printday);
-
- grid5_row++;
- }
- }
-
- exeReportPreview("RPSTC00900", "XMLSTR", "","", "false","","","","","false");
- break;
- }
- ]]>
- </script>
- </button>
- </group>
- <!-- ## 첫번째 그룹 -->
- <!-- 컨트롤ID Seq : 1 -->
- <group id="group_c1" visibility="hidden" style="left:0px; top:50px; width:1146px; height:55px; ">
- <shape id="roundrect1" appearance="roundrect" style="left:0px; top:0px; width:1143px; height:55px; "/>
- <select1 id="cb_cond1_1" ref="/root/send/in_cond1" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:112px; top:5px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond1/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var tmp = model.getValue("/root/init/rptInfo/rptInfoList/cond1");
-
- if(tmp == '9999'){
-
- var con1Value = cb_cond1_1.value ;
-
- submit("TRSTC01200");
-
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // 진료실적(일보,월보)
- if (model.getValue("/root/send/in_rptcd") == "RR00701") {
- // 일보
- if ( model.getValue("/root/send/in_cond1") == "01" ) {
- ipt_procdd.value = getCurrentDate();
- ipt_procdd.attribute("format") = "yyyy-mm-dd";
-
- model.setValue("/root/send/in_todd",model.getValue("/root/send/in_fromdd"));
- cb_cond2_1.disabled=true;
- btn_cmmt.disabled=false;
- button2.disabled=false;
- // btn_print2.disabled=false;
- } // 월보
- else if ( model.getValue("/root/send/in_cond1") == "02" ) {
- ipt_procdd.value = getCurrentDate();
- ipt_procdd.attribute("format") = "yyyy-mm";
-
- model.setValue("/root/send/in_fromdd",model.getValue("/root/send/in_fromdd").substr(0,6)+"01");
- var FirstDate = model.getValue("/root/send/in_fromdd")
- var LastDate = FirstDate.toDate("YYYYMMDD")
- LastDate = LastDate.getAddDate(1,"M").getAddDate(-1,"D").getDateFormat("YYYYMMDD") ;
- model.setValue("/root/send/in_todd",LastDate);
- cb_cond2_1.disabled=true;
- btn_cmmt.disabled=true;
- button2.disabled=true;
- // btn_print2.disabled=true;
- } //년보
- else if ( model.getValue("/root/send/in_cond1") == "03" ) {
- ipt_procdd.value = getCurrentDate();
- ipt_procdd.attribute("format") = "yyyy";
-
- model.setValue("/root/send/in_fromdd",model.getValue("/root/send/in_fromdd").substr(0,4)+"0101");
- var FirstDate = model.getValue("/root/send/in_fromdd")
- var LastDate = FirstDate.toDate("YYYYMMDD")
- LastDate = LastDate.getAddDate(1,"Y").getAddDate(-1,"D").getDateFormat("YYYYMMDD") ;
- model.setValue("/root/send/in_todd",LastDate);
- cb_cond2_1.disabled=true;
- btn_cmmt.disabled=true;
- button2.disabled=true;
- // btn_print2.disabled=true;
- }
- setgridcaption();
-
- ipt_procdd.refresh();
- cb_cond2_1.refresh();
-
- } else if (model.getValue("/root/send/in_rptcd") == "RR00835"
- || model.getValue("/root/send/in_rptcd") == "RR00842"
- || model.getValue("/root/send/in_rptcd") == "RR00837"
- || model.getValue("/root/send/in_rptcd") == "RR00836") {
- if ( model.getValue("/root/send/in_cond1") == "02" ) {
- ipt_procdd.visible = true;
- input1.visible = false;
-
- ipt_procdd.attribute("format") = "yyyy-mm";
- input1.value = ipt_procdd.value;
- } else {
- ipt_procdd.visible = true;
- input1.visible = true;
-
- ipt_procdd.attribute("format") = "yyyy-mm-dd";
- }
-
- model.refresh();
- } else if (model.getValue("/root/send/in_rptcd") == "RR00839") {
- if ( model.getValue("/root/send/in_cond1") == "02" ) {
- messageBox("외래처방선수금은 월별 조회를 할 수 없습니다. 다시 " , "C001");
- model.setValue("/root/send/in_cond1","01");
-
- model.refresh();
- }
- }
- ]]>
- </script>
- </select1>
- <select1 id="cb_cond2_1" ref="/root/send/in_cond2" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:330px; top:5px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond2/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // 진료실적(일보,월보)
- if (model.getValue("/root/send/in_rptcd") == "RR00701") {
- setgridcaption();
- } else if (model.getValue("/root/send/in_rptcd") == "RR00834") {
- if ( model.getValue("/root/send/in_cond2") == "02" ) {
- ipt_procdd.visible = true;
- input1.visible = false;
-
- ipt_procdd.attribute("format") = "yyyy-mm";
- input1.value = ipt_procdd.value;
- } else {
- ipt_procdd.visible = true;
- input1.visible = true;
-
- ipt_procdd.attribute("format") = "yyyy-mm-dd";
- }
-
- model.refresh();
- }
- ]]>
- </script>
- </select1>
- <select1 id="cb_cond3_1" ref="/root/send/in_cond3" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:560px; top:5px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond3/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 진료과별 의사별 진료수익, 의사별 지정진료 수익내역
- if (model.getValue("/root/send/in_rptcd") == "RR01098" || model.getValue("/root/send/in_rptcd") == "RR00819" || model.getValue("/root/send/in_rptcd") == "RR01097" || model.getValue("/root/send/in_rptcd") == "RR01101" ) {
- cb_cond2_1.choices.itemset.attribute("nodeset") = "/root/init/rptm_cond/cond2/condcd[dp = '" + model.getValue("/root/send/in_cond3") + "']";
- // addComboItem("cb_cond2_1" , "전체","00","above");
- //model.setValue("/root/send/deptnm", cb_cond3_1.label);
- model.resetInstanceNode("/root/send/in_cond2"); // 진료과가 변경되었으므로 주치의를 초기화한다.
-
- if(model.getValue("/root/send/in_cond3") == "00") {
- model.setValue("/root/send/in_cond2", "00");
- }
- cb_cond2_1.refresh();
- cb_cond3_1.refresh();
- //cmb_orddrid.disabled = false;
- }
- ]]>
- </script>
- </select1>
- <select1 id="cb_cond4_1" ref="/root/send/in_cond4" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:790px; top:5px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond4/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cb_cond5_1" ref="/root/send/in_cond5" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:1015px; top:5px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond5/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cb_cond6_1" ref="/root/send/in_cond6" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:112px; top:29px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond6/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </select1>
- <select1 id="cb_cond7_1" ref="/root/send/in_cond7" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:330px; top:29px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond7/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if (model.getValue("/root/send/in_rptcd") == "RR00820") {
- if ( model.getValue("/root/send/in_cond7") == "02" ) {
- ipt_procdd.visible = true;
- input1.visible = true;
-
- ipt_procdd.attribute("format") = "yyyy-mm";
- input1.attribute("format") = "yyyy-mm";
- } else {
- ipt_procdd.visible = true;
- input1.visible = true;
-
- ipt_procdd.attribute("format") = "yyyy-mm-dd";
- input1.attribute("format") = "yyyy-mm-dd";
- }
-
- model.refresh();
- }
- ]]>
- </script>
- </select1>
- <select1 id="cb_cond8_1" ref="/root/send/in_cond8" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:560px; top:29px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond8/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </select1>
- <select1 id="cb_cond9_1" ref="/root/send/in_cond9" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:790px; top:29px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond9/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </select1>
- <select1 id="cb_cond10_1" ref="/root/send/in_cond10" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:1015px; top:29px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond10/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </select1>
- <caption id="cp_text1_1" ref="/root/init/rptm_cond/cond1/condcd/mdlnm" class="search_name" visibility="hidden" style="left:7px; top:5px; width:90px; height:17px; ">조회기준1</caption>
- <caption id="cp_text2_1" ref="/root/init/rptm_cond/cond2/condcd/mdlnm" class="search_name" visibility="hidden" style="left:233px; top:5px; width:90px; height:17px; ">조회기준2</caption>
- <caption id="cp_text3_1" ref="/root/init/rptm_cond/cond3/condcd/mdlnm" class="search_name" visibility="hidden" style="left:455px; top:5px; width:90px; height:17px; ">조회기준3</caption>
- <caption id="cp_text4_1" ref="/root/init/rptm_cond/cond4/condcd/mdlnm" class="search_name" visibility="hidden" style="left:685px; top:5px; width:90px; height:17px; ">조회기준4</caption>
- <caption id="cp_text5_1" ref="/root/init/rptm_cond/cond5/condcd/mdlnm" class="search_name" visibility="hidden" style="left:915px; top:5px; width:90px; height:17px; ">조회기준5</caption>
- <caption id="cp_text6_1" ref="/root/init/rptm_cond/cond6/condcd/mdlnm" class="search_name" visibility="hidden" style="left:7px; top:29px; width:90px; height:17px; ">조회기준6</caption>
- <caption id="cp_text7_1" ref="/root/init/rptm_cond/cond7/condcd/mdlnm" class="search_name" visibility="hidden" style="left:233px; top:29px; width:90px; height:17px; ">조회기준7</caption>
- <caption id="cp_text8_1" ref="/root/init/rptm_cond/cond8/condcd/mdlnm" class="search_name" visibility="hidden" style="left:455px; top:29px; width:90px; height:17px; ">조회기준8</caption>
- <caption id="cp_text9_1" ref="/root/init/rptm_cond/cond9/condcd/mdlnm" class="search_name" visibility="hidden" style="left:685px; top:29px; width:90px; height:17px; ">조회기준9</caption>
- <caption id="cp_text10_1" ref="/root/init/rptm_cond/cond10/condcd/mdlnm" class="search_name" visibility="hidden" style="left:915px; top:29px; width:90px; height:17px; ">조회기준10</caption>
- <button id="btn_cmmt" class="btn5_letter7" navindex="3" visibility="hidden" style="left:1025px; top:30px; width:97px; height:19px; ">
- <caption>특이사항 입력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group5.visible = true;
- ]]>
- </script>
- </button>
- <button id="btn_download" class="btn4_letter4" navindex="3" visibility="hidden" style="left:972px; top:27px; width:80px; height:22px; ">
- <caption>파일생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //저장파일명
- var filenm = cb_rpt.item(cb_rpt.focusIndex).label+"("+ ipt_procdd.label+").csv" ;
- model.setValue("/root/send/in_filenm", filenm);
-
- submit("TXSTC00200");
-
- btn_log.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <button id="btn_log" class="btn4_letter4" navindex="3" visibility="hidden" style="left:1055px; top:27px; width:80px; height:22px; ">
- <caption>생성로그</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 샘생성 배치 로그 확인
- var todd = getCurrentDate();
- todd = todd.toDate().getAddDate(+1, 'D');
- zsbfOpenBatchLogPopup("stspammngtmgr.StsPamQueryBatch",getCurrentDate(),todd.getDateFormat());
- ]]>
- </script>
- </button>
- <input id="ipt_time" ref="/root/send/in_cond5" visibility="hidden" format="#,###" style="left:1015px; top:5px; width:75px; height:19px; text-align:right; "/>
- <caption id="cap_time" class="search_name" visibility="hidden" style="left:915px; top:5px; width:90px; height:17px; ">시간차이</caption>
- <caption id="caption7" visibility="hidden" style="left:1095px; top:6px; width:25px; height:20px; ">분</caption>
- </group>
- <!-- ## 두번째 그룹 -->
- <!-- 컨트롤ID Seq : 2 -->
- <group id="group_c2" visibility="hidden" style="left:0px; top:110px; width:1146px; height:80px; ">
- <shape id="roundrect8" appearance="roundrect" style="left:0px; top:0px; width:1143px; height:80px; "/>
- <input id="input11" ref="/root/send/in_todd" class="input_search" navindex="2" visibility="visible" inputtype="date" format="yyyy-mm" style="left:276px; top:10px; width:80px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //청구차수
- model.setValue("/root/send/in_submit","A");
- submit("TRSTC00901");
- cb_cond7_2.select(0);
- ]]>
- </script>
- </input>
- <input id="input14" ref="/root/send/in_fromdd" class="input_search" navindex="2" visibility="visible" inputtype="date" format="yyyy-mm" style="left:182px; top:10px; width:80px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/in_todd",model.getValue("/root/send/in_fromdd"));
- //청구차수
- model.setValue("/root/send/in_submit","A");
- submit("TRSTC00901");
- cb_cond7_2.select(0);
- ]]>
- </script>
- </input>
- <caption id="cp_text1_2" class="search_name" visibility="hidden" style="left:7px; top:10px; width:90px; height:17px; text-align:left; ">조회기간</caption>
- <caption id="cp_text2_2" class="search_name" visibility="hidden" style="left:414px; top:10px; width:90px; height:17px; ">청구형태</caption>
- <caption id="cp_text3_2" class="search_name" visibility="hidden" style="left:7px; top:39px; width:90px; height:17px; ">보험유형</caption>
- <caption id="cp_text4_2" class="search_name" visibility="hidden" style="left:414px; top:39px; width:90px; height:17px; ">내원유형</caption>
- <caption id="cp_text5_2" ref="/root/init/rptm_cond/cond5/condcd/mdlnm" class="search_name" visibility="hidden" style="left:778px; top:39px; width:90px; height:17px; ">과</caption>
- <caption id="cp_text6_2" ref="/root/init/rptm_cond/cond5/condcd/mdlnm" class="search_name" visibility="hidden" style="left:778px; top:39px; width:90px; height:17px; ">과</caption>
- <select1 id="cb_cond1_2" ref="/root/send/in_cond1" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:100px; top:10px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond1/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/in_cond7","97");
- submit("TRSTC00901");
- cb_cond7_2.select(0);
- ]]>
- </script>
- </select1>
- <select id="cb_cond2_2" ref="/root/send/in_cond2" navindex="1" visibility="hidden" overflow="visible" appearance="full" cols="4" sep="^" style="left:507px; top:10px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond2/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select>
- <select id="cb_cond3_2" ref="/root/send/in_cond3" navindex="1" visibility="hidden" overflow="visible" appearance="full" cols="5" sep="^" style="left:100px; top:39px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond3/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select>
- <select1 id="cb_cond4_2" ref="/root/send/in_cond4" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:507px; top:39px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond4/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cb_cond5_2" ref="/root/send/in_cond5" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:867px; top:39px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond5/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if (model.getValue("/root/send/in_rptcd") == "RR01149") {
- //시군구
- model.setValue("/root/send/in_submit","C");
- } else {
- if (model.getValue("/root/send/in_cond5") == "01") {
- model.setValue("/root/send/in_submit","E"); //청구과
- } else {
- model.setValue("/root/send/in_submit","F"); //처방과
- }
- }
- submit("TRSTC00700");
- cb_cond6_2.select(0);
- ]]>
- </script>
- </select1>
- <select1 id="cb_cond6_2" ref="/root/send/in_cond6" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:949px; top:39px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond6/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </select1>
- <caption id="caption1" style="left:264px; top:10px; width:15px; height:20px; ">~</caption>
- <select1 id="cb_cond7_2" ref="/root/send/in_cond7" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:867px; top:10px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond7/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cp_text7_2" ref="/root/init/rptm_cond/cond7/condcd/mdlnm" class="search_name" visibility="hidden" style="left:778px; top:10px; width:90px; height:17px; ">청구차수</caption>
- <group id="grp_sum" visibility="hidden" style="left:100px; top:60px; width:435px; height:18px; background-color:transparent; ">
- <line id="line1" style="x1:188px; y1:2px; x2:188px; y2:15px; border-color:#000000; border-width:2px; border-left-style:solid; "/>
- <line id="line2" style="x1:297px; y1:2px; x2:297px; y2:15px; border-color:#000000; border-width:2px; border-left-style:solid; "/>
- <select1 id="rdo_sum3" ref="/root/send/in_sum3" appearance="full" cols="2" overflow="visible" style="left:302px; top:1px; width:110px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>기간</label>
- <value>01</value>
- </item>
- <item>
- <label>청구번호</label>
- <value>02</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if (model.getValue("/root/send/in_sum1") == "00") {
- model.setValue("/root/send/in_sum1","01");
- rdo_sum1.refresh();
- }
- if (model.getValue("/root/send/in_sum2") == "00") {
- model.setValue("/root/send/in_sum2","01");
- rdo_sum2.refresh();
- }
- model.setValue("/root/send/in_sum","00");
- rdo_sum.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="rdo_sum1" ref="/root/send/in_sum1" appearance="full" cols="2" overflow="visible" style="left:50px; top:1px; width:135px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>유형전체</label>
- <value>01</value>
- </item>
- <item>
- <label>유형개별</label>
- <value>02</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if (model.getValue("/root/send/in_sum2") == "00") {
- model.setValue("/root/send/in_sum2","01");
- rdo_sum2.refresh();
- }
- if (model.getValue("/root/send/in_sum3") == "00") {
- model.setValue("/root/send/in_sum3","01");
- rdo_sum3.refresh();
- }
- model.setValue("/root/send/in_sum","00");
- rdo_sum.refresh();
- ]]>
- </script>
- </select1>
- <line id="line13" style="x1:45px; y1:2px; x2:45px; y2:15px; border-color:#000000; border-width:2px; border-left-style:solid; "/>
- <select1 id="rdo_sum" ref="/root/send/in_sum" appearance="full" cols="2" overflow="visible" style="left:0px; top:1px; width:39px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>01</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if (model.getValue("/root/send/in_sum") == "01") {
- model.setValue("/root/send/in_sum1","00");
- model.setValue("/root/send/in_sum2","00");
- model.setValue("/root/send/in_sum3","00");
- rdo_sum1.refresh();
- rdo_sum2.refresh();
- rdo_sum3.refresh();
- }
- ]]>
- </script>
- </select1>
- <select1 id="rdo_sum2" ref="/root/send/in_sum2" appearance="full" cols="3" overflow="visible" style="left:193px; top:1px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>시도</label>
- <value>01</value>
- </item>
- <item>
- <label>시군구</label>
- <value>02</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if (model.getValue("/root/send/in_sum1") == "00") {
- model.setValue("/root/send/in_sum1","01");
- rdo_sum1.refresh();
- }
- if (model.getValue("/root/send/in_sum3") == "00") {
- model.setValue("/root/send/in_sum3","01");
- rdo_sum3.refresh();
- }
- model.setValue("/root/send/in_sum","00");
- rdo_sum.refresh();
- ]]>
- </script>
- </select1>
- </group>
- </group>
- <!-- ## 세번째 그룹 -->
- <!-- 컨트롤ID Seq : 3 -->
- <group id="group_c3" visibility="hidden" style="left:0px; top:195px; width:1146px; height:80px; ">
- <shape id="roundrect2" appearance="roundrect" style="left:0px; top:0px; width:1143px; height:80px; "/>
- <input id="input2" ref="/root/send/in_todd" class="input_search" navindex="2" visibility="visible" inputtype="date" format="yyyy-mm" style="left:276px; top:12px; width:80px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 청구 차수
- model.setValue("/root/send/in_submit","A");
- submit("TRSTC00900");
- cb_cond6_3.select(0);
- ]]>
- </script>
- </input>
- <input id="input3" ref="/root/send/in_fromdd" class="input_search" navindex="2" visibility="visible" inputtype="date" format="yyyy-mm" style="left:182px; top:12px; width:80px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/in_todd",model.getValue("/root/send/in_fromdd"));
- // 청구 차수
- model.setValue("/root/send/in_submit","A");
- submit("TRSTC00900");
- cb_cond6_3.select(0);
- ]]>
- </script>
- </input>
- <caption id="caption10" style="left:264px; top:12px; width:15px; height:20px; ">~</caption>
- <select1 id="cb_cond1_3" ref="/root/send/in_cond1" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:100px; top:12px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond1/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- submit("TRSTC00900");
- cb_cond6_3.select(0);
- ]]>
- </script>
- </select1>
- <select id="cb_cond2_3" ref="/root/send/in_cond2" navindex="1" visibility="hidden" overflow="visible" appearance="full" cols="4" sep="^" style="left:550px; top:12px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond2/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select>
- <select id="cb_cond4_3" ref="/root/send/in_cond4" navindex="1" visibility="hidden" overflow="visible" appearance="full" cols="4" sep="^" style="left:100px; top:42; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond4/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select>
- <caption id="cp_text1_3" class="search_name" visibility="hidden" style="left:7px; top:12px; width:90px; height:17px; ">조회기간</caption>
- <caption id="cp_text4_3" class="search_name" visibility="hidden" style="left:7px; top:42; width:90px; height:17px; ">보험유형</caption>
- <caption id="cp_text2_3" class="search_name" visibility="hidden" style="left:457px; top:12px; width:90px; height:17px; ">청구형태</caption>
- <caption id="cp_text5_3" class="search_name" visibility="hidden" style="left:457px; top:42; width:90px; height:17px; ">내원유형</caption>
- <select1 id="cb_cond5_3" ref="/root/send/in_cond5" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:550px; top:42; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond5/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cb_cond6_3" ref="/root/send/in_cond6" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:950px; top:42px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond6/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cp_text6_3" ref="/root/init/rptm_cond/cond6/condcd/mdlnm" class="search_name" visibility="hidden" style="left:861px; top:42px; width:90px; height:17px; ">청구차수</caption>
- <select1 id="cb_cond3_3" ref="/root/send/in_cond3" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:950px; top:12px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond3/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cp_text3_3" ref="/root/init/rptm_cond/cond3/condcd/mdlnm" class="search_name" visibility="hidden" style="left:861px; top:12px; width:90px; height:17px; ">청구분야</caption>
- </group>
- <!-- ## 네번째 그룹 -->
- <!-- 컨트롤ID Seq : 4 -->
- <group id="group_c4" visibility="hidden" style="left:0px; top:290px; width:1146px; height:80px; ">
- <caption id="cp_text6_4" class="search_name" visibility="hidden" style="left:885px; top:27px; width:90px; height:17px; ">진 료 과</caption>
- <shape id="roundrect7" appearance="roundrect" style="left:0px; top:0px; width:1145px; height:80px; "/>
- <select1 id="cb_cond1_4" ref="/root/send/in_cond1" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:100px; top:12px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond1/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if (model.getValue("/root/send/in_rptcd") == "RR01138") {
- if ( model.getValue("/root/send/in_cond1") == "01" ) {
- input12.attribute("format") = "yyyy-mm";
- input13.attribute("format") = "yyyy-mm";
- }
-
- if ( model.getValue("/root/send/in_cond1") == "02" ) {
- input12.attribute("format") = "yyyy-mm-dd";
- input13.attribute("format") = "yyyy-mm-dd";
- model.setValue("/root/send/in_fromdd", model.getValue("/root/send/in_fromdd").substr(0,6)+"01");
- model.setValue("/root/send/in_todd", model.getValue("/root/send/in_todd").substr(0,6)+"01");
- }
-
- input12.refresh();
- input13.refresh();
- }
- ]]>
- </script>
- </select1>
- <select id="cb_cond2_4" ref="/root/send/in_cond2" navindex="1" visibility="hidden" overflow="visible" appearance="full" cols="10" sep="^" style="left:550px; top:12px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond2/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select>
- <select1 id="cb_cond3_4" ref="/root/send/in_cond3" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:950px; top:12px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond3/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cb_cond4_4" ref="/root/send/in_cond4" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:550px; top:42; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond4/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cb_cond5_4" ref="/root/send/in_cond5" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:950px; top:42px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond5/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <bool id="cb_cond6_4" navindex="1" visibility="hidden" ref="/root/send/in_cond6" style="left:1060px; top:43px; width:25px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond6/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue("/root/send/in_cond6") == "false" )
- {
- model.setValue("/root/send/in_cond5","00");
- cb_cond5_4.refresh();
- cb_cond5_4.disabled = true;
- }
- else
- cb_cond5_4.disabled = false;
- ]]>
- </script>
- </bool>
- <caption id="cp_text1_4" ref="/root/init/rptm_cond/cond1/condcd/mdlnm" class="search_name" visibility="hidden" style="left:7px; top:12px; width:90px; height:17px; ">조회기간</caption>
- <caption id="cp_text2_4" ref="/root/init/rptm_cond/cond2/condcd/mdlnm" class="search_name" visibility="hidden" style="left:457px; top:12px; width:90px; height:17px; ">청구형태</caption>
- <caption id="cp_text3_4" ref="/root/init/rptm_cond/cond3/condcd/mdlnm" class="search_name" visibility="hidden" style="left:861px; top:12px; width:90px; height:17px; ">내원유형</caption>
- <caption id="cp_text4_4" ref="/root/init/rptm_cond/cond4/condcd/mdlnm" class="search_name" visibility="hidden" style="left:457px; top:42; width:90px; height:17px; ">심 사 자</caption>
- <caption id="cp_text5_4" ref="/root/init/rptm_cond/cond5/condcd/mdlnm" class="search_name" visibility="hidden" style="left:861px; top:42px; width:90px; height:17px; ">진 료 과</caption>
- <input id="input12" ref="/root/send/in_todd" class="input_search" navindex="2" visibility="visible" inputtype="date" format="yyyy-mm" style="left:295px; top:12px; width:90px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </input>
- <input id="input13" ref="/root/send/in_fromdd" class="input_search" navindex="2" visibility="visible" inputtype="date" format="yyyy-mm" style="left:192px; top:12px; width:90px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/in_todd",model.getValue("/root/send/in_fromdd"));
- input12.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption9" style="left:283px; top:12px; width:15px; height:20px; ">~</caption>
- <select id="cb_cond7_4" ref="/root/send/in_cond7" navindex="1" visibility="hidden" overflow="visible" appearance="full" cols="10" sep="^" style="left:100px; top:42px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond7/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select>
- <caption id="cp_text7_4" class="search_name" visibility="hidden" style="left:7px; top:42; width:90px; height:17px; ">보험유형</caption>
- </group>
- <!-- ## 오번째 그룹 -->
- <!-- 컨트롤ID Seq : 5 -->
- <group id="group_c5" visibility="hidden" style="left:0px; top:380px; width:1146px; height:80px; ">
- <shape id="roundrect9" appearance="roundrect" style="left:0px; top:0px; width:1143px; height:80px; "/>
- <select1 id="cb_cond1_5" ref="/root/send/in_cond1" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:100px; top:7px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond1/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select id="cb_cond2_5" ref="/root/send/in_cond2" navindex="1" visibility="hidden" overflow="visible" appearance="full" cols="10" sep="^" style="left:496px; top:7px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond2/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select>
- <select1 id="cb_cond3_5" ref="/root/send/in_cond3" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:950px; top:7px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond3/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cb_cond4_5" ref="/root/send/in_cond4" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:100px; top:31; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond4/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cb_cond5_5" ref="/root/send/in_cond5" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:496px; top:31px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond5/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cb_cond6_5" ref="/root/send/in_cond6" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:100px; top:55px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond6/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </select1>
- <input id="cb_cond7_5" ref="/root/send/in_cond7" class="input_default" navindex="1" visibility="hidden" style="left:496px; top:55px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond7/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </input>
- <input id="cb_cond8_5" ref="/root/send/in_cond8" class="input_search" navindex="1" visibility="hidden" inputtype="button" maxlength="10" style="left:950px; top:55px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond8/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var ipt_pid = model.getValue("/root/send/in_cond8");
- if (ipt_pid) {
- model.setValue("/root/hidden/sppmc02500/cond/srchcond", "1"); // 검색조건 : 등록번호로 설정
- model.setValue("/root/hidden/sppmc02500/cond/pid", ipt_pid);
- } else {
- model.resetInstanceNode("/root/hidden/sppmc02500/cond");
- }
- // pam/commonweb/xrw/SPPMC02500_환자조회.xrw
- modal("SPPMC02500", "1", "150", "150", "SPPMC02500", "/root/hidden/sppmc02500/cond", "/root/send", "", ""); // SPPMC02500_환자조회.xrw
- var srch_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
- if (srch_pid) { // SPPMC02500_환자조회 화면에서 조회한 경우임
- model.removeNodeset("/root/main/patinfo/patinfolist"); // patinfolist가 제거됨 (resetInstanceNode의 경우 값은 지우고 노드는 남아있음)
- model.makeNode("/root/main/patinfo/patinfolist"); // SPPMC02500_환자조회 팝업을 다시 조회할 경우를 위해 다시 노드를 추가함
- model.setValue("/root/send/in_cond8", srch_pid);
- }
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="cp_text1_5" ref="/root/init/rptm_cond/cond1/condcd/mdlnm" class="search_name" visibility="hidden" style="left:7px; top:7px; width:90px; height:17px; ">조회기간</caption>
- <caption id="cp_text2_5" ref="/root/init/rptm_cond/cond2/condcd/mdlnm" class="search_name" visibility="hidden" style="left:403px; top:7px; width:90px; height:17px; ">청구형태</caption>
- <caption id="cp_text3_5" ref="/root/init/rptm_cond/cond3/condcd/mdlnm" class="search_name" visibility="hidden" style="left:861px; top:7px; width:90px; height:17px; ">내원유형</caption>
- <caption id="cp_text4_5" ref="/root/init/rptm_cond/cond4/condcd/mdlnm" class="search_name" visibility="hidden" style="left:7px; top:31; width:90px; height:17px; ">청구분야</caption>
- <caption id="cp_text5_5" ref="/root/init/rptm_cond/cond5/condcd/mdlnm" class="search_name" visibility="hidden" style="left:403px; top:31px; width:90px; height:17px; ">진료과</caption>
- <caption id="cp_text6_5" class="search_name" visibility="hidden" style="left:7px; top:55px; width:90px; height:17px; ">조건</caption>
- <caption id="cp_text7_5" class="search_name" visibility="hidden" style="left:403px; top:55px; width:90px; height:17px; ">접수번호</caption>
- <caption id="cp_text8_5" class="search_name" visibility="hidden" style="left:831px; top:55px; width:102px; height:17px; ">환자단위조회</caption>
- <input id="input16" ref="/root/send/in_todd" class="input_search" navindex="2" visibility="visible" inputtype="date" format="yyyy-mm" style="left:276px; top:7px; width:80px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 청구차수
- model.setValue("/root/send/in_submit","A");
- submit("TRSTC00902");
- cb_cond9_5.select(0);
- ]]>
- </script>
- </input>
- <input id="input17" ref="/root/send/in_fromdd" class="input_search" navindex="2" visibility="visible" inputtype="date" format="yyyy-mm" style="left:182px; top:7px; width:80px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/in_todd",model.getValue("/root/send/in_fromdd"));
- // 청구차수
- model.setValue("/root/send/in_submit","A");
- submit("TRSTC00902");
- cb_cond9_5.select(0);
- ]]>
- </script>
- </input>
- <caption id="caption12" style="left:264px; top:7px; width:15px; height:20px; ">~</caption>
- <select1 id="cb_cond9_5" ref="/root/send/in_cond9" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:950px; top:31px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond9/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cp_text9_5" ref="/root/init/rptm_cond/cond9/condcd/mdlnm" class="search_name" visibility="hidden" style="left:861px; top:31px; width:90px; height:17px; ">청구차수</caption>
- </group>
- <!-- ## 육번째 그룹 -->
- <!-- 컨트롤ID Seq : 6 -->
- <group id="group_c6" visibility="hidden" style="left:0px; top:470px; width:1146px; height:80px; ">
- <shape id="roundrect11" appearance="roundrect" style="left:0px; top:0px; width:1143px; height:80px; "/>
- <select1 id="cb_cond1_6" ref="/root/send/in_cond1" class="combo_search" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:96px; top:7px; width:80px; height:19px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond1/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if ( model.getValue("/root/send/in_cond1") == "01" )
- {
- input20.disabled = true;
- input21.disabled = true;
- cb_cond2_6.select(0)
- cb_cond2_6.disabled = true;
- cb_cond5_6.disabled = true;
- cb_cond6_6.disabled = true;
- cb_cond7_6.disabled = true;
- model.setValue("/root/send/in_cond5","00");
- model.setValue("/root/send/in_cond7","00");
- }
- else
- {
- input20.disabled = false;
- input21.disabled = false;
- cb_cond2_6.select(0)
- cb_cond2_6.disabled = false;
- cb_cond5_6.disabled = false;
- cb_cond6_6.disabled = false;
- cb_cond7_6.disabled = false;
- model.setValue("/root/send/in_cond5","01");
- model.setValue("/root/send/in_cond7","01");
-
- model.setFocus("input21");
- }
-
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cb_cond2_6" ref="/root/send/in_cond2" class="combo_search" navindex="3" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:578px; top:7px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond2/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cb_cond3_6" ref="/root/send/in_cond3" class="combo_search" navindex="4" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:796px; top:7px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond3/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cb_cond4_6" ref="/root/send/in_cond4" class="combo_search" navindex="5" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:1015px; top:7px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond4/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cp_text1_6" ref="/root/init/rptm_cond/cond1/condcd/mdlnm" class="search_name" visibility="hidden" style="left:7px; top:7px; width:90px; height:17px; ">조회기준1</caption>
- <caption id="cp_text2_6" ref="/root/init/rptm_cond/cond2/condcd/mdlnm" class="search_name" visibility="hidden" style="left:486px; top:7px; width:90px; height:17px; ">조회기준2</caption>
- <caption id="cp_text3_6" ref="/root/init/rptm_cond/cond3/condcd/mdlnm" class="search_name" visibility="hidden" style="left:711px; top:7px; width:90px; height:17px; ">조회기준3</caption>
- <caption id="cp_text4_6" ref="/root/init/rptm_cond/cond4/condcd/mdlnm" class="search_name" visibility="hidden" style="left:927px; top:7px; width:90px; height:17px; ">조회기준4</caption>
- <input id="input20" ref="/root/send/in_todd" class="input_search" navindex="2" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:377px; top:7px; width:90px; height:19px; text-align:center; "/>
- <input id="input21" ref="/root/send/in_fromdd" class="input_search" navindex="1" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:272px; top:7px; width:90px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setFocus("input20");
- ]]>
- </script>
- </input>
- <caption id="caption15" style="left:364px; top:7px; width:15px; height:20px; ">~</caption>
- <caption id="caption2" style="left:95px; top:36px; width:278px; height:20px; ">재원의 경우 금액 정보는 온라인상 누적금액 전체</caption>
- <caption id="caption3" style="left:505px; top:36px; width:406px; height:28px; ">
- <![CDATA[퇴원의 경우 어제 퇴원한 환자까지 적용됨(가퇴원 포함, 6시간 미만건 제외)
- ]]>
- </caption>
- <caption id="caption4" style="left:231px; top:49px; width:278px; height:25px; ">어제 진료내역까지 적용됨</caption>
- <caption id="cp_text5_6" ref="/root/init/rptm_cond/cond5/condcd/mdlnm" class="search_name" visibility="hidden" style="left:927px; top:36px; width:90px; height:17px; ">조회기준5</caption>
- <select id="cb_cond5_6" ref="/root/send/in_cond5" navindex="1" visibility="hidden" overflow="visible" appearance="full" cols="10" sep="^" style="left:1015px; top:36px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond5/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select>
- <select1 id="cb_cond6_6" ref="/root/send/in_cond6" class="combo_search" navindex="3" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:190px; top:7px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond6/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cp_text6_6" ref="/root/init/rptm_cond/cond6/condcd/mdlnm" class="search_name" visibility="hidden" style="left:7px; top:7px; width:90px; height:17px; ">조회기준1</caption>
- <select id="cb_cond7_6" ref="/root/send/in_cond7" navindex="1" visibility="hidden" overflow="visible" appearance="full" cols="10" sep="^" style="left:1015px; top:55px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond7/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select>
- <caption id="cp_text7_6" ref="/root/init/rptm_cond/cond7/condcd/mdlnm" class="search_name" visibility="hidden" style="left:927px; top:36px; width:90px; height:17px; ">조회기준5</caption>
- </group>
- <!-- ## 칠번째 그룹 -->
- <!-- 컨트롤ID Seq : 7 -->
- <group id="group_c7" visibility="hidden" style="left:0px; top:560px; width:1146px; height:80px; ">
- <shape id="roundrect4" appearance="roundrect" style="left:0px; top:0px; width:1143px; height:80px; "/>
- <caption id="cp_text1_7" ref="/root/init/rptm_cond/cond1/condcd/mdlnm" class="search_name" visibility="visible" style="left:7px; top:15px; width:90px; height:17px; "/>
- <input id="input4" ref="/root/send/in_todd" class="input_search" navindex="2" visibility="visible" inputtype="date" format="yyyy-mm" style="left:337px; top:15px; width:90px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 청구차수
- model.setValue("/root/send/in_submit","A");
- submit("TRSTC00901");
- cb_cond7_7.select(0);
- ]]>
- </script>
- </input>
- <input id="input5" ref="/root/send/in_fromdd" class="input_search" navindex="2" visibility="visible" inputtype="date" format="yyyy-mm" style="left:231px; top:15px; width:90px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/in_todd",model.getValue("/root/send/in_fromdd"));
- // 청구차수
- model.setValue("/root/send/in_submit","A");
- submit("TRSTC00901");
- cb_cond7_7.select(0);
- ]]>
- </script>
- </input>
- <caption id="caption5" style="left:324px; top:15px; width:15px; height:20px; ">~</caption>
- <select id="cb_cond2_7" ref="/root/send/in_cond2" navindex="1" visibility="hidden" overflow="visible" appearance="full" cols="10" sep="^" style="left:90px; top:47px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond2/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select>
- <caption id="cp_text2_7" ref="/root/init/rptm_cond/cond2/condcd/mdlnm" class="search_name" visibility="hidden" style="left:7px; top:47px; width:90px; height:17px; ">청구형태</caption>
- <select1 id="cb_cond1_7" ref="/root/send/in_cond1" class="combo_search" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:90px; top:9px; width:80px; height:19px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond1/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if ( model.getValue("/root/send/in_cond1") == "01" || model.getValue("/root/send/in_cond1") == "02")
- {
- input4.attribute("format") = "yyyy-mm";
- input4.attribute("inputtype") = "date";
- input5.attribute("format") = "yyyy-mm";
- input5.attribute("inputtype") = "date";
- }
- else
- {
- input4.attribute("maxlength") = 8;
- input4.attribute("format") = "";
- input4.attribute("inputtype") = "";
- input5.attribute("maxlength") = 8;
- input5.attribute("format") = "";
- input5.attribute("inputtype") = "";
- }
-
- input4.refresh();
- input5.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cb_cond3_7" ref="/root/send/in_cond3" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:550px; top:15px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond3/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cp_text3_7" ref="/root/init/rptm_cond/cond3/condcd/mdlnm" class="search_name" visibility="hidden" style="left:460px; top:15px; width:90px; height:17px; ">내원유형</caption>
- <select1 id="cb_cond5_7" ref="/root/send/in_cond5" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:1000px; top:15px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond5/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- //시군구
- model.setValue("/root/send/in_submit","C");
- submit("TRSTC00700");
- cb_cond6_7.select(0);
- ]]>
- </script>
- </select1>
- <caption id="cp_text5_7" class="search_name" visibility="hidden" style="left:920px; top:15px; width:90px; height:17px; ">시도</caption>
- <select1 id="cb_cond6_7" ref="/root/send/in_cond6" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:1000px; top:47px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond6/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cp_text6_7" class="search_name" visibility="hidden" style="left:920px; top:47px; width:90px; height:17px; ">시군구</caption>
- <select1 id="cb_cond7_7" ref="/root/send/in_cond7" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:780px; top:15px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond7/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cp_text7_7" ref="/root/init/rptm_cond/cond7/condcd/mdlnm" class="search_name" visibility="hidden" style="left:690px; top:15px; width:90px; height:17px; ">청구차수</caption>
- <caption id="cp_text4_7" class="search_name" visibility="visible" style="left:460px; top:47px; width:90px; height:17px; ">접수번호</caption>
- <caption id="cp_text8_7" class="search_name" visibility="visible" style="left:690px; top:47px; width:107px; height:17px; ">환자번호</caption>
- <input id="cb_cond4_7" ref="/root/send/in_cond4" class="input_default" navindex="1" visibility="visible" style="left:550px; top:47px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond4/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </input>
- <input id="cb_cond8_7" ref="/root/send/in_cond8" class="input_default" navindex="1" visibility="visible" style="left:780px; top:47px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond8/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </input>
- </group>
- <group id="group_c8" visibility="hidden" style="left:0px; top:660px; width:1146px; height:80px; ">
- <shape id="roundrect5" appearance="roundrect" style="left:0px; top:0px; width:1143px; height:80px; "/>
- <input id="input8" ref="/root/send/in_todd" class="input_search" navindex="2" visibility="visible" inputtype="date" format="yyyy-mm" style="left:276px; top:6px; width:80px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 청구 차수
- model.setValue("/root/send/in_submit","A");
- submit("TRSTC00903");
- cb_cond8_8.select(0);
- ]]>
- </script>
- </input>
- <caption id="caption8" style="left:264px; top:6px; width:15px; height:20px; ">~</caption>
- <input id="input9" ref="/root/send/in_fromdd" class="input_search" navindex="2" visibility="visible" inputtype="date" format="yyyy-mm" style="left:182px; top:6px; width:80px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/in_todd",model.getValue("/root/send/in_fromdd"));
- input8.refresh();
- // 청구 차수
- model.setValue("/root/send/in_submit","A");
- submit("TRSTC00903");
- cb_cond8_8.select(0);
- ]]>
- </script>
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13") {
- model.setFocus("input8");
- }
- ]]>
- </script>
- </input>
- <caption id="caption18" ref="/root/init/rptm_grid/ret_cmmt/out_cmmt" style="left:10px; top:56px; width:805px; height:20px; ">...</caption>
- <select1 id="cb_cond1_8" ref="/root/send/in_cond1" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:100px; top:6px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond1/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cp_text1_8" class="search_name" visibility="hidden" style="left:7px; top:6px; width:90px; height:17px; ">조회기간</caption>
- <select id="cb_cond2_8" ref="/root/send/in_cond2" navindex="1" visibility="hidden" overflow="visible" appearance="full" cols="4" sep="^" style="left:502px; top:6px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond2/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select>
- <caption id="cp_text2_8" class="search_name" visibility="hidden" style="left:409px; top:6px; width:90px; height:17px; ">청구형태</caption>
- <select id="cb_cond3_8" ref="/root/send/in_cond3" navindex="1" visibility="hidden" overflow="visible" appearance="full" cols="4" sep="^" style="left:100px; top:31px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond3/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select>
- <caption id="cp_text3_8" class="search_name" visibility="hidden" style="left:7px; top:31px; width:90px; height:17px; ">보험유형</caption>
- <input id="cb_cond4_8" ref="/root/send/in_fromdd2" class="input_search" navindex="2" visibility="visible" inputtype="date" format="yyyy-mm-dd" style="left:502px; top:31px; width:90px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </input>
- <caption id="cp_text4_8" class="search_name" visibility="hidden" style="left:409px; top:31px; width:90px; height:17px; ">기준일시</caption>
- <select1 id="cb_cond5_8" ref="/root/send/in_cond5" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:910px; top:31px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond5/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if (model.getValue("/root/send/in_cond5") == "01") {
- model.setValue("/root/send/in_submit","E"); //청구과
- } else {
- model.setValue("/root/send/in_submit","F"); //처방과
- }
- submit("TRSTC00700");
- cb_cond6_8.select(0);
- ]]>
- </script>
- </select1>
- <select1 id="cb_cond6_8" ref="/root/send/in_cond6" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:992px; top:31px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond6/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </select1>
- <caption id="cp_text5_8" ref="/root/init/rptm_cond/cond5/condcd/mdlnm" class="search_name" visibility="hidden" style="left:821px; top:31px; width:90px; height:17px; ">과</caption>
- <select id="cb_cond7_8" ref="/root/send/in_cond7" navindex="1" visibility="hidden" overflow="visible" appearance="full" cols="4" sep="^" style="left:597px; top:32px; width:90px; height:19px; ">
- <choices>
- <item>
- <label>보류건 제외</label>
- <value>01</value>
- </item>
- </choices>
- </select>
- <caption id="cp_text7_8" class="search_name" visibility="hidden" style="left:409px; top:31px; width:90px; height:17px; ">기준일시</caption>
- <caption id="cp_text6_8" ref="/root/init/rptm_cond/cond5/condcd/mdlnm" class="search_name" visibility="hidden" style="left:821px; top:31px; width:90px; height:17px; ">과</caption>
- <select1 id="cb_cond8_8" ref="/root/send/in_cond8" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:910px; top:6px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond8/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cp_text8_8" ref="/root/init/rptm_cond/cond8/condcd/mdlnm" class="search_name" visibility="hidden" style="left:821px; top:6px; width:90px; height:17px; ">청구차수</caption>
- <select id="cb_cond9_8" ref="/root/send/in_cond9" navindex="1" visibility="hidden" overflow="visible" appearance="full" cols="4" sep="^" style="left:682px; top:32px; width:90px; height:19px; ">
- <choices>
- <item>
- <label>반송건 제외</label>
- <value>01</value>
- </item>
- </choices>
- </select>
- <caption id="cp_text9_8" class="search_name" visibility="hidden" style="left:409px; top:31px; width:90px; height:17px; ">기준일시</caption>
- <caption id="cp_text10_8" ref="/root/init/rptm_cond/cond10/condcd/mdlnm" class="search_name" visibility="hidden" style="left:821px; top:56px; width:90px; height:17px; ">청구분야</caption>
- <select1 id="cb_cond10_8" ref="/root/send/in_cond10" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:910px; top:56px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond10/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <group id="group_c9" visibility="hidden" style="left:0px; top:765px; width:1146px; height:80px; ">
- <shape id="roundrect6" appearance="roundrect" style="left:0px; top:0px; width:1143px; height:80px; "/>
- <input id="input10" ref="/root/send/in_todd" class="input_search" navindex="2" visibility="visible" inputtype="date" format="yyyy-mm" style="left:295px; top:12px; width:90px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </input>
- <caption id="caption11" style="left:283px; top:12px; width:15px; height:20px; ">~</caption>
- <input id="input15" ref="/root/send/in_fromdd" class="input_search" navindex="2" visibility="visible" inputtype="date" format="yyyy-mm" style="left:192px; top:12px; width:90px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/in_todd",model.getValue("/root/send/in_fromdd"));
- ]]>
- </script>
- </input>
- <caption id="cp_text1_9" class="search_name" visibility="hidden" style="left:7px; top:12px; width:90px; height:17px; ">조회기준</caption>
- <caption id="cp_text2_9" class="search_name" visibility="hidden" style="left:457px; top:12px; width:90px; height:17px; ">보험유형</caption>
- <select1 id="cb_cond1_9" ref="/root/send/in_cond1" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:100px; top:12px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond1/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if (model.getValue("/root/send/in_rptcd") == "RR01138") {
- if ( model.getValue("/root/send/in_cond1") == "01" ) {
- input15.attribute("format") = "yyyy-mm";
- input10.attribute("format") = "yyyy-mm";
- }
-
- if ( model.getValue("/root/send/in_cond1") == "02" ) {
- input15.attribute("format") = "yyyy-mm-dd";
- input10.attribute("format") = "yyyy-mm-dd";
- model.setValue("/root/send/in_fromdd", model.getValue("/root/send/in_fromdd").substr(0,6)+"01");
- model.setValue("/root/send/in_todd", model.getValue("/root/send/in_todd").substr(0,6)+"01");
- }
-
- input15.refresh();
- input10.refresh();
- }
- ]]>
- </script>
- </select1>
- <select1 id="cb_cond2_9" ref="/root/send/in_cond2" appearance="full" cols="4" overflow="visible" style="left:555px; top:12px; width:100px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond2/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if (model.getValue("/root/send/in_cond2") == "01" )
- {
- dgrd_rpt.colhidden(15) = true;
- } else
- {
- dgrd_rpt.colhidden(15) = false;
- }
- dgrd_rpt.refresh();
- ]]>
- </script>
- </select1>
- </group>
- <group id="group_c10" visibility="hidden" style="left:0px; top:865px; width:1146px; height:55px; ">
- <shape id="roundrect10" appearance="roundrect" style="left:0px; top:0px; width:1143px; height:55px; "/>
- <select1 id="cb_cond1_10" ref="/root/send/in_cond1" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:112px; top:5px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond1/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var tmp = model.getValue("/root/init/rptInfo/rptInfoList/cond1");
-
- if(tmp == '9999'){
-
- var con1Value = cb_cond1_1.value ;
-
- submit("TRSTC01200");
-
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // 진료실적(일보,월보)
- if (model.getValue("/root/send/in_rptcd") == "RR00701") {
- // 일보
- if ( model.getValue("/root/send/in_cond1") == "01" ) {
- ipt_procdd.value = getCurrentDate();
- ipt_procdd.attribute("format") = "yyyy-mm-dd";
-
- model.setValue("/root/send/in_todd",model.getValue("/root/send/in_fromdd"));
- cb_cond2_1.disabled=true;
- btn_cmmt.disabled=false;
- button2.disabled=false;
- // btn_print2.disabled=false;
- } // 월보
- else if ( model.getValue("/root/send/in_cond1") == "02" ) {
- ipt_procdd.value = getCurrentDate();
- ipt_procdd.attribute("format") = "yyyy-mm";
-
- model.setValue("/root/send/in_fromdd",model.getValue("/root/send/in_fromdd").substr(0,6)+"01");
- var FirstDate = model.getValue("/root/send/in_fromdd")
- var LastDate = FirstDate.toDate("YYYYMMDD")
- LastDate = LastDate.getAddDate(1,"M").getAddDate(-1,"D").getDateFormat("YYYYMMDD") ;
- model.setValue("/root/send/in_todd",LastDate);
- cb_cond2_1.disabled=true;
- btn_cmmt.disabled=true;
- button2.disabled=true;
- // btn_print2.disabled=true;
- } //년보
- else if ( model.getValue("/root/send/in_cond1") == "03" ) {
- ipt_procdd.value = getCurrentDate();
- ipt_procdd.attribute("format") = "yyyy";
-
- model.setValue("/root/send/in_fromdd",model.getValue("/root/send/in_fromdd").substr(0,4)+"0101");
- var FirstDate = model.getValue("/root/send/in_fromdd")
- var LastDate = FirstDate.toDate("YYYYMMDD")
- LastDate = LastDate.getAddDate(1,"Y").getAddDate(-1,"D").getDateFormat("YYYYMMDD") ;
- model.setValue("/root/send/in_todd",LastDate);
- cb_cond2_1.disabled=true;
- btn_cmmt.disabled=true;
- button2.disabled=true;
- // btn_print2.disabled=true;
- }
- setgridcaption();
-
- ipt_procdd.refresh();
- cb_cond2_1.refresh();
-
- } else if (model.getValue("/root/send/in_rptcd") == "RR00835"
- || model.getValue("/root/send/in_rptcd") == "RR00842"
- || model.getValue("/root/send/in_rptcd") == "RR00837"
- || model.getValue("/root/send/in_rptcd") == "RR00836") {
- if ( model.getValue("/root/send/in_cond1") == "02" ) {
- ipt_procdd.visible = true;
- input1.visible = false;
-
- ipt_procdd.attribute("format") = "yyyy-mm";
- input1.value = ipt_procdd.value;
- } else {
- ipt_procdd.visible = true;
- input1.visible = true;
-
- ipt_procdd.attribute("format") = "yyyy-mm-dd";
- }
-
- model.refresh();
- } else if (model.getValue("/root/send/in_rptcd") == "RR00839") {
- if ( model.getValue("/root/send/in_cond1") == "02" ) {
- messageBox("외래처방선수금은 월별 조회를 할 수 없습니다. 다시 " , "C001");
- model.setValue("/root/send/in_cond1","01");
-
- model.refresh();
- }
- }
- ]]>
- </script>
- </select1>
- <select1 id="cb_cond2_10" ref="/root/send/in_cond2" class="combo_search" navindex="1" visibility="hidden" appearance="minimal" editmode="search" itemcount="20" style="left:330px; top:5px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rptm_cond/cond2/condcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // 진료실적(일보,월보)
- if (model.getValue("/root/send/in_rptcd") == "RR00701") {
- setgridcaption();
- } else if (model.getValue("/root/send/in_rptcd") == "RR00834") {
- if ( model.getValue("/root/send/in_cond2") == "02" ) {
- ipt_procdd.visible = true;
- input1.visible = false;
-
- ipt_procdd.attribute("format") = "yyyy-mm";
- input1.value = ipt_procdd.value;
- } else {
- ipt_procdd.visible = true;
- input1.visible = true;
-
- ipt_procdd.attribute("format") = "yyyy-mm-dd";
- }
-
- model.refresh();
- }
- ]]>
- </script>
- </select1>
- <caption id="cp_text1_10" ref="/root/init/rptm_cond/cond1/condcd/mdlnm" class="search_name" visibility="hidden" style="left:7px; top:5px; width:90px; height:17px; ">진료구분</caption>
- <caption id="cp_text2_10" ref="/root/init/rptm_cond/cond2/condcd/mdlnm" class="search_name" visibility="hidden" style="left:233px; top:5px; width:90px; height:17px; ">할인구분</caption>
- <button id="btn_download1" class="btn4_letter4" navindex="3" visibility="hidden" style="left:970px; top:27px; width:80px; height:22px; ">
- <caption>파일생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //저장파일명
- var filenm = cb_rpt.item(cb_rpt.focusIndex).label+"("+ ipt_procdd.label+").csv" ;
- model.setValue("/root/send/in_filenm", filenm);
-
- submit("TXSTC00200");
-
- btn_log.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <button id="btn_log1" class="btn4_letter4" navindex="3" visibility="hidden" style="left:1055px; top:27px; width:80px; height:22px; ">
- <caption>생성로그</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 샘생성 배치 로그 확인
- var todd = getCurrentDate();
- todd = todd.toDate().getAddDate(+1, 'D');
- zsbfOpenBatchLogPopup("stspammngtmgr.StsPamQueryBatch",getCurrentDate(),todd.getDateFormat());
- ]]>
- </script>
- </button>
- <caption id="caption16" class="search_name" style="left:455px; top:5px; width:95px; height:17px; ">대상구분</caption>
- <select1 id="radio1" ref="/root/send/in_cond3" appearance="full" cols="3" overflow="visible" style="left:540px; top:8px; width:170px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>환자별</label>
- <value>P</value>
- </item>
- <item>
- <label>사원별</label>
- <value>E</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_srchcode" ref="/root/send/in_cond4" style="left:710px; top:5px; width:85px; height:19px; "/>
- <button id="button3" class="icon_search" style="left:800px; top:5px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var chkgrup = model.getValue("/root/send/in_cond3");
- var ptbs_pid = model.getValue("/root/send/in_cond4");
- if ( chkgrup == "P") {
- if (ptbs_pid == null || ptbs_pid ==" " || ptbs_pid == "") {
- model.resetInstanceNode("/root/send/data");
- } else {
- model.resetInstanceNode("/root/send/data");
- model.setValue("/root/send/data/pid", model.getValue("/root/send/in_cond4"));
- model.setValue("/root/send/data/srchcond","1")
- }
-
- modal("../../../pam/commonweb/xrw/SPPMC02500", "1","150", "150", "SPPMC02500", "/root/send/data", "/root/send");
-
- if ( model.getValue("/root/main/popupendflag") == "ok" ) {
- model.setValue("/root/send/in_cond4", model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.refresh();
- }
- } else if ( chkgrup == "E" ) {
- var srchdata = model.getValue("/root/send/in_cond4");
- setParameter("SSSTC00500_emplno", srchdata);
- modal("../../../pam/commonweb/xrw/SPPMC02501", "1", "150", "150", "SPPMC02501", "", "");
- var emplno = getParameter("emplno");
-
- model.setValue("/root/send/in_cond4", emplno );
- removeParameter("emplno");
- model.refresh();
- } else {
- messageBox("대상구분을 '환자별' 또는 '사원별'로 선택후 조회하십시오. '전체'일 경우는 별도 조회기준을 입력할 수 없습니다.", "E");
- return;
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|