1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMRC00300" position="absolute 0 0 1190 770" titletext="차트대출신청" onload="SMMRC00300_onload">
- <Layouts>
- <Layout>
- <Div id="group2" position="absolute 8 1 1179 25" style="align: top;">
- <Layouts>
- <Layout>
- <Static id="cpt_title" class="tit_1" position="absolute -2 0 149 24" style="" text="차트대출신청" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Tab id="switch1" position="absolute 8 26 1175 754" style="" anchor="default" tabindex="0">
- <Tabpages>
- <Tabpage id="appchrt" anchor="default" text="챠트신청">
- <Layouts>
- <Layout>
- <Shape id="roundrect4" anchor="default" type="roundrectangle" position="absolute 5 191 485 229" style="border: solid #ffd799 #ffd799;background:#fffbf2 ;"/>
- <Edit id="input3" anchor="default" class="output_fix" position="absolute 220 199 318 218" style="" enable="false"/>
- <Edit id="ipt_pid" anchor="default" class="input_essential" taborder="1" position="absolute 100 199 185 218" style="" onkeydown="switch1_appchrt_ipt_pid_onkeydown" onkillfocus="switch1_appchrt_ipt_pid_onkillfocus"/>
- <Grid id="grd_chrtlist" binddataset="ds_main_appchrt_chrtlist" position="absolute 5 255 485 503" style="" onclick="switch1_appchrt_grd_chrtlist_onclick" oncellclick="switch1_appchrt_grd_chrtlist_oncellclick" onmousedown="switch1_appchrt_grd_chrtlist_onmousedown">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="30"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="50"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="V"/>
- <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" text="대출자"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chkflag"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" text="bind:pnm"/>
- <Cell col="3" text="bind:depthngnm"/>
- <Cell col="4" text="bind:lendyn"/>
- <Cell col="5" text="bind:renddt"/>
- <Cell col="6" text="bind:rendresn"/>
- <Cell col="7" text="bind:lenddept"/>
- <Cell col="8" text="bind:lendman"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_x_appchrt" class="btn4_letter6" taborder="16" position="absolute 1055 5 1159 27" style="" text="차트대출신청" onclick="switch1_appchrt_btn_x_appchrt_onclick"/>
- <Shape id="line4" class="line_1" linetype="horizontal" position="absolute 5 251 485 255" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
- <Button id="btn_addlist" class="icon_right" taborder="15" position="absolute 490 330 516 349" style="" text="" onclick="switch1_appchrt_btn_addlist_onclick"/>
- <Grid id="grd_appchrtlist" binddataset="ds_main_appchrt_appchrtlist" taborder="63" position="absolute 525 35 1159 698" style="" onkillfocus="switch1_appchrt_grd_appchrtlist_onkillfocus" onmousedown="switch1_appchrt_grd_appchrtlist_onmousedown" onrbuttondown="switch1_appchrt_grd_appchrtlist_onrbuttondown">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="65"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="90"/>
- <Column size="70"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="70"/>
- </Columns>
- <Rows>
- <Row size="25" band="head"/>
- <Row size="25"/>
- </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" text="진료과"/>
- <Cell col="9" text="대출자"/>
- <Cell col="10" text="신청인"/>
- <Cell col="11" text="연락처"/>
- <Cell col="12" text="전달메세지"/>
- </Band>
- <Band id="body">
- <Cell expr="currow + 1"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" text="bind:pnm"/>
- <Cell col="3" text="bind:depthngnm"/>
- <Cell col="4" text="bind:rendcd" combodataset="ftds_init_lendmastinfo_rendcdlist_rendcd" combocodecol="rendcd" combodatacol="rendresn"/>
- <Cell col="5" text="bind:rendschedd"/>
- <Cell col="6" text="bind:rtnschedd"/>
- <Cell col="7" text="bind:appdeptnm"/>
- <Cell col="8" text="bind:orddeptnm"/>
- <Cell col="9" text="bind:lendman"/>
- <Cell col="10" text="bind:appman"/>
- <Cell col="11" text="bind:appmantelno"/>
- <Cell col="12" text="bind:msgcnts"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line11" class="line_4" linetype="vertical" position="absolute 399 198 402 220" style="" anchor="default"/>
- <Static id="caption2" class="search_name" position="absolute 10 199 105 216" style="align: middle;" text="등록번호 :"/>
- <Button id="button61" class="icon_search" position="absolute 190 199 206 215" style="" text="" onclick="switch1_appchrt_button61_onclick"/>
- <Button id="btn_r_chrtsearch" class="btn1_letter2" taborder="2" position="absolute 410 199 466 221" style="" text="조회" onclick="switch1_appchrt_btn_r_chrtsearch_onclick"/>
- <Shape id="roundrect2" anchor="default" type="roundrectangle" position="absolute 5 26 485 165" style="border: solid #ffd799 #ffd799;background:#fffbf2 ;"/>
- <Calendar id="ipt_renddd" anchor="default" class="input_search" taborder="12" position="absolute 365 62 476 81" style="" onkillfocus="switch1_appchrt_ipt_renddd_onkillfocus"/>
- <Edit id="ipt_apptelno" anchor="default" class="input_search" taborder="14" position="absolute 365 111 476 130" style="" onkillfocus="switch1_appchrt_ipt_apptelno_onkillfocus"/>
- <Combo innerdataset="ds_init_userlist_userlist_usercombo" datacolumn="usernm" codecolumn="userid" columncount="-1" rowcount="-1" id="cmb_orddrid" class="combo_search" taborder="6" position="absolute 178 87 243 106" style=""/>
- <Static id="caption1" class="search_name" position="absolute 10 36 114 53" style="align: middle;" text="대출과(센터)"/>
- <Combo innerdataset="@ftds_init_lendsetitem_setitemlist_lenduseyn" datacolumn="rendresn" codecolumn="rendcd" columncount="-1" rowcount="-1" id="cbo_renduse" class="combo_search" taborder="11" position="absolute 365 36 476 55" style="" onitemchanged="switch1_appchrt_cbo_renduse_onitemchanged"/>
- <Static id="caption3" class="search_name" position="absolute 10 87 114 104" style="align: middle;" text="대출자"/>
- <Static id="caption4" class="search_name" position="absolute 269 36 363 53" style="align: middle;" text="대출용도"/>
- <Static id="caption5" class="search_name" position="absolute 10 111 114 128" style="align: middle;" text="신청인"/>
- <Edit id="ipt_appmanid" anchor="default" class="input_search" enable="false" taborder="8" position="absolute 120 111 176 130" style=""/>
- <Static id="caption6" class="search_name" position="absolute 269 111 363 128" style="align: middle;" text="연락처"/>
- <Calendar id="ipt_rtnschedd" anchor="default" class="input_search" enable="false" taborder="13" position="absolute 365 87 476 106" style=""/>
- <Static id="caption16" class="search_name" position="absolute 269 62 363 79" style="align: middle;" text="대출예약일"/>
- <Static id="caption17" class="search_name" position="absolute 269 87 363 104" style="align: middle;" text="반납예정일"/>
- <Combo innerdataset="@ftds_init_lendmastinfo_lenddeptlist_lenddeptcd" datacolumn="lenddeptnm" codecolumn="lenddeptcd" columncount="-1" rowcount="-1" id="cmb_appdeptcd" class="combo_search" taborder="3" position="absolute 120 36 243 55" style="" onitemchanged="switch1_appchrt_cmb_appdeptcd_onitemchanged"/>
- <Shape id="line3" class="line_1" linetype="horizontal" position="absolute 525 31 1159 35" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
- <Edit id="ipt_msgcnts" anchor="default" class="input_search" taborder="10" position="absolute 120 135 475 154" style="" onkillfocus="switch1_appchrt_ipt_msgcnts_onkillfocus"/>
- <Static id="cap_msgcnts" class="search_name" position="absolute 10 136 114 153" style="align: middle;" text="전달메세지"/>
- <Button id="btn_searchlendman" class="icon_search" taborder="7" position="absolute 248 87 264 103" style="" text="" onclick="switch1_appchrt_btn_searchlendman_onclick"/>
- <Edit id="ipt_lendmanid" anchor="default" class="input_search" enable="false" taborder="5" position="absolute 120 87 176 106" style=""/>
- <Edit id="input2" anchor="default" class="input_search" enable="false" taborder="9" position="absolute 178 111 243 130" style=""/>
- <Static id="caption12" class="tit_2" position="absolute 5 234 126 250" style="" text="PAPER"/>
- <Shape id="line32" class="line_1" linetype="horizontal" position="absolute 4 522 484 525" style="" anchor="default"/>
- <Static id="caption74" class="tit_2" position="absolute 5 507 126 520" style="" text="EMR 기록"/>
- <Grid id="grd_emrlist" binddataset="ds_main_appchrt_emrlist" position="absolute 5 527 485 698" style="" ondblclick="switch1_appchrt_grd_emrlist_ondblclick" oncelldblclick="switch1_appchrt_grd_emrlist_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="30"/>
- <Column size="34"/>
- <Column size="170"/>
- </Columns>
- <Rows>
- <Row size="25" band="head"/>
- <Row size="25"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="I_O"/>
- <Cell col="2" text="구분"/>
- <Cell col="3" text="진료과"/>
- </Band>
- <Band id="body">
- <Cell expr="currow + 1"/>
- <Cell col="1" text="bind:ioflag"/>
- <Cell col="2" text="bind:loc"/>
- <Cell col="3" text="bind:depthngnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="cap_comment" position="absolute 250 507 485 522" style="align:right ;" text="(통합기록조회를 통해서 볼 수 있습니다.)"/>
- <Static id="caption13" class="tit_2" position="absolute 525 8 656 25" style="" text="대출신청 예정목록"/>
- <Static id="caption14" class="tit_2" position="absolute 5 5 126 21" style="" text="대출정보"/>
- <Shape id="line5" class="line_1" linetype="horizontal" position="absolute 5 22 485 26" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
- <Static id="caption15" class="tit_2" position="absolute 5 170 126 186" style="" text="환자정보"/>
- <Shape id="line6" class="line_1" linetype="horizontal" position="absolute 5 186 485 192" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
- <Div id="grup_updateapplist1" position="absolute 841 70 1123 270" style="background:whitesmoke;border:3 solid #adceffff #adceffff;">
- <Layouts>
- <Layout>
- <Button id="button11" class="btn2_letter2" taborder="25" position="absolute 227 167 269 186" style="" text="취소" anchor="default" onclick="switch1_appchrt_grup_updateapplist1_button11_onclick"/>
- <Shape id="line43" class="line_3" linetype="horizontal" position="absolute 21 4 270 7" style="" anchor="default"/>
- <Static id="caption78" class="cell_1" position="absolute 22 6 106 29" style="align: middle;" text="대출용도" anchor="default"/>
- <Shape id="line44" class="line_3" linetype="horizontal" position="absolute 21 30 270 33" style="" anchor="default"/>
- <Button id="button13" class="btn2_letter2" taborder="24" position="absolute 182 167 224 186" style="" text="확인" anchor="default" onclick="switch1_appchrt_grup_updateapplist1_button13_onclick"/>
- <Combo innerdataset="@ftds_init_lendsetitem_setitemlist_lenduseyn" datacolumn="rendresn" codecolumn="rendcd" columncount="-1" rowcount="-1" id="cbo_renduse1" class="combo_search" taborder="17" position="absolute 108 8 269 27" style="" anchor="default" onitemchanged="switch1_appchrt_grup_updateapplist1_cbo_renduse1_onitemchanged" enable="true"/>
- <Shape id="line7" class="line_3" linetype="horizontal" position="absolute 21 56 270 59" style="" anchor="default"/>
- <Combo innerdataset="@ftds_init_lendmastinfo_lenddeptlist_lenddeptcd" datacolumn="lenddeptnm" codecolumn="lenddeptcd" columncount="-1" rowcount="-1" id="cbo_appdeptcd1" class="combo_search" taborder="18" position="absolute 108 34 269 53" style="" anchor="default" onitemchanged="switch1_appchrt_grup_updateapplist1_cbo_appdeptcd1_onitemchanged"/>
- <Static id="caption7" class="cell_1" position="absolute 22 32 106 55" style="align: middle;" text="대출과(센터)" anchor="default"/>
- <Static id="caption26" class="cell_1" position="absolute 22 84 106 107" style="align: middle;" text="대출자" anchor="default"/>
- <Shape id="line8" class="line_3" linetype="horizontal" position="absolute 21 108 270 111" style="" anchor="default"/>
- <Combo innerdataset="ds_init_userlist1_userlist_usercombo" datacolumn="usernm" codecolumn="userid" columncount="-1" rowcount="-1" id="cbo_lendmanid1" class="combo_search" taborder="20" position="absolute 178 86 251 105" style="" anchor="default"/>
- <Button id="button7" class="icon_search" taborder="21" position="absolute 253 86 269 102" style="" text="" anchor="default" onclick="switch1_appchrt_grup_updateapplist1_button7_onclick"/>
- <Edit id="ipt_lendmanid1" anchor="default" class="input_search" enable="false" taborder="19" position="absolute 108 86 177 105" style=""/>
- <Shape id="line9" class="line_3" linetype="horizontal" position="absolute 21 160 270 163" style="" anchor="default"/>
- <Static id="caption27" class="cell_1" position="absolute 22 136 106 159" style="align: middle;" text="연락처" anchor="default"/>
- <Static id="cap_msgcnts1" class="cell_1" position="absolute 22 110 106 133" style="align: middle;" text="전달메세지" anchor="default"/>
- <Shape id="line10" class="line_3" linetype="horizontal" position="absolute 21 134 270 137" style="" anchor="default"/>
- <Edit id="ipt_msgcnts1" anchor="default" class="input_search" taborder="22" position="absolute 108 112 269 131" style="" onkillfocus="switch1_appchrt_grup_updateapplist1_ipt_msgcnts1_onkillfocus"/>
- <Edit id="ipt_appmantelno1" anchor="default" class="input_search" taborder="23" position="absolute 108 138 269 157" style="" onkillfocus="switch1_appchrt_grup_updateapplist1_ipt_appmantelno1_onkillfocus"/>
- <cp_checkboxList datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="chkrendcd1" overflow="visible" position="absolute 4 7 24 27" style="" titletext="CheckBox List" text="chkrendcd1" scrollbars="none" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="100" anchor="default"/>
- <cp_checkboxList datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="chklenddeptcd1" overflow="visible" position="absolute 4 33 24 53" style="" titletext="CheckBox List" text="chklenddeptcd1" scrollbars="none" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="100" anchor="default"/>
- <cp_checkboxList datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="chkmsgcnts1" overflow="visible" position="absolute 4 112 24 132" style="" titletext="CheckBox List" text="chkmsgcnts1" scrollbars="none" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="100" anchor="default"/>
- <cp_checkboxList datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="chkappmantelno1" overflow="visible" position="absolute 4 138 24 158" style="" titletext="CheckBox List" text="chkappmantelno1" scrollbars="none" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="100" anchor="default"/>
- <Combo innerdataset="ds_init_cntrsuborddeptlist1_dept" datacolumn="depthngnm" codecolumn="deptcd" columncount="-1" rowcount="-1" id="cbo_orddeptcd1" class="combo_search" taborder="18" position="absolute 108 60 269 79" style="" anchor="default" onitemchanged="switch1_appchrt_grup_updateapplist1_cbo_orddeptcd1_onitemchanged"/>
- <Static id="caption33" class="cell_1" position="absolute 22 58 106 81" style="align: middle;" text="진료과" anchor="default"/>
- <Shape id="line19" class="line_3" linetype="horizontal" position="absolute 21 82 270 85" style="" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption28" class="search_name" position="absolute 10 62 114 79" style="align: middle;" text="진료과"/>
- <Combo innerdataset="ds_init_cntrsuborddeptlist_dept" datacolumn="depthngnm" codecolumn="deptcd" columncount="-1" rowcount="-1" id="cmb_orddeptcd" class="combo_search" taborder="4" position="absolute 120 62 243 81" style="" onitemchanged="switch1_appchrt_cmb_orddeptcd_onitemchanged"/>
- <Static id="cap_oldimgAH" position="absolute 280 170 415 185" style="font:,,bold;color:#0000ff;" text="구영상 건진"/>
- <Static id="cap_oldimgER" position="absolute 100 170 280 185" style="font:,,bold;color:#0000ff;" text="구영상 응급의학과"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="applist" selected="true" position="absolute 0 0 1170 700" style="" anchor="default" text="신청내역">
- <Layouts>
- <Layout>
- <Shape id="roundrect1" anchor="default" type="roundrectangle" position="absolute 6 5 1156 65" style="border: solid #ffd799 #ffd799;background:#fffbf2 ;"/>
- <Grid id="grd_applist" binddataset="ds_main_applist" position="absolute 6 75 1156 675" style="" onkillfocus="switch1_applist_grd_applist_onkillfocus" onmousedown="switch1_applist_grd_applist_onmousedown" onrbuttondown="switch1_applist_grd_applist_onrbuttondown">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="90"/>
- <Column size="70"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="50"/>
- <Column size="60"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="60"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="60"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="25" band="head"/>
- <Row size="25"/>
- </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" text="초_재진"/>
- <Cell col="9" text="대출용도"/>
- <Cell col="10" colspan="3" text="대출유무 (대출일_현위치)" taborder="undefined"/>
- <Cell col="13" text="신청처리메세지"/>
- <Cell col="14" colspan="2" text="미대출사유" taborder="undefined"/>
- <Cell col="16" text="대출예약일"/>
- <Cell col="17" text="반납예정일"/>
- <Cell col="18" text="신청일시"/>
- <Cell col="19" text="대출메세지"/>
- <Cell col="20" text="비고"/>
- <Cell col="21" text="연락처"/>
- <Cell col="22" text="접수증출력시간"/>
- </Band>
- <Band id="body">
- <Cell expr="currow + 1"/>
- <Cell col="1" text="bind:appdeptabbr"/>
- <Cell col="2" text="bind:orddeptabbr"/>
- <Cell col="3" text="bind:lendman"/>
- <Cell col="4" text="bind:appman"/>
- <Cell col="5" text="bind:pid"/>
- <Cell col="6" text="bind:pnm"/>
- <Cell col="7" text="bind:chrtdeptabbr"/>
- <Cell col="8" text="bind:fsexam"/>
- <Cell col="9" text="bind:rendresn"/>
- <Cell col="10" text="bind:activerend"/>
- <Cell col="11" text="bind:activerenddd"/>
- <Cell col="12" text="bind:activedept"/>
- <Cell col="13" text="bind:apptretmsg"/>
- <Cell col="14" text="bind:unrendcd" combodataset="ds_init_M0392_M0392" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="15" text="bind:unrendresn"/>
- <Cell col="16" displaytype="date" text="bind:rendschedd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="17" displaytype="date" text="bind:rtnschedd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="18" displaytype="date" text="bind:appdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="19" text="bind:msgcnts"/>
- <Cell col="20" text="bind:unrtnresn"/>
- <Cell col="21" text="bind:cntctelno"/>
- <Cell col="22" displaytype="date" text="bind:fstacptprndt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line13" class="line_4" linetype="vertical" position="absolute 1070 38 1073 60" style="" anchor="default"/>
- <Button id="btn_x_appsearch" class="btn1_letter2" taborder="36" position="absolute 1085 38 1141 60" style="" text="조회" onclick="switch1_applist_btn_x_appsearch_onclick"/>
- <Shape id="line20" class="line_1" linetype="horizontal" position="absolute 5 71 1155 75" style="strokepen:3 solid #33bbbbff;" anchor="default" onclick="switch1_applist_line20_onclick"/>
- <Static id="caption9" class="search_name" position="absolute 19 42 94 59" style="align: middle;" text="대출과 :"/>
- <Combo innerdataset="ds_init_lendmastinfo_lenddeptlist" datacolumn="lenddeptnm" codecolumn="lenddeptcd" columncount="-1" rowcount="-1" id="combo1" class="input_search" taborder="27" position="absolute 110 40 240 59" style=""/>
- <Combo innerdataset="@ftds_init_lendsetitem_setitemlist_srchuseyn" datacolumn="rendresn" codecolumn="rendcd" columncount="-1" rowcount="-1" id="combo3" class="input_search" taborder="26" position="absolute 110 13 240 32" style="" onitemchanged="switch1_applist_combo3_onitemchanged"/>
- <Static id="caption10" class="search_name" position="absolute 19 15 113 32" style="align: middle;" text="대출용도 :"/>
- <Button id="button4" class="btn6_letter2" taborder="37" position="absolute 6 676 62 698" style="" text="엑셀" onclick="switch1_applist_button4_onclick"/>
- <Button id="button5" class="icon_search" taborder="30" position="absolute 456 41 472 57" style="" text="" onclick="switch1_applist_button5_onclick"/>
- <Button id="button6" class="icon_search" taborder="33" position="absolute 688 41 704 57" style="" text="" onclick="switch1_applist_button6_onclick"/>
- <Static id="caption21" class="search_name" position="absolute 480 41 560 58" style="align: middle;" text="신청자 :"/>
- <Edit id="ipt_lendman" anchor="default" class="input_search" enable="false" taborder="29" position="absolute 386 40 451 59" style=""/>
- <Calendar id="ipt_appfromdd1" anchor="default" class="input_search" taborder="34" position="absolute 820 40 915 59" style="" dateformat="yyyy-MM-dd" value="null"/>
- <Static id="caption23" class="search_name" position="absolute 725 41 811 58" style="" text="신청일자 :"/>
- <Edit id="input1" anchor="default" class="input_search" taborder="28" position="absolute 328 40 384 59" style="" onkillfocus="switch1_applist_input1_onkillfocus"/>
- <Static id="caption24" position="absolute 917 39 931 56" style="font:굴림체,14,bold;align:right ;" text="~"/>
- <Edit id="ipt_appman" anchor="default" class="input_search" enable="false" taborder="32" position="absolute 618 40 683 59" style=""/>
- <Edit id="input4" anchor="default" class="input_search" taborder="31" position="absolute 560 40 616 59" style="" onkillfocus="switch1_applist_input4_onkillfocus"/>
- <Static id="caption25" class="search_name" position="absolute 248 41 323 58" style="align: middle;" text="대출자 :"/>
- <Calendar id="ipt_apptodd" anchor="default" class="input_search" taborder="35" position="absolute 935 40 1030 59" style="" dateformat="yyyy-MM-dd" value="null"/>
- <Button id="btn_p_applist" class="btn6_letter2" taborder="38" position="absolute 65 676 121 698" style="" text="출력" onclick="switch1_applist_btn_p_applist_onclick"/>
- <Div id="grup_updateapplist2" position="absolute 874 230 1155 430" style="background:whitesmoke;border:3 solid #adceffff #adceffff;">
- <Layouts>
- <Layout>
- <Button id="button8" class="btn2_letter2" taborder="47" position="absolute 226 167 268 186" style="" text="취소" onclick="switch1_applist_grup_updateapplist2_button8_onclick" anchor="default"/>
- <Shape id="line12" class="line_3" linetype="horizontal" position="absolute 23 4 268 7" style="" anchor="default"/>
- <Static id="caption29" class="cell_1" position="absolute 24 6 105 29" style="align: middle;" text="대출용도" anchor="default"/>
- <Shape id="line14" class="line_3" linetype="horizontal" position="absolute 23 30 268 33" style="" anchor="default"/>
- <Button id="button9" class="btn2_letter2" taborder="46" position="absolute 181 167 223 186" style="" text="확인" onclick="switch1_applist_grup_updateapplist2_button9_onclick" anchor="default"/>
- <Combo innerdataset="@ftds_init_lendsetitem_setitemlist_lenduseyn" datacolumn="rendresn" codecolumn="rendcd" columncount="-1" rowcount="-1" id="cbo_renduse2" class="combo_search" taborder="39" position="absolute 106 8 268 27" style="" anchor="default" onitemchanged="switch1_applist_grup_updateapplist2_cbo_renduse2_onitemchanged"/>
- <Shape id="line15" class="line_3" linetype="horizontal" position="absolute 23 82 268 85" style="" anchor="default"/>
- <Combo innerdataset="@ftds_init_lendmastinfo_lenddeptlist_lenddeptcd" datacolumn="lenddeptnm" codecolumn="lenddeptcd" columncount="-1" rowcount="-1" id="cbo_appdeptcd2" class="combo_search" taborder="40" position="absolute 106 34 268 53" style="" anchor="default" onitemchanged="switch1_applist_grup_updateapplist2_cbo_appdeptcd2_onitemchanged"/>
- <Static id="caption30" class="cell_1" position="absolute 24 32 105 55" style="align: middle;" text="대출과(센터)" anchor="default"/>
- <Static id="caption31" class="cell_1" position="absolute 23 84 105 107" style="align: middle;" text="대출자" anchor="default"/>
- <Shape id="line16" class="line_3" linetype="horizontal" position="absolute 23 108 268 111" style="" anchor="default"/>
- <Combo innerdataset="ds_init_userlist2_userlist_usercombo" datacolumn="usernm" codecolumn="userid" columncount="-1" rowcount="-1" id="cbo_lendmanid2" class="combo_search" taborder="42" position="absolute 176 86 249 105" style="" anchor="default"/>
- <Button id="button10" class="icon_search" taborder="43" position="absolute 251 86 267 102" style="" text="" onclick="switch1_applist_grup_updateapplist2_button10_onclick" anchor="default"/>
- <Edit id="input5" anchor="default" class="input_search" enable="false" taborder="41" position="absolute 106 86 175 105" style=""/>
- <Shape id="line17" class="line_3" linetype="horizontal" position="absolute 23 160 268 163" style="" anchor="default"/>
- <Static id="caption32" class="cell_1" position="absolute 23 136 105 159" style="align: middle;" text="연락처" anchor="default"/>
- <Static id="cap_msgcnts2" class="cell_1" position="absolute 23 110 105 133" style="align: middle;" text="전달메세지" anchor="default"/>
- <Shape id="line18" class="line_3" linetype="horizontal" position="absolute 23 134 268 137" style="" anchor="default"/>
- <Edit id="ipt_msgcnts2" anchor="default" class="input_search" taborder="44" position="absolute 106 112 268 131" style="" onkillfocus="switch1_applist_grup_updateapplist2_ipt_msgcnts2_onkillfocus"/>
- <Edit id="ipt_appmantelno2" anchor="default" class="input_search" taborder="45" position="absolute 106 138 268 157" style="" onkillfocus="switch1_applist_grup_updateapplist2_ipt_appmantelno2_onkillfocus"/>
- <cp_checkboxList datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="chkrendcd2" overflow="visible" position="absolute 5 7 22 27" style="" titletext="CheckBox List" text="chkrendcd2" scrollbars="none" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="100" anchor="default"/>
- <cp_checkboxList datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="chklenddeptcd2" overflow="visible" position="absolute 5 34 25 54" style="" titletext="CheckBox List" text="chklenddeptcd2" scrollbars="none" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="100" anchor="default"/>
- <cp_checkboxList datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="chkmsgcnts2" overflow="visible" position="absolute 4 110 24 130" style="" titletext="CheckBox List" text="chkmsgcnts2" scrollbars="none" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="100" anchor="default"/>
- <cp_checkboxList datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="chkappmantelno2" overflow="visible" position="absolute 4 137 24 157" style="" titletext="CheckBox List" text="chkappmantelno2" scrollbars="none" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="100" anchor="default"/>
- <Static id="caption34" class="cell_1" position="absolute 23 58 105 81" style="align: middle;" text="진료과" anchor="default"/>
- <Combo innerdataset="ds_init_cntrsuborddeptlist2_dept" datacolumn="depthngnm" codecolumn="deptcd" columncount="-1" rowcount="-1" id="cbo_orddeptcd2" class="combo_search" taborder="18" position="absolute 106 60 267 79" style="" anchor="default" onitemchanged="switch1_applist_grup_updateapplist2_cbo_orddeptcd2_onitemchanged"/>
- <Shape id="line21" class="line_3" linetype="horizontal" position="absolute 23 55 268 59" style="" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="lendlist" anchor="default" text="대출현황">
- <Layouts>
- <Layout>
- <Shape id="roundrect3" anchor="default" type="roundrectangle" position="absolute 6 5 1156 65" style="border: solid #ffd799 #ffd799;background:#fffbf2 ;"/>
- <Static id="caption18" class="search_name" position="absolute 19 15 105 32" style="align: middle;" text="대출용도 :"/>
- <Combo innerdataset="@ftds_init_lendsetitem_setitemlist_srchuseyn" datacolumn="rendresn" codecolumn="rendcd" columncount="-1" rowcount="-1" id="combo4" class="combo_default" taborder="48" position="absolute 110 13 240 32" style="" onitemchanged="switch1_lendlist_combo4_onitemchanged"/>
- <Shape id="line1" class="line_1" linetype="horizontal" position="absolute 6 71 1156 75" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
- <Shape id="line2" class="line_4" linetype="vertical" position="absolute 1070 37 1073 59" style="" anchor="default"/>
- <Combo innerdataset="@ftds_init_lendmastinfo_lenddeptlist_lenddeptcd" datacolumn="lenddeptnm" codecolumn="lenddeptcd" columncount="-1" rowcount="-1" id="combo2" class="combo_default" taborder="49" position="absolute 110 40 240 59" style=""/>
- <Button id="button1" class="btn1_letter2" taborder="59" position="absolute 1085 37 1141 59" style="" text="조회" onclick="switch1_lendlist_button1_onclick"/>
- <Grid id="grd_lendlist" binddataset="ds_mainlendlist" position="absolute 6 75 1156 675" style="">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="90"/>
- <Column size="70"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="120"/>
- <Column size="110"/>
- <Column size="80"/>
- <Column size="110"/>
- <Column size="120"/>
- <Column size="100"/>
- <Column size="60"/>
- </Columns>
- <Rows>
- <Row size="25" band="head"/>
- <Row size="25"/>
- </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="차트과"/>
- <Cell col="7" text="대출용도"/>
- <Cell col="8" text="대출일시"/>
- <Cell col="9" text="반납예정일"/>
- <Cell col="10" text="신청일시"/>
- <Cell col="11" text="대출메세지"/>
- <Cell col="12" text="비고"/>
- <Cell col="13" text="연락처"/>
- </Band>
- <Band id="body">
- <Cell text="bind:appdeptabbr"/>
- <Cell col="1" text="bind:orddeptabbr"/>
- <Cell col="2" text="bind:lendman"/>
- <Cell col="3" text="bind:appman"/>
- <Cell col="4" text="bind:pid"/>
- <Cell col="5" text="bind:pnm"/>
- <Cell col="6" text="bind:chrtdeptabbr"/>
- <Cell col="7" text="bind:rendresn"/>
- <Cell col="8" displaytype="date" text="bind:renddt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="9" displaytype="date" text="bind:rtnschedd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="10" displaytype="date" text="bind:appdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
- <Cell col="11" text="bind:msgcnts"/>
- <Cell col="12" text="bind:unrtnresn"/>
- <Cell col="13" text="bind:cntctelno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption11" class="search_name" position="absolute 19 42 100 59" style="align: middle;" text="대출과 :"/>
- <Button id="btn_e_rendlist" class="btn6_letter2" taborder="60" position="absolute 6 676 62 698" style="" text="엑셀" onclick="switch1_lendlist_btn_e_rendlist_onclick"/>
- <Button id="btn_save" class="btn4_letter5" taborder="62" position="absolute 1064 676 1156 698" style="" text="과보관차트" onclick="switch1_lendlist_btn_save_onclick"/>
- <Static id="caption19" class="search_name" position="absolute 248 41 323 58" style="align: middle;" text="대출자 :"/>
- <Button id="button2" class="icon_search" taborder="52" position="absolute 456 41 472 57" style="" text="" onclick="switch1_lendlist_button2_onclick"/>
- <Edit id="ipt_lendmanid2" anchor="default" class="input_search" taborder="50" position="absolute 328 40 384 59" style="" onkillfocus="switch1_lendlist_ipt_lendmanid2_onkillfocus"/>
- <Edit id="ipt_appmanid2" anchor="default" class="input_search" taborder="53" position="absolute 560 40 616 59" style="" onkillfocus="switch1_lendlist_ipt_appmanid2_onkillfocus"/>
- <Static id="caption20" class="search_name" position="absolute 480 41 560 58" style="align: middle;" text="신청자 :"/>
- <Edit id="ipt_appman2" anchor="default" class="input_search" enable="false" taborder="54" position="absolute 618 40 683 59" style=""/>
- <Button id="button3" class="icon_search" taborder="55" position="absolute 688 41 704 57" style="" text="" onclick="switch1_lendlist_button3_onclick"/>
- <Edit id="ipt_lendman2" anchor="default" class="input_search" enable="false" taborder="51" position="absolute 386 40 451 59" style=""/>
- <Static id="caption22" class="search_name" position="absolute 725 41 811 58" style="" text="신청일자 :"/>
- <Calendar id="ipt_appfromdd2" anchor="default" class="input_search" enable="false" taborder="56" position="absolute 820 40 915 59" style="" dateformat="yyyy-MM-dd" value="null"/>
- <Calendar id="ipt_apptodd2" anchor="default" class="input_search" enable="false" taborder="57" position="absolute 935 40 1030 59" style="" dateformat="yyyy-MM-dd" value="null"/>
- <Static id="caption8" position="absolute 917 39 931 56" style="font:굴림체,14,bold;align:right ;" text="~"/>
- <Button id="btn_p_lendlist" class="btn6_letter2" taborder="61" position="absolute 65 676 121 698" style="" text="출력" onclick="switch1_lendlist_btn_p_lendlist_onclick"/>
- <CheckBox id="chk_appdisabled2" taborder="63" position="absolute 1036 39 1057 58" onchanged="switch1_lendlist_chk_appdisabled2_onchanged" truevalue="Y" falsevalue="N"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Layouts>
- <Layout>
- <Button id="btn_applist" class="btn_sw" position="absolute 95 20 175 42" style="" text="신청내역"/>
- </Layout>
- </Layouts>
- <Layouts>
- <Layout>
- <Button id="btn_rendlsit" class="btn_sw" position="absolute 15 20 95 42" style="" text="차트신청"/>
- </Layout>
- </Layouts>
- <Layouts>
- <Layout>
- <Button id="btn_lendlist" class="btn_sw" position="absolute 175 20 255 42" style="" text="대출현황"/>
- </Layout>
- </Layouts>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_cbxlist_chkrendcd1">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cbxlist_chklenddeptcd1">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cbxlist_chkmsgcnts1">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cbxlist_chkappmantelno1">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cbxlist_chkrendcd2">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cbxlist_chklenddeptcd2">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cbxlist_chkmsgcnts2">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cbxlist_chkappmantelno2">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cbxlist_chk_appdisabled2">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_appchrt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_hidden_appchrtlist_menu_menu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="hardcdnm" type="STRING" size="256"/>
- <Column id="hardcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hardcdnm">삭제</Col>
- <Col id="hardcd">fdel_appchrtlist</Col>
- </Row>
- <Row>
- <Col id="hardcdnm">일괄수정</Col>
- <Col id="hardcd">fmodify_applist</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_paminfo_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_M0392_M0392" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_lendmastinfo_rendcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="rendcd" type="STRING" size="256"/>
- <Column id="rendresn" type="STRING" size="256"/>
- <Column id="defltrendterm" type="STRING" size="256"/>
- <Column id="defltrendtermunit" type="STRING" size="256"/>
- <Column id="useyn" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_lendmastinfo_lenddeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="orddeptflag" type="STRING" size="256"/>
- <Column id="lenddeptcd" type="STRING" size="256"/>
- <Column id="lenddeptnm" type="STRING" size="256"/>
- <Column id="lenddeptabbr" type="STRING" size="256"/>
- <Column id="useyn" type="STRING" size="256"/>
- <Column id="allwardyn" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_userlist_userlist_usercombo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="userid" type="STRING" size="256"/>
- <Column id="usernm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_userscrnenvinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_lendset_lendsetlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="setcd" type="STRING" size="256"/>
- <Column id="setnm" type="STRING" size="256"/>
- <Column id="drflag" type="STRING" size="256"/>
- <Column id="nursflag" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="deptnm" type="STRING" size="256"/>
- <Column id="deptabbr" type="STRING" size="256"/>
- <Column id="delyn" type="STRING" size="256"/>
- <Column id="fstrgstrid" type="STRING" size="256"/>
- <Column id="fstrgstdt" type="STRING" size="256"/>
- <Column id="lastupdtrid" type="STRING" size="256"/>
- <Column id="lastupdtdt" type="STRING" size="256"/>
- <Column id="fstrgstrusernm" type="STRING" size="256"/>
- <Column id="lastupdtrusernm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_lendsetitem_setitemlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="setcd" type="STRING" size="256"/>
- <Column id="rendcd" type="STRING" size="256"/>
- <Column id="rendresn" type="STRING" size="256"/>
- <Column id="lenduseyn" type="STRING" size="256"/>
- <Column id="srchuseyn" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_userlist1_userlist_usercombo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_userlist2_userlist_usercombo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_cntrsuborddeptlist_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_cntrsuborddeptlist1_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_cntrsuborddeptlist2_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="chk1" type="STRING" size="256"/>
- <Column id="caption" type="STRING" size="256"/>
- <Column id="caption1" type="STRING" size="256"/>
- <Column id="caption2" type="STRING" size="256"/>
- <Column id="cap_oldimgER" type="STRING" size="256"/>
- <Column id="cap_oldimgAH" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_condition" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="appdeptcd" type="STRING" size="256"/>
- <Column id="orddeptkind" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="lendmanid" type="STRING" size="256"/>
- <Column id="lendman" type="STRING" size="256"/>
- <Column id="appmanid" type="STRING" size="256"/>
- <Column id="appman" type="STRING" size="256"/>
- <Column id="appmantelno" type="STRING" size="256"/>
- <Column id="rendcd" type="STRING" size="256"/>
- <Column id="msgcnts" type="STRING" size="256"/>
- <Column id="rendschedd" type="STRING" size="256"/>
- <Column id="rtnschedd" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_condition_applist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="appdeptcd" type="STRING" size="256"/>
- <Column id="apprendcd" type="STRING" size="256"/>
- <Column id="lendmanid" type="STRING" size="256"/>
- <Column id="lendman" type="STRING" size="256"/>
- <Column id="appmanid" type="STRING" size="256"/>
- <Column id="appman" type="STRING" size="256"/>
- <Column id="appfromdd" type="STRING" size="256"/>
- <Column id="apptodd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="appdeptcd"/>
- <Col id="apprendcd"/>
- <Col id="lendmanid"/>
- <Col id="lendman"/>
- <Col id="appmanid"/>
- <Col id="appman"/>
- <Col id="appfromdd"/>
- <Col id="apptodd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_condition_lendlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="appdeptcd" type="STRING" size="256"/>
- <Column id="rendfromdd" type="STRING" size="256"/>
- <Column id="rendtodd" type="STRING" size="256"/>
- <Column id="apprendcd" type="STRING" size="256"/>
- <Column id="lendmanid" type="STRING" size="256"/>
- <Column id="lendman" type="STRING" size="256"/>
- <Column id="appmanid" type="STRING" size="256"/>
- <Column id="appman" type="STRING" size="256"/>
- <Column id="appfromdd" type="STRING" size="256"/>
- <Column id="apptodd" type="STRING" size="256"/>
- <Column id="termdisabled" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="appdeptcd"/>
- <Col id="rendfromdd"/>
- <Col id="rendtodd"/>
- <Col id="apprendcd"/>
- <Col id="lendmanid"/>
- <Col id="lendman"/>
- <Col id="appmanid"/>
- <Col id="appman"/>
- <Col id="appfromdd"/>
- <Col id="apptodd"/>
- <Col id="termdisabled"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_condition_updateapplist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="chkrendcd" type="STRING" size="256"/>
- <Column id="chklenddeptcd" type="STRING" size="256"/>
- <Column id="chkmsgcnts" type="STRING" size="256"/>
- <Column id="chkappmantelno" type="STRING" size="256"/>
- <Column id="rendcd" type="STRING" size="256"/>
- <Column id="msgcnts" type="STRING" size="256"/>
- <Column id="appmantelno" type="STRING" size="256"/>
- <Column id="appdeptcd" type="STRING" size="256"/>
- <Column id="lendmanid" type="STRING" size="256"/>
- <Column id="lendman" type="STRING" size="256"/>
- <Column id="orddeptkind" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="centcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_condition_updateapplist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="chkrendcd" type="STRING" size="256"/>
- <Column id="chklenddeptcd" type="STRING" size="256"/>
- <Column id="chkmsgcnts" type="STRING" size="256"/>
- <Column id="chkappmantelno" type="STRING" size="256"/>
- <Column id="rendcd" type="STRING" size="256"/>
- <Column id="msgcnts" type="STRING" size="256"/>
- <Column id="appmantelno" type="STRING" size="256"/>
- <Column id="appdeptcd" type="STRING" size="256"/>
- <Column id="lendmanid" type="STRING" size="256"/>
- <Column id="lendman" type="STRING" size="256"/>
- <Column id="orddeptkind" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="centcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_applist_menu_menu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="hardcdnm" type="STRING" size="256"/>
- <Column id="hardcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hardcdnm">취소</Col>
- <Col id="hardcd">fcancel_applist</Col>
- </Row>
- <Row>
- <Col id="hardcdnm">일괄수정</Col>
- <Col id="hardcd">fupdate_applist</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="hardcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_applist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="chrtseqno" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="appdeptcd" type="STRING" size="256"/>
- <Column id="lendmanid" type="STRING" size="256"/>
- <Column id="appmanid" type="STRING" size="256"/>
- <Column id="cntctelno" type="STRING" size="256"/>
- <Column id="appdt" type="STRING" size="256"/>
- <Column id="prnttype" type="STRING" size="256"/>
- <Column id="fstacptprndt" type="STRING" size="256"/>
- <Column id="rendschedd" type="STRING" size="256"/>
- <Column id="renddt" type="STRING" size="256"/>
- <Column id="rtndt" type="STRING" size="256"/>
- <Column id="delyn" type="STRING" size="256"/>
- <Column id="rendcd" type="STRING" size="256"/>
- <Column id="rendresn" type="STRING" size="256"/>
- <Column id="unrendcd" type="STRING" size="256"/>
- <Column id="unrendresn" type="STRING" size="256"/>
- <Column id="deptkeepcd" type="STRING" size="256"/>
- <Column id="deptkeepresn" type="STRING" size="256"/>
- <Column id="unrtnresn" type="STRING" size="256"/>
- <Column id="msgcnts" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="fsexamflag" type="STRING" size="256"/>
- <Column id="fsexam" type="STRING" size="256"/>
- <Column id="rsrvflag" type="STRING" size="256"/>
- <Column id="rsrv" type="STRING" size="256"/>
- <Column id="prnpid" type="STRING" size="256"/>
- <Column id="pnm" type="STRING" size="256"/>
- <Column id="rrgstno" type="STRING" size="256"/>
- <Column id="medirecno" type="STRING" size="256"/>
- <Column id="allchrtyn" type="STRING" size="256"/>
- <Column id="chrtdeptcd" type="STRING" size="256"/>
- <Column id="chrtdeptnm" type="STRING" size="256"/>
- <Column id="chrtdeptabbr" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="orddeptabbr" type="STRING" size="256"/>
- <Column id="orddt" type="STRING" size="256"/>
- <Column id="appdeptnm" type="STRING" size="256"/>
- <Column id="appdeptabbr" type="STRING" size="256"/>
- <Column id="appman" type="STRING" size="256"/>
- <Column id="lendman" type="STRING" size="256"/>
- <Column id="keepno" type="STRING" size="256"/>
- <Column id="keepplce" type="STRING" size="256"/>
- <Column id="chrtlendyn" type="STRING" size="256"/>
- <Column id="activerend" type="STRING" size="256"/>
- <Column id="activerenddd" type="STRING" size="256"/>
- <Column id="activedept" type="STRING" size="256"/>
- <Column id="dschdd" type="STRING" size="256"/>
- <Column id="chrtman" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_result_patinfo_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_hidden_tmp_userpopupinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="param" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="searchitem" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_tmp_pidpopupinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="checkfnexam" type="STRING" size="256"/>
- <Column id="autoflag" type="STRING" size="256"/>
- <Column id="srchcond" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_appchrt_oldimglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="cls" type="STRING" size="256"/>
- <Column id="cnt" type="STRING" size="256"/>
- </ColumnInfo>
- </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_hidden_tmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="tempuserinfo" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_main_lendlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="chrtseqno" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="appdeptcd" type="STRING" size="256"/>
- <Column id="lendmanid" type="STRING" size="256"/>
- <Column id="appmanid" type="STRING" size="256"/>
- <Column id="cntctelno" type="STRING" size="256"/>
- <Column id="appdt" type="STRING" size="256"/>
- <Column id="prnttype" type="STRING" size="256"/>
- <Column id="fstacptprndt" type="STRING" size="256"/>
- <Column id="rendschedd" type="STRING" size="256"/>
- <Column id="renddt" type="STRING" size="256"/>
- <Column id="rtndt" type="STRING" size="256"/>
- <Column id="delyn" type="STRING" size="256"/>
- <Column id="rendcd" type="STRING" size="256"/>
- <Column id="rendresn" type="STRING" size="256"/>
- <Column id="unrendcd" type="STRING" size="256"/>
- <Column id="unrendresn" type="STRING" size="256"/>
- <Column id="deptkeepcd" type="STRING" size="256"/>
- <Column id="deptkeepresn" type="STRING" size="256"/>
- <Column id="unrtnresn" type="STRING" size="256"/>
- <Column id="msgcnts" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="fsexamflag" type="STRING" size="256"/>
- <Column id="fsexam" type="STRING" size="256"/>
- <Column id="rsrvflag" type="STRING" size="256"/>
- <Column id="rsrv" type="STRING" size="256"/>
- <Column id="prnpid" type="STRING" size="256"/>
- <Column id="pnm" type="STRING" size="256"/>
- <Column id="rrgstno" type="STRING" size="256"/>
- <Column id="medirecno" type="STRING" size="256"/>
- <Column id="allchrtyn" type="STRING" size="256"/>
- <Column id="chrtdeptcd" type="STRING" size="256"/>
- <Column id="chrtdeptnm" type="STRING" size="256"/>
- <Column id="chrtdeptabbr" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="orddeptabbr" type="STRING" size="256"/>
- <Column id="orddt" type="STRING" size="256"/>
- <Column id="appdeptnm" type="STRING" size="256"/>
- <Column id="appdeptabbr" type="STRING" size="256"/>
- <Column id="appman" type="STRING" size="256"/>
- <Column id="lendman" type="STRING" size="256"/>
- <Column id="keepno" type="STRING" size="256"/>
- <Column id="keepplce" type="STRING" size="256"/>
- <Column id="chrtlendyn" type="STRING" size="256"/>
- <Column id="activerend" type="STRING" size="256"/>
- <Column id="activerenddd" type="STRING" size="256"/>
- <Column id="activedept" type="STRING" size="256"/>
- <Column id="dschdd" type="STRING" size="256"/>
- <Column id="chrtman" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_appchrt_appchrtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="pnm" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="medirecno" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="depthngnm" type="STRING" size="256"/>
- <Column id="deptengabbr" type="STRING" size="256"/>
- <Column id="rendcd" type="STRING" size="256"/>
- <Column id="rendschedd" type="STRING" size="256"/>
- <Column id="appdeptcd" type="STRING" size="256"/>
- <Column id="appdeptnm" type="STRING" size="256"/>
- <Column id="lendmanid" type="STRING" size="256"/>
- <Column id="lendman" type="STRING" size="256"/>
- <Column id="appmanid" type="STRING" size="256"/>
- <Column id="appman" type="STRING" size="256"/>
- <Column id="appmantelno" type="STRING" size="256"/>
- <Column id="msgcnts" type="STRING" size="256"/>
- <Column id="rtnschedd" type="STRING" size="256"/>
- <Column id="orddeptkind" type="STRING" size="256"/>
- <Column id="centcd" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="reqdata" type="STRING" size="256"/>
- <Column id="savedata" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_appchrt_emrlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="depthngnm" type="STRING" size="256"/>
- <Column id="loc" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_appchrt_chrtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_main_appchrt_chrtlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="chkflag" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="pnm" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="medirecno" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="depthngnm" type="STRING" size="256"/>
- <Column id="deptengabbr" type="STRING" size="256"/>
- <Column id="lendyn" type="STRING" size="256"/>
- <Column id="lenddept" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <FilteredDataset id="ftds_init_lendsetitem_setitemlist_srchuseyn" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" binddataset="@ds_init_lendsetitem_setitemlist" filterstr="srchuseyn=='Y'"/>
- <FilteredDataset id="ftds_init_lendsetitem_setitemlist_lenduseyn" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" binddataset="@ds_init_lendsetitem_setitemlist" filterstr="lenduseyn=='Y'"/>
- <FilteredDataset id="ftds_init_lendmastinfo_lenddeptlist_lenddeptcd" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" filterstr="lenddeptcd !='ALL'" binddataset="@ds_init_lendmastinfo_lenddeptlist"/>
- <FilteredDataset id="ftds_init_lendmastinfo_rendcdlist_rendcd" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" filterstr="rendcd != 'ALL'" binddataset="@ds_init_lendmastinfo_rendcdlist"/>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_chrtdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_chrtchgrlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_keepplcelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_reqdata_applist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_reqdata_lendlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_tmp_tempuserinfo_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_hardcd_hardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_appchrtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_userlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_result_paminfo_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_source" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="switch1.applist.combo3" propid="value" datasetid="ds_condition_applist" columnid="apprendcd"/>
- <BindItem id="item1" compid="switch1.applist.combo1" propid="value" datasetid="ds_condition_applist" columnid="appdeptcd"/>
- <BindItem id="item2" compid="switch1.applist.input1" propid="value" datasetid="ds_condition_applist" columnid="lendmanid"/>
- <BindItem id="item3" compid="switch1.applist.ipt_lendman" propid="value" datasetid="ds_condition_applist" columnid="lendman"/>
- <BindItem id="item4" compid="switch1.applist.input4" propid="value" datasetid="ds_condition_applist" columnid="appmanid"/>
- <BindItem id="item5" compid="switch1.applist.ipt_appman" propid="value" datasetid="ds_condition_applist" columnid="appman"/>
- <BindItem id="item6" compid="switch1.applist.ipt_appfromdd1" propid="value" datasetid="ds_condition_applist" columnid="appfromdd"/>
- <BindItem id="item7" compid="switch1.applist.ipt_apptodd" propid="value" datasetid="ds_condition_applist" columnid="apptodd"/>
- <BindItem id="item8" compid="switch1.applist.grup_updateapplist2.cbo_renduse2" propid="value" datasetid="ds_condition_updateapplist2" columnid="rendcd"/>
- <BindItem id="item9" compid="switch1.applist.grup_updateapplist2.cbo_appdeptcd2" propid="value" datasetid="ds_condition_updateapplist2" columnid="appdeptcd"/>
- <BindItem id="item10" compid="switch1.applist.grup_updateapplist2.cbo_orddeptcd2" propid="value" datasetid="ds_condition_updateapplist2" columnid="orddeptcd"/>
- <BindItem id="item11" compid="switch1.applist.grup_updateapplist2.input5" propid="value" datasetid="ds_condition_updateapplist2" columnid="lendmanid"/>
- <BindItem id="item12" compid="switch1.applist.grup_updateapplist2.cbo_lendmanid2" propid="value" datasetid="ds_condition_updateapplist2" columnid="lendmanid"/>
- <BindItem id="item13" compid="switch1.applist.grup_updateapplist2.ipt_msgcnts2" propid="value" datasetid="ds_condition_updateapplist2" columnid="msgcnts"/>
- <BindItem id="item14" compid="switch1.applist.grup_updateapplist2.ipt_appmantelno2" propid="value" datasetid="ds_condition_updateapplist2" columnid="appmantelno"/>
- <BindItem id="item15" compid="switch1.appchrt.cmb_appdeptcd" propid="value" datasetid="ds_condition" columnid="appdeptcd"/>
- <BindItem id="item16" compid="switch1.appchrt.cbo_renduse" propid="value" datasetid="ds_condition" columnid="rendcd"/>
- <BindItem id="item17" compid="switch1.appchrt.cmb_orddeptcd" propid="value" datasetid="ds_condition" columnid="orddeptcd"/>
- <BindItem id="item18" compid="switch1.appchrt.ipt_renddd" propid="value" datasetid="ds_condition" columnid="rendschedd"/>
- <BindItem id="item19" compid="switch1.appchrt.ipt_lendmanid" propid="value" datasetid="ds_condition" columnid="lendmanid"/>
- <BindItem id="item20" compid="switch1.appchrt.cmb_orddrid" propid="value" datasetid="ds_condition" columnid="lendmanid"/>
- <BindItem id="item21" compid="switch1.appchrt.ipt_rtnschedd" propid="value" datasetid="ds_condition" columnid="rtnschedd"/>
- <BindItem id="item22" compid="switch1.appchrt.ipt_appmanid" propid="value" datasetid="ds_condition" columnid="appmanid"/>
- <BindItem id="item23" compid="switch1.appchrt.input2" propid="value" datasetid="ds_condition" columnid="appman"/>
- <BindItem id="item24" compid="switch1.appchrt.ipt_apptelno" propid="value" datasetid="ds_condition" columnid="appmantelno"/>
- <BindItem id="item25" compid="switch1.appchrt.ipt_msgcnts" propid="value" datasetid="ds_condition" columnid="msgcnts"/>
- <BindItem id="item26" compid="switch1.appchrt.cap_oldimgER" propid="text" datasetid="ds_hidden" columnid="cap_oldimgER"/>
- <BindItem id="item27" compid="switch1.appchrt.cap_oldimgAH" propid="text" datasetid="ds_hidden" columnid="cap_oldimgAH"/>
- <BindItem id="item28" compid="switch1.appchrt.ipt_pid" propid="value" datasetid="ds_condition" columnid="pid"/>
- <BindItem id="item29" compid="switch1.appchrt.input3" propid="value" datasetid="ds_condition" columnid="patnm"/>
- <BindItem id="item30" compid="switch1.appchrt.grup_updateapplist1.cbo_renduse1" propid="value" datasetid="ds_condition_updateapplist1" columnid="rendcd"/>
- <BindItem id="item31" compid="switch1.appchrt.grup_updateapplist1.cbo_appdeptcd1" propid="value" datasetid="ds_condition_updateapplist1" columnid="appdeptcd"/>
- <BindItem id="item32" compid="switch1.appchrt.grup_updateapplist1.cbo_orddeptcd1" propid="value" datasetid="ds_condition_updateapplist1" columnid="orddeptcd"/>
- <BindItem id="item33" compid="switch1.appchrt.grup_updateapplist1.ipt_lendmanid1" propid="value" datasetid="ds_condition_updateapplist1" columnid="lendmanid"/>
- <BindItem id="item34" compid="switch1.appchrt.grup_updateapplist1.cbo_lendmanid1" propid="value" datasetid="ds_condition_updateapplist1" columnid="lendmanid"/>
- <BindItem id="item35" compid="switch1.appchrt.grup_updateapplist1.ipt_msgcnts1" propid="value" datasetid="ds_condition_updateapplist1" columnid="msgcnts"/>
- <BindItem id="item36" compid="switch1.appchrt.grup_updateapplist1.ipt_appmantelno1" propid="value" datasetid="ds_condition_updateapplist1" columnid="appmantelno"/>
- <BindItem id="item37" compid="switch1.lendlist.combo4" propid="value" datasetid="ds_condition_lendlist" columnid="apprendcd"/>
- <BindItem id="item38" compid="switch1.lendlist.combo2" propid="value" datasetid="ds_condition_lendlist" columnid="appdeptcd"/>
- <BindItem id="item39" compid="switch1.lendlist.ipt_lendmanid2" propid="value" datasetid="ds_condition_lendlist" columnid="lendmanid"/>
- <BindItem id="item40" compid="switch1.lendlist.ipt_lendman2" propid="value" datasetid="ds_condition_lendlist" columnid="lendman"/>
- <BindItem id="item41" compid="switch1.lendlist.ipt_appmanid2" propid="value" datasetid="ds_condition_lendlist" columnid="appmanid"/>
- <BindItem id="item42" compid="switch1.lendlist.ipt_appman2" propid="value" datasetid="ds_condition_lendlist" columnid="appman"/>
- <BindItem id="item43" compid="switch1.lendlist.ipt_appfromdd2" propid="value" datasetid="ds_condition_lendlist" columnid="appfromdd"/>
- <BindItem id="item44" compid="switch1.lendlist.ipt_apptodd2" propid="value" datasetid="ds_condition_lendlist" columnid="apptodd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs"
- //include "com_basiccodexp::ZBC001.xjs"
- include "com_departmentcodexp::ZSD001.xjs";
- include "emr_commonxp::EMRCommon.xjs"
- include "emr_prcpmngtxp::MMO001.xjs"
- include "emr_chrtmngtxp::SMMRC00300.xjs"
- var arErrorCode = new HashArray();
- //---
- // SMMRC00300 시작
- //---
- var allchkflag = "N";
- /**
- * _desc : 사용자의 권한을 체크하여 버튼셋팅.
- * btn_r 조회버튼, btn_x 저장 및 수정 버튼, btn_p : 출력버튼
- * _
- * _param :
- * _return :
- * _authur : 김선태 2007. 5. 8
- * _---------------------------------------------------
- */
- function fchkAuth()
- {
- var arrayCompList = this.components;
- for(var i=0; i< arrayCompList.length ; i++){
- if(arrayCompList[i] instanceof Button ){
- if(arrayCompList[i].name.substr(0,6) == "btn_r_"){
- //document.controls.item(i).disabled = !checkAuth("R");
- arrayCompList[i].enable = frmf_checkAuth("R");
- }
- if(arrayCompList[i].name.substr(0,6) == "btn_x_"){
- //document.controls.item(i).disabled = !checkAuth("X");
- arrayCompList[i].enable = frmf_checkAuth("X");
- }
- if(arrayCompList[i].name.substr(0,6) == "btn_p_"){
- //document.controls.item(i).disabled = !checkAuth("P");
- arrayCompList[i].enable = frmf_checkAuth("P");
- }
- }
- }
- }
- /**
- * _desc : 폼초기화
- * _
- * _param :
- * _return :
- * _authur : 이은영 2008.06.12
- * _---------------------------------------------------
- */
- function fFormInit()
- {
- ds_condition.clearData();
- ds_condition.addRow();
-
- // KNUH_20101207_박성호_start_의무기록 부서코드 가져오기
- lf_getHardCDList("N", 5501, null, ds_temp_hardcd_hardcd);
- // KNUH_20101207_박성호_end
- ds_main_appchrt_appchrtlist.clearData();
- ds_main_appchrt_chrtlist.clearData();
- ds_main_appchrt_emrlist.clearData();
- ds_main_appchrtlist.clearData();
- //버튼 권한 설정
- fchkAuth();
- //* 마스터 정보 가져오기..
- //공통코드 가져오기...
- //M0392:챠트미대출사유코드
- var arrParam = [{dsNm : "ds_init_M0392_M0392",
- cdGrpId: "M0392" } ];
- appf_getCodeList(arrParam); //, true);
-
- // 대출용도, 대출과, 차트과, 차트담당자, 보관장소
- ds_send_reqdata.clearData();
- ds_send_reqdata.addRow();
- dsf_makeValue( ds_send_reqdata, "ioflag", "string", "O");
- dsf_makeValue( ds_send_reqdata, "useyn", "string", "Y");
- dsf_makeValue( ds_send_reqdata, "allwardyn", "string", "N");
-
- var oParam = {};
- oParam.id = "TRMRC00100";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "reqGetLendMastInfo";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_init_lendmastinfo_rendcdlist=rendcdlist ds_init_lendmastinfo_lenddeptlist=lenddeptlist ds_init_chrtdeptlist=chrtdeptlist ds_init_chrtchgrlist=chrtchgrlist ds_init_keepplcelist=keepplcelist";
- oParam.async = false;
- tranf_submit(oParam);
- //*/
- // 2009.01.12. 대출용도 셋 조회하기.. 사용자 직종코드 구하기..
- // 의사 : 03, 04, 05, 06
- // 간호사 : 11
- // 연구원, 연구직 : 0750, 0751 => 의사
- // 조교 : 0410 => 기타
- var jobkindcd = sysf_getUserInfo("jobkindcd");
- var dutplcecd = sysf_getUserInfo("dutplcecd");
- // 2009.02.13. 로그인 사용자의 원과를 셋하는 것으로 수정함... (보험팀 - 2개 unit 으로 구분됨 (4070300000,4070703000)) => 일단보류
- // sysf_getUserInfo(Key) => "userid|usernm|posinstcd|posinstnm|posdeptcd|posdeptnm|dutplceinstcd|dutplceinstnm|dutplcecd|dutplcenm|jobkindcd|jobkindnm|jobposcd|jobposnm|jobrespcd|jobrespnm|prfshipflagcd|prfshipflagnm|licnsno|specordyn|deptabbr|orddeptflag|wardflag|systemcd|systemnm|systeminstcd|systeminstnm|logindt|kmiip|kmiport|usergrp|ipaddr|dutinstcd|dutinstnm|dutunitcd|dutunitnm|mpphonno|orginstcd|orginstnm|orgdeptcd|orgdeptnm|userkindcd|ordsupdeptcd";
- // var dutplcecd = sysf_getUserInfo("posdeptcd");
- dsf_makeValue( ds_send_reqdata, "drflag", "string", "");
- dsf_makeValue( ds_send_reqdata, "nursflag", "string", "");
- dsf_makeValue( ds_send_reqdata, "deptcd", "string", "");
- if (jobkindcd == "0410" ) {
- dsf_makeValue( ds_send_reqdata, "deptcd", "string", dutplcecd);
- } else if (jobkindcd == "0750" || jobkindcd == "0750" ) {
- dsf_makeValue( ds_send_reqdata, "drflag", "string", "Y");
- } else if (jobkindcd.substring(0,2) == "03" || jobkindcd.substring(0,2) == "04" ||
- jobkindcd.substring(0,2) == "05" || jobkindcd.substring(0,2) == "06" ) {
- dsf_makeValue( ds_send_reqdata, "drflag", "string", "Y");
- } else if (jobkindcd.substring(0,2) == "11") {
- dsf_makeValue( ds_send_reqdata, "nursflag", "string", "Y");
- } else {
- dsf_makeValue( ds_send_reqdata, "deptcd", "string", dutplcecd);
- }
- var oParam1 = {};
- oParam1.id = "TRMRC01312";
- oParam1.service = "chrtmngtapp.ChrtRendMngt";
- oParam1.method = "reqGetLendSetList";
- oParam1.inds = "req=ds_send_reqdata";
- oParam1.outds = "ds_init_lendset_lendsetlist=lendsetlist";
- oParam1.async = false;
- tranf_submit(oParam1);
-
- if(!utlf_isNull(ds_init_lendset_lendsetlist)) {
- var cnt = ds_init_lendset_lendsetlist.rowcount;
- if (cnt == 1) {
- var setcd = ds_init_lendset_lendsetlist.getColumn(0, "setcd");
- dsf_makeValue( ds_send_reqdata, "setcd", "string", setcd);
- } else {
- // 기타 셋코드 : 90000000000000101
- dsf_makeValue( ds_send_reqdata, "setcd", "string", "90000000000000101");
- }
- }
- else
- {
- dsf_makeValue( ds_send_reqdata, "setcd", "string", "90000000000000101");
- }
- // 2009.01.12. 대출용도 셋 아이템 조회하기..
- // 2009.02.02. 보험팀인데 직종구분 [ 1140 : 간호직 ]
- // 2009.02.13. 보험팀 - 2개 unit 으로 구분됨 (4070300000,4070703000)
- if (dutplcecd == "4070300000" || dutplcecd == "4070703000") {
- // 보험팀 (4070300000) 전체 셋코드 : 90000000000000053
- dsf_makeValue( ds_send_reqdata, "setcd", "string", "90000000000000053");
- }
- if (dutplcecd == "4040800000") {
- // 원무팀 (4040800000) 전체 셋코드 : 90000000000000054
- dsf_makeValue( ds_send_reqdata, "setcd", "string", "90000000000000054");
- }
- // KNUH_20101207_박성호_start_의무기록 부서코드 가져오기
- //if (dutplcecd == "3230000000") {
- if(ds_temp_hardcd_hardcd.lookupExpr("hardcd == '" + dutplcecd + "'", "hardcd") != "")
- {
- // KNUH_20101207_박성호_end
- // 의료정보 (3230000000) 전체 셋코드 : 90000000000000060
- dsf_makeValue( ds_send_reqdata, "setcd", "string", "90000000000000060");
- }
- dsf_makeValue( ds_send_reqdata, "useyn", "string", "Y");
- var oParam2 = {};
- oParam2.id = "TRMRC01313";
- oParam2.service = "chrtmngtapp.ChrtRendMngt";
- oParam2.method = "reqGetLendSetItem";
- oParam2.inds = "req=ds_send_reqdata";
- oParam2.outds = "ds_init_lendsetitem_setitemlist=setitemlist";
- oParam2.async = false;
- tranf_submit(oParam2);
- ds_condition.setColumn( 0, "rendschedd" , utlf_getCurrentDate());
- ds_condition.setColumn( 0, "rtnschedd" , utlf_getCurrentDate());
- ds_condition.setColumn( 0, "ioflag" , "O");
- // 2009.02.13. 보험팀 - 2개 unit 으로 구분됨 (4070300000,4070703000)
- /*
- if (dutplcecd == "4070703000"){
- dutplcecd = "4070300000";
- }
- */
- // 응급의학과 (2280000000)인 경우.. 응급실진료참고 (006)
- // 응급의료센터 (2280200000)인 경우.. 응급실진료참고 (006)
- var rendcd = ds_init_lendsetitem_setitemlist.lookupExpr("lenduseyn == 'Y'", "rendcd");
- if (dutplcecd == "2280200000"){
- dutplcecd = "2280000000";
- }
- if (dutplcecd == "2280000000" || dutplcecd == "2280200000"){
- rendcd = "006";
- }
- ds_condition.setColumn( 0, "rendcd" , rendcd);
- var deptcd = ds_init_lendmastinfo_lenddeptlist.lookupExpr("lenddeptcd == '" + dutplcecd + "'", "lenddeptcd");
- ds_condition.setColumn( 0, "appdeptcd" , deptcd);
- // 2009.03.18. 대출과가 센터인 경우 진료과 조회하기...
- //cmb_appdeptcd.dispatch("xforms-value-changed");
- switch1_appchrt_cmb_appdeptcd_onitemchanged(switch1.appchrt.cmb_appdeptcd, null);
- if (deptcd != ""){
- var userid = ds_init_userlist_userlist_usercombo.lookupExpr("userid == '" + sysf_getUserId() + "'", "userid");
- ds_condition.setColumn( 0, "lendmanid" , userid);
- ds_condition.setColumn( 0, "lendman" , userid);
- }
- // 응급의료센터 (2280200000)인 경우.. 대출자 : 구 응급의학과
- /* 2009.01.14. 대출자 셋해주는 의미가 없어짐.. 구 응급의학과는 과거 부서코드이므로..
- if (dutplcecd == "2280200000"){
- ds_condition.setColumn( 0, "lendmanid" , "12400000");
- ds_condition.setColumn( 0, "lendman" , "12400000");
- }
- */
- ds_condition.setColumn( 0, "appmanid" , sysf_getUserId());
- ds_condition.setColumn( 0, "appman" , sysf_getUserName());
- ds_condition.setColumn( 0, "pid" , appf_getPatientId());
- // 신청내역 초기값
- ds_condition_applist.setColumn( 0, "apprendcd" , rendcd);
- ds_condition_applist.setColumn( 0, "appdeptcd" , deptcd);
- ds_condition_applist.setColumn( 0, "lendmanid" , "");
- ds_condition_applist.setColumn( 0, "appmanid" , sysf_getUserId());
- ds_condition_applist.setColumn( 0, "appman" , sysf_getUserName());
- ds_condition_applist.setColumn( 0, "appfromdd" , utlf_getCurrentDate());
- ds_condition_applist.setColumn( 0, "apptodd" , utlf_getCurrentDate());
- // 대출내역 초기값
- ds_condition_lendlist.setColumn( 0, "appdeptcd" , deptcd);
- ds_condition_lendlist.setColumn( 0, "rendfromdd" , utlf_getCurrentDate());
- ds_condition_lendlist.setColumn( 0, "rendtodd" , utlf_getCurrentDate());
- ds_condition_lendlist.setColumn( 0, "lendmanid" , "");
- ds_condition_lendlist.setColumn( 0, "appmanid" , sysf_getUserId());
- ds_condition_lendlist.setColumn( 0, "appman" , sysf_getUserName());
- ds_condition_lendlist.setColumn( 0, "apprendcd" , "ALL");
- ds_condition_lendlist.setColumn( 0, "appfromdd" , "19000101");
- ds_condition_lendlist.setColumn( 0, "apptodd" , utlf_getCurrentDate());
- ds_condition_lendlist.setColumn( 0, "termdisabled" , "");
- //model.refresh();
- var pid;
- if (frmf_isPopup() == true) {
- // param 환자정보
- pid = opener.frmf_getParameter("pid");
-
- }
- if ( pid == null || pid == "" ) {
- // 상단 환자정보
- var node = sysf_getGlobalVariable("paminfo");
- ds_main_result_paminfo_list.clearData();
- ds_main_result_paminfo_list.addRow();
- dsf_setCSVToDs("ds_main_result_paminfo_list", node);
-
-
- pid = ds_main_result_paminfo_list.getColumn(0, "pid");
- // 상단 환자정보가 있는 경우 대출자는 상단의 의사아이디로 셋함.
- if ( pid == null ) { pid == ""; }
- if ( pid != "" ) {
- var orddrid = ds_main_result_paminfo_list.getColumn(0, "orddrid");
- ds_condition.setColumn( 0, "lendmanid", orddrid);
-
- var orddrnm = ds_main_result_paminfo_list.getColumn(0, "orddrnm");
- ds_condition.setColumn( 0, "lendman", orddrnm);
- }
- }
- if ( pid == null ) { pid == ""; }
- if ( pid != "" ) {
- ds_condition.setColumn( 0, "pid", pid);
- switch1.appchrt.ipt_pid.updateToDataset();
-
- fGetChrtList();
- }
- // 차트 대출 신청 텝 선택..
- //btn_rendlsit.dispatch("onclick");
- switch1.tabindex = 0;
-
- if (deptcd == ""){
- alert("대출과를 선택해주세요.", "차트대출신청", 0 | 64);
- //cmb_orddept.setFocus();
- switch1.appchrt.cmb_orddeptcd.setFocus();
- }
-
- switch1.appchrt.grup_updateapplist1.visible = false;
- switch1.applist.grup_updateapplist2.visible = false;
- }
- /**
- * _desc : 차트 대출 신청 후 신청 내역 텝으로 이동하기
- * _
- * _param :
- * _return :
- * _authur : 이은영 2008.06.12
- * _---------------------------------------------------
- */
- function faddchrt()
- {
- //btn_addlist.dispatch("onclick");
- switch1.tabindex = 1;
-
- }
- /**
- * _desc : 환자의 차트 리스트 조회하기
- * _
- * _param :
- * _return :
- * _authur : 이은영 2008.06.12
- * _---------------------------------------------------
- */
- function fGetChrtList()
- {
- // 2008.10.23. 환자번호 조회해서 환자명 가져오기..
- fCheckPid(switch1.appchrt.ipt_pid,"ds_condition", "patnm");
- ds_send_reqdata.copyData(ds_condition);
- dsf_makeValue( ds_send_reqdata, "flag", "string", 'P'); // 종이챠트 대출만 조회시
- //dsf_makeValue( ds_send_reqdata, "flag", "string", ''); // test를 위해 임시로 전체 데이타 불러오기
-
- var oParam = {};
- oParam.id = "TRMRC00144";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "reqGetPaperList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_appchrt_chrtlist=chrtlist";
- oParam.async = false;
- tranf_submit(oParam);
-
- dsf_setFixVal(ds_main_appchrt_chrtlist, "chkflag:0");
-
- // 2008.10.29. EMR 기록 조회
- var oParam = {};
- oParam.id = "TRMRC00145";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "reqGetEMRList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_appchrt_emrlist=emrlist";
- oParam.async = false;
- tranf_submit(oParam);
- allchkflag = "N";
- // 2009.06.02. 의정부인 경우.. 응급실, 건진센터 구영상 조회하기..
- var instcd = sysf_getUserInfo("dutplceinstcd");
- if (instcd == "013") {
- var oParam = {};
- oParam.id = "TRMRC00147";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "reqGetOldImgRec";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_appchrt_oldimglist=oldimglist";
- oParam.async = false;
- tranf_submit(oParam);
- var msgER = "";
- var msgAH = "";
- var dataCnt = ds_main_appchrt_oldimglist.rowcount;
- for (var i = 0 ; i < dataCnt ; i++)
- {
- var cls = ds_main_appchrt_oldimglist.getColumn(i, "cls");
- var cnt = ds_main_appchrt_oldimglist.getColumn(i, "cnt");
- // 구영상 응급의학과
- if (cls == "E") {
- msgER = "▣ 구영상 응급의학과 (" + cnt + "건)";
- }
- // 구영상 건진
- if (cls == "S") {
- msgAH = "▣ 구영상 건진 (" + cnt + "건)";
- }
- }
- ds_hidden.setColumn( 0, "cap_oldimgER", msgER);
- //cap_oldimgER.refresh();
- ds_hidden.setColumn( 0, "cap_oldimgAH", msgAH);
- //cap_oldimgAH.refresh();
- }
- }
- /**
- * _desc : 환자의 차트 리스트 대출 신청 리스트 등록
- * _
- * _param :
- * _return :
- * _authur : 이은영 2008.06.12
- * _---------------------------------------------------
- */
- function fAddChrtList()
- {
- var appdeptcd = ds_condition.getColumn(0, "appdeptcd");
- if (appdeptcd == ""){
- alert("대출과를 선택해주세요.", "차트대출신청", 0 | 64);
- switch1.appchrt.cmb_appdeptcd.setFocus();
- return;
- }
- var lendmanid = ds_condition.getColumn(0, "lendmanid");
- if (lendmanid == ""){
- alert("대출자를 선택해주세요.", "차트대출신청", 0 | 64);
- switch1.appchrt.cmb_orddrid.setFocus();
- return;
- }
- var rendcd = ds_condition.getColumn(0, "rendcd");
- if (rendcd == "-"){
- alert("대출용도을 선택해주세요.", "차트대출신청", 0 | 64);
- switch1.appchrt.cbo_renduse.setFocus();
- return;
- }
- // 2009.03.18. 대출과가 센터인 경우 진료과 선택 체킹하기...
- var orddeptkind = ds_condition.getColumn(0, "orddeptkind");
- var orddeptcd = ds_condition.getColumn(0, "orddeptcd");
- if (orddeptkind == "C" && orddeptcd == "-"){
- alert("대출과가 센터인 경우 진료과를 선택해주세요.", "차트대출신청", 0 | 64);
- switch1.appchrt.cmb_orddeptcd.setFocus();
- return;
- }
- // 2008.09.01. 차트신청시 [ 021:연구용, 022:임상연구용 ]
- // 전달메세지 : 반드시 전달메세지 (연구 제목 및 기타사항) 을 입력해 주십시오..
- if (rendcd == "021" || rendcd == "022"){
- var msgcnts = ds_condition.getColumn(0, "msgcnts");
- msgcnts = String(msgcnts).trimLeft();
- msgcnts = String(msgcnts).trimRight();
- if (msgcnts.length == ""){
- alert("반드시 전달메세지 (연구 제목 및 기타사항) 을 입력해 주십시오..", "차트대출신청", 0 | 64);
- switch1.appchrt.ipt_msgcnts.setFocus();
- return;
- }
- // 팝업메세지 : 신청일 포함 3일후 대출 가능합니다..
- // alert("신청일 포함 3일후 대출 가능합니다..", "차트대출신청", 0 | 64);
- // 2009.02.17. 팝업메세지 수정 : 신청일로부터 3일 이후에 대출 가능합니다..
- alert("신청일로부터 3일 이후에 대출 가능합니다..", "차트대출신청", 0 | 64);
- }
- if (switch1.appchrt.grd_chrtlist.rowcount < 1){
- alert("환자의 차트정보가 없습니다..", "차트대출신청", 0 | 64);
- return;
- }
- // 2009.02.05. 의사 아이디로 차트신청시 전달메세지, 연락처 항목을 필수 입력항목으로 체킹한다.
- // 의사 : 03, 04, 05, 06
- // 간호사 : 11
- // 연구원, 연구직 : 0750, 0751 => 의사
- // 조교 : 0410 => 기타
- var jobkindcd = sysf_getUserInfo("jobkindcd");
- var drflag = "N";
- var nursflag = "N";
- if (jobkindcd == "0410") {
- drflag = "N";
- } else if (jobkindcd == "0750" || jobkindcd == "0750" ) {
- drflag = "Y";
- } else if (jobkindcd.substring(0,2) == "03" || jobkindcd.substring(0,2) == "04" ||
- jobkindcd.substring(0,2) == "05" || jobkindcd.substring(0,2) == "06" ) {
- drflag = "Y";
- } else if (jobkindcd.substring(0,2) == "11") {
- nursflag = "Y";
- }
- if (drflag == "Y" || nursflag == "Y") {
- // 2009.03.02. 차트신청시 [ 003:접수외대출, 021:연구용, 022:임상연구용, 099:기타대출 ]
- // 전달메세지 : 반드시 전달메세지 (연구 제목 및 기타사항) 을 입력해 주십시오..
- if (rendcd == "003" || rendcd == "022" || rendcd == "021" || rendcd == "099"){
- var msgcnts = ds_condition.getColumn(0, "msgcnts");
- msgcnts = String(msgcnts).trimLeft();
- msgcnts = String(msgcnts).trimRight();
-
- if (msgcnts.length == ""){
- alert("반드시 전달메세지 (연구 제목 및 신청사유) 을 입력해 주십시오.." + jobkindcd, "차트대출신청", 0 | 64);
- switch1.appchrt.ipt_msgcnts.setFocus();
- return;
- }
- }
- var appmantelno = ds_condition.getColumn(0, "appmantelno");
- appmantelno = String(appmantelno).trimLeft();
- appmantelno = String(appmantelno).trimRight();
- if (appmantelno.length == ""){
- alert("반드시 연락처를 입력해 주십시오.." + jobkindcd, "차트대출신청", 0 | 64);
- ipt_apptelno.setFocus();
- return;
- }
- }
- for( var i = 0 ; i < switch1.appchrt.grd_chrtlist.rowcount ; i++){
- var chk = ds_main_appchrt_chrtlist.getColumn(i, "chkflag");
- if (chk == "Y" || chk == "1"){
- var pid = ds_main_appchrt_chrtlist.getColumn(i, "pid");
- var pnm = ds_main_appchrt_chrtlist.getColumn(i, "pnm");
- var ioflag = ds_main_appchrt_chrtlist.getColumn(i, "ioflag");
- var medirecno = ds_main_appchrt_chrtlist.getColumn(i, "medirecno");
- var orddeptcd = ds_main_appchrt_chrtlist.getColumn(i, "orddeptcd");
- var depthngnm = ds_main_appchrt_chrtlist.getColumn(i, "depthngnm");
- var deptengabbr = ds_main_appchrt_chrtlist.getColumn(i, "deptengabbr");
- var lendyn = ds_main_appchrt_chrtlist.getColumn(i, "lendyn");
- var lenddept = ds_main_appchrt_chrtlist.getColumn(i, "lenddept");
- var tmpmedino = "";
- var ref = "ds_main_appchrt_appchrtlist";
- var cnt = eval(ref).rowcount;
- for(var j = 0 ; j < cnt ; j++){
- var tmp = eval(ref).getColumn(j, "medirecno");
- if(tmp == medirecno){
- tmpmedino = tmp;
- break;
- }
- }
- if(tmpmedino != medirecno){
- // 차트가 이미 대출인가??
- var lendyn = ds_main_appchrt_chrtlist.getColumn(i, "lendyn");
- if (lendyn == "Y")
- {
- var msgRtn = sysf_messageBox("대출중입니다. 차트대출 신청", "S001");
- // return : yes=6, no=7, cancel=2
- if (msgRtn == "7") {
- continue;
- } else if (msgRtn == "2") {
- break;
- }
- }
- var addrow = eval(ref).addRow();
-
- //model.makeValue(ref + "[" + addrow + "]_pid" , pid);
- eval(ref).setColumn(addrow, "pid", pid);
- //model.makeValue(ref + "[" + addrow + "]_pnm" , pnm);
- eval(ref).setColumn(addrow, "pnm", pnm);
- //model.makeValue(ref + "[" + addrow + "]_ioflag" , ioflag);
- eval(ref).setColumn(addrow, "ioflag", ioflag);
- //model.makeValue(ref + "[" + addrow + "]_medirecno" , medirecno);
- eval(ref).setColumn(addrow, "medirecno", medirecno);
- //model.makeValue(ref + "[" + addrow + "]_orddeptcd" , orddeptcd);
- eval(ref).setColumn(addrow, "orddeptcd", orddeptcd);
- //model.makeValue(ref + "[" + addrow + "]_depthngnm" , depthngnm);
- eval(ref).setColumn(addrow, "depthngnm", depthngnm);
- //model.makeValue(ref + "[" + addrow + "]_deptengabbr", deptengabbr);
- eval(ref).setColumn(addrow, "deptengabbr", deptengabbr);
- var rendcd = ds_condition.getColumn(0, "rendcd");
- var rendschedd = ds_condition.getColumn(0, "rendschedd");
- var rtnschedd = ds_condition.getColumn(0, "rtnschedd");
-
- var appdeptcd = ds_condition.getColumn(0, "appdeptcd");
- // 2009.03.18. 진료과 , 센터 저장하기..
- var orddeptkind = ds_condition.getColumn(0, "orddeptkind");
- var centcd = "-";
- if (orddeptkind == "C") {
- centcd = ds_condition.getColumn(0, "appdeptcd");
- }
- var orddeptcd = ds_condition.getColumn(0, "orddeptcd");
- var lendmanid = ds_condition.getColumn(0, "lendmanid");
- var appmanid = ds_condition.getColumn(0, "appmanid");
- var appman = ds_condition.getColumn(0, "appman");
- var appmantelno = ds_condition.getColumn(0, "appmantelno");
- var msgcnts = ds_condition.getColumn(0, "msgcnts");
- var appdeptnm = ds_init_lendmastinfo_lenddeptlist.lookupExpr("lenddeptcd == '" + appdeptcd + "'", "lenddeptnm");
- var orddeptnm = ds_init_cntrsuborddeptlist_dept.lookupExpr("deptcd == '" + orddeptcd + "'", "depthngnm");
- var lendman = ds_init_userlist_userlist_usercombo.lookupExpr("userid == '" + lendmanid + "'", "usernm");
- //model.makeValue(ref + "[" + addrow + "]_rendcd" , rendcd);
- eval(ref).setColumn(addrow, "rendcd", rendcd);
- //model.makeValue(ref + "[" + addrow + "]_rendschedd" , rendschedd);
- eval(ref).setColumn(addrow, "rendschedd", rendschedd);
- //model.makeValue(ref + "[" + addrow + "]_rtnschedd" , rtnschedd);
- eval(ref).setColumn(addrow, "rtnschedd", rtnschedd);
- //model.makeValue(ref + "[" + addrow + "]_appdeptcd" , appdeptcd);
- eval(ref).setColumn(addrow, "appdeptcd", appdeptcd);
- //model.makeValue(ref + "[" + addrow + "]_appdeptnm" , appdeptnm);
- eval(ref).setColumn(addrow, "appdeptnm", appdeptnm);
- //model.makeValue(ref + "[" + addrow + "]_orddeptkind", orddeptkind);
- eval(ref).setColumn(addrow, "orddeptkind", orddeptkind);
- //model.makeValue(ref + "[" + addrow + "]_centcd" , centcd);
- eval(ref).setColumn(addrow, "centcd", centcd);
- //model.makeValue(ref + "[" + addrow + "]_orddeptcd" , orddeptcd);
- eval(ref).setColumn(addrow, "orddeptcd", orddeptcd);
- //model.makeValue(ref + "[" + addrow + "]_orddeptnm" , orddeptnm);
- eval(ref).setColumn(addrow, "orddeptnm", orddeptnm);
- //model.makeValue(ref + "[" + addrow + "]_lendmanid" , lendmanid);
- eval(ref).setColumn(addrow, "lendmanid", lendmanid);
- //model.makeValue(ref + "[" + addrow + "]_lendman" , lendman);
- eval(ref).setColumn(addrow, "lendman", lendman);
- //model.makeValue(ref + "[" + addrow + "]_appmanid" , appmanid);
- eval(ref).setColumn(addrow, "appmanid", appmanid);
- //model.makeValue(ref + "[" + addrow + "]_appman" , appman);
- eval(ref).setColumn(addrow, "appman", appman);
- //model.makeValue(ref + "[" + addrow + "]_appmantelno", appmantelno);
- eval(ref).setColumn(addrow, "appmantelno", appmantelno);
- //model.makeValue(ref + "[" + addrow + "]_msgcnts" , msgcnts);
- eval(ref).setColumn(addrow, "msgcnts", msgcnts);
- }
- }
- }
- //model.refresh();
- }
- /**
- * _desc : 환자의 차트 리스트 대출 신청 리스트 등록
- * _
- * _param :
- * _return :
- * _authur : 이은영 2008.06.12
- * _---------------------------------------------------
- */
- function fSetRtnSchedd()
- {
- // 2009.02.05. 대출용도 에 따라 전달메세지 -> 연구용제목 으로 변경한다...
- var rendcd = ds_condition.getColumn(0, "rendcd");
- if (rendcd == '021' || rendcd == '022') {
- ds_hidden.setColumn( 0, "caption", "연구용제목 :");
- //cap_msgcnts.refresh();
- } else {
- ds_hidden.setColumn( 0, "caption", "전달메세지 :");
- //cap_msgcnts.refresh();
- }
- // 반납예정일 셋해주기...
- var rendcd = ds_condition.getColumn(0, "rendcd");
- var rendterm = ds_init_lendmastinfo_rendcdlist.lookupExpr("rendcd == '" + rendcd + "'", "defltrendterm");
- var rendunit = ds_init_lendmastinfo_rendcdlist.lookupExpr("rendcd == '" + rendcd + "'", "defltrendtermunit");
- var rendschedd = ds_condition.getColumn(0, "rendschedd");
- var tmp = rendschedd.toDate("YYYYMMDD");
- var rtnschedd = tmp.getAddDate(eval(rendterm), rendunit);
- ds_condition.setColumn( 0, "rtnschedd", rtnschedd.getDateFormat());
- //ipt_rtnschedd.refresh();
- }
- /**
- * _desc : 차트대출 신청하기 -> 신청내역으로 화면 이동하기..
- * _
- * _param :
- * _return :
- * _authur : 이은영 2008.06.12
- * _---------------------------------------------------
- */
- function fSetAppChrtList()
- {
- var ref = "ds_main_appchrt_appchrtlist";
- var grdObj = switch1.appchrt.grd_appchrtlist;
- var savedata = "m▦medirecno▦rendcd▦rendschedd▦rendschetm▦lendmanid▦appmanid▦apptelno▦appdeptcd▦orddeptcd▦centcd▦msgcnts▩";
- var dataString = "";
- var dataCount = 0;
- for ( var i=0 ; i < eval(ref).rowcount; i++)
- {
- var medirecno = eval(ref).getColumn(i, "medirecno");
- var rendcd = eval(ref).getColumn(i, "rendcd");
- var rendschedd = eval(ref).getColumn(i, "rendschedd");
- var lendmanid = eval(ref).getColumn(i, "lendmanid");
- var appmanid = eval(ref).getColumn(i, "appmanid");
- var apptelno = eval(ref).getColumn(i, "appmantelno");
- var appdeptcd = eval(ref).getColumn(i, "appdeptcd");
- var centcd = eval(ref).getColumn(i, "centcd");
- var orddeptcd = eval(ref).getColumn(i, "orddeptcd");
- var msgcnts = eval(ref).getColumn(i, "msgcnts");
- var rendschetm = utlf_getCurrentTime();
- rendschetm = rendschetm.substr(0,4);
- dataString = dataString + "i▦" + medirecno + "▦" + rendcd + "▦" + rendschedd + "▦" + rendschetm + "▦" ;
- dataString = dataString + lendmanid + "▦" + appmanid + "▦" + apptelno + "▦" + appdeptcd + "▦" + orddeptcd + "▦" + centcd + "▦" + msgcnts + "▩";
- dataCount = dataCount + 1;
- }
- if (dataString.length > 0)
- {
- //dsf_makeValue( ds_send, "savedata", "string", savedata + dataString);
- dsf_setCSVToDs("ds_send_savedata",savedata + dataString);
- grdf_setStatusColumn(ds_send_savedata, "status");
- dsf_setFixVal(ds_send_savedata, "status:i");
-
- var oParam = {};
- oParam.id = "TXMRC00300";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "setAppChrt";
- oParam.inds = "req=ds_send_savedata";
- oParam.outds = "";
- oParam.async = false;
- tranf_submit(oParam);
- alert("총 " + dataCount + " 건 챠트대출 신청되었습니다.");
- var appdeptcd = ds_condition.getColumn(0, "appdeptcd");
- var apprendcd = ds_condition.getColumn(0, "apprendcd");
- ds_condition_applist.setColumn( 0, "appdeptcd" , appdeptcd);
- ds_condition_applist.setColumn( 0, "apprendcd" , "ALL");
- // 신청 내역을 조회한다..
- //btn_applist.dispatch("onclick");
- switch1.tabindex = 1;
-
- ds_condition_applist.setColumn( 0, "lendmanid", "");
- ds_condition_applist.setColumn( 0, "lendman" , "");
- ds_condition_applist.setColumn( 0, "appmanid" , sysf_getUserId());
- ds_condition_applist.setColumn( 0, "appman" , sysf_getUserName());
- ds_condition_applist.setColumn( 0, "appfromdd", utlf_getCurrentDate());
- ds_condition_applist.setColumn( 0, "apptodd" , utlf_getCurrentDate());
- // 신청 리스트는 지운다..
- ds_main_appchrt_appchrtlist.clearData();
- //model.refresh();
- //btn_x_appsearch.dispatch("onclick");
- switch1_applist_btn_x_appsearch_onclick(null, null);
- }
- }
- /**
- * _desc : 마우스 오른쪽 버튼 팝업창
- * _
- * _param :
- * _return :
- * _---------------------------------------------------
- *
- */
-
- var m_clientY = 0;
-
- function fMouseRghtBtnPopup(gridObj, job, e)
- {
- if (e.button == "rbutton") {
- if (gridObj.currentrow >= 0 &&
- gridObj.currentcol >= 0 ) {
- if (job == "1") {
- // 대출신청 예정목록 에서 삭제하기..
- if (gridObj.currentrow >= 0) {
- //window.setPopupMenu(true, "ds_hidden_appchrtlist_menu_menu", .text", "func", false);
- frmf_createPopupMenuDs("pmn_popupMenu", "pmn_popupMenu_onmenuclick", ds_hidden_appchrtlist_menu_menu);
- pmn_popupMenu.trackPopup(e.screenX, e.screenY);
-
- } else {
- //window.setPopupMenu(false);
- }
- } else if (job == "2") {
- // 신청내역 리스트 에서 취소하기..
- if (gridObj.currentrow >= 0) {
- //window.setPopupMenu(true, "ds_hidden_applist_menu_menu", .text", "func", false);
- frmf_createPopupMenuDs("pmn_popupMenu", "pmn_popupMenu_onmenuclick", ds_hidden_applist_menu_menu);
- pmn_popupMenu.trackPopup(e.screenX, e.screenY);
- } else {
- //window.setPopupMenu(false);
- }
- } else if (job == "3") {
- // 대출신청 예정목록 에서 신청내역 수정하기..
- if (gridObj.currentrow >= 0) {
- //window.setPopupMenu(true, "ds_hidden_appchrtlist_menu_menu", .text", "func", false);
- frmf_createPopupMenuDs("pmn_popupMenu", "pmn_popupMenu_onmenuclick", ds_hidden_appchrtlist_menu_menu);
- pmn_popupMenu.trackPopup(e.screenX, e.screenY);
-
- } else {
- //window.setPopupMenu(false);
- }
- } else if (job == "4") {
- // 신청내역 리스트 에서 신청내역 수정하기..
- if (gridObj.currentrow >= 0) {
- //window.setPopupMenu(true, "ds_hidden_applist_menu_menu", .text", "func", false);
- frmf_createPopupMenuDs("pmn_popupMenu", "pmn_popupMenu_onmenuclick", ds_hidden_applist_menu_menu);
-
- pmn_popupMenu.trackPopup(e.screenX, e.screenY);
- m_clientY = e.clientY;
-
-
- } else {
- //window.setPopupMenu(false);
- }
- } else {
- //window.setPopupMenu(false);
- }
- } else {
- //window.setPopupMenu(false);
- }
- } else {
- //window.setPopupMenu(false);
- }
- }
- function pmn_popupMenu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
-
- eval(e.id+"()");
- }
- /**
- * _desc : 대출신청 예정목록 에서 삭제하기..
- * _
- * _param :
- * _return :
- * _authur : 이은영 2008.06.12
- * _---------------------------------------------------
- */
- function fdel_appchrtlist()
- {
- var ref = "ds_main_appchrt_appchrtlist";
- //선택되어 있는 행들에 delete flag 를 설정하고 숨긴다.
- var selectedRows = grdf_getSelectedRows(switch1.appchrt.grd_appchrtlist);
- for(var i=0; i < selectedRows.length; i++)
- {
- var row = selectedRows[i];
- //model.makeValue(ref + "["+ row +"]_chk", "N");
- eval(ref).setColumn( row, "chk", "N");
- }
- //model.refresh();
- var dataCnt = eval(ref).rowcount;
- for (var i=0 ; i < dataCnt ; i++) {
- var chk = eval(ref).getColumn(i, chk);
- if (chk == "N") {
- //model.destroy(ref + "["+ i +"]");
- eval(ref).deleteRow(i);
- dataCnt = dataCnt - 1;
- i = i - 1;
- }
- }
- //model.refresh();
- }
- /**
- * _desc : 신청내역 리스트 에서 취소하기..
- * _
- * _param :
- * _return :
- * _authur : 이은영 2008.06.12
- * _---------------------------------------------------
- */
- function fcancel_applist()
- {
- var ref = "ds_main_applist";
- var grdObj = switch1.lendlist.grd_lendlist;
- var savedata = "m▦chrtseqno▦appdd▦appmanid▦appdeptcd▦appmanallyn▩";
- var dataString = "";
- var dataCount = 0;
- var appdd = ds_condition_applist.getColumn(0, "appdd");
- var appdeptcd = ds_condition_applist.getColumn(0, "appdeptcd");
- var appmanid = ds_condition_applist.getColumn(0, "appmanid");
- var appmanallyn = ds_condition_applist.getColumn(0, "appmanallyn");
- //선택되어 있는 행들을 신청 취소한다...
- var selectedRows = grdf_getSelectedRows(grdObj);
- for( var i=0; i < selectedRows.length; i++)
- {
- var row = selectedRows[i];
- var chrtseqno = eval(ref).getColumn(row, chrtseqno);
- dataString = dataString + "u▦" + chrtseqno + "▦" + appdd + "▦" + appmanid + "▦" + appdeptcd + "▦" + appmanallyn + "▩";
- dataCount = dataCount + 1;
- }
- if (dataString.length > 0)
- {
- //dsf_makeValue( ds_send, "savedata", "string", savedata + dataString);
-
- dsf_setCSVToDs("ds_send_savedata",savedata + dataString);
- grdf_setStatusColumn(ds_send_savedata, "status");
- dsf_setFixVal(ds_send_savedata, "status:u");
-
- var oParam = {};
- oParam.id = "TXMRC00310";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "setAppChrt";
- oParam.inds = "req=ds_send_savedata";
- oParam.outds = "ds_main_applist=applist";
- oParam.async = false;
- tranf_submit(oParam);
- // fDisplayAppList();
- }
- }
- /**
- * _desc : 차트 대출 신청 내역 조회하기
- * _
- * _param :
- * _return :
- * _authur : 이은영 2008.06.12
- * _---------------------------------------------------
- */
- function fGetAppList()
- {
- var apprendcd = ds_condition_applist.getColumn(0, "apprendcd");
- var appdeptcd = ds_condition_applist.getColumn(0, "appdeptcd");
- var appmanid = ds_condition_applist.getColumn(0, "appmanid");
- var lendmanid = ds_condition_applist.getColumn(0, "lendmanid");
- var appfromdd = ds_condition_applist.getColumn(0, "appfromdd");
- var apptodd = ds_condition_applist.getColumn(0, "apptodd");
- ds_send_reqdata_applist.clearData();
- ds_send_reqdata_applist.addRow();
-
- dsf_makeValue( ds_send_reqdata_applist, "apprendcd", "string", apprendcd);
- dsf_makeValue( ds_send_reqdata_applist, "appdeptcd", "string", appdeptcd);
- dsf_makeValue( ds_send_reqdata_applist, "appmanid", "string", appmanid);
- dsf_makeValue( ds_send_reqdata_applist, "lendmanid", "string", lendmanid);
- dsf_makeValue( ds_send_reqdata_applist, "appfromdd", "string", appfromdd);
- dsf_makeValue( ds_send_reqdata_applist, "apptodd", "string", apptodd);
- //model.refresh();
-
- var oParam = {};
- oParam.id = "TRMRC00310";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "reqGetAppChrtList";
- oParam.inds = "req=ds_send_reqdata_applist";
- oParam.outds = "ds_main_applist=applist";
- oParam.async = false;
- tranf_submit(oParam);
- // fDisplayAppList();
- }
- /**
- * _desc : 차트 대출 신청 내역 디스플래이 해주기..
- * _
- * _param :
- * _return :
- * _authur : 이은영 2008.06.12
- * _---------------------------------------------------
- */
- function fDisplayAppList()
- {
- var grdObj = switch1.lendlist.grd_lendlist;
- var ref = "ds_main_applist";
- // 2008.01.16. 상태에 따라 로우 색상 지정해 주기..
- for ( var i = 0; i < grdObj.rowcount; i++)
- {
- grdObj.rowstyle(i, "data", "background-color") = "#ffffff";
- var chrtlendyn = eval(ref).getColumn(i, chrtlendyn);
- var unrendcd = eval(ref).getColumn(i, unrendcd);
- var renddt = eval(ref).getColumn(i, renddt);
- var delyn = eval(ref).getColumn(i, delyn);
- if(chrtlendyn == "Y"){
- grdObj.rowstyle(i, "data", "background-color") = "#ffccff"; // 이미대출중
- }
- if(unrendcd != "00"){
- grdObj.rowstyle(i, "data", "background-color") = "#ffff99"; // 미대출처리
- }
- if(unrendcd != "00"){
- grdObj.rowstyle(i, "data", "background-color") = "#ffff99"; // 미대출처리 + 이미대출중
- }
- if(delyn != "N"){
- grdObj.rowstyle(i, "data", "background-color") = "#ff0000"; // 대출신청취소
- }
- if(renddt != ""){
- grdObj.rowstyle(i, "data", "background-color") = "#ccffcc"; // 대출완료
- }
- }
- }
- /**
- * _desc : 차트 대출 현황 조회하기
- * _
- * _param :
- * _return :
- * _authur : 이은영 2008.07.21
- * _---------------------------------------------------
- */
- function fGetLendList()
- {
- var appdeptcd = ds_condition_lendlist.getColumn(0, "appdeptcd");
- var apprendcd = ds_condition_lendlist.getColumn(0, "apprendcd");
- var lendmanid = ds_condition_lendlist.getColumn(0, "lendmanid");
- var appmanid = ds_condition_lendlist.getColumn(0, "appmanid");
- var rendfromdd = ds_condition_lendlist.getColumn(0, "rendfromdd");
- var rendtodd = ds_condition_lendlist.getColumn(0, "rendtodd");
- var appfromdd = ds_condition_lendlist.getColumn(0, "appfromdd");
- var apptodd = ds_condition_lendlist.getColumn(0, "apptodd");
- ds_send_reqdata_lendlist.clearData();
- ds_send_reqdata_lendlist.addRow();
-
- dsf_makeValue( ds_send_reqdata_lendlist, "appdeptcd", "string", appdeptcd);
- dsf_makeValue( ds_send_reqdata_lendlist, "apprendcd", "string", apprendcd);
- dsf_makeValue( ds_send_reqdata_lendlist, "lendmanid", "string", lendmanid);
- dsf_makeValue( ds_send_reqdata_lendlist, "appmanid", "string", appmanid);
- dsf_makeValue( ds_send_reqdata_lendlist, "rendfromdd", "string", "");
- dsf_makeValue( ds_send_reqdata_lendlist, "rendtodd", "string", "");
- dsf_makeValue( ds_send_reqdata_lendlist, "appfromdd", "string", appfromdd);
- dsf_makeValue( ds_send_reqdata_lendlist, "apptodd", "string", apptodd);
- var oParam = {};
- oParam.id = "TRMRC00320";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "reqGetLendChrtList";
- oParam.inds = "req=ds_send_reqdata_lendlist";
- oParam.outds = "ds_main_lendlist=lendlist";
- oParam.async = false;
- tranf_submit(oParam);
- }
- /**
- * _desc : 사용자콤보 조회
- * _
- * _param : ref - reference path
- * rsltref - result reference path
- * deptcd - 부서코드
- * jobkindcd - 직종코드
- * jobposcd - 직책코드
- * specordyn - 선택진료여부
- * _return :
- * _author :
- * _---------------------------------------------------
- */
- function fGetUserComboList(ref, rsltref, deptcd, jobkindcd, specordyn)
- {
- //model.removeNode(ref);
- eval(ref).clearData();
- eval(ref).addRow();
- dsf_makeValue(eval(ref), "deptcd", "string", deptcd); //부서코드
- dsf_makeValue(eval(ref), "jobkindcd", "string", jobkindcd); //직종코드(의사:0330)
- dsf_makeValue(eval(ref), "specordyn", "string", specordyn); //선택진료여부
- //model.removeNode(rsltref);
- eval(rsltref + "_userlist_usercombo").clearData();
- eval(rsltref + "_userlist_usercombo").addRow();
-
-
- //submit("TRMMB04102", "false", ref, rsltref + "_userlist");
- var oParam = {};
- oParam.id = "TRMMB04102";
- oParam.service = "prcpbaseapp.EnvInfoMngt";
- oParam.method = "reqGetUserComboList";
- oParam.inds = "req=" + ref + "";
- oParam.outds = "" + rsltref + "_userlist_usercombo" + "=usercombo";
- oParam.async = false;
- tranf_submit(oParam);
-
-
- var nRow = eval(rsltref + "_userlist_usercombo").insertRow(0);
- eval(rsltref + "_userlist_usercombo").setColumn( nRow, "usernm", '-');
- eval(rsltref + "_userlist_usercombo").setColumn( nRow, "userid", '');
- switch1.appchrt.cmb_orddrid.index = 0;
- }
- /**
- * _desc : 대출자 조회
- * _
- * _param : refUserid - 대출자 ID, refUserDeptcd - 소속부서코드 ( posdeptcd )
- * _return :
- * _authur : 이은영 2008.03.18
- * _---------------------------------------------------
- */
- function fGetUserid(ref, refUserid, refUsernm, refUserDeptcd, cmbObj)
- {
- ds_hidden_tmp_tempuserinfo_list.clearData();
- ds_hidden_tmp_tempuserinfo_list.addRow();
-
- ds_hidden_tmp_userpopupinfo.clearData();
- ds_hidden_tmp_userpopupinfo.addRow();
- var user = eval(ref).getColumn(0, refUserid);
- var flag = "userid";
- if(isNaN(user)){
- flag = "usernm";
- }
- ds_hidden_tmp_userpopupinfo.setColumn( 0, "param", "_OneS");
- ds_hidden_tmp_userpopupinfo.setColumn( 0, "flag", flag);
- ds_hidden_tmp_userpopupinfo.setColumn( 0, "searchitem", user);
- var objArg = new Object();
- objArg.arg_ds_main_temp = ds_hidden_tmp_userpopupinfo;
-
- var rtnDs = frmf_modal("SPZSU10103", "SPZSU10103", objArg, "", "", "200", "200", "", "", "", "", "", "M");
- if(rtnDs.rowcount <= 0) return;
- ds_hidden_tmp_tempuserinfo_list.copyData(rtnDs);
-
- frmf_clearParameter("SPZSU10103_");
- //fSearch는 인적사항 화면을 임포트 해간 화면에서 구현해 주어야 하는 함수이다.
- if( ds_hidden_tmp_tempuserinfo_list.rowcount> 0 ){
- var userid = ds_hidden_tmp_tempuserinfo_list.getColumn(0, "userid");
- var usernm = ds_hidden_tmp_tempuserinfo_list.getColumn(0, "usernm");
- var posdeptcd = ds_hidden_tmp_tempuserinfo_list.getColumn(0, "posdeptcd");
- if (!utlf_isNull(refUsernm)){
- if (isNaN(refUsernm)){
- //model.makeValue(refUsernm, usernm);
- eval(ref).setColumn(0, refUsernm, usernm);
- }
- }
- if (!utlf_isNull(refUserDeptcd)){
- if (isNaN(refUserDeptcd)){
-
- //model.makeValue(refUserDeptcd, posdeptcd);
- eval(ref).setColumn(0, refUserDeptcd, posdeptcd);
- }
- }
- if (cmbObj != null){
- fAddUser(userid, usernm, cmbObj)
- }
- //model.makeValue(refUserid, userid);
- eval(ref).setColumn(0, refUserid, userid);
-
- //model.refresh();
- }
- }
- /**
- * _desc : 대출자ID, 대출자명 콤보에 추가하기
- * _
- * _param : refUserid - 대출자 ID, refUsernm - 대출자명
- * _return :
- * _authur : 이은영 2008.09.01
- * _---------------------------------------------------
- */
- function fAddUser(Userid, Usernm, cmbObj)
- {
- var ref = cmbObj.innerdataset(); //.choices.itemset.attribute("nodeset");
- var userid = eval(ref).lookupExpr("userid =='" + Userid + "'", "userid");
- if (userid == ""){
- var cnt = eval(ref).addRow();//.rowcount + 1;
- eval(ref).setColumn( cnt, "userid", Userid);
- eval(ref).setColumn( cnt, "usernm", Usernm);
- }
- }
- /**
- * _desc : 등록된 환자번호인지 체킹한다..
- * _
- * _param : iptObj - 환자번호 입력 컨트롤 (pid)
- * _return : pnm - 환자명
- * _authur : 이은영 2008.03.18
- * _---------------------------------------------------
- */
- function fCheckPid(iptObj, ref, refPnm)
- {
- dsf_makeValue( ds_send_req, "srchcond", "string", "1");
- dsf_makeValue( ds_send_req, "pid", "string", iptObj.text);
- //환자등록번호 체크
- if(iptObj.text.length > 0 ){
- ds_main_result_patinfo_patinfolist.clearData(); ds_main_result_patinfo_patinfolist.addRow();
- //if(submit("TRPMC02500", "", "ds_send_req", "ds_main_result_patinfo")){
- var oParam = {};
- oParam.id = "TRPMC02500";
- oParam.service = "patinfomngtapp.PatBaseInfo";
- oParam.method = "reqGetPatInfo";
- oParam.inds = "req=ds_send_req";
- oParam.outds = "ds_main_result_patinfo_patinfolist=patinfolist";
- oParam.async = false;
- oParam.callback = "cf_TRPMC02500";
- tranf_submit(oParam);
- if(arErrorCode.pop("TRPMC02500") > -1) {
-
- //fSearch는 인적사항 화면을 임포트 해간 화면에서 구현해 주어야 하는 함수이다.
- if( ds_main_result_patinfo_patinfolist.rowcount> 0 ){
- ds_patinfolist.copyData(ds_main_result_patinfo_patinfolist);
- //* 2009.04.07. 이중번호 메세지 ( 14257937 박용석 -> 13275912 신옥순 )
- var sBindPid = ds_main_result_patinfo_patinfolist.getColumn(0, "bindpid");
- if( sBindPid != '-' && sBindPid != '' && sBindPid != ' ' ){
- //합번된 등록번호 메세지 처리
- var sPid = ds_main_result_patinfo_patinfolist.getColumn(0, "pid");
- var sHngnm = ds_main_result_patinfo_patinfolist.getColumn(0, "hngnm");
- var retValue = sysf_messageBox(sPid + " (" + sHngnm + ") 환자의 등록번호가 [ " + sBindPid + " ] 로 합번 되었습니다. 합번된 등록번호로 재조회 하시겠습니까?", "Q999", "");
- if( retValue == '6' ){
- //model.makeValue(iptObj.attribute("ref"), sBindPid);
- var _ref = getBindDatasetName(iptObj);
- dsf_makeValue( eval(_ref), refPnm, "string", sBindPid);
-
- //iptObj.refresh();
- fCheckPid(iptObj, _ref, refPnm);
- return "";
- }
- }
- //*/
- var pid = ds_main_result_patinfo_patinfolist.getColumn(0, "pid");
- var pnm = ds_main_result_patinfo_patinfolist.getColumn(0, "hngnm");
- if (refPnm != null)
- {
- //model.makeValue(refPnm, pnm);
- dsf_makeValue(eval(ref), refPnm, "string", pnm);
- }
- return pnm;
- }else{
- ds_patinfolist.clearData(); ds_patinfolist.addRow();
- sysf_messageBox("없는 환자 번호 입니다.", "E999", "");
- //model.refresh();
- return "";
- }
- }
- }else{
- sysf_messageBox("환자등록번호를 정확히", "C001");
- return "";
- }
- }
- function cf_TRPMC02500(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function getBindDatasetName(aControl)
- {
- var datasetid = "";
- var columnid = "";
- for(var i = 0; i < this.binds.length; i++)
- {
- if(String(this.binds[i].compid).indexOf(aControl.name) >= 0){
- datasetid = this.binds[i].datasetid;
- columnid = this.binds[i].columnid;
- break;
- }
- }
-
- return datasetid;
- }
- function getBindColumnName(aControl)
- {
- var datasetid = "";
- var columnid = "";
- for(var i = 0; i < this.binds.length; i++)
- {
- if(String(this.binds[i].compid).indexOf(aControl.name) >= 0){
- datasetid = this.binds[i].datasetid;
- columnid = this.binds[i].columnid;
- break;
- }
- }
-
- return columnid;
- }
- /**
- * _desc : 환자등록번호 조회 팝업
- * _
- * _param : refPid - 환자번호 참고 node path
- * refPnm - 환자명 참고 node path
- * _return :
- * _authur : 이은영 2008.03.18
- * _---------------------------------------------------
- */
- function fGetPid(ref, refPid, refPnm)
- {
- //조회건수가 1건일 경우 팝업창을 바로 닫는다.
- dsf_makeValue( ds_hidden_tmp_pidpopupinfo, "checkfnexam", "string", "1");
- dsf_makeValue( ds_hidden_tmp_pidpopupinfo, "autoflag", "string", "N");
- if( ds_hidden_tmp_pidpopupinfo.getColumn(0, "srchcond") == '' ){
- dsf_makeValue( ds_hidden_tmp_pidpopupinfo, "srchcond", "string", '2');
- }
- var objArg = new Object();
- objArg.arg_ds_send = ds_hidden_tmp_pidpopupinfo;
- frmf_modal("SPPMC02500", "SPPMC02500", objArg, "", "1", "150", "150", "", "", "", "", "", "M");
- ds_source.clearData(); ds_source.addRow();
- //환자번호 copy
- //model.makeValue(refPid, ds_main_patinfo_patinfolist.getColumn(0, "pid"));
- eval(ref).setColumn( 0, refPid, ds_patinfolist.getColumn(0, "pid"));
- if (refPnm == null) { refPnm = "" }
- if (refPnm != "") {
- //model.makeValue(refPnm, ds_main_patinfo_patinfolist.getColumn(0, "hngnm"));
- eval(ref).setColumn( 0, refPnm, ds_patinfolist.getColumn(0, "hngnm"));
- }
- //model.refresh();
- }
- /**
- * _desc : 대출현황에서 신청일자 기간 콤보 보여줄까? 말까?
- * _
- * _param :
- * _return :
- * _authur : 이은영 2009.02.10
- * _---------------------------------------------------
- */
- function fTermDisabled(chkObj, fromddObj, toddObj)
- {
- var termdisabled = chkObj.value;
- if (termdisabled == "Y") {
- //model.setValue(fromddObj.attribute("ref"), utlf_getCurrentDate());
- //model.setValue(toddObj.attribute("ref") , utlf_getCurrentDate());
- var _ref1 = getBindDatasetName(fromddObj);
- var _ref1Columnid = getBindColumnName(fromddObj);
- var _ref2 = getBindDatasetName(toddObj);
- var _ref2Columnid = getBindColumnName(toddObj);
- eval(_ref1).setColumn(0, _ref1Columnid, utlf_getCurrentDate());
- eval(_ref2).setColumn(0, _ref2Columnid, utlf_getCurrentDate());
- fromddObj.enable = true;
- toddObj.enable = true;
- } else {
- //model.setValue(fromddObj.attribute("ref"), "19000101");
- //model.setValue(toddObj.attribute("ref") , utlf_getCurrentDate());
- var _ref1 = getBindDatasetName(fromddObj);
- var _ref1Columnid = getBindColumnName(fromddObj);
- var _ref2 = getBindDatasetName(toddObj);
- var _ref2Columnid = getBindColumnName(toddObj);
- eval(_ref1).setColumn(0, _ref1Columnid, "19000101");
- eval(_ref2).setColumn(0, _ref2Columnid, utlf_getCurrentDate());
-
- fromddObj.enable = false;
- toddObj.enable = false;
- }
- //fromddObj.refresh();
- //toddObj.refresh();
- }
- /**
- * _desc : 대출신쳥 목록에서 우클릭 메뉴 일괄변경 선택시 기본셋하기..
- * _
- * _param :
- * _return :
- * _authur : 이은영 2009.02.16
- * _---------------------------------------------------
- */
- function fCheckFlagDisabled1()
- {
- var ref = "ds_condition_updateapplist1";
- eval(ref).clearData();
- eval(ref).addRow();
- eval(ref).setColumn( 0, "chkrendcd" , "");
- eval(ref).setColumn( 0, "chklenddeptcd" , "");
- eval(ref).setColumn( 0, "chkmsgcnts" , "");
- eval(ref).setColumn( 0, "chkappmantelno", "");
- switch1.appchrt.grup_updateapplist1.cbo_renduse1.enable = false;
- switch1.appchrt.grup_updateapplist1.cbo_appdeptcd1.enable = false;
- switch1.appchrt.grup_updateapplist1.cbo_orddeptcd1.enable = false;
- switch1.appchrt.grup_updateapplist1.cbo_lendmanid1.enable = false;
- switch1.appchrt.grup_updateapplist1.ipt_msgcnts1.enable = false;
- switch1.appchrt.grup_updateapplist1.ipt_appmantelno1.enable = false;
- var rendcd = ds_init_lendsetitem_setitemlist.lookupExpr("lenduseyn == 'Y'", "rendcd");
- eval(ref).setColumn( 0, "rendcd" , rendcd);
- eval(ref).setColumn( 0, "appdeptcd" , "");
- eval(ref).setColumn( 0, "orddeptcd" , "");
- eval(ref).setColumn( 0, "centcd" , "");
- eval(ref).setColumn( 0, "lendmanid" , "");
- eval(ref).setColumn( 0, "msgcnts" , "");
- eval(ref).setColumn( 0, "appmantelno", "");
- //grup_updateapplist1.refresh();
- }
- /**
- * _desc : 대출신쳥 목록에서 우클릭 메뉴 일괄변경 선택시 기본셋하기..
- * _
- * _param :
- * _return :
- * _authur : 이은영 2009.02.16
- * _---------------------------------------------------
- */
- function fCheckFlagDisabled2()
- {
- var ref = "ds_condition_updateapplist2";
- eval(ref).clearData();
- eval(ref).addRow();
- eval(ref).setColumn( 0, "chkrendcd", "");
- eval(ref).setColumn( 0, "chklenddeptcd", "");
- eval(ref).setColumn( 0, "chkmsgcnts", "");
- eval(ref).setColumn( 0, "chkappmantelno", "");
- switch1.applist.grup_updateapplist2.cbo_renduse2.enable = false;
- switch1.applist.grup_updateapplist2.cbo_appdeptcd2.enable = false;
- switch1.applist.grup_updateapplist2.cbo_orddeptcd2.enable = false;
- switch1.applist.grup_updateapplist2.cbo_lendmanid2.enable = false;
- switch1.applist.grup_updateapplist2.ipt_msgcnts2.enable = false;
- switch1.applist.grup_updateapplist2.ipt_appmantelno2.enable = false;
- var rendcd = ds_init_lendsetitem_setitemlist.lookupExpr("lenduseyn == 'Y'", "rendcd");
- eval(ref).setColumn( 0, "rendcd", rendcd);
- eval(ref).setColumn( 0, "appdeptcd", "");
- eval(ref).setColumn( 0, "orddeptcd", "");
- eval(ref).setColumn( 0, "centcd", "");
- eval(ref).setColumn( 0, "lendmanid", "");
- eval(ref).setColumn( 0, "msgcnts", "");
- eval(ref).setColumn( 0, "appmantelno", "");
- //grup_updateapplist1.refresh();
- }
- /**
- * _desc : 체크여부에 따라 컨트롤 disabled 값 셋하기.. true / false
- * _
- * _param :
- * _return :
- * _authur : 이은영 2009.02.16
- * _---------------------------------------------------
- */
- function fDisabled(chkObj, Obj)
- {
- var disabled = chkObj.value;
- if (disabled == "Y") {
- Obj.enable = true;
- } else {
- Obj.enable = false;
- }
- //Obj.refresh();
- }
- /**
- * _desc : 팝업폼 보여주기..
- * _
- * _param : job - 0:대출신청 예정목록 (일괄수정)
- * _ 1:신청내역 리스트 (일괄수정)
- * _return :
- * _authur : 이은영 2009.02.16
- * _---------------------------------------------------
- */
- function fShowWndIptBox(job)
- {
- switch1.appchrt.grup_updateapplist1.visible = "false";
- switch1.applist.grup_updateapplist2.visible = "false";
-
- if (job == "0") {
- // 일괄 수정 항목 초기화..
- fCheckFlagDisabled1();
- var _height = switch1.appchrt.grup_updateapplist1.position.height;
- // 2009.02.16. 대출신청 예정목록 (일괄수정)
- if (m_clientY > 500) {
- switch1.appchrt.grup_updateapplist1.position.top = m_clientY-100;
- switch1.appchrt.grup_updateapplist1.position.height = _height;
- } else {
- switch1.appchrt.grup_updateapplist1.position.top = 500;
- switch1.appchrt.grup_updateapplist1.position.height = _height;
- }
- switch1.appchrt.grup_updateapplist1.visible = true;
- }
- if (job == "1") {
- // 일괄 수정 항목 초기화..
- fCheckFlagDisabled2();
- var _height = switch1.applist.grup_updateapplist2.position.height;
- // 2009.02.16. 신청내역 리스트 (일괄수정)
- if (m_clientY > 500) {
- switch1.applist.grup_updateapplist2.position.top = m_clientY-100;
- switch1.applist.grup_updateapplist2.position.height = _height;
- } else {
- switch1.applist.grup_updateapplist2.position.top = 500;
- switch1.applist.grup_updateapplist2.position.height = _height;
- }
- switch1.applist.grup_updateapplist2.visible = true;
- }
- }
- /**
- * _desc : 대출신청 예정목록 에서 신청내역 수정하기..
- * _
- * _param :
- * _return :
- * _authur : 이은영 2009.02.16
- * _---------------------------------------------------
- */
- function fmodify_applist()
- {
- var _row = switch1.appchrt.grd_appchrtlist.currentrow;
- if(_row < 0){
- return;
- }
- // 2009.02.16 대출신청 예정목록 에서 신청내역 수정하기..
- fShowWndIptBox("0");
- }
- /**
- * _desc : 신청내역 리스트 에서 신청내역 수정하기..
- * _
- * _param :
- * _return :
- * _authur : 이은영 2009.02.16
- * _---------------------------------------------------
- */
- function fupdate_applist()
- {
- var _row = switch1.applist.grd_applist.currentrow;
- if(_row < 0){
- return;
- }
- // 2009.02.16 신청내역 리스트 에서 신청내역 수정하기..
- fShowWndIptBox("1");
- }
- /**
- * _desc : 대출신청 예정목록 에서 신청내역 수정하기..
- * _
- * _param :
- * _return :
- * _authur : 이은영 2009.02.16
- * _---------------------------------------------------
- */
- function fModifyApplist()
- {
- var chkrendcd = ds_condition_updateapplist1.getColumn(0, "chkrendcd");
- var chklenddeptcd = ds_condition_updateapplist1.getColumn(0, "chklenddeptcd");
- var chkmsgcnts = ds_condition_updateapplist1.getColumn(0, "chkmsgcnts");
- var chkappmantelno = ds_condition_updateapplist1.getColumn(0, "chkappmantelno");
- var rendcd = ds_condition_updateapplist1.getColumn(0, "rendcd");
- var appdeptcd = ds_condition_updateapplist1.getColumn(0, "appdeptcd");
- var lendmanid = ds_condition_updateapplist1.getColumn(0, "lendmanid");
- var msgcnts = ds_condition_updateapplist1.getColumn(0, "msgcnts");
- var appmantelno = ds_condition_updateapplist1.getColumn(0, "appmantelno");
- // 2009.03.18. 진료과 , 센터 저장하기..
- var orddeptkind = ds_condition_updateapplist1.getColumn(0, "orddeptkind");
- var centcd = "-";
- if (orddeptkind == "C") {
- centcd = ds_condition_updateapplist1.getColumn(0, "appdeptcd");
- }
- var orddeptcd = ds_condition_updateapplist1.getColumn(0, "orddeptcd");
- // 2008.09.01. 차트신청시 [ 021:연구용, 022:임상연구용 ]
- // 전달메세지 : 반드시 전달메세지 (연구 제목 및 기타사항) 을 입력해 주십시오..
- if (rendcd == "021" || rendcd == "022"){
- msgcnts = String(msgcnts).trimLeft();
- msgcnts = String(msgcnts).trimRight();
-
- if (msgcnts.length == ""){
- alert("반드시 전달메세지 (연구 제목 및 기타사항) 을 입력해 주십시오..", "차트대출신청", 0 | 64);
- switch1.appchrt.grup_updateapplist1.ipt_msgcnts1.setFocus();
- return;
- }
- appmantelno = String(appmantelno).trimLeft();
- appmantelno = String(appmantelno).trimRight();
- if (appmantelno.length == ""){
- alert("반드시 연락처를 입력해 주십시오..", "차트대출신청", 0 | 64);
- switch1.appchrt.grup_updateapplist1.ipt_appmantelno1.setFocus();
- return;
- }
- }
- if (chklenddeptcd == "Y") {
- if (appdeptcd == "") {
- alert("대출과를 선택해 주십시오..", "차트대출신청", 0 | 64);
- switch1.appchrt.grup_updateapplist1.cbo_appdeptcd1.setFocus();
- return;
- }
- if (lendmanid == "") {
- alert("대출자를 선택해 주십시오..", "차트대출신청", 0 | 64);
- switch1.appchrt.grup_updateapplist1.cbo_lendmanid1.setFocus();
- return;
- }
- }
- // 2009.03.18. 대출과가 센터인 경우 진료과 선택 체킹하기...
- var orddeptkind = ds_condition_updateapplist1.getColumn(0, "orddeptkind");
- var orddeptcd = ds_condition_updateapplist1.getColumn(0, "orddeptcd");
- if (orddeptkind == "C" && orddeptcd == "-"){
- alert("대출과가 센터인 경우 진료과를 선택해주세요.", "차트대출신청", 0 | 64);
- switch1.appchrt.grup_updateapplist1.cbo_orddeptcd1.setFocus();
- return;
- }
- var ref = "ds_main_appchrt_appchrtlist";
- var gridObj = switch1.appchrt.grd_appchrtlist;
-
- var selectedRows = grdf_getSelectedRows(gridObj);
- // 선택된 항목에 대해서만 수정함..
- for(var i=0; i < selectedRows.length; i++)
- {
- var row = selectedRows[i];
- if (chkrendcd == "Y") {
- eval(ref).setColumn( row, "rendcd", rendcd);
- }
- if (chklenddeptcd == "Y") {
- eval(ref).setColumn( row, "appdeptcd", appdeptcd);
- var appdeptnm = ds_init_lendmastinfo_lenddeptlist.lookupExpr("lenddeptcd == '" + appdeptcd + "'", "lenddeptnm");
- eval(ref).setColumn( row, "appdeptnm", appdeptnm);
- // 2009.03.18. 진료과 , 센터 저장하기..
- eval(ref).setColumn( row, "orddeptcd", orddeptcd);
- var orddeptnm = ds_init_cntrsuborddeptlist1_dept.lookupExpr("deptcd == '" + orddeptcd + "'", "depthngnm");
- eval(ref).setColumn( row, "orddeptnm", orddeptnm);
- eval(ref).setColumn( row, "centcd", centcd);
- eval(ref).setColumn( row, "lendmanid", lendmanid);
- var lendman = ds_init_userlist1_userlist_usercombo.lookupExpr("userid == '" + lendmanid + "'", "usernm");
- eval(ref).setColumn( row, "lendman", lendman);
- }
- if (chkmsgcnts == "Y") {
- eval(ref).setColumn( row, "msgcnts", msgcnts);
- }
- if (chkappmantelno == "Y") {
- eval(ref).setColumn( row, "appmantelno", appmantelno);
- }
- }
- //model.refresh();
- switch1.appchrt.grup_updateapplist1.visible = "false";
- }
- /**
- * _desc : 신청내역 리스트 에서 신청내역 수정하기..
- * _
- * _param :
- * _return :
- * _authur : 이은영 2009.02.16
- * _---------------------------------------------------
- */
- function fUpdateApplist()
- {
- var chkrendcd = ds_condition_updateapplist2.getColumn(0, "chkrendcd");
- var chklenddeptcd = ds_condition_updateapplist2.getColumn(0, "chklenddeptcd");
- var chkmsgcnts = ds_condition_updateapplist2.getColumn(0, "chkmsgcnts");
- var chkappmantelno = ds_condition_updateapplist2.getColumn(0, "chkappmantelno");
- var rendcd = ds_condition_updateapplist2.getColumn(0, "rendcd");
- var appdeptcd = ds_condition_updateapplist2.getColumn(0, "appdeptcd");
- var lendmanid = ds_condition_updateapplist2.getColumn(0, "lendmanid");
- var msgcnts = ds_condition_updateapplist2.getColumn(0, "msgcnts");
- var appmantelno = ds_condition_updateapplist2.getColumn(0, "appmantelno");
- // 2009.03.18. 진료과 , 센터 저장하기..
- var orddeptkind = ds_condition_updateapplist2.getColumn(0, "orddeptkind");
- var centcd = "-";
- if (orddeptkind == "C") {
- centcd = ds_condition_updateapplist2.getColumn(0, "appdeptcd");
- }
- var orddeptcd = ds_condition_updateapplist2.getColumn(0, "orddeptcd");
- // 2009.03.18. 대출과가 센터인 경우 진료과 선택 체킹하기...
- if (orddeptkind == "C" && orddeptcd == "-"){
- alert("대출과가 센터인 경우 진료과를 선택해주세요.", "차트대출신청", 0 | 64);
- cbo_orddeptcd2.setFocus();
- return;
- }
- // 2008.09.01. 차트신청시 [ 021:연구용, 022:임상연구용 ]
- // 전달메세지 : 반드시 전달메세지 (연구 제목 및 기타사항) 을 입력해 주십시오..
- if (rendcd == "021" || rendcd == "022"){
- msgcnts = String(msgcnts).trimLeft();
- msgcnts = String(msgcnts).trimRight();
- if (msgcnts.length == ""){
- alert("반드시 전달메세지 (연구 제목 및 기타사항) 을 입력해 주십시오..", "차트대출신청", 0 | 64);
- switch1.applist.grup_updateapplist2.ipt_msgcnts2.setFocus();
- return;
- }
- appmantelno = String(appmantelno).trimLeft();
- appmantelno = String(appmantelno).trimRight();
- if (appmantelno.length == ""){
- alert("반드시 연락처를 입력해 주십시오..", "차트대출신청", 0 | 64);
- ipt_appmantelno2.setFocus();
- return;
- }
- }
- if (chklenddeptcd == "Y") {
- if (appdeptcd == "") {
- alert("대출과를 선택해 주십시오..", "차트대출신청", 0 | 64);
- cbo_appdeptcd2.setFocus();
- return;
- }
- if (lendmanid == "") {
- alert("대출자를 선택해 주십시오..", "차트대출신청", 0 | 64);
- cbo_lendmanid2.setFocus();
- return;
- }
- }
- // 2009.02.05. 의사 아이디로 차트신청시 전달메세지, 연락처 항목을 필수 입력항목으로 체킹한다.
- // 의사 : 03, 04, 05, 06
- // 간호사 : 11
- // 연구원, 연구직 : 0750, 0751 => 의사
- // 조교 : 0410 => 기타
- var jobkindcd = sysf_getUserInfo("jobkindcd");
- var drflag = "N";
- var nursflag = "N";
- if (jobkindcd == "0410") {
- drflag = "N";
- } else if (jobkindcd == "0750" || jobkindcd == "0750" ) {
- drflag = "Y";
- } else if (jobkindcd.substring(0,2) == "03" || jobkindcd.substring(0,2) == "04" ||
- jobkindcd.substring(0,2) == "05" || jobkindcd.substring(0,2) == "06" ) {
- drflag = "Y";
- } else if (jobkindcd.substring(0,2) == "11") {
- nursflag = "Y";
- }
- if (drflag == "Y" || nursflag == "Y") {
- // 2009.03.02. 차트신청시 [ 003:접수외대출, 021:연구용, 022:임상연구용, 099:기타대출 ]
- // 전달메세지 : 반드시 전달메세지 (연구 제목 및 기타사항) 을 입력해 주십시오..
- if (rendcd == "003" || rendcd == "022" || rendcd == "021" || rendcd == "099"){
- msgcnts = String(msgcnts).trimLeft();
- msgcnts = String(msgcnts).trimRight();
- if (msgcnts.length == ""){
- alert("반드시 전달메세지 (연구 제목 및 신청사유) 을 입력해 주십시오.." + jobkindcd, "차트대출신청", 0 | 64);
- switch1.applist.grup_updateapplist2.ipt_msgcnts2.setFocus();
- return;
- }
- }
- if (chkappmantelno == "Y") {
- appmantelno = String(appmantelno).trimLeft();
- appmantelno = String(appmantelno).trimRight();
-
- if (appmantelno.length == ""){
- alert("반드시 연락처를 입력해 주십시오.." + jobkindcd, "차트대출신청", 0 | 64);
- ipt_apptelno2.setFocus();
- return;
- }
- }
- }
- var ref = "ds_main_applist";
- var gridObj = switch1.lendlist.grd_lendlist;
- var savedata = "m▦chrtseqno▦rendcd▦appdeptcd▦lendmanid▦chkmsgcnts▦msgcnts▦chkappmantelno▦appmantelno▦orddeptcd▦centcd▩";
- var dataString = "";
- var dataCount = 0;
- if (chkrendcd != "Y") {
- rendcd = "";
- }
- if (chklenddeptcd != "Y") {
- appdeptcd = "";
- lendmanid = "";
- }
- // 선택되어 있는 행들을 신청 수정한다...
- var selectedRows = grdf_getSelectedRows(gridObj);
-
- for( var i=0; i < selectedRows.length; i++)
- {
- var row = selectedRows[i];
- var chrtseqno = eval(ref).getColumn(row, chrtseqno);
- dataString = dataString + "u▦" + chrtseqno + "▦" + rendcd + "▦" + appdeptcd + "▦" + lendmanid + "▦";
- dataString = dataString + chkmsgcnts + "▦" + msgcnts + "▦" + chkappmantelno + "▦" + appmantelno + "▦" + orddeptcd + "▦" + centcd + "▩";
- dataCount = dataCount + 1;
- }
- if (dataString.length > 0)
- {
- //dsf_makeValue( ds_send, "savedata", "string", savedata + dataString);
- dsf_setCSVToDs("ds_send_savedata",savedata + dataString);
- grdf_setStatusColumn(ds_send_savedata, "status");
- dsf_setFixVal(ds_send_savedata, "status:u");
-
-
- var oParam = {};
- oParam.id = "TXMRC00320";
- oParam.service = "chrtmngtapp.ChrtRendMngt";
- oParam.method = "reqExeAppHist";
- oParam.inds = "req=ds_send_savedata";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TXMRC00320";
- tranf_submit(oParam);
- /*
- function cf_TXMRC00320(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TXMRC00320(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TXMRC00320") > -1
- arErrorCode.pop("TXMRC00320") < 0
- */
- // 다시 조회하기..
- fGetAppList();
- }
- switch1.applist.grup_updateapplist2.visible = "false";
- }
- /**
- * _desc : excel 저장 하기
- * _
- * _param :
- * _return :
- * _authur : 이은영 2008.07.14
- * _---------------------------------------------------
- */
- function fExcel(gridObj, title){
- grdf_exportExcel(gridObj, "Sheet1", title, false, "" , 'user' , true);
- }
- /**
- * _desc : 하드코드 조회
- * _
- * _param : ref - reference path
- * rsltref - result reference path
- * hardcd - 하드코드
- * _return :
- * _author : 오지훈
- * _---------------------------------------------------
- */
- function mmbfGetHardCodeInfo(ref, rsltref, hardcd){
- var mmb_rsltref = "ds_hidden_mmb_hardcd";
- eval(mmb_rsltref).clearData();
- eval(mmb_rsltref).addRow();
- eval(ref).clearData();
- //model.makeValue(ref + "_hardcd", hardcd);
- eval(ref).setColumn(0, hardcd, hardcd);
-
- // if(submit("TRMMB04103", "false", ref, mmb_rsltref)==true){
-
- var oParam = {};
- oParam.id = "TRMMB04103";
- oParam.service = "prcpbaseapp.EnvInfoMngt";
- oParam.method = "reqGetHardCodeCD";
- oParam.inds = "req=" + ref + "";
- oParam.outds = "" + mmb_rsltref + "=hardcd";
- oParam.async = false;
- oParam.callback = "cf_TRMMB04103";
- tranf_submit(oParam);
- if(arErrorCode.pop("TRMMB04103") > -1) {
- eval(rsltref).copyData(eval(mmb_rsltref));
- eval(mmb_rsltref).clearData();
- }
- //model.refresh();
- }
- function cf_TRMMB04103(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- //----
- // SMMRC00300 끝
- //----
- function fn_cb_chkrendcd1(){
- var getData = switch1.appchrt.grup_updateapplist1.chkrendcd1.getData();
- this.ds_condition_updateapplist1.setColumn(0, "chkrendcd", getData );
- fn_check_chkrendcd1();
- }
- function fn_cb_chklenddeptcd1() {
- var getData = switch1.appchrt.grup_updateapplist1.chklenddeptcd1.getData();
- this.ds_condition_updateapplist1.setColumn(0, "chklenddeptcd", getData );
- fn_check_chklenddeptcd1();
- }
- function fn_cb_chkmsgcnts1() {
- var getData = switch1.appchrt.grup_updateapplist1.chkmsgcnts1.getData();
- this.ds_condition_updateapplist1.setColumn(0, "chkmsgcnts", getData );
- fn_check_chkmsgcnts1();
- }
- function fn_cb_chkappmantelno1() {
- var getData = switch1.appchrt.grup_updateapplist1.chkappmantelno1.getData();
- this.ds_condition_updateapplist1.setColumn(0, "chkappmantelno", getData );
- fn_check_chkappmantelno1();
- }
- function fn_cb_chkrendcd2() {
- var getData = switch1.applist.grup_updateapplist2.chkrendcd2.getData();
- this.ds_condition_updateapplist2.setColumn(0, "chkrendcd", getData );
- fn_check_chkrendcd2();
- }
- function fn_cb_chklenddeptcd2() {
- var getData = switch1.applist.grup_updateapplist2.chklenddeptcd2.getData();
- this.ds_condition_updateapplist2.setColumn(0, "chklenddeptcd", getData );
- fn_check_chklenddeptcd2();
- }
- function fn_cb_chkmsgcnts2() {
- var getData = switch1.applist.grup_updateapplist2.chkmsgcnts2.getData();
- this.ds_condition_updateapplist2.setColumn(0, "chkmsgcnts", getData );
- fn_check_chkmsgcnts2();
- }
- function fn_cb_chkappmantelno2() {
- var getData = switch1.applist.grup_updateapplist2.chkappmantelno2.getData();
- this.ds_condition_updateapplist2.setColumn(0, "chkappmantelno", getData );
- fn_check_chkappmantelno2();
- }
- function fn_check_chkrendcd1() {
- var arr = String(switch1.appchrt.grup_updateapplist1.chkrendcd1.getData()).split(",");
-
- for(var i = 0; i < arr.length; i++)
- {
- if(arr[i] == "Y")
- {
- switch1.appchrt.grup_updateapplist1.cbo_renduse1.enable = true;
- }
- else
- {
- switch1.appchrt.grup_updateapplist1.cbo_renduse1.enable = false;
- }
- }
- }
- function fn_check_chklenddeptcd1() {
- var arr = String(switch1.appchrt.grup_updateapplist1.chklenddeptcd1.getData()).split(",");
- for(var i = 0; i < arr.length; i++)
- {
- if(arr[i] == "Y")
- {
- switch1.appchrt.grup_updateapplist1.cbo_appdeptcd1.enable = true;
- switch1.appchrt.grup_updateapplist1.cbo_orddeptcd1.enable = true;
- switch1.appchrt.grup_updateapplist1.cbo_lendmanid1.enable = true;
- }
- else
- {
- switch1.appchrt.grup_updateapplist1.cbo_appdeptcd1.enable = false;
- switch1.appchrt.grup_updateapplist1.cbo_orddeptcd1.enable = false;
- switch1.appchrt.grup_updateapplist1.cbo_lendmanid1.enable = false;
- }
- }
-
- }
- function fn_check_chkmsgcnts1() {
- var arr = String(switch1.appchrt.grup_updateapplist1.chkmsgcnts1.getData()).split(",");
- for(var i = 0; i < arr.length; i++)
- {
- if(arr[i] == "Y")
- {
- switch1.appchrt.grup_updateapplist1.ipt_msgcnts1.enable = true;
- }
- else
- {
- switch1.appchrt.grup_updateapplist1.ipt_msgcnts1.enable = false;
- }
- }
-
- }
- function fn_check_chkappmantelno1() {
- var arr = String(switch1.appchrt.grup_updateapplist1.chkappmantelno1.getData()).split(",");
- for(var i = 0; i < arr.length; i++)
- {
- if(arr[i] == "Y")
- {
- switch1.appchrt.grup_updateapplist1.ipt_appmantelno1.enable = true;
- }
- else
- {
- switch1.appchrt.grup_updateapplist1.ipt_appmantelno1.enable = false;
- }
- }
- }
- function fn_check_chkrendcd2() {
- var arr = String(switch1.applist.grup_updateapplist2.chkrendcd2.getData()).split(",");
- for(var i = 0; i < arr.length; i++)
- {
- if(arr[i] == "Y")
- {
- switch1.applist.grup_updateapplist2.cbo_renduse2.enable = true;
- }
- else
- {
- switch1.applist.grup_updateapplist2.cbo_renduse2.enable = false;
- }
- }
-
- }
- function fn_check_chklenddeptcd2() {
- var arr = String(switch1.applist.grup_updateapplist2.chklenddeptcd2.getData()).split(",");
-
- for(var i = 0; i < arr.length; i++)
- {
- if(arr[i] == "Y")
- {
- switch1.applist.grup_updateapplist2.cbo_appdeptcd2.enable = true;
- switch1.applist.grup_updateapplist2.cbo_orddeptcd2.enable = true;
- switch1.applist.grup_updateapplist2.cbo_lendmanid2.enable = true;
- }
- else
- {
- switch1.applist.grup_updateapplist2.cbo_appdeptcd2.enable = false;
- switch1.applist.grup_updateapplist2.cbo_orddeptcd2.enable = true;
- switch1.applist.grup_updateapplist2.cbo_lendmanid2.enable = true;
- }
- }
- }
- function fn_check_chkmsgcnts2() {
- var arr = String(switch1.applist.grup_updateapplist2.chkmsgcnts2.getData()).split(",");
- for(var i = 0; i < arr.length; i++)
- {
- if(arr[i] == "Y")
- {
- switch1.applist.grup_updateapplist2.ipt_msgcnts2.enable = true;
- }
- else
- {
- switch1.applist.grup_updateapplist2.ipt_msgcnts2.enable = false;
- }
- }
- }
- function fn_check_chkappmantelno2() {
- var arr = String(switch1.applist.grup_updateapplist2.chkappmantelno2.getData()).split(",");
- for(var i = 0; i < arr.length; i++)
- {
- if(arr[i] == "Y")
- {
- switch1.applist.grup_updateapplist2.ipt_appmantelno2.enable = true;
- }
- else
- {
- switch1.applist.grup_updateapplist2.ipt_appmantelno2.enable = false;
- }
- }
-
- }
- function fn_setChkrendcd1(){
- var getData = String(ds_condition_updateapplist1.getColumn(0, "chkrendcd")).split(",");
- if( !utlf_isNull(getData) ){
- switch1.appchrt.grup_updateapplist1.chkrendcd1.setData(getData);
- }
- else{
- switch1.appchrt.grup_updateapplist1.chkrendcd1.setCheckAll(false);
- }
- //fn_check_chkrendcd1();
- }
- function fn_setChklenddeptcd1(){
- var getData = String(ds_condition_updateapplist1.getColumn(0, "chklenddeptcd")).split(",");
- if( !utlf_isNull(getData) ){
- switch1.appchrt.grup_updateapplist1.chklenddeptcd1.setData(getData);
- }
- else{
- switch1.appchrt.grup_updateapplist1.chklenddeptcd.setCheckAll(false);
- }
- //fn_check_chklenddeptcd1();
- }
- function fn_setChkmsgcnts1(){
- var getData = String(ds_condition_updateapplist1.getColumn(0, "chkmsgcnts")).split(",");
- if( !utlf_isNull(getData) ){
- switch1.appchrt.grup_updateapplist1.chkmsgcnts1.setData(getData);
- }
- else{
- switch1.appchrt.grup_updateapplist1.chkmsgcnts1.setCheckAll(false);
- }
- //fn_check_chkmsgcnts1();
- }
- function fn_setChkappmantelno1(){
- var getData = String(ds_condition_updateapplist1.getColumn(0, "chkappmantelno")).split(",");
- if( !utlf_isNull(getData) ){
- switch1.appchrt.grup_updateapplist1.chkappmantelno1.setData(getData);
- }
- else{
- switch1.appchrt.grup_updateapplist1.chkappmantelno1.setCheckAll(false);
- }
- //fn_check_chkappmantelno1();
- }
- function fn_setChkrendcd2(){
- var getData = String(ds_condition_updateapplist2.getColumn(0, "chkrendcd")).split(",");
- if( !utlf_isNull(getData) ){
- switch1.applist.grup_updateapplist2.chkrendcd2.setData(getData);
- }
- else{
- switch1.applist.grup_updateapplist2.chkrendcd2.setCheckAll(false);
- }
- //fn_check_chkrendcd2();
- }
- function fn_setChklenddeptcd2(){
- var getData = String(ds_condition_updateapplist2.getColumn(0, "chklenddeptcd")).split(",");
- if( !utlf_isNull(getData) ){
- switch1.applist.grup_updateapplist2.chklenddeptcd2.setData(getData);
- }
- else{
- switch1.applist.grup_updateapplist2.chklenddeptcd2.setCheckAll(false);
- }
- //fn_check_chklenddeptcd2();
- }
- function fn_setChkmsgcnts2(){
- var getData = String(ds_condition_updateapplist2.getColumn(0, "chkmsgcnts")).split(",");
- if( !utlf_isNull(getData) ){
- switch1.applist.grup_updateapplist2.chkmsgcnts2.setData(getData);
- }
- else{
- switch1.applist.grup_updateapplist2.chkmsgcnts2.setCheckAll(false);
- }
- //fn_check_chkmsgcnts2();
- }
- function fn_setChkappmantelno2(){
- var getData = String(ds_condition_updateapplist2.getColumn(0, "chkappmantelno")).split(",");
- if( !utlf_isNull(getData) ){
- switch1.applist.grup_updateapplist2.chkappmantelno2.setData(getData);
- }
- else{
- switch1.applist.grup_updateapplist2.chkappmantelno2.setCheckAll(false);
- }
- //fn_check_chkappmantelno2();
- }
- function fCheckBoxListInit()
- {
- /* appchrt.grup_updateapplist1 에 존재함*/
- var sProp1="col=1,row=1,cellspacing=5,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow=''"; // 형태 정의
- switch1.appchrt.grup_updateapplist1.chkrendcd1.setInitComp(sProp1, this.ds_cbxlist_chkrendcd1, "codecolumn", "datacolumn", "fn_cb_chkrendcd1");
- fn_setChkrendcd1();
-
- var sProp2="col=1,row=1,cellspacing=5,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow=''"; // 형태 정의
- switch1.appchrt.grup_updateapplist1.chklenddeptcd1.setInitComp(sProp1, this.ds_cbxlist_chklenddeptcd1, "codecolumn", "datacolumn", "fn_cb_chklenddeptcd1");
- fn_setChklenddeptcd1();
-
- var sProp3="col=1,row=1,cellspacing=5,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow=''"; // 형태 정의
- switch1.appchrt.grup_updateapplist1.chkmsgcnts1.setInitComp(sProp1, this.ds_cbxlist_chkmsgcnts1, "codecolumn", "datacolumn", "fn_cb_chkmsgcnts1");
- fn_setChkmsgcnts1();
-
- var sProp4="col=1,row=1,cellspacing=5,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow=''"; // 형태 정의
- switch1.appchrt.grup_updateapplist1.chkappmantelno1.setInitComp(sProp1, this.ds_cbxlist_chkappmantelno1, "codecolumn", "datacolumn", "fn_cb_chkappmantelno1");
- fn_setChkappmantelno1();
-
-
- /* applist.grup_updateapplist2 에 존재함*/
- var sProp5="col=1,row=1,cellspacing=5,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow=''"; // 형태 정의
- switch1.applist.grup_updateapplist2.chkrendcd2.setInitComp(sProp1, this.ds_cbxlist_chkrendcd2, "codecolumn", "datacolumn", "fn_cb_chkrendcd2");
- fn_setChkrendcd2();
-
- var sProp6="col=1,row=1,cellspacing=5,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow=''"; // 형태 정의
- switch1.applist.grup_updateapplist2.chklenddeptcd2.setInitComp(sProp1, this.ds_cbxlist_chklenddeptcd2, "codecolumn", "datacolumn", "fn_cb_chklenddeptcd2");
- fn_setChklenddeptcd2();
-
-
- var sProp7="col=1,row=1,cellspacing=5,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow=''"; // 형태 정의
- switch1.applist.grup_updateapplist2.chkmsgcnts2.setInitComp(sProp1, this.ds_cbxlist_chkmsgcnts2, "codecolumn", "datacolumn", "fn_cb_chkmsgcnts2");
- fn_setChkmsgcnts2();
-
-
- var sProp8="col=1,row=1,cellspacing=5,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow=''"; // 형태 정의
- switch1.applist.grup_updateapplist2.chkappmantelno2.setInitComp(sProp1, this.ds_cbxlist_chkappmantelno2, "codecolumn", "datacolumn", "fn_cb_chkappmantelno2");
- fn_setChkappmantelno2();
-
-
- }
- function SMMRC00300_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- grdf_initGrid(this.switch1.appchrt.grd_appchrtlist);
- grdf_initGrid(this.switch1.appchrt.grd_chrtlist);
- grdf_initGrid(this.switch1.appchrt.grd_emrlist);
- grdf_initGrid(this.switch1.applist.grd_applist);
- grdf_initGrid(this.switch1.lendlist.grd_lendlist);
-
-
- fCheckBoxListInit();
-
- fFormInit();
- }
- function switch1_appchrt_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo) {
- if(e.keycode == 13) {
- // model.setFocus(controlID);
- //인풋에 ref 노드에 현재.text setValue
- //setInputNodeCurText();
- obj.updateToDataset();
- fGetChrtList();
- }
- }
- function switch1_appchrt_ipt_pid_onkillfocus(obj:Edit, e:KillFocusEventInfo) {
- //setInputNodeCurText();
- obj.updateToDataset();
- }
- function switch1_appchrt_btn_x_appchrt_onclick(obj:Button, e:ClickEventInfo) {
- fSetAppChrtList();
- }
- function switch1_appchrt_btn_addlist_onclick(obj:Button, e:ClickEventInfo) {
- fAddChrtList();
- }
- function switch1_appchrt_grd_appchrtlist_onkillfocus(obj:Grid, e:KillFocusEventInfo) {
- //window.setPopupMenu(false);
- }
- function switch1_appchrt_button61_onclick(obj:Button, e:ClickEventInfo) {
- fGetPid("ds_condition", "pid", "patnm");
- switch1_appchrt_btn_r_chrtsearch_onclick(null, null);
- }
- function switch1_appchrt_btn_r_chrtsearch_onclick(obj:Button, e:ClickEventInfo) {
- fGetChrtList();
- }
- function switch1_appchrt_ipt_renddd_onkillfocus(obj:Calendar, e:KillFocusEventInfo) {
- fSetRtnSchedd();
- }
- function switch1_appchrt_ipt_apptelno_onkillfocus(obj:Edit, e:KillFocusEventInfo) {
- obj.updateToDataset();
- }
- function switch1_appchrt_ipt_msgcnts_onkillfocus(obj:Edit, e:KillFocusEventInfo) {
- //setInputNodeCurText();
- obj.updateToDataset();
- }
- function switch1_appchrt_btn_searchlendman_onclick(obj:Button, e:ClickEventInfo) {
- fGetUserid("ds_condition", "lendmanid","lendman", "", switch1.appchrt.cmb_orddrid);
- }
- function switch1_appchrt_grup_updateapplist1_button11_onclick(obj:Button, e:ClickEventInfo) {
- switch1.appchrt.grup_updateapplist1.visible = "false";
- }
- function switch1_appchrt_grup_updateapplist1_button13_onclick(obj:Button, e:ClickEventInfo) {
- fModifyApplist();
- }
- function switch1_appchrt_grup_updateapplist1_button7_onclick(obj:Button, e:ClickEventInfo) {
- fGetUserid("ds_condition_updateapplist1", "lendmanid", "lendman", "", switch1.appchrt.grup_updateapplist1.cbo_lendmanid1);
- }
- function switch1_appchrt_grup_updateapplist1_ipt_msgcnts1_onkillfocus(obj:Edit, e:KillFocusEventInfo) {
- obj.updateToDataset();
- }
- function switch1_appchrt_grup_updateapplist1_ipt_appmantelno1_onkillfocus(obj:Edit, e:KillFocusEventInfo) {
- obj.updateToDataset();
- }
- function switch1_appchrt_grup_updateapplist1_chkrendcd1_onkillfocus(obj:cp_checkbox, e:KillFocusEventInfo) {
- fDisabled(switch1.appchrt.grup_updateapplist1.chkrendcd1, switch1.appchrt.grup_updateapplist1.cbo_renduse1);
- }
- function switch1_appchrt_grup_updateapplist1_chklenddeptcd1_onkillfocus(obj:cp_checkbox, e:KillFocusEventInfo) {
- fDisabled(switch1.appchrt.grup_updateapplist1.chklenddeptcd1, switch1.appchrt.grup_updateapplist1.cbo_appdeptcd1);
- fDisabled(switch1.appchrt.grup_updateapplist1.chklenddeptcd1, switch1.appchrt.grup_updateapplist1.cbo_orddeptcd1);
- fDisabled(switch1.appchrt.grup_updateapplist1.chklenddeptcd1, switch1.appchrt.grup_updateapplist1.cbo_lendmanid1);
- }
- function switch1_appchrt_grup_updateapplist1_chkmsgcnts1_onkillfocus(obj:cp_checkbox, e:KillFocusEventInfo) {
- fDisabled(switch1.appchrt.grup_updateapplist1.chkmsgcnts1, switch1.appchrt.grup_updateapplist1.ipt_msgcnts1);
- }
- function switch1_appchrt_grup_updateapplist1_chkappmantelno1_onkillfocus(obj:cp_checkbox, e:KillFocusEventInfo) {
- fDisabled(switch1.appchrt.grup_updateapplist1.chkappmantelno1, switch1.appchrt.grup_updateapplist1.ipt_appmantelno1);
- }
- function switch1_applist_grd_applist_onmousedown(obj:Grid, e:GridMouseEventInfo){
- //fMouseRghtBtnPopup(switch1.lendlist.grd_lendlist, "2", e); // 2: 신청내역
- }
- function switch1_applist_grd_applist_onkillfocus(obj:Grid, e:KillFocusEventInfo) {
- //window.setPopupMenu(false);
- }
- function switch1_applist_btn_x_appsearch_onclick(obj:Button, e:ClickEventInfo) {
- fGetAppList();
- }
- function switch1_applist_button4_onclick(obj:Button, e:ClickEventInfo) {
- fExcel(switch1.applist.grd_applist, "신청내역");
- }
- function switch1_applist_button5_onclick(obj:Button, e:ClickEventInfo) {
- fGetUserid("ds_condition_applist", "lendmanid","lendman");
- }
- function switch1_applist_button6_onclick(obj:Button, e:ClickEventInfo) {
- fGetUserid("ds_condition_applist", "appmanid","appman");
- }
- function switch1_applist_input1_onkillfocus(obj:Edit, e:KillFocusEventInfo) {
- var lendmanid = ds_condition_applist.getColumn(0, "lendmanid");
- if (lendmanid == "") {
- ds_condition_applist.setColumn( 0, "lendman", "");
- //switch1.applist.//ipt_lendman.refresh();
- }
- }
- function switch1_applist_input4_onkillfocus(obj:Edit, e:KillFocusEventInfo) {
- var appmanid = ds_condition_applist.getColumn(0, "appmanid");
- if (appmanid == "") {
- ds_condition_applist.setColumn( 0, "appman", "");
- //switch1.applist.//ipt_appman.refresh();
- }
- }
- function switch1_applist_btn_p_applist_onclick(obj:Button, e:ClickEventInfo) {
- //exeReportPreview("RPMRC00301", "XMLSTR");
- var objDOM = rptf_createDOM();
- var objParam = new Object();
- rptf_setNodeListToDOM(objDOM, "/root/main/applist" , ds_main_applist);
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
- rptf_exeReportPreview30(["RPMRC00301"],[objParam], option);
- }
- function switch1_applist_grup_updateapplist2_button8_onclick(obj:Button, e:ClickEventInfo) {
- switch1.applist.grup_updateapplist2.visible = "false";
- }
- function switch1_applist_grup_updateapplist2_button9_onclick(obj:Button, e:ClickEventInfo) {
- fUpdateApplist();
- }
- function switch1_applist_grup_updateapplist2_button10_onclick(obj:Button, e:ClickEventInfo) {
- fGetUserid("ds_condition_updateapplist2", "lendmanid", "lendman", "", switch1.applist.grup_updateapplist2.cbo_lendmanid2);
- }
- function switch1_applist_grup_updateapplist2_ipt_msgcnts2_onkillfocus(obj:Edit, e:KillFocusEventInfo) {
- obj.updateToDataset();
- }
- function switch1_applist_grup_updateapplist2_ipt_appmantelno2_onkillfocus(obj:Edit, e:KillFocusEventInfo) {
- obj.updateToDataset();
- }
- function switch1_applist_grup_updateapplist2_chkrendcd2_onkillfocus(obj:cp_checkbox, e:KillFocusEventInfo) {
- fDisabled(switch1.applist.grup_updateapplist2.chkrendcd2, switch1.applist.grup_updateapplist2.cbo_renduse2);
- }
- function switch1_applist_grup_updateapplist2_chklenddeptcd2_onkillfocus(obj:cp_checkbox, e:KillFocusEventInfo) {
- fDisabled(switch1.applist.grup_updateapplist2.chklenddeptcd2, switch1.applist.grup_updateapplist2.cbo_appdeptcd2);
- fDisabled(switch1.applist.grup_updateapplist2.chklenddeptcd2, switch1.applist.grup_updateapplist2.cbo_lendmanid2);
- }
- function switch1_applist_grup_updateapplist2_chkmsgcnts2_onkillfocus(obj:cp_checkbox, e:KillFocusEventInfo) {
- fDisabled(switch1.applist.grup_updateapplist2.chkmsgcnts2, switch1.applist.grup_updateapplist2.ipt_msgcnts2);
- }
- function switch1_applist_grup_updateapplist2_chkappmantelno2_onkillfocus(obj:cp_checkbox, e:KillFocusEventInfo) {
- fDisabled(switch1.applist.grup_updateapplist2.chkappmantelno2, switch1.applist.grup_updateapplist2.ipt_appmantelno2);
- }
- function switch1_lendlist_button1_onclick(obj:Button, e:ClickEventInfo) {
- fGetLendList();
- }
- function switch1_lendlist_btn_e_rendlist_onclick(obj:Button, e:ClickEventInfo) {
- fExcel(switch1.lendlist.grd_lendlist, "차트대출현황");
- }
- function switch1_lendlist_btn_save_onclick(obj:Button, e:ClickEventInfo) {
- frmf_modal("SMMRC02800", "SMMRC02800", "", "", "", "", "", "", "", "", "", "", "M");
- }
- function switch1_lendlist_button2_onclick(obj:Button, e:ClickEventInfo) {
- //fGetUserid("ds_condition_lendlist_lendmanid","ds_condition_lendlist_lendman");
- fGetUserid("ds_condition_lendlist", "lendmanid","lendman");
- }
- function switch1_lendlist_ipt_lendmanid2_onkillfocus(obj:Edit, e:KillFocusEventInfo) {
- var lendmanid = ds_condition_lendlist.getColumn(0, "lendmanid");
- if (lendmanid == "") {
- ds_condition_lendlist.setColumn( 0, "lendman", "");
- //switch1.lendlist.//ipt_lendman2.refresh();
- }
- }
- function switch1_lendlist_ipt_appmanid2_onkillfocus(obj:Edit, e:KillFocusEventInfo) {
- var appmanid = ds_condition_lendlist.getColumn(0, "appmanid");
- if (appmanid == "") {
- ds_condition_lendlist.setColumn( 0, "appman", "");
- //switch1.lendlist.//ipt_appman2.refresh();
- }
- }
- function switch1_lendlist_button3_onclick(obj:Button, e:ClickEventInfo) {
- fGetUserid("ds_condition_lendlist", "appmanid","appman");
- }
- function switch1_lendlist_chk_appdisabled2_onkillfocus(obj:cp_checkbox, e:KillFocusEventInfo) {
- //fTermDisabled(chk_appdisabled2, ipt_appfromdd2, ipt_apptodd2);
- }
- function switch1_lendlist_btn_p_lendlist_onclick(obj:Button, e:ClickEventInfo) {
- //exeReportPreview("RPMRC00302", "XMLSTR");
- var objDOM = rptf_createDOM();
- var objParam = new Object();
- rptf_setNodeListToDOM(objDOM, "/root/main/lendlist" , ds_main_lendlist);
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
- rptf_exeReportPreview30(["RPMRC00302"],[objParam], option);
-
- }
- function switch1_applist_line20_onclick(obj:Shape, e:ClickEventInfo)
- {
-
- }
- function switch1_applist_combo3_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fSetRtnSchedd();
- }
- function switch1_applist_grup_updateapplist2_cbo_renduse2_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- // 2009.02.16. 대출용도 에 따라 전달메세지 -> 연구용제목 으로 변경한다...
- var rendcd = ds_condition_updateapplist2.getColumn(0, "rendcd");
- if (rendcd == '021' || rendcd == '022') {
- ds_hidden.setColumn( 0, "caption2", "연구용제목 :");
- //switch1.applist.grup_updateapplist2.//cap_msgcnts2.refresh();
- switch1.applist.grup_updateapplist2.chkmsgcnts2.value = "Y";
- switch1.applist.grup_updateapplist2.chkappmantelno2.value = "Y";
- } else {
- ds_hidden.setColumn( 0, "caption2", "전달메세지 :");
- //switch1.applist.grup_updateapplist2.//cap_msgcnts2.refresh();
- switch1.applist.grup_updateapplist2.chkmsgcnts2.value = "";
- switch1.applist.grup_updateapplist2.chkappmantelno2.value = "";
- }
- ds_condition_updateapplist2.setColumn( 0, "msgcnts", "");
- ds_condition_updateapplist2.setColumn( 0, "appmantelno", "");
- fDisabled(chkmsgcnts2, switch1.applist.grup_updateapplist2.ipt_msgcnts2);
- fDisabled(chkappmantelno2, ipt_appmantelno2);
- }
- function switch1_applist_grup_updateapplist2_cbo_appdeptcd2_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- // 2009.03.30 대출자명 초기화 해주기..
- ds_condition_updateapplist2.setColumn( 0, "lendmanid", "");
- var orddeptcd = switch1.applist.grup_updateapplist2.cbo_appdeptcd2.value;
- fGetUserComboList("ds_send_userlist", "ds_init_userlist2", orddeptcd, '0330', '');
- // 2009.03.18 센터 선택시 진료과 리스트 조회..
- var orddeptkind = ds_init_lendmastinfo_lenddeptlist.lookupExpr("lenddeptcd == '" + orddeptcd + "'", "orddeptkind");
- ds_condition_updateapplist2.setColumn( 0, "orddeptkind", orddeptkind);
- if (orddeptkind == "C") {
- zsufGetCntrSubOrdDepartmentList(sysf_getUserInfo("posinstcd"), orddeptcd, 'O', "ds_init_cntrsuborddeptlist1_dept", utlf_getCurrentDate());
- switch1.applist.grup_updateapplist2.cbo_orddeptcd2.enable = true;
- } else {
- switch1.applist.grup_updateapplist2.cbo_orddeptcd2.enable = false;
- }
- ds_condition_updateapplist2.setColumn( 0, "orddeptcd", "-");
- //switch1.applist.grup_updateapplist2.//cbo_orddeptcd2.refresh();
- }
- function switch1_applist_grup_updateapplist2_cbo_orddeptcd2_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- var orddeptcd = switch1.applist.grup_updateapplist2.cbo_orddeptcd2.value;
- if (orddeptcd != "") {
- // 2009.03.30 대출자명 초기화 해주기..
- ds_condition_updateapplist2.setColumn( 0, "lendmanid", "");
- fGetUserComboList("ds_send_userlist", "ds_init_userlist2", orddeptcd, '0330', '');
- }
- }
- function switch1_appchrt_cmb_appdeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- // 2009.03.30 대출자명 초기화 해주기..
- ds_condition.setColumn( 0, "lendmanid", "");
- var orddeptcd = switch1.appchrt.cmb_appdeptcd.value;
- fGetUserComboList("ds_send_userlist", "ds_init_userlist", orddeptcd, '0330', '');
- // 2009.03.18 센터 선택시 진료과 리스트 조회..
- var orddeptkind = ds_init_lendmastinfo_lenddeptlist.lookupExpr("lenddeptcd == '" + orddeptcd + "'", "orddeptkind");
- ds_condition.setColumn( 0, "orddeptkind", orddeptkind);
- if (orddeptkind == "C") {
- zsufGetCntrSubOrdDepartmentList(sysf_getUserInfo("posinstcd"), orddeptcd, 'O', "ds_init_cntrsuborddeptlist_dept", utlf_getCurrentDate());
- switch1.appchrt.cmb_orddeptcd.enable = true;
- } else {
- switch1.appchrt.cmb_orddeptcd.enable = false;
- }
- ds_condition.setColumn( 0, "orddeptcd", "-");
- //switch1.appchrt.//cmb_orddeptcd.refresh();
- }
- function switch1_appchrt_cbo_renduse_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fSetRtnSchedd();
- }
- function switch1_appchrt_cmb_orddeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- var orddeptcd = switch1.appchrt.cmb_orddeptcd.value;
- if (orddeptcd != "") {
- // 2009.03.30 대출자명 초기화 해주기..
- ds_condition.setColumn( 0, "lendmanid", "");
- fGetUserComboList("ds_send_userlist", "ds_init_userlist", orddeptcd, '0330', '');
- }
- }
- function switch1_appchrt_grd_chrtlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- // 2008.12.05. 전체 선택 or 해제
- if (switch1.appchrt.grd_chrtlist.col == 0 && switch1.appchrt.grd_chrtlist.row == 0) {
- if (allchkflag == "Y") { allchkflag = "N" } else { allchkflag = "Y" };
- for( var i = 0 ; i < switch1.appchrt.grd_chrtlist.rowcount ; i++){
- ds_main_appchrt.setColumn( i , "chkflag", allchkflag);
- }
- //switch1.appchrt.//grd_chrtlist.refresh();
- }
- // grid row 선택시 check box 에 선택 or 해제
- if (switch1.appchrt.grd_chrtlist.col > 0 && switch1.appchrt.grd_chrtlist.row > 0) {
- var row = switch1.appchrt.grd_chrtlist.currentrow;
- var chkflag = ds_main_appchrt_chrtlist.getColumn(row, "chkflag");
- if (chkflag == "Y") { chkflag = "N" } else { chkflag = "Y" };
- ds_main_appchrt.setColumn( row , "chkflag", chkflag);
- //switch1.appchrt.//grd_chrtlist.refresh();
- }
- }
- function switch1_appchrt_grd_emrlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- // 통합결과조회
- // frmf_open("SMAER00800", "SMAER00800", "ds_req_rendreport_pid"-"", "", "", "", "", "", "", "", "", "", "M");
- // 통합기록조회
- var pid = ds_main_appchrt_emrlist.getColumn(switch1.appchrt.grd_emrlist.row, "pid");
- var ioflag = ds_main_appchrt_emrlist.getColumn(switch1.appchrt.grd_emrlist.row, "ioflag");
- frmf_setParameter("SMMRI00400_param_pid", pid);
- frmf_setParameter("SMMRI00400_param_chosflag", ioflag);
- frmf_open("SMMRI00400", "", "", "", "", "", "", "", "", "", "", "", "M");
- }
- function switch1_appchrt_grup_updateapplist1_cbo_orddeptcd1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- var orddeptcd = switch1.appchrt.grup_updateapplist1.cbo_orddeptcd1.value;
- if (orddeptcd != "") {
- // 2009.03.30 대출자명 초기화 해주기..
- ds_condition_updateapplist1.setColumn( 0, "lendmanid", "");
- fGetUserComboList("ds_send_userlist", "ds_init_userlist1", orddeptcd, '0330', '');
- }
- }
- function switch1_appchrt_grup_updateapplist1_cbo_appdeptcd1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- // 2009.03.30 대출자명 초기화 해주기..
- ds_condition_updateapplist1.setColumn( 0, "lendmanid", "");
- var orddeptcd = switch1.appchrt.grup_updateapplist1.cbo_appdeptcd1.value;
- fGetUserComboList("ds_send_userlist", "ds_init_userlist1", orddeptcd, '0330', '');
- // 2009.03.18 센터 선택시 진료과 리스트 조회..
- var orddeptkind = ds_init_lendmastinfo_lenddeptlist.lookupExpr("lenddeptcd == '" + orddeptcd + "'", "orddeptkind");
- ds_condition_updateapplist1.setColumn( 0, "orddeptkind", orddeptkind);
- if (orddeptkind == "C") {
- zsufGetCntrSubOrdDepartmentList(sysf_getUserInfo("posinstcd"), orddeptcd, 'O', "ds_init_cntrsuborddeptlist1_dept", utlf_getCurrentDate());
- switch1.appchrt.grup_updateapplist1.cbo_orddeptcd1.enable = true;
- } else {
- switch1.appchrt.grup_updateapplist1.cbo_orddeptcd1.enable = false;
- }
- ds_condition_updateapplist1.setColumn( 0, "orddeptcd", "-");
- //switch1.appchrt.grup_updateapplist1.//cbo_orddeptcd1.refresh();
- }
- function switch1_appchrt_grup_updateapplist1_cbo_renduse1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- // 2009.02.16. 대출용도 에 따라 전달메세지 -> 연구용제목 으로 변경한다...
- var rendcd = ds_condition_updateapplist1.getColumn(0, "rendcd");
- if (rendcd == '021' || rendcd == '022') {
- ds_hidden.setColumn( 0, "caption1", "연구용제목 :");
- //switch1.appchrt.grup_updateapplist1.//cap_msgcnts1.refresh();
- switch1.appchrt.grup_updateapplist1.chkmsgcnts1.value = "Y";
- switch1.appchrt.grup_updateapplist1.chkappmantelno1.value = "Y";
- } else {
- ds_hidden.setColumn( 0, "caption1", "전달메세지 :");
- //switch1.appchrt.grup_updateapplist1.//cap_msgcnts1.refresh();
- switch1.appchrt.grup_updateapplist1.chkmsgcnts1.value = "";
- switch1.appchrt.grup_updateapplist1.chkappmantelno1.value = "";
- }
- ds_condition_updateapplist1.setColumn( 0, "msgcnts", "");
- ds_condition_updateapplist1.setColumn( 0, "appmantelno", "");
- fDisabled(switch1.appchrt.grup_updateapplist1.chkmsgcnts1, switch1.appchrt.grup_updateapplist1.ipt_msgcnts1);
- fDisabled(switch1.appchrt.grup_updateapplist1.chkappmantelno1, switch1.appchrt.grup_updateapplist1.ipt_appmantelno1);
- }
- function switch1_lendlist_combo4_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fSetRtnSchedd();
- }
- function switch1_lendlist_combo2_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
-
- }
- function switch1_appchrt_grd_chrtlist_onmousedown(obj:Grid, e:GridMouseEventInfo)
- {
- fMouseRghtBtnPopup(switch1.lendlist.grd_lendlist, "2", e); // 2: 신청내역
- }
- function switch1_appchrt_grd_appchrtlist_onmousedown(obj:Grid, e:GridMouseEventInfo)
- {
- fMouseRghtBtnPopup(switch1.appchrt.grd_appchrtlist, "1", e);
- }
- function fn_callback(){
- var getData = String(cp_checkbox000.getData()).replace(","," ");
- ds___.setColumn(0, "antibioallgcd", getData );
- fn_checkXXX();
- }
- function fn_setChkAntibioallgcd(){
- var getData = String(ds___.getColumn(0, "antibioallgcd")).split(" ");
- if( !utlf_isNull(getData) ){
- cp_checkbox000.setData(getData);
- }
-
- fn_checkXXX();
- }
- function fn_checkXXX() {
- var arr = String(cp_checkbox000.getData()).split(",");
- for(var i = 0; i < arr.length; i++) {
- if(arr[i] == '3') {
- grp_biz.ipt_antibioallgnm.enable = true;
-
- } else {
- grp_biz.ipt_antibioallgnm.enable = false ;
- ds___.setColumn(0, "antibioallgnm", "");
- }
- }
- }
- function ds_main_appchrt_chrtlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "chkflag")
- {
- if(e.newvalue == "1" || e.newvalue == "Y")
- {
- ds_main_appchrt_chrtlist.setcolumn(e.row, "chkflag", "1");
- }
- else
- {
- ds_main_appchrt_chrtlist.setcolumn(e.row, "chkflag", "0");
- }
- }
- }
- function switch1_appchrt_grd_appchrtlist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- fMouseRghtBtnPopup(switch1.appchrt.grd_appchrtlist, "1", e);
- return true;
- }
- function switch1_lendlist_chk_appdisabled2_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- fTermDisabled(switch1.lendlist.chk_appdisabled2, switch1.lendlist.ipt_appfromdd2, switch1.lendlist.ipt_apptodd2);
- }
- function switch1_applist_grd_applist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- fMouseRghtBtnPopup(switch1.applist.grd_applist, "2", e); // 2: 신청내역
- return true;
-
- }
- ]]></Script>
- </Form>
- </FDL>
|