123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAHB01500" position="absolute 0 0 1189 783" titletext="예약일정관리" onload="SMAHB01500_onload">
- <Layouts>
- <Layout>
- <Tab id="switch1" taborder="1" tabindex="0" position="absolute 0 28 1188 755" anchor="all" onchanged="switch1_onchanged">
- <Tabpages>
- <Tabpage id="case_cret" text=" 건진예약일정관리 ">
- <Layouts>
- <Layout>
- <Shape id="line2" linetype="horizontal" class="line_2" position="absolute 395 96 793 102"/>
- <Shape id="line19" class="line_3" position="absolute 0 98 387 104"/>
- <Button id="button3" taborder="53" text="부분영역저장" class="btn5" position="absolute 1101 1 1187 23" anchor="top right" onclick="switch1_case_cret_button3_onclick"/>
- <Static id="caption41" text="공통" class="cell_1" position="absolute 245 76 281 99" style="padding:0 0 0 4;"/>
- <Static id="caption10" text="명" class="search_no_b" position="absolute 325 79 343 96"/>
- <Edit id="input1" taborder="7" class="input_default" position="absolute 283 78 323 97" onkeyup="Edit_onkeyup" autoselect="true"/>
- <Button id="button5" taborder="55" text="추가" class="btn2" position="absolute 549 127 591 149" onclick="switch1_case_cret_button5_onclick"/>
- <Button id="button4" taborder="56" text="삭제" class="btn2" position="absolute 594 127 636 149" onclick="switch1_case_cret_button4_onclick"/>
- <Button id="button1" taborder="57" text="전체삭제" class="btn2" position="absolute 639 127 703 149" onclick="switch1_case_cret_button1_onclick"/>
- <Static id="caption15" text="시간" class="cell_1" position="absolute 395 76 441 123" style="padding:0 0 0 4;"/>
- <CheckBox id="chx_fri" taborder="27" position="absolute 615 54 651 74" text="금" truevalue="5" onclick="CheckBox_onclick"/>
- <Static id="caption18" text="오전" class="cell_1" position="absolute 462 76 508 99" style="padding:0 0 0 4;"/>
- <Static id="caption29" text="분" class="search_no_b" position="absolute 722 103 740 120"/>
- <CheckBox id="chx_mon" taborder="23" position="absolute 443 54 479 74" text="월" truevalue="1" onclick="CheckBox_onclick"/>
- <Button id="btn_search" taborder="8" text="조회" class="btn1" position="absolute 735 54 790 74" anchor="top right" onclick="switch1_case_cret_btn_search_onclick"/>
- <Shape id="line4" linetype="horizontal" class="line_2" position="absolute 395 72 793 78"/>
- <Static id="caption27" text="요일" class="cell_1" position="absolute 395 52 441 75" style="padding:0 0 0 4;"/>
- <Static id="caption26" text="오후" class="cell_1" position="absolute 462 100 508 123" style="padding:0 0 0 4;"/>
- <Static id="caption25" text="~" class="search_no_b" position="absolute 561 79 579 96"/>
- <Static id="caption5" text="분" class="search_no_b" position="absolute 722 79 740 96"/>
- <Static id="caption24" text="상담예약스케줄 생성" class="tit_2" position="absolute 395 7 603 24"/>
- <Static id="caption4" text="간격" class="cell_1" position="absolute 625 76 671 99" style="padding:0 0 0 4;"/>
- <Static id="caption23" text="~" class="search_no_b" position="absolute 542 31 554 48"/>
- <Shape id="line14" linetype="horizontal" class="line_2" position="absolute 395 48 793 54"/>
- <Static id="caption22" text="간격" class="cell_1" position="absolute 625 100 671 123" style="padding:0 0 0 4;"/>
- <CheckBox id="chx_wed" taborder="25" position="absolute 529 54 565 74" text="수" truevalue="3" onclick="CheckBox_onclick"/>
- <Static id="caption21" text="일자" class="cell_1" position="absolute 395 28 441 51" style="padding:0 0 0 4;"/>
- <Button id="btn_savecnst" taborder="61" text="스케줄 저장" class="btn5" position="absolute 706 127 792 149" onclick="switch1_case_cret_btn_savecnst_onclick"/>
- <Button id="btn_cnstmake" taborder="18" text="생성" class="btn2" position="absolute 751 101 793 123" onclick="switch1_case_cret_btn_cnstmake_onclick"/>
- <MaskEdit id="ipt_cnstfmterm" taborder="17" mask="##" class="input_default" position="absolute 674 102 720 121" onkeyup="MaskEdit_onkeyup" autoselect="true" type="string"/>
- <MaskEdit id="ipt_cnstfmtotm" taborder="16" mask="##:##" class="input_default" position="absolute 576 102 622 121" onkeyup="MaskEdit_onkeyup" autoselect="true" type="string"/>
- <MaskEdit id="ipt_cnstfmfromtm" taborder="15" mask="##:##" class="input_default" position="absolute 511 102 557 121" onkeyup="MaskEdit_onkeyup" autoselect="true" type="string"/>
- <MaskEdit id="ipt_cnstamterm" taborder="14" mask="##" class="input_default" position="absolute 674 78 720 97" onkeyup="MaskEdit_onkeyup" autoselect="true" type="string"/>
- <MaskEdit id="ipt_cnstamtotm" taborder="13" mask="##:##" class="input_default" position="absolute 576 78 622 97" onkeyup="MaskEdit_onkeyup" autoselect="true" type="string"/>
- <MaskEdit id="ipt_cnstamfromtm" taborder="12" mask="##:##" class="input_default" position="absolute 511 78 557 97" onkeyup="MaskEdit_onkeyup" autoselect="true" type="string"/>
- <Combo id="cmb_cnstdrid" taborder="11" innerdataset="@ds_init_cnst_drlst_itemdr" codecolumn="drid" datacolumn="drnm" class="combo_essential" position="absolute 704 29 792 48" onitemchanged="switch1_case_cret_cmb_cnstdrid_onitemchanged"/>
- <Calendar id="ipt_cnsttodd" taborder="10" class="input_essential" position="absolute 557 29 652 48" dateformat="yyyy-MM-dd" onkeyup="Calendar_onkeyup" autoselect="true"/>
- <Calendar id="ipt_cnstfromdd" taborder="9" class="input_essential" position="absolute 443 29 538 48" dateformat="yyyy-MM-dd" onkeyup="Calendar_onkeyup" autoselect="true"/>
- <CheckBox id="chx_tue" taborder="24" position="absolute 486 54 522 74" text="화" truevalue="2" onclick="CheckBox_onclick"/>
- <CheckBox id="chx_sat" taborder="28" position="absolute 658 54 694 74" text="토" truevalue="6" onclick="CheckBox_onclick"/>
- <Static id="caption20" text="스케줄내역" class="tit_2" position="absolute 395 133 493 149"/>
- <Shape id="line11" linetype="horizontal" class="line_10" position="absolute 395 23 793 29"/>
- <Static id="caption30" text="~" class="search_no_b" position="absolute 561 103 579 120"/>
- <Button id="btn_cnstclear" taborder="74" text="초기화" class="btn2" position="absolute 494 127 547 149" onclick="switch1_case_cret_btn_cnstclear_onclick"/>
- <Shape id="line10" linetype="horizontal" class="line_3" position="absolute 395 122 793 128"/>
- <Grid id="grd_cnstschlst" taborder="75" binddataset="ds_main_cnst_schlst_item" useinputpanel="false" position="absolute 395 154 793 700" anchor="left top bottom" autoenter="key" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="108"/>
- <Column size="49"/>
- <Column size="97"/>
- <Column size="95"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="일자"/>
- <Cell col="2" text="요일"/>
- <Cell col="3" text="시간"/>
- <Cell col="4" text="인원"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="date" edittype="date" text="bind:rsrvdd"/>
- <Cell col="2" text="bind:rsrvweek"/>
- <Cell col="3" displaytype="text" edittype="text" style="align:center middle;" text="bind:rsrvtm" mask="expr:utlf_isNull(rsrvtm) ? '' : '##:##'" editautoselect="true"/>
- <Cell col="4" displaytype="number" edittype="masknumber" text="bind:psnnocnt" mask="999" editautoselect="true"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <CheckBox id="chx_thu" taborder="26" position="absolute 572 54 608 74" text="목" truevalue="4" onclick="CheckBox_onclick"/>
- <Shape id="line8" linetype="horizontal" class="line_10" position="absolute 395 149 793 155"/>
- <Static id="caption39" text="명" class="search_no_b" position="absolute 970 55 988 72"/>
- <Static id="caption35" text="여" class="cell_1" position="absolute 154 76 180 99" style="padding:0 0 0 4;"/>
- <Shape id="line17" linetype="horizontal" class="line_2" position="absolute 0 72 387 78"/>
- <Shape id="line7" linetype="horizontal" class="line_3" position="absolute 800 74 1187 80" anchor="left top right"/>
- <Static id="caption34" text="인원" class="cell_1" position="absolute 801 52 862 75"/>
- <Button id="btn_roomalldel" taborder="77" text="전체삭제" class="btn2" position="absolute 1033 263 1097 285" anchor="top right" onclick="switch1_case_cret_btn_roomalldel_onclick"/>
- <CheckBox id="chx_totsunyn" taborder="78" visible="false" position="absolute 300 51 380 71" text="일요일제외" truevalue="Y" onclick="CheckBox_onclick"/>
- <CheckBox id="chx_totsatyn" taborder="79" position="absolute 295 30 375 50" text="토요일제외" truevalue="Y" onclick="CheckBox_onclick"/>
- <Static id="caption7" text="~" class="search_no_b" position="absolute 108 56 120 73"/>
- <Shape id="line21" linetype="horizontal" class="line_2" position="absolute 800 47 1187 53" anchor="left top right"/>
- <Static id="caption37" text="스케줄내역" class="tit_2" position="absolute 800 269 890 285"/>
- <Button id="btn_roomsave" taborder="80" text="스케줄 저장" class="btn5" position="absolute 1100 263 1186 285" anchor="top right" onclick="switch1_case_cret_btn_roomsave_onclick"/>
- <Button id="btn_roomdel" taborder="81" text="삭제" class="btn2" position="absolute 988 263 1030 285" anchor="top right" onclick="switch1_case_cret_btn_roomdel_onclick"/>
- <Button id="btn_roomadd" taborder="82" text="추가" class="btn2" position="absolute 943 263 985 285" anchor="top right" onclick="switch1_case_cret_btn_roomadd_onclick"/>
- <Button id="btn_roomclear" taborder="83" text="초기화" class="btn2" position="absolute 887 263 940 285" anchor="top right" onclick="switch1_case_cret_btn_roomclear_onclick"/>
- <Grid id="grd_roomlst" taborder="84" binddataset="ds_init_room_roomlst_itemroom" useinputpanel="false" position="absolute 800 78 1187 261" anchor="left top right" cellclickbound="cell" autoenter="key" oncelldblclick="switch1_case_cret_grd_roomlst_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="32"/>
- <Column size="67"/>
- <Column size="186"/>
- <Column size="52"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="선택"/>
- <Cell col="2" text="검사실코드"/>
- <Cell col="3" text="검사실명"/>
- <Cell col="4" text="인원"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:sel" expr="expr:(sel=="Y"||sel==1)?1:0"/>
- <Cell col="2" displaytype="text" text="bind:testroomcd"/>
- <Cell col="3" displaytype="text" text="bind:testroomnm"/>
- <Cell col="4" displaytype="number" edittype="masknumber" text="bind:cnt" editautoselect="true"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_roommake" taborder="22" text="생성" class="btn2" position="absolute 1145 53 1187 75" anchor="top right" onclick="switch1_case_cret_btn_roommake_onclick"/>
- <Edit id="ipt_roomcnt" taborder="21" class="input_default" position="absolute 864 54 964 73" onkeyup="Edit_onkeyup" autoselect="true" onkeydown="switch1_case_cret_ipt_roomcnt_onkeydown"/>
- <CheckBox id="chx_roomsunyn" taborder="87" visible="false" position="absolute 1050 55 1130 75" text="일요일제외" truevalue="Y" onclick="CheckBox_onclick"/>
- <CheckBox id="chx_roomsatyn" taborder="88" position="absolute 1095 30 1175 50" text="토요일제외" truevalue="Y" onclick="CheckBox_onclick"/>
- <Calendar id="ipt_roomtodd" taborder="20" class="input_essential" position="absolute 985 29 1085 48" dateformat="yyyy-MM-dd" onkeyup="Calendar_onkeyup" autoselect="true"/>
- <Calendar id="ipt_roomfromdd" taborder="19" class="input_essential" position="absolute 864 29 964 48" dateformat="yyyy-MM-dd" onkeyup="Calendar_onkeyup" autoselect="true"/>
- <Static id="caption33" text="~" class="search_no_b" position="absolute 970 31 982 48"/>
- <Static id="caption32" text="기간" class="cell_1" position="absolute 801 28 862 51"/>
- <Shape id="line20" class="line_10" position="absolute 800 23 1187 29" anchor="left top right"/>
- <Static id="caption36" text="검사실별 예약스케줄생성" class="tit_2" position="absolute 800 7 1026 24"/>
- <Shape id="line18" linetype="horizontal" class="line_3" position="absolute 800 258 1187 264"/>
- <Shape id="line16" linetype="horizontal" class="line_10" position="absolute 800 285 1187 291" anchor="left top right"/>
- <Grid id="grd_roomschlst" taborder="91" binddataset="ds_main_room_schlst_item" useinputpanel="false" position="absolute 800 290 1187 700" anchor="all" autoenter="key" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="85"/>
- <Column size="34"/>
- <Column size="170"/>
- <Column size="52"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="일자"/>
- <Cell col="2" text="요일"/>
- <Cell col="3" text="검사실"/>
- <Cell col="4" text="인원"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="date" edittype="date" text="bind:rsrvdd"/>
- <Cell col="2" text="bind:rsrvweek"/>
- <Cell col="3" displaytype="combo" edittype="combo" text="bind:testroomcd" combodataset="ds_init_room_roomlst_itemroom" combocodecol="testroomcd" combodatacol="testroomnm" enable="false"/>
- <Cell col="4" displaytype="number" edittype="masknumber" text="bind:psnnocnt" editautoselect="true"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_totsave" taborder="92" text="스케줄 저장" class="btn5" position="absolute 301 127 387 149" onclick="switch1_case_cret_btn_totsave_onclick"/>
- <Static id="caption12" text="남" class="cell_1" position="absolute 63 76 89 99" style="padding:0 0 0 4;"/>
- <Static id="caption11" text="명" class="search_no_b" position="absolute 224 79 242 96"/>
- <Shape id="line13" linetype="horizontal" class="line_10" position="absolute 0 149 387 155"/>
- <Static id="caption71" text="스케줄내역" class="tit_2" position="absolute 0 133 88 151"/>
- <Button id="btn_totalldel" taborder="93" text="전체삭제" class="btn2" position="absolute 234 127 298 149" onclick="switch1_case_cret_btn_totalldel_onclick"/>
- <Button id="btn_totdel" taborder="94" text="삭제" class="btn2" position="absolute 189 127 231 149" onclick="switch1_case_cret_btn_totdel_onclick"/>
- <Button id="btn_totadd" taborder="95" text="추가" class="btn2" position="absolute 144 127 186 149" onclick="switch1_case_cret_btn_totadd_onclick"/>
- <Button id="btn_totclear" taborder="96" text="초기화" class="btn2" position="absolute 88 127 141 149" onclick="switch1_case_cret_btn_totclear_onclick"/>
- <Shape id="line12" linetype="horizontal" class="line_2" position="absolute 0 48 387 54"/>
- <CheckBox id="chx_cnstam" taborder="98" position="absolute 443 77 468 97" onclick="switch1_case_cret_chx_cnstam_onclick"/>
- <CheckBox id="chx_cnstfm" taborder="99" position="absolute 443 102 469 122" onclick="switch1_case_cret_chx_cnstfm_onclick"/>
- <Grid id="grd_totalschlst" taborder="97" binddataset="ds_main_total_schlst_item" useinputpanel="false" position="absolute 0 154 387 700" anchor="left top bottom" autoenter="key" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="90"/>
- <Column size="35"/>
- <Column size="60"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="일자"/>
- <Cell col="2" text="요일"/>
- <Cell col="3" text="시간"/>
- <Cell col="4" text="남자"/>
- <Cell col="5" text="여자"/>
- <Cell col="6" text="공통"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="date" edittype="date" text="bind:rsrvdd"/>
- <Cell col="2" text="bind:rsrvweek"/>
- <Cell col="3" displaytype="text" edittype="text" style="align:center middle;" text="bind:rsrvtm" mask="expr:utlf_isNull(rsrvtm) ? '' : '##:##'" editautoselect="true"/>
- <Cell col="4" displaytype="text" edittype="text" text="bind:psnnomancnt" editautoselect="true"/>
- <Cell col="5" displaytype="text" edittype="text" text="bind:psnnowomcnt" editautoselect="true"/>
- <Cell col="6" displaytype="text" edittype="text" text="bind:psnnocomcnt" editautoselect="true"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption70" text="명" class="search_no_b" position="absolute 133 79 151 96"/>
- <Static id="caption45" text="인원" class="cell_1" position="absolute 0 76 61 99" style="padding:0 0 0 4;"/>
- <Static id="caption38" text="분" class="search_no_b" position="absolute 261 54 279 71"/>
- <Static id="caption31" text="기간" class="cell_1" position="absolute 0 28 61 51" style="padding:0 0 0 4;"/>
- <Static id="caption16" text="간격" class="cell_1" position="absolute 169 52 200 75" style="padding:0 0 0 4;"/>
- <Static id="caption14" text="건진전체예약스케쥴생성" class="tit_2" position="absolute 0 7 170 24"/>
- <Shape id="line6" linetype="horizontal" class="line_10" position="absolute 0 23 387 29"/>
- <Static id="caption13" text="~" class="search_no_b" position="absolute 169 32 181 49"/>
- <Static id="caption6" text="시간" class="cell_1" position="absolute 0 52 61 75" style="padding:0 0 0 4;"/>
- <Button id="btn_totalmake" taborder="8" text="생성" class="btn2" position="absolute 345 77 387 99" onclick="switch1_case_cret_btn_totalmake_onclick"/>
- <Edit id="ipt_totwomcnt" taborder="6" class="input_default" position="absolute 182 78 222 97" onkeyup="Edit_onkeyup" autoselect="true"/>
- <Edit id="ipt_totmancnt" taborder="5" class="input_default" position="absolute 91 78 131 97" onkeyup="Edit_onkeyup" autoselect="true"/>
- <Edit id="ipt_tottermtm" taborder="4" class="input_default" position="absolute 202 53 257 72" onkeyup="Edit_onkeyup" autoselect="true"/>
- <MaskEdit id="ipt_tottotm" taborder="3" mask="##:##" class="input_default" position="absolute 120 54 163 73" type="string" onkeyup="MaskEdit_onkeyup" autoselect="true"/>
- <MaskEdit id="ipt_totfromtm" taborder="2" mask="##:##" class="input_default" position="absolute 63 54 106 73" type="string" onkillfocus="switch1_case_cret_ipt_totfromtm_onkillfocus" onkeyup="MaskEdit_onkeyup" autoselect="true"/>
- <Calendar id="ipt_tottodd" taborder="1" class="input_essential" position="absolute 184 29 284 48" dateformat="yyyy-MM-dd" onkeyup="Calendar_onkeyup" autoselect="true" onchanged="switch1_case_cret_ipt_tottodd_onchanged"/>
- <Calendar id="ipt_totfromdd" taborder="0" class="input_essential" position="absolute 63 29 163 48" dateformat="yyyy-MM-dd" value="null" onkeyup="Calendar_onkeyup" autoselect="true"/>
- <Static id="caption28" text="상담의" class="cell_1" position="absolute 655 28 701 51" style="padding:0 0 0 4;"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case_modify" text=" 예약일정수정/조회 ">
- <Layouts>
- <Layout>
- <Div id="group2" taborder="14" position="absolute 0 0 1188 40" class="div_SA2" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption3" text="조회구분 :" class="search_name" position="absolute 16 12 102 29" anchor="default"/>
- <Button id="btn_searchcnnst" taborder="6" text="조회" class="btn1" position="absolute 1115 9 1171 31" anchor="top right" onclick="switch1_case_modify_group2_btn_searchcnnst_onclick"/>
- <Shape id="line5" linetype="vertical" class="line_4" position="absolute 1097 9 1103 31" anchor="top right"/>
- <Static id="cap_cnstdr" text="상담의 :" class="search_name" visible="false" position="absolute 530 12 616 29" anchor="default"/>
- <Static id="cap_room" text="검사실 :" class="search_name" visible="false" position="absolute 530 12 605 29" anchor="default"/>
- <Combo id="cmb_srchroomcd" taborder="7" innerdataset="ds_init_cmb_srchroomcd" codecolumn="testroomcd" datacolumn="testroomnm" class="combo_search" visible="false" position="absolute 605 11 780 30" anchor="default" onitemchanged="switch1_case_modify_group2_cmb_srchroomcd_onitemchanged"/>
- <Radio id="rdo_srchcond2" taborder="8" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 105 12 510 28" anchor="default" onitemchanged="switch1_case_modify_group2_rdo_srchcond2_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">T</Col>
- <Col id="datacolumn">건진전체일정</Col>
- </Row>
- <Row>
- <Col id="codecolumn">C</Col>
- <Col id="datacolumn">상담예약일정</Col>
- </Row>
- <Row>
- <Col id="codecolumn">R</Col>
- <Col id="datacolumn">검사실예약인원</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Combo id="cmb_srchcnstdrid" taborder="9" innerdataset="ds_init_cmb_srchcnstdrid" codecolumn="drid" datacolumn="drnm" class="combo_search" visible="false" position="absolute 605 11 745 30" anchor="default" onitemchanged="switch1_case_modify_group2_cmb_srchcnstdrid_onitemchanged"/>
- <CheckBox id="chk_srchallroom" taborder="10" class="checkbox_search" position="absolute 785 11 885 31" anchor="default" text="전체검사실" truevalue="Y" onclick="CheckBox_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption17" text="예약내역" class="tit_2" position="absolute 0 48 110 65"/>
- <Shape id="line9" linetype="horizontal" class="line_10" position="absolute 0 64 532 70"/>
- <Shape id="line15" linetype="horizontal" class="line_2" position="absolute 5 379 532 385"/>
- <Grid id="grd_rsrvtmlst" binddataset="ds_main_schedule_rsrvtmlst_item" useinputpanel="false" position="absolute 537 69 1188 380" anchor="left top right" autoenter="key" selecttype="multirow" taborder="16">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="50"/>
- <Column size="120"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="시간" wordwrap="char"/>
- <Cell col="2" text="검사실코드" wordwrap="char"/>
- <Cell col="3" text="예약가능 인원(남)" wordwrap="char"/>
- <Cell col="4" text="예약인원(남)" wordwrap="char"/>
- <Cell col="5" text="예약가능 인원(여)" wordwrap="char"/>
- <Cell col="6" text="예약인원(여)" wordwrap="char"/>
- <Cell col="7" text="예약가능인원" wordwrap="char"/>
- <Cell col="8" text="예약인원" wordwrap="char"/>
- <Cell col="9" text="예약가능 인원(공통)" wordwrap="char"/>
- <Cell col="10" text="예약인원(공통)" wordwrap="char"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="text" edittype="text" style="align:center middle;" text="bind:rsrvtm" mask="expr:utlf_isNull(rsrvtm) ? '' : '##:##'"/>
- <Cell col="2" displaytype="combo" edittype="combo" text="bind:testroomcd" combodataset="ds_init_room_roomlst_itemroom" combocodecol="testroomcd" combodatacol="testroomnm" enable="false"/>
- <Cell col="3" displaytype="number" edittype="masknumber" text="bind:psnnomancnt"/>
- <Cell col="4" displaytype="number" text="bind:rsrvpsnnomancnt"/>
- <Cell col="5" displaytype="number" edittype="masknumber" text="bind:psnnowomcnt"/>
- <Cell col="6" displaytype="number" text="bind:rsrvpsnnowomcnt"/>
- <Cell col="7" displaytype="number" edittype="masknumber" text="bind:psnnocnt"/>
- <Cell col="8" displaytype="number" text="bind:rsrvpsnnocnt"/>
- <Cell col="9" displaytype="number" text="bind:psnnocomcnt"/>
- <Cell col="10" displaytype="number" text="bind:rsrvpsnnocomcnt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_rsrvpatlst" taborder="17" binddataset="ds_main_schedule_rsrvacptlst_item" useinputpanel="false" position="absolute 0 452 1188 700" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="93"/>
- <Column size="80"/>
- <Column size="127"/>
- <Column size="78"/>
- <Column size="181"/>
- <Column size="100"/>
- <Column size="161"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="환자명"/>
- <Cell col="2" text="등록번호"/>
- <Cell col="3" text="주민번호"/>
- <Cell col="4" text="예약시간"/>
- <Cell col="5" text="건진명"/>
- <Cell col="6" text="최종수정자"/>
- <Cell col="7" text="최종수정일시"/>
- <Cell col="8"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" displaytype="text" text="bind:hngnm"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:rgstno"/>
- <Cell col="4" text="bind:rsrvtm" mask="expr:utlf_isNull(rsrvtm) ? '' : '##:##'"/>
- <Cell col="5" displaytype="text" text="bind:pkgnm"/>
- <Cell col="6" text="bind:lastupdtrid"/>
- <Cell col="7" text="bind:lastupdtdt" mask="expr:utlf_isNull(lastupdtdt) ? '' : '####-##-## ##:##:##'"/>
- <Cell col="8" text="bind:rsrvdd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_modify" taborder="18" text="저장" class="btn5" position="absolute 1146 42 1188 64" anchor="top right" onclick="switch1_case_modify_btn_modify_onclick"/>
- <Button id="btn_tmdel" taborder="19" text="선택행삭제" class="btn2" position="absolute 1068 42 1143 64" anchor="top right" onclick="switch1_case_modify_btn_tmdel_onclick"/>
- <Button id="btn_tmadd" taborder="20" text="행추가" class="btn2" position="absolute 1012 42 1065 64" anchor="top right" onclick="switch1_case_modify_btn_tmadd_onclick"/>
- <Shape id="line22" linetype="horizontal" class="line_10" position="absolute 537 64 1188 70" anchor="left top right"/>
- <Static id="caption40" text="시간대별인원" class="tit_2" position="absolute 537 48 696 65"/>
- <Shape id="line23" linetype="horizontal" class="line_2" position="absolute 537 379 1186 385" anchor="left top right"/>
- <Button id="btn_scheduletmclear" taborder="22" text="초기화" class="btn2" position="absolute 956 42 1009 64" anchor="top right" onclick="switch1_case_modify_btn_scheduletmclear_onclick"/>
- <Static id="caption1" text="일자별 비고" class="tit_2" position="absolute 0 390 159 407"/>
- <Shape id="line1" linetype="horizontal" class="line_10" position="absolute 0 406 1188 412" anchor="left top right"/>
- <TextArea id="tar_remcnts" taborder="23" position="absolute 0 411 1188 451" anchor="left top right"/>
- <Button id="button2" taborder="24" text="저장" class="btn5" position="absolute 1146 384 1188 406" anchor="top right" onclick="switch1_case_modify_button2_onclick"/>
- <Button id="btn_srch_dayb" taborder="25" text="조회" class="btn2" position="absolute 1102 384 1144 406" anchor="top right" onclick="switch1_case_modify_btn_srch_dayb_onclick"/>
- <Calendar id="ipt_remdd" taborder="26" position="absolute 100 387 200 406" onchanged="switch1_case_modify_ipt_remdd_onchanged"/>
- <Grid id="grd_calendar" class="gridcalendar" taborder="27" binddataset="ds_temp_calendar_weeklist_list" useinputpanel="false" selecttype="cell" autofittype="col,allrow" position="absolute 0 109 532 380" oncellclick="switch1_case_modify_grd_calendar_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="일"/>
- <Cell col="1" text="월"/>
- <Cell col="2" text="화"/>
- <Cell col="3" text="수"/>
- <Cell col="4" text="목"/>
- <Cell col="5" text="금"/>
- <Cell col="6" text="토"/>
- </Band>
- <Band id="body">
- <Cell rowspan="2" style="background:#ffffffff;background2:#ffffffff;selectbackground:#daa7d9ff;" taborder="undefined">
- <Cell style="background:#ffffffff;background2:#ffffffff;color:red;color2:red;selectbackground:#daa7d9ff;" text="bind:sun" taborder="undefined"/>
- <Cell row="1" style="background:#ffffffff;background2:#ffffffff;color:red;color2:red;selectbackground:#daa7d9ff;" text="bind:sun_memo" taborder="undefined"/>
- </Cell>
- <Cell col="1" rowspan="2" style="background:#ffffffff;background2:#ffffffff;selectbackground:#daa7d9ff;" taborder="undefined">
- <Cell style="background:#ffffffff;background2:#ffffffff;selectbackground:#daa7d9ff;" text="bind:mon" taborder="undefined"/>
- <Cell row="1" style="background:#ffffffff;background2:#ffffffff;selectbackground:#daa7d9ff;" text="bind:mon_memo" taborder="undefined"/>
- </Cell>
- <Cell col="2" rowspan="2" style="background:#ffffffff;background2:#ffffffff;selectbackground:#daa7d9ff;" taborder="undefined">
- <Cell style="background:#ffffffff;background2:#ffffffff;selectbackground:#daa7d9ff;" text="bind:tue" taborder="undefined"/>
- <Cell row="1" style="background:#ffffffff;background2:#ffffffff;selectbackground:#daa7d9ff;" text="bind:tue_memo" taborder="undefined"/>
- </Cell>
- <Cell col="3" rowspan="2" style="background:#ffffffff;background2:#ffffffff;selectbackground:#daa7d9ff;" taborder="undefined">
- <Cell style="background:#ffffffff;background2:#ffffffff;selectbackground:#daa7d9ff;" text="bind:wed" taborder="undefined"/>
- <Cell row="1" style="background:#ffffffff;background2:#ffffffff;selectbackground:#daa7d9ff;" text="bind:wed_memo" taborder="undefined"/>
- </Cell>
- <Cell col="4" rowspan="2" style="background:#ffffffff;background2:#ffffffff;selectbackground:#daa7d9ff;" taborder="undefined">
- <Cell style="background:#ffffffff;background2:#ffffffff;selectbackground:#daa7d9ff;" text="bind:thu" taborder="undefined"/>
- <Cell row="1" style="background:#ffffffff;background2:#ffffffff;selectbackground:#daa7d9ff;" text="bind:thu_memo" taborder="undefined"/>
- </Cell>
- <Cell col="5" rowspan="2" style="background:#ffffffff;background2:#ffffffff;selectbackground:#daa7d9ff;" taborder="undefined">
- <Cell style="background:#ffffffff;background2:#ffffffff;selectbackground:#daa7d9ff;" text="bind:fri" taborder="undefined"/>
- <Cell row="1" style="background:#ffffffff;background2:#ffffffff;selectbackground:#daa7d9ff;" text="bind:fri_memo" taborder="undefined"/>
- </Cell>
- <Cell col="6" rowspan="2" style="background:#ffffffff;background2:#ffffffff;selectbackground:#daa7d9ff;" taborder="undefined">
- <Cell style="background:#ffffffff;background2:#ffffffff;color:blue;color2:blue;selectbackground:#daa7d9ff;" text="bind:sat" taborder="undefined"/>
- <Cell row="1" style="background:#ffffffff;background2:#ffffffff;color:blue;color2:blue;selectbackground:#daa7d9ff;" text="bind:sat_memo" taborder="undefined"/>
- </Cell>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="rectangle1" type="rectangle" class="calendar_header" position="absolute 0 69 532 109" style="strokepen:1 solid transparent;fillbrush:solid darkslateblue true;fillgradation:linear 0,0 white 100,100 darkmagenta;border:1 solid black ;gradation:linear 0,0 white 100,100 black;"/>
- <Div id="grp_calendar" taborder="28" position="absolute 1 70 532 108">
- <Layouts>
- <Layout>
- <Button id="btn_nextyear" taborder="1" class="icon_next_year" position="absolute 340 12 356 28" anchor="default" onclick="switch1_case_modify_grp_calendar_btn_nextyear_onclick"/>
- <Button id="btn_premonth" taborder="2" class="icon_pre_month" position="absolute 175 12 191 28" anchor="default" onclick="switch1_case_modify_grp_calendar_btn_premonth_onclick"/>
- <Button id="btn_nextmonth" taborder="3" class="icon_next_month" position="absolute 321 12 337 28" anchor="default" onclick="switch1_case_modify_grp_calendar_btn_nextmonth_onclick"/>
- <Edit id="opt_year" taborder="4" readonly="true" class="calendar_output" position="absolute 202 9 240 28" anchor="default"/>
- <Edit id="opt_month" taborder="5" readonly="true" class="calendar_output" position="absolute 260 9 290 28" anchor="default"/>
- <Static id="caption2" text="년" class="calendar_output" position="absolute 240 9 260 28" anchor="default"/>
- <Static id="caption8" text="월" class="calendar_output" position="absolute 290 9 310 28" anchor="default"/>
- <Button id="btn_preyear" taborder="6" class="icon_pre_year" position="absolute 157 12 173 28" anchor="default" onclick="switch1_case_modify_grp_calendar_btn_preyear_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Div id="grp_btn" taborder="3" position="absolute 0 753 1188 780" anchor="left right bottom" visible="false">
- <Layouts>
- <Layout>
- <Button id="button26" taborder="4" text="화면이동" class="btn3" position="absolute 59 5 139 27" anchor="default"/>
- <Button id="btn_print" taborder="5" text="출력" class="btn6" position="absolute 0 5 56 27" anchor="default"/>
- <Button id="btn_save" taborder="6" text="저장" class="btn4" position="absolute 1132 5 1188 27" anchor="right"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption19" text="예약일정관리" class="tit_1" position="absolute 0 0 120 25"/>
- <Combo id="cmb_healexamdetlflag" taborder="2" innerdataset="@ds_init_baseinfo_healexamdetlflag" codecolumn="cdid" datacolumn="cdnm" class="combo_default" visible="false" position="absolute 359 30 469 49" onitemchanged="cmb_healexamdetlflag_onitemchanged"/>
- <Static id="caption2" text="건진구분 :" class="search_name" visible="false" position="absolute 280 33 366 50"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_save_saveroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_send_save_savecnst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_send_save_savetotal" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_send_save" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="healexamflag" type="STRING" size="256"/>
- <Column id="mode" type="STRING" size="256"/>
- <Column id="rsrvdd" type="STRING" size="256"/>
- <Column id="cnstdrid" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="healexamdetlflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="healexamflag"/>
- <Col id="mode"/>
- <Col id="rsrvdd"/>
- <Col id="cnstdrid"/>
- <Col id="roomcd"/>
- <Col id="healexamdetlflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="hidden" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hidden"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cnst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_main_cnst_oncolumnchanged">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="amfromtm" type="STRING" size="256"/>
- <Column id="amtotm" type="STRING" size="256"/>
- <Column id="amterm" type="STRING" size="256"/>
- <Column id="fmfromtm" type="STRING" size="256"/>
- <Column id="fmtotm" type="STRING" size="256"/>
- <Column id="fmterm" type="STRING" size="256"/>
- <Column id="cnstdrid" type="STRING" size="256"/>
- <Column id="srchcnstdrid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="amfromtm"/>
- <Col id="amtotm"/>
- <Col id="amterm"/>
- <Col id="fmfromtm"/>
- <Col id="fmtotm"/>
- <Col id="fmterm"/>
- <Col id="cnstdrid"/>
- <Col id="srchcnstdrid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cnst_schlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="rsrvdd" type="STRING" size="256"/>
- <Column id="rsrvweek" type="STRING" size="256"/>
- <Column id="rsrvtm" type="STRING" size="256"/>
- <Column id="psnnocnt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="rsrvdd"/>
- <Col id="rsrvweek"/>
- <Col id="rsrvtm"/>
- <Col id="psnnocnt"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_total_schlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_main_total_schlst_item_oncolumnchanged">
- <ColumnInfo>
- <Column id="rsrvdd" type="STRING" size="256"/>
- <Column id="rsrvweek" type="STRING" size="256"/>
- <Column id="rsrvtm" type="STRING" size="256"/>
- <Column id="psnnomancnt" type="STRING" size="256"/>
- <Column id="psnnowomcnt" type="STRING" size="256"/>
- <Column id="psnnocomcnt" type="STRING" size="256"/>
- <Column id="rsrvpsnnomancnt" type="STRING" size="256"/>
- <Column id="rsrvpsnnowomcnt" type="STRING" size="256"/>
- <Column id="rsrvpsnnocomcnt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="rsrvdd"/>
- <Col id="rsrvweek"/>
- <Col id="rsrvtm"/>
- <Col id="psnnomancnt"/>
- <Col id="psnnowomcnt"/>
- <Col id="psnnocomcnt"/>
- <Col id="rsrvpsnnomancnt"/>
- <Col id="rsrvpsnnowomcnt"/>
- <Col id="rsrvpsnnocomcnt"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_total" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_main_total_oncolumnchanged">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="fromtm" type="STRING" size="256"/>
- <Column id="totm" type="STRING" size="256"/>
- <Column id="termtm" type="STRING" size="256"/>
- <Column id="mancnt" type="STRING" size="256"/>
- <Column id="womcnt" type="STRING" size="256"/>
- <Column id="comcnt" type="STRING" size="256"/>
- <Column id="satyn" type="STRING" size="256"/>
- <Column id="sunyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="fromtm"/>
- <Col id="totm"/>
- <Col id="termtm"/>
- <Col id="mancnt"/>
- <Col id="womcnt"/>
- <Col id="comcnt"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_templst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="holiday" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_room_roomlst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_init_baseinfo_healexamdetlflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_init_room_roomlst_itemroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_init_room_roomlst_itemroom_oncolumnchanged">
- <ColumnInfo>
- <Column id="sel" type="STRING" size="256"/>
- <Column id="testroomcd" type="STRING" size="256"/>
- <Column id="testroomnm" type="STRING" size="256"/>
- <Column id="cnt" type="STRING" size="256"/>
- <Column id="rsrvyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="sel"/>
- <Col id="testroomcd"/>
- <Col id="testroomnm"/>
- <Col id="cnt"/>
- <Col id="rsrvyn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_partchngroomcode_chnglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_send_partchngroomcode" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="healexamflag" type="STRING" size="256"/>
- <Column id="healexamdetlflag" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="healexamflag"/>
- <Col id="healexamdetlflag"/>
- <Col id="fromdd"/>
- <Col id="todd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_schedule_rsrvtmlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="rsrvtm" type="STRING" size="256"/>
- <Column id="testroomcd" type="STRING" size="256"/>
- <Column id="psnnomancnt" type="STRING" size="256"/>
- <Column id="rsrvpsnnomancnt" type="STRING" size="256"/>
- <Column id="psnnowomcnt" type="STRING" size="256"/>
- <Column id="rsrvpsnnowomcnt" type="STRING" size="256"/>
- <Column id="psnnocnt" type="STRING" size="256"/>
- <Column id="rsrvpsnnocnt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="rsrvtm"/>
- <Col id="testroomcd"/>
- <Col id="psnnomancnt"/>
- <Col id="rsrvpsnnomancnt"/>
- <Col id="psnnowomcnt"/>
- <Col id="rsrvpsnnowomcnt"/>
- <Col id="psnnocnt"/>
- <Col id="rsrvpsnnocnt"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_calendar" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="year" type="STRING" size="256"/>
- <Column id="month" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="year"/>
- <Col id="month"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_main_cnst_week" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="monyn" type="STRING" size="256"/>
- <Column id="tueyn" type="STRING" size="256"/>
- <Column id="wedyn" type="STRING" size="256"/>
- <Column id="thuyn" type="STRING" size="256"/>
- <Column id="friyn" type="STRING" size="256"/>
- <Column id="satyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="monyn">1</Col>
- <Col id="tueyn">2</Col>
- <Col id="wedyn">3</Col>
- <Col id="thuyn">4</Col>
- <Col id="friyn">5</Col>
- <Col id="satyn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_main_roomschedule_roomschlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="rsrvdd" type="STRING" size="256"/>
- <Column id="rsrvweek" type="STRING" size="256"/>
- <Column id="totalcnt" type="STRING" size="256"/>
- <Column id="rsrvcnt" type="STRING" size="256"/>
- <Column id="acptcnt" type="STRING" size="256"/>
- <Column id="cnclcnt" type="STRING" size="256"/>
- <Column id="holdcnt" type="STRING" size="256"/>
- <Column id="remcnts" type="STRING" size="256"/>
- <Column id="todaychoicnt" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="roomcnt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="rsrvdd"/>
- <Col id="rsrvweek"/>
- <Col id="totalcnt"/>
- <Col id="rsrvcnt"/>
- <Col id="acptcnt"/>
- <Col id="cnclcnt"/>
- <Col id="holdcnt"/>
- <Col id="remcnts"/>
- <Col id="todaychoicnt"/>
- <Col id="roomcd"/>
- <Col id="roomcnt"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_cnst_drlst_itemdr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="drid" type="STRING" size="256"/>
- <Column id="drnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="drid"/>
- <Col id="drnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_room" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_main_schedule_rsrvacptlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="rgstno" type="STRING" size="256"/>
- <Column id="rsrvtm" type="STRING" size="256"/>
- <Column id="pkgnm" type="STRING" size="256"/>
- <Column id="lastupdtrid" type="STRING" size="256"/>
- <Column id="lastupdtdt" type="STRING" size="256"/>
- <Column id="statfg" type="STRING" size="256"/>
- <Column id="rsrvdd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hngnm"/>
- <Col id="pid"/>
- <Col id="rgstno"/>
- <Col id="rsrvtm"/>
- <Col id="pkgnm"/>
- <Col id="lastupdtrid"/>
- <Col id="lastupdtdt"/>
- <Col id="statfg"/>
- <Col id="rsrvdd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_dayblist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="remdd" type="STRING" size="256"/>
- <Column id="remcnts" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="remdd"/>
- <Col id="remcnts"/>
- <Col id="instcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_calendar_weeklist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_main_room" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_main_room_oncolumnchanged">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="cnt" type="STRING" size="256"/>
- <Column id="satyn" type="STRING" size="256"/>
- <Column id="sunyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="cnt"/>
- <Col id="satyn"/>
- <Col id="sunyn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_calendar_weeklist_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="sun" type="STRING" size="256"/>
- <Column id="mon" type="STRING" size="256"/>
- <Column id="tue" type="STRING" size="256"/>
- <Column id="wed" type="STRING" size="256"/>
- <Column id="thu" type="STRING" size="256"/>
- <Column id="fri" type="STRING" size="256"/>
- <Column id="sat" type="STRING" size="256"/>
- <Column id="sun_memo" type="STRING" size="256"/>
- <Column id="mon_memo" type="STRING" size="256"/>
- <Column id="tue_memo" type="STRING" size="256"/>
- <Column id="wed_memo" type="STRING" size="256"/>
- <Column id="thu_memo" type="STRING" size="256"/>
- <Column id="fri_memo" type="STRING" size="256"/>
- <Column id="sat_memo" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_schedule" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="srchcnstdrid" type="STRING" size="256"/>
- <Column id="srchroomcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchcnstdrid"/>
- <Col id="srchroomcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_roomschedule_roomschlst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_main_room_schlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_main_room_schlst_item_oncolumnchanged">
- <ColumnInfo>
- <Column id="rsrvdd" type="STRING" size="256"/>
- <Column id="rsrvweek" type="STRING" size="256"/>
- <Column id="testroomcd" type="STRING" size="256"/>
- <Column id="psnnocnt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="rsrvdd"/>
- <Col id="rsrvweek"/>
- <Col id="testroomcd"/>
- <Col id="psnnocnt"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="srchinstcd" type="STRING" size="256"/>
- <Column id="srchhealexamflag" type="STRING" size="256"/>
- <Column id="srchhealexamdetlflag" type="STRING" size="256"/>
- <Column id="srchroomcd" type="STRING" size="256"/>
- <Column id="srchcnstdrid" type="STRING" size="256"/>
- <Column id="srchfromdd" type="STRING" size="256"/>
- <Column id="srchtodd" type="STRING" size="256"/>
- <Column id="srchcond" type="STRING" size="256"/>
- <Column id="srchcond" type="STRING" size="256"/>
- <Column id="srchcond2" type="STRING" size="256"/>
- <Column id="srchrsrvmon" type="STRING" size="256"/>
- <Column id="srchrsrvdd" type="STRING" size="256"/>
- <Column id="srchallroomyn" type="STRING" size="256"/>
- <Column id="srchrsrvflag" type="STRING" size="256"/>
- <Column id="srchhopedd" type="STRING" size="256"/>
- <Column id="srchstatfg" type="STRING" size="256"/>
- <Column id="srchrsrvyn" type="STRING" size="256"/>
- <Column id="srchrsltcnstrsrvdd" type="STRING" size="256"/>
- <Column id="srchdateyn" type="STRING" size="256"/>
- <Column id="daylist" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchinstcd"/>
- <Col id="srchhealexamflag"/>
- <Col id="srchhealexamdetlflag"/>
- <Col id="srchroomcd"/>
- <Col id="srchcnstdrid"/>
- <Col id="srchfromdd"/>
- <Col id="srchtodd"/>
- <Col id="srchcond"/>
- <Col id="daylist"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_roomschedule" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="inqfromdd" type="STRING" size="256"/>
- <Column id="inqtodd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_A0069" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_A0070" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_schlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_templst_rsrvddlst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_templst_rsrvtmlst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_holiday_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_srchdel_srchrow" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_savetotal" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_saveroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_savecnst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="switch1.case_cret.ipt_totfromdd" propid="value" datasetid="ds_main_total" columnid="fromdd"/>
- <BindItem id="item1" compid="switch1.case_cret.ipt_tottodd" propid="value" datasetid="ds_main_total" columnid="todd"/>
- <BindItem id="item2" compid="switch1.case_cret.ipt_totfromtm" propid="value" datasetid="ds_main_total" columnid="fromtm"/>
- <BindItem id="item3" compid="switch1.case_cret.ipt_tottotm" propid="value" datasetid="ds_main_total" columnid="totm"/>
- <BindItem id="item4" compid="switch1.case_cret.ipt_tottermtm" propid="value" datasetid="ds_main_total" columnid="termtm"/>
- <BindItem id="item5" compid="switch1.case_cret.ipt_totmancnt" propid="value" datasetid="ds_main_total" columnid="mancnt"/>
- <BindItem id="item6" compid="switch1.case_cret.ipt_totwomcnt" propid="value" datasetid="ds_main_total" columnid="womcnt"/>
- <BindItem id="item7" compid="switch1.case_cret.ipt_roomfromdd" propid="value" datasetid="ds_main_room" columnid="fromdd"/>
- <BindItem id="item8" compid="switch1.case_cret.ipt_roomtodd" propid="value" datasetid="ds_main_room" columnid="todd"/>
- <BindItem id="item9" compid="switch1.case_cret.chx_roomsatyn" propid="value" datasetid="ds_main_room" columnid="satyn"/>
- <BindItem id="item10" compid="switch1.case_cret.chx_roomsunyn" propid="value" datasetid="ds_main_room" columnid="sunyn"/>
- <BindItem id="item11" compid="switch1.case_cret.ipt_roomcnt" propid="value" datasetid="ds_main_room" columnid="cnt"/>
- <BindItem id="item12" compid="switch1.case_cret.chx_totsatyn" propid="value" datasetid="ds_main_total" columnid="satyn"/>
- <BindItem id="item13" compid="switch1.case_cret.chx_totsunyn" propid="value" datasetid="ds_main_total" columnid="sunyn"/>
- <BindItem id="item14" compid="switch1.case_cret.chx_thu" propid="value" datasetid="ds_main_cnst_week" columnid="thuyn"/>
- <BindItem id="item15" compid="switch1.case_cret.chx_sat" propid="value" datasetid="ds_main_cnst_week" columnid="satyn"/>
- <BindItem id="item16" compid="switch1.case_cret.chx_tue" propid="value" datasetid="ds_main_cnst_week" columnid="tueyn"/>
- <BindItem id="item17" compid="switch1.case_cret.ipt_cnstfromdd" propid="value" datasetid="ds_main_cnst" columnid="fromdd"/>
- <BindItem id="item18" compid="switch1.case_cret.ipt_cnsttodd" propid="value" datasetid="ds_main_cnst" columnid="todd"/>
- <BindItem id="item19" compid="switch1.case_cret.cmb_cnstdrid" propid="value" datasetid="ds_main_cnst" columnid="cnstdrid"/>
- <BindItem id="item20" compid="switch1.case_cret.ipt_cnstamfromtm" propid="value" datasetid="ds_main_cnst" columnid="amfromtm"/>
- <BindItem id="item21" compid="switch1.case_cret.ipt_cnstamtotm" propid="value" datasetid="ds_main_cnst" columnid="amtotm"/>
- <BindItem id="item22" compid="switch1.case_cret.ipt_cnstamterm" propid="value" datasetid="ds_main_cnst" columnid="amterm"/>
- <BindItem id="item23" compid="switch1.case_cret.ipt_cnstfmfromtm" propid="value" datasetid="ds_main_cnst" columnid="fmfromtm"/>
- <BindItem id="item24" compid="switch1.case_cret.ipt_cnstfmtotm" propid="value" datasetid="ds_main_cnst" columnid="fmtotm"/>
- <BindItem id="item25" compid="switch1.case_cret.ipt_cnstfmterm" propid="value" datasetid="ds_main_cnst" columnid="fmterm"/>
- <BindItem id="item26" compid="switch1.case_cret.chx_wed" propid="value" datasetid="ds_main_cnst_week" columnid="wedyn"/>
- <BindItem id="item27" compid="switch1.case_cret.chx_mon" propid="value" datasetid="ds_main_cnst_week" columnid="monyn"/>
- <BindItem id="item28" compid="switch1.case_cret.chx_fri" propid="value" datasetid="ds_main_cnst_week" columnid="friyn"/>
- <BindItem id="item29" compid="switch1.case_cret.input1" propid="value" datasetid="ds_main_total" columnid="comcnt"/>
- <BindItem id="item30" compid="switch1.case_modify.group2.cmb_srchroomcd" propid="value" datasetid="ds_main_schedule" columnid="srchroomcd"/>
- <BindItem id="item31" compid="switch1.case_modify.group2.rdo_srchcond2" propid="value" datasetid="ds_send" columnid="srchcond2"/>
- <BindItem id="item32" compid="switch1.case_modify.group2.cmb_srchcnstdrid" propid="value" datasetid="ds_main_schedule" columnid="srchcnstdrid"/>
- <BindItem id="item33" compid="switch1.case_modify.group2.chk_srchallroom" propid="value" datasetid="ds_send" columnid="srchallroomyn"/>
- <BindItem id="item36" compid="switch1.case_modify.tar_remcnts" propid="value" datasetid="ds_main_dayblist" columnid="remcnts"/>
- <BindItem id="item37" compid="switch1.case_modify.ipt_remdd" propid="value" datasetid="ds_main_dayblist" columnid="remdd"/>
- <BindItem id="item38" compid="cmb_healexamdetlflag" propid="value" datasetid="ds_init_baseinfo" columnid="healexamdetlflag"/>
- <BindItem id="item34" compid="switch1.case_modify.grp_calendar.opt_year" propid="value" datasetid="ds_temp_calendar" columnid="year"/>
- <BindItem id="item35" compid="switch1.case_modify.grp_calendar.opt_month" propid="value" datasetid="ds_temp_calendar" columnid="month"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-12-04
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-06-19 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "ast_healexamxp::AHA001.xjs";
- //include "mis_miscommonxp::MIS.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var m_vHealexamflag = "";
- var m_vHealexamdetlflag = "";
- var m_vHealexamplacecd = "";
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /*-**************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
- function call_TRAHB01501() {
- ds_temp_schlst_item.clearData();
- var oParam = {};
- oParam.id = "TRAHB01501";
- oParam.service = "healexambaseapp.ScheduleCode";
- oParam.method = "reqGetScheduleCodeList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_temp_schlst_item=item";
- oParam.async = false;
- oParam.callback = "cf_TRAHB01501";
- tranf_submit(oParam);
- }
- function cf_TRAHB01501(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- ds_temp_schlst_item.updateColID("week","rsrvweek");
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
- function call_TRAHB01509() {
- var oParam = {};
- oParam.id = "TRAHB01509";
- oParam.service = "healexambaseapp.ScheduleCode";
- oParam.method = "reqGetHoliDaybList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_temp_holiday_item=item";
- oParam.async = false;
- oParam.callback = "cf_TRAHB01509";
- tranf_submit(oParam);
- }
- function cf_TRAHB01509(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
- function call_TRAHB01507() {
- var oParam = {};
- oParam.id = "TRAHB01507";
- oParam.service = "healexambaseapp.ScheduleCode";
- oParam.method = "reqDelCheckScheduleCode";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_temp_srchdel_srchrow=srchrow";
- oParam.async = false;
- oParam.callback = "cf_TRAHB01507";
- tranf_submit(oParam);
- }
- function cf_TRAHB01507(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 초기화 작업
- ****************************************************************************************/
- function fInitCtrl(){
- switch1.tabindex = 0;
-
- //건진전체 일정관리 초기화
- var curDt = utlf_getCurrentDate();
- initCalendar();
- //예약현황집계내역 from_to초기화
- switch1.case_cret.ipt_totfromdd.value = curDt;
- switch1.case_cret.ipt_tottodd.value = curDt;
- switch1.case_cret.ipt_totfromtm.value = "0800";
- switch1.case_cret.ipt_tottotm.value = "1300";
- switch1.case_cret.ipt_tottermtm.value = "30";
- switch1.case_cret.ipt_totmancnt.value = "10";
- switch1.case_cret.ipt_totwomcnt.value = "10";
- switch1.case_cret.input1.value = "10";
- switch1.case_cret.chx_totsunyn.value = "Y";
- fClearSch("T");
- //경과상담예약일정관리 초기화
- switch1.case_cret.ipt_cnstfromdd.value = curDt;
- switch1.case_cret.ipt_cnsttodd.value = curDt;
- switch1.case_cret.ipt_cnstamfromtm.value = "0800";
- switch1.case_cret.ipt_cnstamtotm.value = "1200";
- switch1.case_cret.ipt_cnstfmfromtm.value = "1300";
- switch1.case_cret.ipt_cnstfmtotm.value = "1700";
- switch1.case_cret.ipt_cnstamterm.value = "30";
- switch1.case_cret.ipt_cnstfmterm.value = "30";
- switch1.case_cret.chx_mon.value = "1";
- switch1.case_cret.chx_tue.value = "2";
- switch1.case_cret.chx_wed.value = "3";
- switch1.case_cret.chx_thu.value = "4";
- switch1.case_cret.chx_fri.value = "5";
- switch1.case_cret.chx_sat.value = "6";
- fClearSch("C");
-
- ds_send.setColumn( 0, "srchcond", "C" );
- ds_init_cnst_drlst_itemdr.clearData();
- var oParam = {};
- oParam.id = "TRAHB01504";
- oParam.service = "healexambaseapp.ComCode";
- oParam.method = "reqGetHealExamDrList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_init_cnst_drlst_itemdr=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAHB01504";
- tranf_submit(oParam);
- //검사실별 일정관리 초기화
- switch1.case_cret.ipt_roomfromdd.value = curDt;
- switch1.case_cret.ipt_roomtodd.value = curDt;
- switch1.case_cret.chx_roomsunyn.value = "Y";
- fClearSch("R");
-
- switch1.case_cret.ipt_roomcnt.value = 10;
- ds_send.setColumn( 0, "srchrsrvyn", "Y");
- ds_send.setColumn( 0, "srchinstcd", sysf_getUserInfo("dutplceinstcd"));
- var oParam = {};
- oParam.id = "TRAHB01502";
- oParam.service = "healexambaseapp.ComCode";
- oParam.method = "reqGetRoomCdList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_init_room_roomlst_itemroom=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAHB01502";
- tranf_submit(oParam);
-
- dsf_setDefaultVal(ds_init_room_roomlst_itemroom, "all");
-
- switch1.case_modify.group2.rdo_srchcond2.value = "T";
- fSetSrchCtrlState("T");
- fGetRsrvSchList(2);
- }
- /*-**************************************************************************************
- * Argument : vMode - T: 건진전체일정관리, R: 검사실별 일별 인원관리, C: 상담의별 인원관리
- * Description : 조회구분별 control 처리
- ****************************************************************************************/
- function fSetSrchCtrlState(vMode){
- var col_tm = 1;
- var col_roomcd = 2;
- var col_mancnt = 3;
- var col_rsrvmancnt = 4;
- var col_womcnt = 5;
- var col_rsrvwomcnt = 6;
- var col_cnt = 7;
- var col_rsrvcnt = 8;
- var col_comcnt = 9;
- var col_rsrvcomcnt = 10;
- switch1.case_modify.group2.cap_cnstdr.visible = false;
- switch1.case_modify.group2.cap_room.visible = false;
- switch1.case_modify.group2.cmb_srchcnstdrid.visible = false;
- switch1.case_modify.group2.cmb_srchroomcd.visible = false;
- switch1.case_modify.group2.chk_srchallroom.visible = false;
-
- for( var i = 0; i < switch1.case_modify.grd_rsrvtmlst.getCellCount("Head"); i++){
- switch1.case_modify.grd_rsrvtmlst.setFormatColProperty( i, "size", 0);
- }
- if( vMode == "T"){
- switch1.case_modify.grd_rsrvtmlst.setFormatColProperty( col_tm, "size", 50);
- switch1.case_modify.grd_rsrvtmlst.setFormatColProperty( col_mancnt, "size", 100);
- switch1.case_modify.grd_rsrvtmlst.setFormatColProperty( col_rsrvmancnt, "size", 100);
- switch1.case_modify.grd_rsrvtmlst.setFormatColProperty( col_womcnt, "size", 100);
- switch1.case_modify.grd_rsrvtmlst.setFormatColProperty( col_rsrvwomcnt, "size", 100);
- switch1.case_modify.grd_rsrvtmlst.setFormatColProperty( col_comcnt, "size", 100);
- switch1.case_modify.grd_rsrvtmlst.setFormatColProperty( col_rsrvcomcnt, "size", 100);
- }
- else
- if( vMode == "R" ) {
- switch1.case_modify.group2.chk_srchallroom.visible = true;
- switch1.case_modify.group2.cap_room.visible = true;
- switch1.case_modify.group2.cmb_srchroomcd.visible = true;
- switch1.case_modify.grd_rsrvtmlst.setFormatColProperty( col_roomcd, "size", 120);
- switch1.case_modify.grd_rsrvtmlst.setFormatColProperty( col_cnt, "size", 100);
- switch1.case_modify.grd_rsrvtmlst.setFormatColProperty( col_rsrvcnt, "size", 100);
- }
- else
- if( vMode == "C" ) {
- switch1.case_modify.group2.cap_cnstdr.visible = true;
- switch1.case_modify.group2.cmb_srchcnstdrid.visible = true;
- switch1.case_modify.grd_rsrvtmlst.setFormatColProperty( col_tm, "size", 50);
- switch1.case_modify.grd_rsrvtmlst.setFormatColProperty( col_cnt, "size", 100);
- switch1.case_modify.grd_rsrvtmlst.setFormatColProperty( col_rsrvcnt, "size", 100);
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 건진전체 일정 생성
- ****************************************************************************************/
- function fMakeTotSch(){
- var fromdd = switch1.case_cret.ipt_totfromdd.value;
- var todd = switch1.case_cret.ipt_tottodd.value;
-
- if(fCheckTerm(fromdd, todd, "D") < 0) return;
- var fromtm = switch1.case_cret.ipt_totfromtm.value;
- var totm = switch1.case_cret.ipt_tottotm.value;
-
- if(fCheckTerm(fromtm, totm, "T") < 0) return;
- var term = parseInt(switch1.case_cret.ipt_tottermtm.value);
- var man = switch1.case_cret.ipt_totmancnt.value;
- var wom = switch1.case_cret.ipt_totwomcnt.value;
- var com = switch1.case_cret.input1.value;
- var cur_cnt = switch1.case_cret.grd_totalschlst.rowcount;
- fMakeSchlst(switch1.case_cret.grd_totalschlst, fromdd, todd, fromtm, totm, term, man, wom, com, true/*sex*/, false/*week*/ );
- for(var i=cur_cnt; i<switch1.case_cret.grd_totalschlst.rowcount; i++){
- grdf_setStatus(switch1.case_cret.grd_totalschlst, "I", [i]);
- }
- }
- /*-**************************************************************************************
- * Argument : vGrdObj - 대상 grid
- * : vRsrvdd - 시작일시
- * : vRsrvtm - 시작시간
- * Description : 종합건진 전체_결과상담 일정관리- 중복일자_시간 check.
- ****************************************************************************************/
- function fCheckDupDateTime(vGrdObj, vRsrvdd, vRsrvtm) {
- if(utlf_isNull(vGrdObj)) return false;
- var rsv_cnt = vGrdObj.rowcount;
- var sNode = this.objects[vGrdObj.binddataset];
- for(var i=0; i<rsv_cnt; i++){
- if((vRsrvdd == sNode.getColumn(i, "rsrvdd")) && (vRsrvtm == sNode.getColumn(i, "rsrvtm"))){
- return false;
- }
- }
- return true;
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 검사실별 일별 인원관리 일정 생성
- ****************************************************************************************/
- function fMakeRoomSch(){
- var fromdd = switch1.case_cret.ipt_roomfromdd.value;
- var todd = switch1.case_cret.ipt_roomtodd.value;
-
- if(fCheckTerm(fromdd, todd, "D") < 0) return;
- call_TRAHB01509();
- if(arErrorCode.pop("TRAHB01509") < 0){
- sysf_messageBox("병원일정(공휴일여부)을 관리정보를 조회중 오류", "E008");
- return;
- }
- var holiday = "";
- var holidayNode = null;
- var dateFrom = String(fromdd).toDate();
- var dateTo = String(todd).toDate();
- var cnt = ds_init_room_roomlst_itemroom.rowcount;
- var sNode = ds_main_room_schlst_item;
- var j = ds_main_room_schlst_item.rowcount;
- var cur_cnt = j;
- var roomcd = "";
- var psnocnt = "";
- var startdd = fromdd;
- var ret = "";
- for(var i=0; i<ds_init_room_roomlst_itemroom.rowcount; i++){
- if(ds_init_room_roomlst_itemroom.getColumn(i, "sel") == "N") continue;
- roomcd = ds_init_room_roomlst_itemroom.getColumn(i, "testroomcd");
- psnocnt = ds_init_room_roomlst_itemroom.getColumn(i, "cnt");
- if(psnocnt == 0) psnocnt = ds_main_room.getColumn(0, "cnt");
- if(utlf_isNull(roomcd)) continue;
- fromdd = startdd;
- dateFrom = String(fromdd).toDate();
- while(utlf_getDateInterval(fromdd, todd) >= 0){
- //중복값 skip
- if(!fCheckRoomDupDate(fromdd, roomcd)){
- dateFrom.getAddDate(1);
- fromdd = dateFrom.getDateFormat("YYYYMMDD");
- continue;
- }
- ret = dateFrom.getDayOfWeek("N");
- //일요일 skip, 토요일 skip
- if(((switch1.case_cret.chx_roomsunyn.value == "Y" ) && (ret == "0")) || ((switch1.case_cret.chx_roomsatyn.value == "Y") && (ret == "6"))){
- dateFrom.getAddDate(1);
- fromdd = dateFrom.getDateFormat("YYYYMMDD");
- continue;
- }
- //휴일 skip
- // holidayNode = instance1.selectSingleNode("ds_temp_holiday");
- // if(holidayNode != null){
- holidayNode = ds_temp_holiday_item;
- if(holidayNode.rowcount > 0){
- for(var h=0; h<holidayNode.rowcount; h++){
- holiday = ds_temp_holiday_item.getColumn(h, "basedd");
- if(holiday == dateFrom.getDateFormat("YYYYMMDD")) {
- dateFrom.getAddDate(1);
- fromdd = dateFrom.getDateFormat("YYYYMMDD");
- continue;
- }
- }
- }
- dsf_makeValue(sNode, "rsrvdd" , "string", fromdd, j);
- dsf_makeValue(sNode, "rsrvweek" , "string", dateFrom.getDayOfWeek("K"), j);
- dsf_makeValue(sNode, "testroomcd" , "string", roomcd, j);
- dsf_makeValue(sNode, "psnnocnt" , "string", psnocnt, j);
- dateFrom.getAddDate(1);
- fromdd = dateFrom.getDateFormat("YYYYMMDD");
- j++;
- }
- }
- for(var i=cur_cnt; i<j; i++){
- grdf_setStatus(switch1.case_cret.grd_roomschlst, "I", [i]);
- }
- }
- /*-**************************************************************************************
- * Argument : vRsrvdd - 시작일자
- * : vRoomcd - 검사실코드
- * Description : 검사실별 인원관리-중복일자_검사실 check.
- ****************************************************************************************/
- function fCheckRoomDupDate(vRsrvdd, vRoomcd){
- var rsv_cnt = ds_main_room_schlst_item.rowcount;
- var sNode = ds_main_room_schlst_item;
- for(var i=0; i<rsv_cnt; i++){
- if((vRsrvdd == sNode.getColumn(i, "rsrvdd")) && (vRoomcd == sNode.getColumn(i, "testroomcd"))) return false;
- }
- return true;
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 상담의별 상담예약일정 생성
- ****************************************************************************************/
- function fMakeCnstSch(){
- var fromdd = switch1.case_cret.ipt_cnstfromdd.value;
- var todd = switch1.case_cret.ipt_cnsttodd.value;
-
- if( fCheckTerm(fromdd, todd, "D") < 0 ) return ;
- var cur_cnt = ds_main_cnst_schlst_item.rowcount;
-
- var fromtm = switch1.case_cret.ipt_cnstamfromtm.value;
- var totm = switch1.case_cret.ipt_cnstamtotm.value;
-
- if( fCheckTerm(fromtm, totm, "T") < 0 ) return ;
-
- var term = parseInt( switch1.case_cret.ipt_cnstamterm.value );
- if ((fromtm != '0000') && (totm != '0000')) {
- fMakeSchlst(switch1.case_cret.grd_cnstschlst, fromdd, todd, fromtm, totm, term, 1, 0, 0, false, true );
- }
- var tfromtm = switch1.case_cret.ipt_cnstfmfromtm.value;
- var ttotm = switch1.case_cret.ipt_cnstfmtotm.value;
- if( fCheckTerm(tfromtm, ttotm, "T") < 0 ) return ;
- var tterm = parseInt(switch1.case_cret.ipt_cnstfmterm.value);
- if ((tfromtm != '0000') && (ttotm != '0000')) {
- fMakeSchlst(switch1.case_cret.grd_cnstschlst, fromdd, todd, tfromtm, ttotm, tterm, 1, 0, 0, false, true );
- }
- for(var i = cur_cnt ; i < ds_main_cnst_schlst_item.rowcount ; i++ ){
- grdf_setStatus(switch1.case_cret.grd_cnstschlst, "I", [i]);
- }
- }
- /*-**************************************************************************************
- * Argument : vGrdObj : 대상 grid
- * : fromdd : 시작일시
- * : todd : 종료일시
- * : fromtm : 시작시간
- * : totm : 종료시간
- * : term : 시간간격
- * : mancnt : 예약가능인원(남)
- * : womcnt : 예약가능인원(여)
- * : comcnt : 예약가능인원(공통)
- * : bSexFg : 성별구분(false일 경우 예약가능인원은 mancnt로 들어감)
- * : bWeekFg : 요일check여부(false일 경우 토_일요일만 check, true일 경우 월~토 중 check된 일자만 생성)
- * Description : grid에 조건에 따른 스케쥴 생성
- ****************************************************************************************/
- function fMakeSchlst(vGrdObj, fromdd, todd, fromtm, totm, term, mancnt, womcnt, comcnt, bSexFg, bWeekFg){
- if( vGrdObj == null ) return;
- call_TRAHB01509();
- if(arErrorCode.pop("TRAHB01509") < 0) {
- sysf_messageBox("병원일정(공휴일여부)을 관리정보를 조회중 오류", "E008");
- return;
- }
-
- var holiday = "";
- var holidayNode = null;
- var i = 0;
- var cur_cnt = vGrdObj.rowcount;
- var j = cur_cnt;
- var sNode = this.objects[vGrdObj.binddataset];
- var curtm = fromtm;
- var ret = "";
- var dateFrom = String(fromdd).toDate();
- var dateTo = String(todd).toDate();
- var tmFrom = String(fromdd+fromtm).toDate("YYYYMMDDhhmm");
- var tmTo = String(todd+totm).toDate("YYYYMMDDhhmm");
-
- if(utlf_isNull(mancnt)) mancnt = 0;
- if(utlf_isNull(womcnt)) womcnt = 0;
- if(utlf_isNull(comcnt)) comcnt = 0;
-
- while(utlf_getDateInterval(fromdd, todd) >= 0){
- ret = dateFrom.getDayOfWeek("N");
- //중복값 skip
- if(!fCheckDupDateTime(vGrdObj, fromdd, fromtm)){
- //alert(fromdd+" "+fromtm+" "+!fCheckDupDateTime(vGrdObj, fromdd, fromtm));
- dateFrom.getAddDate(1);
- fromdd = dateFrom.getDateFormat("YYYYMMDD");
- continue;
- }
- //일요일 skip, 토요일 skip
- if(!bWeekFg){
- if(((switch1.case_cret.chx_totsunyn.value == "Y" ) && (ret == "0")) || ((switch1.case_cret.chx_totsatyn.value == "Y" ) && (ret == "6" ))){
- dateFrom.getAddDate(1);
- fromdd = dateFrom.getDateFormat("YYYYMMDD");
- continue;
- }
- }else{
- //상담예약스케쥴 : 선택되지 않은 요일은 skip
- if((switch1.case_cret.chx_mon.value != ret ) && (switch1.case_cret.chx_tue.value != ret) && (switch1.case_cret.chx_wed.value != ret) && ( switch1.case_cret.chx_thu.value != ret ) && (switch1.case_cret.chx_fri.value != ret ) && (switch1.case_cret.chx_sat.value != ret )){
- dateFrom.getAddDate(1);
- fromdd = dateFrom.getDateFormat("YYYYMMDD");
- continue;
- }
- }
- //휴일 skip
- // holidayNode = instance1.selectSingleNode("ds_temp_holiday");
- // if(holidayNode != null){
- holidayNode = ds_temp_holiday_item;
- if(holidayNode.rowcount > 0){
- for(var h=0; h<holidayNode.rowcount; h++){
- holiday = ds_temp_holiday_item.getColumn(h, "basedd");
- if(holiday == dateFrom.getDateFormat("YYYYMMDD")) {
- dateFrom.getAddDate(1);
- fromdd = dateFrom.getDateFormat("YYYYMMDD");
- continue;
- }
- }
- }
-
- fromtm = curtm;
- tmFrom = String(fromdd + fromtm).toDate("YYYYMMDDhhmm");
-
- while(utlf_getTimeInterval(fromtm, totm) >= 0){
- dsf_makeValue(sNode, "rsrvdd", "string", fromdd, j);
- dsf_makeValue(sNode, "rsrvtm", "string", fromtm, j);
- dsf_makeValue(sNode, "rsrvweek", "string", dateFrom.getDayOfWeek("K"), j);
- if(bSexFg){
- dsf_makeValue(sNode, "psnnomancnt", "string", mancnt, j);
- dsf_makeValue(sNode, "psnnowomcnt", "string", womcnt, j);
- dsf_makeValue(sNode, "psnnocomcnt", "string", comcnt, j);
- }else{
- dsf_makeValue(sNode, "psnnocnt", "string", mancnt, j);
- }
-
- tmFrom.getAddDate(term, "m");
- fromtm = tmFrom.getDateFormat("hhmm");
- j++;
- }
- fromtm = curtm;
- dateFrom.getAddDate(1);
- fromdd = dateFrom.getDateFormat("YYYYMMDD");
- }
- }
- /*-**************************************************************************************
- * Argument : vFrom - 시작일자
- * : vTo - 종료일자
- * : vDTFlag - 구분
- * Description : 일자 check
- ****************************************************************************************/
- function fCheckTerm(vFrom, vTo, vDTFlag){
- var ret = -1 ;
- if( vDTFlag = "D" ){
- ret = utlf_getDateInterval(vFrom, vTo) ;
- }
- else {
- ret = utlf_getTimeInterval(vFrom, vTo);
- }
- if( ret < 0 ) {
- alert("기간설정이 잘못되었습니다.");
- }
- return ret;
- }
- /*-**************************************************************************************
- * Argument : vMode - T: 건진전체일정관리, R: 검사실별 일별 인원관리, C: 상담의별 인원관리
- * Description : 건진전체예약일정내역 clear
- ****************************************************************************************/
- function fClearSch(vMode){
- if( vMode == "T" ) ds_main_total_schlst_item.clearData();
- else
- if( vMode == "R" ) ds_main_room_schlst_item.clearData();
- else
- if( vMode == "C" ) ds_main_cnst_schlst_item.clearData();
- }
- /*-**************************************************************************************
- * Argument : vMode - T: 건진전체일정관리, R: 검사실별 일별 인원관리, C: 상담의별 인원관리
- * Description : 스케줄 조회
- ****************************************************************************************/
- function fGetSchList(vMode){
- ds_temp_schlst_item.clearData();
- ds_send.setColumn( 0, "srchhealexamflag", m_vHealexamflag);
- var sFromdd = "";
- var sTodd = "";
- var sDest = "";
- var cnt = 0;
- var sDays = new Array();
- if( vMode == "T" ){
- sFromdd = switch1.case_cret.ipt_totfromdd.value;
- sTodd = switch1.case_cret.ipt_tottodd.value;
- sDest = "ds_main_total_schlst";
- }else if( vMode == "R" ){
- sFromdd = switch1.case_cret.ipt_roomfromdd.value;
- sTodd = switch1.case_cret.ipt_roomtodd.value;
- sDest = "ds_main_room_schlst";
- }else if( vMode == "C" ){
- sFromdd = switch1.case_cret.ipt_cnstfromdd.value;
- sTodd = switch1.case_cret.ipt_cnsttodd.value;
- sDest = "ds_main_cnst_schlst";
-
- //삼당예약 스케쥴생성에서 요일 관련 조회 조건 추가 202020211 임승주
- if( switch1.case_cret.chx_mon.value != false){
- sDays[cnt] = "'"+ "월"+"'";
- cnt++;
- }
- if( switch1.case_cret.chx_tue.value != false){
- sDays[cnt] = "'"+ "화"+"'";
- cnt++;
- }
- if( switch1.case_cret.chx_wed.value != false){
- sDays[cnt] = "'"+ "수"+"'";
- cnt++;
- }
- if( switch1.case_cret.chx_thu.value != false){
- sDays[cnt] = "'"+ "목"+"'";
- cnt++;
- }
- if( switch1.case_cret.chx_fri.value != false){
- sDays[cnt] = "'"+ "금"+"'";
- cnt++;
- }
- if( switch1.case_cret.chx_sat.value != false){
- sDays[cnt] = "'"+ "토"+"'";
- }
-
- ds_send.setColumn(0,"daylist", sDays);
- ds_send.setColumn( 0, "srchcnstdrid", ds_main_cnst.getColumn(0, "cnstdrid"));
-
-
- }else{
- return;
- }
-
- this.objects[sDest+"_item"].clearData();
-
- ds_send.setColumn( 0, "srchhealexamflag" , m_vHealexamflag);
- ds_send.setColumn( 0, "srchcond" , vMode);
- ds_send.setColumn( 0, "srchfromdd" , sFromdd );
- ds_send.setColumn( 0, "srchtodd" , sTodd );
- ds_send.setColumn( 0, "srchhealexamdetlflag" , cmb_healexamdetlflag.value);
- //trace("fGetSchList" + ds_send.saveXML());
- call_TRAHB01501();
- if( ds_temp_schlst_item.rowcount > 0 ) {
- this.objects[sDest+"_item"].copyData(ds_temp_schlst_item);
- }
- }
- /*-**************************************************************************************
- * Argument : vMode - T=> 건진전체일정관리, R: 검사실별 일별 인원관리, C: 상담의별 인원관리
- * : vCaseFg - 일정생성(I)/ 수정(U) case구분
- * Description : 스케줄 저장
- ****************************************************************************************/
- function fSaveSch(vMode, vTotGrdObj, vRoomGrdObj, vCnstGrdObj, vCaseFg) {
- if( !fCheckSaveSchData(vMode, vTotGrdObj, vRoomGrdObj, vCnstGrdObj) ) {
- alert("저장할 내역이 없습니다.");
- return ;
- }
- ds_send_save.clearData(); ds_send_save.addRow();
- ds_send_save.setColumn( 0, "healexamflag", m_vHealexamflag );
- if(m_vHealexamflag == "G") {
- ds_send_save.setColumn( 0, "healexamdetlflag", cmb_healexamdetlflag.value);
- }else{
- ds_send_save.setColumn( 0, "healexamdetlflag", cmb_healexamdetlflag.value);
- }
- ds_send_save.setColumn( 0, "mode", vMode );
- var Tmp = "";
- if(vCaseFg == "U"){
- if(vMode == "C"){
- Tmp = switch1.case_modify.group2.cmb_srchcnstdrid.value;
- if(utlf_isNull(Tmp)) {
- sysf_messageBox("상담의를 선택하세요", "E999");
- return ;
- }
- ds_send_save.setColumn( 0, "cnstdrid", Tmp);
- }else if(vMode == "R"){
- }
- ds_send_save.setColumn( 0, "rsrvdd", fGetCalendarDate(switch1.case_modify.grd_calendar));
- }else if( vCaseFg = "I" ){
- if(vMode == "C"){
- Tmp = switch1.case_cret.cmb_cnstdrid.value;
- if(utlf_isNull(Tmp)) {
- sysf_messageBox("상담의를 선택하세요", "E999");
- return ;
- }
- ds_send_save.setColumn( 0, "cnstdrid", Tmp);
- }
- }
- if( vMode == "T" ){
- var dsUpdate = grdf_getGridUpdateData(vTotGrdObj, "all");
- grdf_setStatusColumn(dsUpdate, "m");
- ds_send_save_savetotal.copyData(dsUpdate, true);
- }else if( vMode == "R" ){
- var dsUpdate = grdf_getGridUpdateData(vRoomGrdObj, "all");
- grdf_setStatusColumn(dsUpdate, "m");
- ds_send_save_saveroom.copyData(dsUpdate, true);
- }else if( vMode == "C" ){
- var dsUpdate = grdf_getGridUpdateData(vCnstGrdObj, "all");
- grdf_setStatusColumn(dsUpdate, "m");
- ds_send_save_savecnst.copyData(dsUpdate, true);
- }else{
- var dsUpdate1 = grdf_getGridUpdateData(vTotGrdObj, "all");
- grdf_setStatusColumn(dsUpdate1, "m");
- var dsUpdate2 = grdf_getGridUpdateData(vRoomGrdObj, "all");
- grdf_setStatusColumn(dsUpdate2, "m");
- var dsUpdate3 = grdf_getGridUpdateData(vCnstGrdObj, "all");
- grdf_setStatusColumn(dsUpdate3, "m");
- ds_send_save_savetotal.copyData(dsUpdate1, true);
- ds_send_save_saveroom.copyData(dsUpdate2, true);
- ds_send_save_savecnst.copyData(dsUpdate3, true);
- }
-
- ds_send_save_savetotal.updateColID("week","rsrvweek");
- ds_send_save_saveroom.updateColID("week","rsrvweek");
- var oParam = {};
- oParam.id = "TXAHB01501";
- oParam.service = "healexambaseapp.ScheduleCode";
- oParam.method = "reqExeScheduleCode";
- oParam.inds = "save=ds_send_save savetotal=ds_send_save_savetotal saveroom=ds_send_save_saveroom savecnst=ds_send_save_savecnst";
- oParam.outds = "ds_hidden_savetotal=savetotal ds_hidden_saveroom=saveroom ds_hidden_savecnst=savecnst";
- oParam.async = false;
- oParam.callback = "cf_TXAHB01501";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXAHB01501") > -1){
- if(vCaseFg == "I"){
- fGetSchList(vMode);
- }else{
- fGetRsrvSchList(2);
- fGetRsrvSchList(1);
- }
- }
- }
- function cf_TXAHB01501(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /*-**************************************************************************************
- * Argument : vMode - T: 건진전체일정관리, R: 검사실별 일별 인원관리, C: 상담의별 인원관리
- * Description : 저장대상 데이터 check
- ****************************************************************************************/
- function fCheckSaveSchData(vMode, vTotGrdObj, vRoomGrdObj, vCnstGrdObj){
- var vSaveData = null;
- if( vMode == "T" ){
- vSaveData = grdf_getGridUpdateData(vTotGrdObj, "all");
- if( utlf_isNull(vSaveData) || vSaveData.rowcount < 0 ) return false;
- }
- else
- if( vMode == "R" ){
- vSaveData = grdf_getGridUpdateData(vRoomGrdObj, "all");
- if( utlf_isNull(vSaveData) || vSaveData.rowcount < 0 ) return false;
- }
- else
- if( vMode == "C" ){
- vSaveData = grdf_getGridUpdateData(vCnstGrdObj, "all");
- if( utlf_isNull(vSaveData) || vSaveData.rowcount < 0 ) return false;
- }
- else {
- var vSaveData1 = grdf_getGridUpdateData(vTotGrdObj, "all");
- var vSaveData2 = grdf_getGridUpdateData(vRoomGrdObj, "all");
- var vSaveData3 = grdf_getGridUpdateData(vCnstGrdObj, "all");
- if( (utlf_isNull(vSaveData1) || vSaveData1.rowcount < 0) && (utlf_isNull(vSaveData2) || vSaveData2.rowcount < 0) && (utlf_isNull(vSaveData3) || vSaveData3.rowcount < 0)
- ) return false;
- }
- return true;
- }
- /*-**************************************************************************************
- * Argument : vMode - 1 : 일자별 시간대별 가능인원 조회( 시간대만 조회)
- * : 2 : 월별 일자별 가능 인원 조회(달력만 조회~)
- * Description : 월별 일별 스케쥴내역 조회. (달력으로 조회~~)
- ****************************************************************************************/
- function fGetRsrvSchList(vMode){
- ds_temp_templst.clearData();
- ds_main_schedule_rsrvacptlst_item.clearData();
- ds_main_schedule_rsrvtmlst_item.clearData();
- ds_send.setColumn( 0, "srchcond", switch1.case_modify.group2.rdo_srchcond2.value);
- var sRsrvMon = ds_temp_calendar.getColumn(0, "year") + ds_temp_calendar.getColumn(0, "month");
-
- dsf_makeValue(ds_send, "srchhealexamflag", "string", m_vHealexamflag);
- dsf_makeValue(ds_send, "srchrsrvmon", "string", sRsrvMon);
- ds_send.setColumn( 0, "srchcnstdrid" , switch1.case_modify.group2.cmb_srchcnstdrid.value);
- ds_send.setColumn( 0, "srchroomcd" , switch1.case_modify.group2.cmb_srchroomcd.value);
-
- if (cmb_healexamdetlflag.value=="") {
- ds_send.setColumn( 0, "srchhealexamdetlflag", m_vHealexamdetlflag);
- } else {
- ds_send.setColumn( 0, "srchhealexamdetlflag", cmb_healexamdetlflag.value);
- }
- var sNode = null;
- if( vMode == 1 ) {
- ds_send.setColumn( 0, "srchhealexamflag", m_vHealexamflag);
- ds_send.setColumn( 0, "srchfromdd" , fGetCalendarDate(switch1.case_modify.grd_calendar));
- ds_send.setColumn( 0, "srchtodd" , fGetCalendarDate(switch1.case_modify.grd_calendar));
- //trace("fGetRsrvSchList" + ds_send.saveXML());
- call_TRAHB01501();
- if( ds_temp_schlst_item.rowcount > 0 ) {
- ds_main_schedule_rsrvtmlst_item.copyData(ds_temp_schlst_item);
- }
- }
- else if( vMode == 2 ) {
- ds_send.setColumn( 0, "srchrsrvdd", "" );
- ds_temp_templst_rsrvddlst.clearData();
- ds_temp_templst_rsrvtmlst.clearData();
- var oParam = {};
- oParam.id = "TRAHB01503";
- oParam.service = "healexambaseapp.ScheduleCode";
- oParam.method = "reqGetRsrvScheduleList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_temp_templst_rsrvddlst=ddlst ds_temp_templst_rsrvtmlst=tmlst";
- oParam.async = false;
- //oParam.callback = "cf_TRAHB01503";
- tranf_submit(oParam);
- if( ds_temp_templst_rsrvddlst.rowcount > 0 ){
- var dd = null ;
- var iCol = null;
- var iRow = null;
- var firstDay = String(sRsrvMon+ "01").toDate().getDay();
- for( var i = 0 ; i < ds_temp_templst_rsrvddlst.rowcount ; i++){
- dd = ds_temp_templst_rsrvddlst.getColumn(i, "rsrvdd");
- iCol = String(sRsrvMon + dd).toDate().getDay();
- iRow = Math.ceil( ( firstDay + Number(dd) ) / 7 ) -1;
- ds_temp_calendar_weeklist_list.setColumn(iRow , iCol + 7, ds_temp_templst_rsrvddlst.getColumn(i, "psnnocnt"));
- }
- }
- }
- }
- /*-**************************************************************************************
- * Argument : srchcond2
- * Description : 예약시간 선택 시 해당 일자 예약자 리스트 조회
- ****************************************************************************************/
- function fGetRsrvPatList(srchcond2){
- //건진전체일정 , 검사실예약인원 리스트 조회
- if(switch1.case_modify.group2.rdo_srchcond2.value == "T" || switch1.case_modify.group2.rdo_srchcond2.value == "R") {
- var sRsrvDate = fGetCalendarDate(switch1.case_modify.grd_calendar);
- var sHealExamFlag = m_vHealexamflag;
- var sStatFg = "C";
- ds_send.setColumn( 0, "srchhealexamflag" , sHealExamFlag);
- ds_send.setColumn( 0, "srchstatfg" , sStatFg);
- ds_send.setColumn( 0, "srchdateyn" , "Y");
- ds_send.setColumn( 0, "srchrsltcnstrsrvdd" , sRsrvDate);
- ds_send.setColumn( 0, "srchfromdd" , fGetCalendarDate(switch1.case_modify.grd_calendar));
- ds_send.setColumn( 0, "srchtodd" , fGetCalendarDate(switch1.case_modify.grd_calendar));
- ds_send.setColumn( 0, "srchinstcd" , sysf_getUserInfo("dutplceinstcd") );
- ds_send.setColumn( 0, "srchcnstdrid" , "");
- ds_main_schedule_rsrvacptlst_item.clearData();
- var oParam = {};
- oParam.id = "TRAHA00401";
- oParam.service = "healexamrsrvacptapp.HealExamPrest";
- oParam.method = "reqGetHealExamPrestList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_schedule_rsrvacptlst_item=item";
- oParam.async = false;
- oParam.callback = "cf_TRAHA00401";
- tranf_submit(oParam);
- }
- else if(switch1.case_modify.group2.rdo_srchcond2.value == "C"){
- var sRsrvDate = fGetCalendarDate(switch1.case_modify.grd_calendar);
- var sHealExamFlag = m_vHealexamflag;
- ds_send.setColumn( 0, "srchhealexamflag" , sHealExamFlag);
- ds_send.setColumn( 0, "srchrsltcnstrsrvdd" , sRsrvDate);
- ds_send.setColumn( 0, "srchfromdd" , fGetCalendarDate(switch1.case_modify.grd_calendar) );
- ds_send.setColumn( 0, "srchtodd" , fGetCalendarDate(switch1.case_modify.grd_calendar) );
- ds_send.setColumn( 0, "srchinstcd" , sysf_getUserInfo("dutplceinstcd") );
-
- ds_main_schedule_rsrvacptlst_item.clearData();
- var oParam = {};
- oParam.id = "TRAHA00901";
- oParam.service = "healexamrsltjudgapp.InqrInpt";
- oParam.method = "reqGetCnstRsrvPatList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_schedule_rsrvacptlst_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAHA00901";
- tranf_submit(oParam);
- }
- }
- function cf_TRAHA00401(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- ds_main_schedule_rsrvacptlst_item.updatecontrol = false;
- dsf_setFixVal(ds_main_schedule_rsrvacptlst_item, "sel:N");
- ds_main_schedule_rsrvacptlst_item.updatecontrol = true;
- }
- /*-**************************************************************************************
- * Argument : vGrd - 대상그리드
- * Description : 전제삭제 함수
- ****************************************************************************************/
- function fDeleteAllRows(vGrd) {
- var dsObj = this.objects[vGrd.binddataset];
- for(var i = dsObj.rowcount-1; i >= 0; i--) {
- if( dsObj.getRowType(i) == 2 ) {
- dsObj.deleteRow(i);
- }else{
- grdf_setStatus(vGrd, "D", [i]);
- }
- }
- }
- /*-**************************************************************************************
- * Argument : sCompId - 체크박스명
- * Description : 바인딩된 데이터셋에 empty값 set
- ****************************************************************************************/
- function setFalseToEmpty(sCompId) {
- for(var i = 0; i < this.binds.length; i++) {
- if(eval(this.binds[i].compid).name == sCompId) {
- var colNm = this.binds[i].columnid;
- var dsNm = this.binds[i].datasetid;
-
- eval(dsNm).setColumn(0,colNm,"");
- break;
- }
- }
- }
-
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMAHB01500_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- //grdf_initGrid(grd_XXX);
- //grdf_setGridSort(grd_XXX);
- grdf_setRowTypeIcon(switch1.case_cret.grd_totalschlst, 0);
- grdf_setRowTypeIcon(switch1.case_cret.grd_cnstschlst, 0);
- grdf_setRowTypeIcon(switch1.case_cret.grd_roomschlst, 0);
- grdf_setRowTypeIcon(switch1.case_modify.grd_rsrvtmlst, 0);
- var flag = String(frmf_getMenuParam());
- m_vHealexamflag = flag.substr(0, 1);
-
- if(flag.length >= 3) {
- m_vHealexamdetlflag = flag;
- } else {
- m_vHealexamdetlflag = flag + '01';
- }
-
- ds_send.setColumn( 0, "srchhealexamflag" , m_vHealexamflag);
- ds_send.setColumn( 0, "srchhealexamdetlflag" , m_vHealexamdetlflag);
-
- var arrParam = [{dsNm: "ds_init_A0069", cdGrpId: "A0069"}
- ,{dsNm: "ds_init_A0070", cdGrpId: "A0070"}
- ];
- appf_getCodeList(arrParam);
- if(m_vHealexamflag == "G"){
- caption2.visible = true;
- cmb_healexamdetlflag.visible = true;
-
- ds_init_baseinfo_healexamdetlflag.copyData(ds_init_A0070);
- }else if(m_vHealexamflag == "C"){
- caption2.visible = true;
- cmb_healexamdetlflag.visible = true;
- ds_init_baseinfo_healexamdetlflag.copyData(ds_init_A0069);
- if (m_vHealexamdetlflag == 'C01'){
- m_vHealexamplacecd = 'S'
- }else if (m_vHealexamdetlflag == 'C03'){
- m_vHealexamplacecd = 'K'
- }
-
- dsf_makeValue( ds_send, "srchhealexamplacecd", "string", m_vHealexamplacecd );
- }else{
- caption2.visible = false;
- cmb_healexamdetlflag.visible = false;
- }
-
- fInitCtrl();
-
- cmb_healexamdetlflag.value = m_vHealexamdetlflag;
- cmb_healexamdetlflag.onitemchanged.fireEvent(cmb_healexamdetlflag, new ItemChangeEventInfo);
- ds_main_cnst.setColumn( 0, "cnstdrid", ds_init_cnst_drlst_itemdr.getColumn(0, "drid"));
- switch1.case_modify.group2.btn_searchcnnst.enable = frmf_checkAuth("R");
- grp_btn.btn_save.enable = frmf_checkAuth("X");
- grp_btn.btn_print.enable = frmf_checkAuth("P");
- //T=> 건진전체일정관리, C: 상담의별 인원관리, R: 검사실별 일별 인원관리
- fGetSchList("T");
- fGetSchList("C");
- fGetSchList("R");
-
- switch1.case_cret.chx_cnstam.value = true;
- switch1.case_cret.chx_cnstfm.value = true ;
-
- }
- /****************************************************************************************
- * Components : Button
- * Description : 건진정체예약스케쥴 생성
- ****************************************************************************************/
- function switch1_case_cret_btn_totalmake_onclick(obj:Button, e:ClickEventInfo) {
- frmf_openLoadingBar("스케쥴 생성하고 있습니다.");
- fMakeTotSch();
- frmf_closeLoadingBar();
- switch1.case_cret.btn_totsave.setFocus();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 건진정체예약스케쥴 초기화
- ****************************************************************************************/
- function switch1_case_cret_btn_totclear_onclick(obj:Button, e:ClickEventInfo) {
- fClearSch("T");
- }
- /****************************************************************************************
- * Components : Button
- * Description : 건진정체예약스케쥴 추가
- ****************************************************************************************/
- function switch1_case_cret_btn_totadd_onclick(obj:Button, e:ClickEventInfo) {
- var nRow = ds_main_total_schlst_item.addRow();
- ds_main_total_schlst_item.setColumn(nRow, "rsrvdd", utlf_getCurrentDate());
- ds_main_total_schlst_item.setColumn(nRow, "psnnomancnt", 0);
- ds_main_total_schlst_item.setColumn(nRow, "psnnowomcnt", 0);
- ds_main_total_schlst_item.setColumn(nRow, "psnnocomcnt", 0);
- switch1.case_cret.grd_totalschlst.setFocus();
- switch1.case_cret.grd_totalschlst.setCellPos(1);
- switch1.case_cret.grd_totalschlst.showEditor(true);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 건진정체예약스케쥴 삭제
- ****************************************************************************************/
- function switch1_case_cret_btn_totdel_onclick(obj:Button, e:ClickEventInfo) {
- var objGrd = switch1.case_cret.grd_totalschlst;
- var selectedRows = grdf_getSelectedRows(objGrd);
- for (var i = selectedRows.length-1; i >= 0; i--){
- if( objects[objGrd.binddataset].getRowType(selectedRows[i]) == 2 ) {
- objects[objGrd.binddataset].deleteRow(selectedRows[i]);
- }else{
- grdf_setStatus(objGrd, "D", [selectedRows[i]]);
- }
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 건진정체예약스케쥴 전체삭제
- ****************************************************************************************/
- function switch1_case_cret_btn_totalldel_onclick(obj:Button, e:ClickEventInfo) {
- fDeleteAllRows(switch1.case_cret.grd_totalschlst);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 건진정체예약스케쥴 저장
- ****************************************************************************************/
- function switch1_case_cret_btn_totsave_onclick(obj:Button, e:ClickEventInfo) {
- ds_temp_srchdel_srchrow.clearData();
- ds_send.setColumn( 0, "srchcond", "T");
-
- //cal_TRAHB01507();
-
- var oParam = {};
- oParam.id = "TRAHB01507";
- oParam.service = "healexambaseapp.ScheduleCode";
- oParam.method = "reqDelCheckScheduleCode";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_temp_srchdel_srchrow=srchrow";
- oParam.async = false;
- //oParam.callback = "cf_TRAHB01507";
- tranf_submit(oParam);
-
- if(ds_temp_srchdel_srchrow.getColumn(0, "rowcnt") > 0){
- if(sysf_messageBox(ds_temp_srchdel_srchrow.getColumn(0, "rowcnt") + " 건의 예약일정 내역이 존재합니다. 예약일정 내역을", "Q002") != 6) return;
- fSaveSch("T", switch1.case_cret.grd_totalschlst, null, null, "I") ;
- }else{
- if(sysf_messageBox("예약일정 내역을", "Q002") != 6) return;
- fSaveSch("T", switch1.case_cret.grd_totalschlst, null, null, "I") ;
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 검사실별 예약스케줄생성
- ****************************************************************************************/
- function switch1_case_cret_btn_roommake_onclick(obj:Button, e:ClickEventInfo) {
- frmf_openLoadingBar("스케쥴 생성하고 있습니다.");
- fMakeRoomSch();
- frmf_closeLoadingBar();
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 검사실별 예약스케줄생성 검사실 코드 선택
- ****************************************************************************************/
- function switch1_case_cret_grd_roomlst_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
- if(e.row < 0) return;
- fGetSchList("R");
- }
- /****************************************************************************************
- * Components : Button
- * Description : 검사실별 예약스케줄생성 초기화
- ****************************************************************************************/
- function switch1_case_cret_btn_roomclear_onclick(obj:Button, e:ClickEventInfo) {
- fClearSch("R");
- fGetSchList("R");
- }
- /****************************************************************************************
- * Components : Button
- * Description : 검사실별 예약스케줄생성 행추가
- ****************************************************************************************/
- function switch1_case_cret_btn_roomadd_onclick(obj:Button, e:ClickEventInfo) {
- var nRow = ds_main_room_schlst_item.addRow();
- ds_main_room_schlst_item.setColumn(nRow, "rsrvdd", utlf_getCurrentDate());
- switch1.case_cret.grd_roomschlst.setFocus();
- switch1.case_cret.grd_roomschlst.setCellPos(1);
- switch1.case_cret.grd_roomschlst.showEditor(true);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 검사실별 예약스케줄생성 행삭제
- ****************************************************************************************/
- function switch1_case_cret_btn_roomdel_onclick(obj:Button, e:ClickEventInfo) {
- var objGrd = switch1.case_cret.grd_roomschlst;
- var selectedRows = grdf_getSelectedRows(objGrd);
- for (var i = selectedRows.length-1; i >= 0; i--){
- if( objects[objGrd.binddataset].getRowType(selectedRows[i]) == 2 ) {
- objects[objGrd.binddataset].deleteRow(selectedRows[i]);
- }else{
- grdf_setStatus(objGrd, "D", [selectedRows[i]]);
- }
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 검사실별 예약스케줄생성 저장
- ****************************************************************************************/
- function switch1_case_cret_btn_roomsave_onclick(obj:Button, e:ClickEventInfo) {
- if(sysf_messageBox("검사실별 일별 예약인원 설정내역을", "Q002") != 6) return;
- fSaveSch("R", null , switch1.case_cret.grd_roomschlst, null, "I");
- }
- /****************************************************************************************
- * Components : Button
- * Description : 검사실별 예약스케줄생성 전체삭제
- ****************************************************************************************/
- function switch1_case_cret_btn_roomalldel_onclick(obj:Button, e:ClickEventInfo) {
- fDeleteAllRows(switch1.case_cret.grd_roomschlst);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 상담예약스케줄 초기화
- ****************************************************************************************/
- function switch1_case_cret_btn_cnstclear_onclick(obj:Button, e:ClickEventInfo) {
- fClearSch("C");
- fGetSchList("C");
- }
- /****************************************************************************************
- * Components : Combo
- * Description : 상담의 변경시
- ****************************************************************************************/
- function switch1_case_cret_cmb_cnstdrid_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
- fGetSchList("C");
- switch1.case_cret.ipt_cnstamfromtm.setFocus();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 상담예약스케줄 생성
- ****************************************************************************************/
- function switch1_case_cret_btn_cnstmake_onclick(obj:Button, e:ClickEventInfo) {
- frmf_openLoadingBar("스케쥴 생성하고 있습니다.");
- fMakeCnstSch();
- frmf_closeLoadingBar();
- switch1.case_cret.btn_savecnst.setFocus();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 상담예약스케줄 저장
- ****************************************************************************************/
- function switch1_case_cret_btn_savecnst_onclick(obj:Button, e:ClickEventInfo) {
- ds_temp_srchdel_srchrow.clearData();
- ds_send.setColumn( 0, "srchcond", "C");
- call_TRAHB01507();
-
- if(ds_temp_srchdel_srchrow.getColumn(0, "rowcnt") > 0){
- if(sysf_messageBox(ds_temp_srchdel_srchrow.getColumn(0, "rowcnt") + " 건의 상담예약 내역이 존재합니다. 상담예약 내역을", "Q002") != 6) return;
- fSaveSch("C", null , null, switch1.case_cret.grd_cnstschlst, "I");
- }else{
- if(sysf_messageBox("상담예약 내역을", "Q002") != 6) return;
- fSaveSch("C", null , null, switch1.case_cret.grd_cnstschlst, "I");
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 상담예약스케줄 전체삭제
- ****************************************************************************************/
- function switch1_case_cret_button1_onclick(obj:Button, e:ClickEventInfo) {
- fDeleteAllRows(switch1.case_cret.grd_cnstschlst);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 상담예약스케줄 삭제
- ****************************************************************************************/
- function switch1_case_cret_button4_onclick(obj:Button, e:ClickEventInfo) {
- var objGrd = switch1.case_cret.grd_cnstschlst;
- var selectedRows = grdf_getSelectedRows(objGrd);
- for (var i = selectedRows.length-1; i >= 0; i--){
- if( objects[objGrd.binddataset].getRowType(selectedRows[i]) == 2 ) {
- objects[objGrd.binddataset].deleteRow(selectedRows[i]);
- }else{
- grdf_setStatus(objGrd, "D", [selectedRows[i]]);
- }
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 상담예약스케줄 추가
- ****************************************************************************************/
- function switch1_case_cret_button5_onclick(obj:Button, e:ClickEventInfo) {
- var nRow = ds_main_cnst_schlst_item.addRow();
- ds_main_cnst_schlst_item.setColumn(nRow, "rsrvdd", utlf_getCurrentDate());
- switch1.case_cret.grd_cnstschlst.setFocus();
- switch1.case_cret.grd_cnstschlst.setCellPos(1);
- switch1.case_cret.grd_cnstschlst.showEditor(true);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 부분영역저장
- ****************************************************************************************/
- function switch1_case_cret_button3_onclick(obj:Button, e:ClickEventInfo) {
- // 경고메세지
- sysf_messageBox(" !!!!!!!!!! 주의 요망 !!!!!!!!!! \n검사실 기간, 인원 재차 ","I007");
- // 부분영역수정저장가능하게 수정요청함.
- if( sysf_messageBox("설정하신 ##기간##, 선택하신 검사실 ##인원##으로", "Q002") != 6) return ;
- var fromdd = ds_main_room.getColumn(0, "fromdd");
- var todd = ds_main_room.getColumn(0, "todd");
- if(fromdd >= todd){
- sysf_messageBox("시작일이 종료일보다 클 수 ","I004");
- return;
- }
- ds_send_partchngroomcode.setColumn( 0, "healexamflag", m_vHealexamflag );
- ds_send_partchngroomcode.setColumn( 0, "healexamdetlflag", m_vHealexamdetlflag );
- ds_send_partchngroomcode.setColumn( 0, "fromdd", fromdd);
- ds_send_partchngroomcode.setColumn( 0, "todd", todd);
-
- var dsUpdate = grdf_getGridUpdateData(switch1.case_cret.grd_roomlst, "all");
- grdf_setStatusColumn(dsUpdate, "m");
- ds_send_partchngroomcode_chnglist.copyData(dsUpdate, true);
- var oParam = {};
- oParam.id = "TXAHB01502";
- oParam.service = "healexambaseapp.ScheduleCode";
- oParam.method = "reqExeScheduleCodeChng";
- oParam.inds = "dd=ds_send_partchngroomcode list=ds_send_partchngroomcode_chnglist";
- oParam.outds = "ds_hidden_saveroom=saveroom";
- oParam.async = false;
- //oParam.callback = "cf_TXAHB01502";
- tranf_submit(oParam);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 예약일정수정/조회 조회
- ****************************************************************************************/
- function switch1_case_modify_group2_btn_searchcnnst_onclick(obj:Button, e:ClickEventInfo) {
- fGetRsrvSchList(2);
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 예약일정 선택
- ****************************************************************************************/
- function switch1_case_modify_grd_calendar_oncellclick(obj:Grid, e:GridClickEventInfo) {
- // setCellColor(switch1.case_modify.grd_calendar);
- fGetRsrvSchList(1);
- fGetRsrvPatList();
- //달력의 선택한 일자 일자비고일자에 셋팅.
- dsf_makeValue( ds_main_dayblist, "remdd", "string", fGetCalendarDate(switch1.case_modify.grd_calendar));
- switch1.case_modify.btn_srch_dayb.click();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 예약일정 시간대별인원 저장
- ****************************************************************************************/
- function switch1_case_modify_btn_modify_onclick(obj:Button, e:ClickEventInfo) {
- if(sysf_messageBox( switch1.case_modify.group2.rdo_srchcond2.text + " 변경내역을 " , "Q002" ) != 6) return;
- fSaveSch(switch1.case_modify.group2.rdo_srchcond2.value , switch1.case_modify.grd_rsrvtmlst, switch1.case_modify.grd_rsrvtmlst, switch1.case_modify.grd_rsrvtmlst, "U") ;
- }
- /****************************************************************************************
- * Components : Button
- * Description : 예약일정 시간대별인원 행삭제
- ****************************************************************************************/
- function switch1_case_modify_btn_tmdel_onclick(obj:Button, e:ClickEventInfo) {
- var objGrd = switch1.case_modify.grd_rsrvtmlst;
- var selectedRows = grdf_getSelectedRows(objGrd);
- for (var i = selectedRows.length-1; i >= 0; i--){
- if( objects[objGrd.binddataset].getRowType(selectedRows[i]) == 2 ) {
- objects[objGrd.binddataset].deleteRow(selectedRows[i]);
- }else{
- grdf_setStatus(objGrd, "D", [selectedRows[i]]);
- }
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 예약일정 시간대별인원 행추가
- ****************************************************************************************/
- function switch1_case_modify_btn_tmadd_onclick(obj:Button, e:ClickEventInfo) {
- var nRow = ds_main_schedule_rsrvtmlst_item.addRow();
- ds_main_schedule_rsrvtmlst_item.setColumn(nRow, 1, utlf_getCurrentDate());
- switch1.case_modify.grd_rsrvtmlst.setFocus();
- switch1.case_modify.grd_rsrvtmlst.setCellPos(1);
- switch1.case_modify.grd_rsrvtmlst.showEditor(true);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 예약일정 전년
- ****************************************************************************************/
- function switch1_case_modify_grp_calendar_btn_preyear_onclick(obj:Button, e:ClickEventInfo) {
- fHRefreshCalender("Y", -1);
- fGetRsrvSchList(2);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 예약일정 후년
- ****************************************************************************************/
- function switch1_case_modify_grp_calendar_btn_nextyear_onclick(obj:Button, e:ClickEventInfo) {
- fHRefreshCalender("Y", 1);
- fGetRsrvSchList(2);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 예약일정 전월
- ****************************************************************************************/
- function switch1_case_modify_grp_calendar_btn_premonth_onclick(obj:Button, e:ClickEventInfo) {
- fHRefreshCalender("M", -1);
- fGetRsrvSchList(2);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 예약일정 후월
- ****************************************************************************************/
- function switch1_case_modify_grp_calendar_btn_nextmonth_onclick(obj:Button, e:ClickEventInfo) {
- fHRefreshCalender("M",1);
- fGetRsrvSchList(2);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 예약일정 시간대별인원 초기화
- ****************************************************************************************/
- function switch1_case_modify_btn_scheduletmclear_onclick(obj:Button, e:ClickEventInfo) {
- fGetRsrvSchList(1);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 예약일정 일자별 저장
- ****************************************************************************************/
- function switch1_case_modify_button2_onclick(obj:Button, e:ClickEventInfo) {
- dsf_makeValue( ds_main_dayblist, "instcd", "string", sysf_getUserInfo("dutplceinstcd"));
- dsf_makeValue( ds_main_dayblist, "instcd", "string", sysf_getUserInfo("dutplceinstcd"));
- var oParam = {};
- oParam.id = "TXAHB01509";
- oParam.service = "healexambaseapp.ScheduleCode";
- oParam.method = "reqExeDaybList";
- oParam.inds = "req=ds_main_dayblist";
- oParam.outds = "ds_main_dayblist=dayblist";
- oParam.async = false;
- //oParam.callback = "cf_TXAHB01509";
- tranf_submit(oParam);
- if(utlf_isNull(ds_main_dayblist.getColumn(0, "remdd"))) {
- //해당 일자에 데이터가 없으므로 노드와 일자를 셋팅해줌
- dsf_makeValue( ds_main_dayblist, "remcnts", "string", "" );
- dsf_makeValue( ds_main_dayblist, "remdd", "string", fGetCalendarDate(switch1.case_modify.grd_calendar));
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 예약일정 일자별 조회
- ****************************************************************************************/
- function switch1_case_modify_btn_srch_dayb_onclick(obj:Button, e:ClickEventInfo) {
- dsf_makeValue( ds_main_dayblist, "instcd", "string", sysf_getUserInfo("dutplceinstcd"));
- var oParam = {};
- oParam.id = "TRAHB01508";
- oParam.service = "healexambaseapp.ScheduleCode";
- oParam.method = "reqGetDaybList";
- oParam.inds = "req=ds_main_dayblist";
- oParam.outds = "ds_main_dayblist=dayblist";
- oParam.async = false;
- //oParam.callback = "cf_TRAHB01508";
- tranf_submit(oParam);
- if(utlf_isNull(ds_main_dayblist.getColumn(0, "remdd"))) {
- //해당 일자에 데이터가 없으므로 노드와 일자를 셋팅해줌
- dsf_makeValue( ds_main_dayblist, "remcnts", "string", "" );
- dsf_makeValue( ds_main_dayblist, "remdd", "string", fGetCalendarDate(switch1.case_modify.grd_calendar));
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 예약일정 일자별 일자변경
- ****************************************************************************************/
- function switch1_case_modify_ipt_remdd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- switch1.case_modify.btn_srch_dayb.click();
- }
- /****************************************************************************************
- * Components : Combo
- * Description : 건진구분 변경시
- ****************************************************************************************/
- function cmb_healexamdetlflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
- if (cmb_healexamdetlflag.value == 'C01') {
- m_vHealexamplacecd = 'S'
- } else if (cmb_healexamdetlflag.value == 'C03') {
- m_vHealexamplacecd = 'K'
- }
-
- dsf_makeValue( ds_send, "srchhealexamdetlflag", "string", cmb_healexamdetlflag.value );
- dsf_makeValue( ds_send, "srchhealexamplacecd", "string", m_vHealexamplacecd );
- fInitCtrl();
- ds_main_cnst.setColumn( 0, "cnstdrid", ds_init_cnst_drlst_itemdr.getColumn(0, "drid"));
- switch1.case_modify.group2.btn_searchcnnst.enable = frmf_checkAuth("R");
- grp_btn.btn_save.enable = frmf_checkAuth("X");
- grp_btn.btn_print.enable = frmf_checkAuth("P");
- fGetSchList("T");
- fGetSchList("C");
- fGetSchList("R");
- }
- /****************************************************************************************
- * Components : CheckBox
- * Description : 체크해제시 empty값 입력
- ****************************************************************************************/
- function CheckBox_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value == false) setFalseToEmpty(obj.name);
- else if(obj.name == "chk_srchallroom") {
- switch1.case_modify.group2.cmb_srchroomcd.value = "";
- fHRefreshCalender("M", 0);
- fGetRsrvSchList(2);
- }
- }
- function ds_init_room_roomlst_itemroom_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid=="sel") {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
- }
- }
- /****************************************************************************************
- * Components : Tab
- * Description : 예약일정수정/조회 탭 선택시
- ****************************************************************************************/
- function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if( e.postindex == 1 ) {
- ds_main_schedule.setColumn(0, "srchcnstdrid", ds_init_cnst_drlst_itemdr.getColumn(0, "drid"));
- ds_temp_calendar_weeklist_list.rowposition = -1;
- }
- }
- /****************************************************************************************
- * Components : Dataset
- * Description : 스케줄 일자 변경시 다음 컴포넌트 setfocus 및 조회실행
- ****************************************************************************************/
- function ds_main_total_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "fromdd") {
- fGetSchList("T");
- switch1.case_cret.ipt_tottodd.setFocus();
- }
- if(e.columnid == "todd") {
- fGetSchList("T");
- switch1.case_cret.ipt_totfromtm.setFocus();
- }
- }
- function ds_main_cnst_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "fromdd") {
- fGetSchList("C");
- switch1.case_cret.ipt_cnsttodd.setFocus();
- }
- if(e.columnid == "todd") {
- fGetSchList("C");
- switch1.case_cret.cmb_cnstdrid.setFocus();
- }
- }
- function ds_main_room_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "fromdd") {
- fGetSchList("R");
- switch1.case_cret.ipt_roomtodd.setFocus();
- }
- if(e.columnid == "todd") {
- fGetSchList("R");
- switch1.case_cret.ipt_roomcnt.setFocus();
- }
- }
- /****************************************************************************************
- * Components : common
- * Description : 값입력 후 엔터시 다음 taborder 로 setfocus
- ****************************************************************************************/
- function Calendar_onkeyup(obj:Calendar, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.updateToDataset();
- this.getNextComponent(obj).setFocus();
- }
- }
- function MaskEdit_onkeyup(obj:MaskEdit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.updateToDataset();
- this.getNextComponent(obj).setFocus();
- }
- }
- function Edit_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.updateToDataset();
- this.getNextComponent(obj).setFocus();
- }
- }
- function switch1_case_cret_ipt_roomcnt_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- var cnt = switch1.case_cret.ipt_roomcnt.text ;
- for( var i = 0; i < ds_init_room_roomlst_itemroom.rowcount ; i++){
- ds_init_room_roomlst_itemroom.setColumn(i, "cnt", cnt);
- }
- }
- }
- function ds_main_total_schlst_item_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- var idx = e.row;
- if( idx < 0 ) return ;
- if( e.col == 1 ) {
- var rsrvdd = obj.getColumn(idx, 1);
- if( !utlf_isValidDateTime(rsrvdd, "YYYYMMDD") ) return ;
- obj.setColumn(idx, 2, String(rsrvdd).toDate("YYYYMMDD").getDayOfWeek("K"));
- }
- }
- function ds_main_room_schlst_item_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- var idx = e.row;
- if( idx < 0 ) return ;
- if( e.col == 1 ){
- var rsrvdd = obj.getColumn(idx, 1);
- if( !utlf_isValidDateTime(rsrvdd, "YYYYMMDD") ) return ;
- obj.setColumn(idx, 2, String(rsrvdd).toDate("YYYYMMDD").getDayOfWeek("K"));
- }
- }
- /****************************************************************************************
- * Components : Radio
- * Description : 예약일정 조회구분 선택
- ****************************************************************************************/
- function switch1_case_modify_group2_rdo_srchcond2_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- fHRefreshCalender("M", 0);
- fSetSrchCtrlState(switch1.case_modify.group2.rdo_srchcond2.value);
- fGetRsrvSchList(2);
- }
- /****************************************************************************************
- * Components : Combo
- * Description : 예약일정 상담의 변경
- ****************************************************************************************/
- function switch1_case_modify_group2_cmb_srchcnstdrid_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fHRefreshCalender("M", 0);
- fGetRsrvSchList(2);
- }
- /****************************************************************************************
- * Components : Combo
- * Description : 예약일정 검사실 변경
- ****************************************************************************************/
- function switch1_case_modify_group2_cmb_srchroomcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fHRefreshCalender("M", 0);
- fGetRsrvSchList(2);
- }
- function switch1_case_cret_ipt_tottodd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- fGetSchList("T");
- }
- //상담예약 스케쥴 생성 조회 기능 추가 20200211 임승주
- function switch1_case_cret_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
-
- fGetSchList("C");
- switch1.case_cret.ipt_cnstamfromtm.setFocus();
-
- }
- //상담예약 스케쥴 오전/오후 생선 관련 함수 추가 20200317 임승주
- function switch1_case_cret_chx_cnstam_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( switch1.case_cret.chx_cnstam.value == true)
- {
- switch1.case_cret.ipt_cnstamfromtm.value = "0830";
- switch1.case_cret.ipt_cnstamtotm.value = "1200";
- }
- else
- {
- switch1.case_cret.ipt_cnstamfromtm.value = "0000";
- switch1.case_cret.ipt_cnstamtotm.value = "0000";
- }
- }
- function switch1_case_cret_chx_cnstfm_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( switch1.case_cret.chx_cnstfm.value == true)
- {
- switch1.case_cret.ipt_cnstfmfromtm.value = "1300";
- switch1.case_cret.ipt_cnstfmtotm.value = "1700";
- }
- else
- {
- switch1.case_cret.ipt_cnstfmfromtm.value = "0000";
- switch1.case_cret.ipt_cnstfmtotm.value = "0000";
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|