12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>과제변경항목</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <reptdetl>
- <item>
- <instcd/>
- <subjid/>
- <subjno/>
- <reptseqno/>
- <judgappdg/>
- <reptkind/>
- <fstplanjudgdd/>
- <acptyn/>
- <acptdd/>
- <subjnm/>
- <roothospidxcasecnt/>
- <prcsidxcase/>
- <cnts1/>
- <cnts2/>
- <cnts3/>
- <cnts4/>
- <cnts5/>
- <cnts6/>
- <cnts7/>
- <cnts8/>
- <cnts9/>
- <acptdd/>
- <screenmenu/>
- <stdykind2/>
- <rc/>
- <attfile/>
- <resercnfmyn/>
- </item>
- </reptdetl>
- <updtsubj>
- <item>
- <instcd/>
- <subjid/>
- <reptseqno/>
- <reptkind/>
- <stdystartdd/>
- <stdyenddd/>
- <ddupdtresn/>
- <direccost/>
- <costupdtresn/>
- <verplan/>
- <verupdtresn1/>
- <veraprv/>
- <verupdtresn2/>
- <vercrf/>
- <verupdtresn3/>
- <verib/>
- <verupdtresn4/>
- <subjnm/>
- <nmupdtresn/>
- <retyn/>
- <acptyn/>
- <totstdycost/>
- <centercost/>
- <hospcost/>
- </item>
- <drug>
- <updtflag/>
- <usernm/>
- <rrgstno/>
- <userseqno/>
- <mpphonno/>
- <email/>
- <deptnm/>
- <jobposnm/>
- <workplceaddr/>
- <bankcd/>
- <acntno/>
- <depor/>
- <instcd/>
- <subjid/>
- <reptseqno/>
- <reptkind/>
- <userid/>
- <userkind/>
- <cmt/>
- </drug>
- <codi>
- <updtflag/>
- <usernm/>
- <rrgstno/>
- <mpphonno/>
- <deptnm/>
- <jobposnm/>
- <workplceaddr/>
- <email/>
- <bankcd/>
- <acntno/>
- <depor/>
- <instcd/>
- <subjid/>
- <reptseqno/>
- <reptkind/>
- <userid/>
- <userkind/>
- <cmt/>
- <userseqno/>
- </codi>
- <comn>
- <updtflag/>
- <usernm/>
- <rrgstno/>
- <deptnm/>
- <jobposnm/>
- <workplceaddr/>
- <mpphonno/>
- <email/>
- <bankcd/>
- <acntno/>
- <depor/>
- <instcd/>
- <subjid/>
- <reptseqno/>
- <reptkind/>
- <userid/>
- <userkind/>
- <cmt/>
- <userseqno/>
- </comn>
- <perchgr>
- <updtflag/>
- <usernm/>
- <rrgstno/>
- <userseqno/>
- <mpphonno/>
- <email/>
- <deptnm/>
- <jobposnm/>
- <bankcd/>
- <acntno/>
- <depor/>
- <instcd/>
- <subjid/>
- <reptseqno/>
- <reptkind/>
- <userid/>
- <userkind/>
- <cmt/>
- <workplceaddr/>
- </perchgr>
- <reser>
- <updtflag/>
- <userid/>
- <usernm/>
- <rrgstno/>
- <mpphonno/>
- <email/>
- <deptnm/>
- <jobposnm/>
- <workplceaddr/>
- <bankcd/>
- <acntno/>
- <depor/>
- <instcd/>
- <subjid/>
- <reptseqno/>
- <reptkind/>
- <userkind/>
- </reser>
- </updtsubj>
- </main>
- <send>
- <savedata>
- </savedata>
- <searchitem>
- <subjid/>
- <instcd/>
- <reptseqno/>
- <reptkind/>
- <totstdycost/>
- <direccost/>
- <centercost/>
- <hospcost/>
- <consorflag/>
- <reqinstcd/>
- <rtnbtn/>
- <rtndate/>
- <rtnresn/>
- <croinstcd/>
- </searchitem>
- <tempnode>
- <drug/>
- </tempnode>
- <attach/>
- </send>
- <hidden/>
- <init>
- <hosp>
- <ret>
- <instcd/>
- <hospnm/>
- </ret>
- </hosp>
- <hosp1>
- <ret>
- <instcd/>
- <hospnm/>
- </ret>
- </hosp1>
- <cmb_info>
- <initbank>
- <cdid/>
- <cdnm/>
- </initbank>
- </cmb_info>
- </init>
- <rex>
- <view>
- <appformhead>
- <subjnm/>
- <subjno/>
- <hospnm/>
- <depthngnm/>
- <cdnm/>
- <usernm/>
- <hospcd/>
- </appformhead>
- <irsdcollareser>
- <subjid/>
- <instcd/>
- <userid/>
- <userkind/>
- <usernm/>
- <posnm/>
- <jobposnm/>
- </irsdcollareser>
- <imcmreqinst>
- <cmpynm/>
- <prsdnm/>
- <jobposnm/>
- </imcmreqinst>
- </view>
- <reptdetl>
- <item>
- <instcd/>
- <subjid/>
- <subjno/>
- <reptseqno/>
- <judgappdg/>
- <reptkind/>
- <fstplanjudgdd/>
- <acptyn/>
- <acptdd/>
- <subjnm/>
- <roothospidxcasecnt/>
- <prcsidxcase/>
- <cnts1/>
- <cnts2/>
- <cnts3/>
- <cnts4/>
- <cnts5/>
- <cnts6/>
- <cnts7/>
- <cnts8/>
- <cnts9/>
- <acptdd/>
- </item>
- </reptdetl>
- <updtsubj>
- <item>
- <instcd/>
- <subjid/>
- <reptseqno/>
- <reptkind/>
- <stdystartdd/>
- <stdyenddd/>
- <ddupdtresn/>
- <direccost/>
- <costupdtresn/>
- <verplan/>
- <verupdtresn1/>
- <veraprv/>
- <verupdtresn2/>
- <vercrf/>
- <verupdtresn3/>
- <verib/>
- <verupdtresn4/>
- <subjnm/>
- <nmupdtresn/>
- <retyn/>
- <acptyn/>
- <totstdycost/>
- <centercost/>
- <hospcost/>
- </item>
- </updtsubj>
- <basesubjinfo>
- <basesubjinfo>
- <subjid/>
- <perchgrid/>
- <acptyn/>
- <judgkind/>
- <subjnm/>
- <subjpwd/>
- <clinictrgtflag/>
- <reqinstflag/>
- <stdycostsuppinst/>
- <stdycostsuppinstnm/>
- <itemnm/>
- <comnm/>
- <allidxcase/>
- <stdystartdd/>
- <stdyenddd/>
- <appdd/>
- <testeeaprvflag/>
- <relprstdata1/>
- <relprstdata2/>
- <relprstdata3/>
- <relprstdata4/>
- <relprstdata5/>
- <prstdataetc5/>
- <resercd/>
- <reqinstcd/>
- <concernrela/>
- <verplan/>
- <veraprv/>
- <vercrf/>
- <verib/>
- <consorflag/>
- <deptcd/>
- <reqcnfmyn/>
- <inqrgoal/>
- <trgtsick/>
- <inqrmthd/>
- <stdykind1/>
- <etctrgt1/>
- <stdykind2/>
- <etctrgt2/>
- <stdykind3/>
- <manynation/>
- <manyinst/>
- <cmcinstcnt/>
- <stdykind4/>
- <etctrgt4/>
- <stdytrgt/>
- <etctrgt/>
- <agenestdyflag/>
- <cellcurestdyyn/>
- <testeestat/>
- <fratesteeflag/>
- <stdyspcl1/>
- <stdyspcl2/>
- <stdyspcl3/>
- <stdyspcl4/>
- <stdyspcl5/>
- <stdyspcl6/>
- <stdyspcl7/>
- <examadjthosp/>
- <examadjtprf/>
- <allexamresppos/>
- <allexamrespnm/>
- <foodscrtgovpassyn/>
- <prmisnnatiyn/>
- <intermarketyn/>
- <judgkindcode/>
- <firstdg/>
- <firstjudgdd/>
- <croinstcd/>
- <reqinstchrgid/>
- <reqinstchrgnm/>
- <croinstnm/>
- </basesubjinfo>
- </basesubjinfo>
- <data>
- <a/>
- </data>
- </rex>
- <temp/>
- </root>
- </instance>
- <submission id="TRIMR00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance" resultref="/root/main/updtsubj"/>
- <submission id="TXIMR00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" replace="instance"/>
- <submission id="TRIRB00122" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init/hosp"/>
- <submission id="TRIRB00124" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance" resultref="/root/main/reptdetl"/>
- <submission id="TXIRB00121" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" replace="instance" resultref="/root/hidden"/>
- <submission id="TRIRS00131" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance" resultref="/root/rex/view"/>
- <submission id="TXIRB00122" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" replace="instance" resultref="/root/hidden"/>
- <submission id="TRIRB00128" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance" resultref="/root/main/updtsubj"/>
- <submission id="TRIRB00126" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" resultref="/root/init/hosp1"/>
- <bind id="bind1" ref="/root/main/updtsubj/item/totstdycost" calculate="ceiling(/root/main/updtsubj/item/direccost * 0.1) * 10 + ceiling((/root/main/updtsubj/item/direccost * 0.05) * 0.1) * 10+ ceiling((/root/main/updtsubj/item/direccost * 0.10) * 0.1) * 10"/>
- <bind id="bind2" ref="/root/main/updtsubj/item/centercost" calculate="ceiling((/root/main/updtsubj/item/direccost * 0.05) * 0.1) * 10"/>
- <bind id="bind3" ref="/root/main/updtsubj/item/hospcost" calculate="ceiling((/root/main/updtsubj/item/direccost * 0.10) * 0.1) * 10"/>
- <submission id="TRIRS00132" mediatype="application/x-www-form-urlencoded" ref="/root/send/searchitem" replace="instance" resultref="/root/rex/basesubjinfo"/>
- <submission id="TXIIA00116" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance"/>
- <submission id="TRZBC00101"/>
- <submission id="TXIRB00123" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance" resultref="/root/hidden"/>
- <submission id="TXIRB00124" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance" resultref="/root/hidden"/>
- <submission id="TXIRS00189" mediatype="multipart/form-data" method="form-data-post" ref="/root/send" resultref="/root/hidden"/>
- <submission id="TRIRS00135" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
- <submission id="TXIRS00188" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- //권한이 없는경우 보고서 상단의 저장 버튼 숨기기
- if ( opener.javascript.getParameter("actionyn") == "N" ) {
- alert("TT");
- btn_tmpsave.visible = false;
- btn_reptacpt.visible = false;
- button5.visible = false;
- btn_rowadd4.visible = false;
- btn_rowdel4.visible = false;
- button25.visible = false;
- btn_rowadd2.visible = false;
- btn_rowdel2.visible = false;
- btn_rowadd3.visible = false;
- btn_rowdel3.visible = false;
- button1.visible = false;
- button2.visible = false;
- ipt_filenm.visible = true;
- btn_fileatt.visible = false;
- btn_filedel.visible = false;
- btn_filedown.visible=true;
- }
- if ( parent.model.getValue("/root/send/report") == "Y" ) {
- ipt_filenm.visible = true;
- btn_fileatt.visible = false;
- btn_filedel.visible = false;
- btn_tmpsave.visible = false;
- btn_reptacpt.visible = false;
- btn_filedown.visible=true;
- button1.visible = false;
- }
-
- group1.visible = false;
-
- submit("TRIRB00122"); //병원 조회
- if ( model.setValue("/root/send/searchitem/subjid", opener.javascript.getParameter("subjid") ) != ""){
- model.setValue("/root/send/searchitem/subjid", opener.javascript.getParameter("subjid"));
- model.setValue("/root/send/searchitem/reptseqno", opener.javascript.getParameter("reptseqno"));
- model.setValue("/root/send/searchitem/reptkind", opener.javascript.getParameter("reptkind"));
- model.setValue("/root/send/searchitem/instcd", opener.javascript.getParameter("instcd"));
- model.setValue("/root/send/searchitem/totstdycost", opener.javascript.getParameter("totstdycost"));
- model.setValue("/root/send/searchitem/direccost", opener.javascript.getParameter("direccost"));
- model.setValue("/root/send/searchitem/reqinstcd", opener.javascript.getParameter("reqinstcd"));
- model.setValue("/root/send/searchitem/croinstcd", opener.javascript.getParameter("croinstcd"));
- } else {
- model.setValue("/root/send/searchitem/instcd", parent.model.getValue("/root/send/searchitem2/instcd"));
- model.setValue("/root/send/searchitem/subjid", parent.model.getValue("/root/send/searchitem2/subjid"));
- model.setValue("/root/send/searchitem/reptkind", "5");
- model.setValue("/root/send/searchitem/totstdycost", parent.model.getValue("/root/send/searchitem2/totstdycost"));
- model.setValue("/root/send/searchitem/direccost", parent.model.getValue("/root/send/searchitem2/direccost"));
- model.setValue("/root/send/searchitem/reqinstcd", parent.model.getValue("/root/send/searchitem2/reqinstcd"));
- model.setValue("/root/send/searchitem/croinstcd", parent.model.getValue("/root/send/searchitem2/croinstcd"));
- model.setValue("/root/send/searchitem/reptseqno", parent.model.getValue("/root/send/searchitem2/reptseqno"));
- }
-
- model.setValue("/root/main/reptdetl/item/instcd", model.getValue("/root/send/searchitem/instcd"));
-
- var consorflag = parent.model.getValue("/root/send/searchitem/consorflag");
-
- if ( consorflag == "Y" ) {
- model.setValue("/root/send/searchitem/consorflag", "Y");
- cmb_instcd.disabled = false;
- submit("TRIRB00126"); //병원 조회
- model.copyNode("/root/init/hosp", "/root/init/hosp1");
- }
-
- //화면 오픈시 Y일 경우만 자동조회하고 Y가 아닐 경우는 빈 양식 오픈후 필수값만 세팅해준다.
- if ( parent.model.getValue("/root/send/searchitem2/autosrchyn") == "Y" ) {
- submit("TRIRB00124"); //결과보고서 내용 조회
- submit("TRIMR00101"); //변경내용요약 조회
- }
-
- if ( opener.javascript.getParameter("report") == "Y" ) {
- alert("RRR");
- btn_tmpsave.visible = false;
- btn_reptacpt.visible = false;
- button5.visible = false;
- ipt_filenm.visible = true;
- btn_fileatt.visible = false;
- btn_filedel.visible = false;
- btn_filedown.visible=true;
-
- btn_rowadd4.visible = false;
- btn_rowdel4.visible = false;
- button25.visible = false;
- btn_rowadd2.visible = false;
- btn_rowdel2.visible = false;
- btn_rowadd3.visible = false;
- btn_rowdel3.visible = false;
- button1.visible = false;
- button2.visible = false;
-
- group1.visible = true;
-
- submit("TRIRB00124"); //결과보고서 내용 조회
- submit("TRIMR00101"); //변경내용요약 조회
- }
- else if ( parent.model.getValue("/root/send/searchitem2/autosrchyn") != "Y" ){
- submit("TRIRB00128"); //기존에 등록되어 있는 공동연구자, 코디, 약사 조회
- model.setValue("/root/main/updtsubj/item/retyn", 'N');
-
- messageBox("※ 연구기간, 연구비, 계획서/동의서 버전, 과제명, 인력 등이 변경되었을 경우, "
- +"\n" +"\n" + " 반드시 해당항목에 변경될 내용을 '다시한번 더' 입력해주시기 바랍니다."
- +"\n" +"\n" + " * 단, 변경되지 않는 항목란에는 글씨를 입력하지 마십시오."
- +"\n" +"\n" + "\n" + "※ 관리약사, 공동연구자, 코디네이터 등록이나 변경할 경우,"
- +"\n" +"\n" + "1. 단순 추가나 삭제일 경우에는 행추가나 행삭제로 처리."
- +"\n" +"\n" + "2. A에서 B로 변경될 경우에는 A를 행삭제, B를 추가입력."
- +"\n" +"\n" + " (버튼을 눌러 찾아질 경우에는 찾아서, 아닐 경우에는 타이핑)"
- +"\n" +"\n" + "3. 코디네이터를 등록할 경우 모든 항목이 필수 입력 항목임."
- +"\n" +"\n" + "4. 의뢰담당자 변경시 성명란에 있는 파란 버튼을 눌러 변경.", "I999");
-
- model.refresh();
- }
-
- model.setValue("/root/main/reptdetl/item/subjid", parent.model.getValue("/root/send/searchitem2/subjid"));
- model.setValue("/root/main/reptdetl/item/instcd", model.getValue("/root/send/searchitem/instcd"));
- model.setValue("/root/main/reptdetl/item/judgappdg", parent.model.getValue("/root/send/searchitem2/judgappdg"));
- model.setValue("/root/main/reptdetl/item/roothospidxcasecnt", parent.model.getValue("/root/send/searchitem2/roothospidxcasecnt"));
- model.setValue("/root/main/reptdetl/item/subjno", parent.model.getValue("/root/send/searchitem2/subjno"));
- model.setValue("/root/main/reptdetl/item/subjnm", parent.model.getValue("/root/send/searchitem2/subjnm"));
- model.setValue("/root/main/reptdetl/item/screenmenu", parent.model.getValue("/root/init/screenmenu"));
- model.setValue("/root/main/reptdetl/item/stdykind2", parent.model.getValue("/root/send/searchitem2/stdykind2"));
- model.setValue("/root/main/reptdetl/item/rc", parent.model.getValue("/root/send/searchitem2/rc"));
-
- model.makeValue("/root/main/reptdetl/item/resercnfmyn", parent.model.getValue("/root/send/searchitem2/resercnfmyn"));
-
- var direccost = model.getValue("/root/send/searchitem/direccost");
-
- //센타간접비(직접연구비의 5%), 병원간접비(직접연구비의 10%) 계산
- if ( direccost != "" ) {
- model.setValue("/root/send/searchitem/centercost", parseFloat(direccost*0.05));
- model.setValue("/root/send/searchitem/hospcost", parseFloat(direccost*0.1));
- }
-
- zbcfGetCodeList( new Array("R0001"), new Array("/root/init/cmb_info/initbank") );
-
- alert("GGG");
- model.refresh();
- alert("FFF");
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1100" pageheight="830" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:5px; top:0px; width:1060px; height:295px; ">
- <button id="btn_close" class="btn2_letter2" style="left:1000px; top:10px; width:42px; height:19px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <select1 id="cmb_instcd" ref="/root/main/reptdetl/item/instcd" class="combo_search" disabled="true" appearance="minimal" style="left:92px; top:38px; width:168px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/hosp/ret">
- <label ref="hospnm"/>
- <value ref="instcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption21" class="cell_1" style="left:5px; top:37px; width:85px; height:23px; text-align:center; vertical-align:middle; ">선택된 병원</caption>
- <caption id="caption10" class="cell_1" style="left:527px; top:109px; width:85px; height:41px; text-align:center; vertical-align:middle; ">
- <![CDATA[피험자 동의
- 및 안전관련]]>
- </caption>
- <caption id="caption2" class="cell_1" style="left:280px; top:37px; width:85px; height:23px; text-align:center; vertical-align:middle; ">접수여부</caption>
- <caption id="caption11" class="cell_1" style="left:527px; top:154px; width:85px; height:41px; text-align:center; vertical-align:middle; ">기 타</caption>
- <select1 id="cmb_acptyn" ref="/root/main/reptdetl/item/acptyn" class="combo_search" disabled="true" appearance="minimal" style="left:367px; top:38px; width:75px; height:19px; ">
- <choices>
- <item>
- <label>접수</label>
- <value>Y</value>
- </item>
- <item>
- <label>미접수</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <textarea id="tar_cnts1" ref="/root/main/reptdetl/item/cnts1" navindex="1" style="left:92px; top:64px; width:428px; height:41px; "/>
- <caption id="caption3" class="cell_1" style="left:5px; top:109px; width:85px; height:41px; text-align:center; vertical-align:middle; ">
- <![CDATA[연구목적
- 및 배경]]>
- </caption>
- <caption id="caption12" class="cell_1" style="left:527px; top:244px; width:85px; height:41px; text-align:center; vertical-align:middle; ">변경사유</caption>
- <line id="line3" class="line_1" style="x1:5px; y1:33px; x2:1040px; y2:32px; "/>
- <textarea id="tar_cnts2" ref="/root/main/reptdetl/item/cnts2" navindex="2" style="left:92px; top:109px; width:428px; height:41px; "/>
- <caption id="caption4" class="cell_1" style="left:5px; top:154px; width:85px; height:41px; text-align:center; vertical-align:middle; ">
- <![CDATA[임상시험
- 대상관련]]>
- </caption>
- <caption id="caption13" class="tit_2" style="left:529px; top:225px; width:101px; height:13px; ">변경사유</caption>
- <textarea id="tar_cnts3" ref="/root/main/reptdetl/item/cnts3" navindex="3" style="left:92px; top:154px; width:428px; height:41px; "/>
- <caption id="caption5" class="cell_1" style="left:5px; top:199px; width:85px; height:41px; text-align:center; vertical-align:middle; ">피험자 관련</caption>
- <caption id="caption14" class="tit_2" style="left:10px; top:15px; width:140px; height:13px; ">변경계획서</caption>
- <caption id="caption6" class="cell_1" style="left:5px; top:64px; width:85px; height:41px; text-align:center; vertical-align:middle; ">기본사항</caption>
- <textarea id="tar_cnts4" ref="/root/main/reptdetl/item/cnts4" navindex="4" style="left:92px; top:199px; width:428px; height:41px; "/>
- <textarea id="tar_cnts5" ref="/root/main/reptdetl/item/cnts5" navindex="5" style="left:92px; top:244px; width:428px; height:41px; "/>
- <caption id="caption8" class="cell_1" style="left:5px; top:244px; width:85px; height:41px; text-align:center; vertical-align:middle; ">임상시험 방법</caption>
- <textarea id="tar_cnts6" ref="/root/main/reptdetl/item/cnts6" navindex="6" style="left:614px; top:64px; width:428px; height:41px; "/>
- <caption id="caption9" class="cell_1" style="left:527px; top:64px; width:85px; height:41px; text-align:center; vertical-align:middle; ">통계관련</caption>
- <textarea id="tar_cnts7" ref="/root/main/reptdetl/item/cnts7" navindex="7" style="left:614px; top:109px; width:428px; height:41px; "/>
- <textarea id="tar_cnts8" ref="/root/main/reptdetl/item/cnts8" navindex="8" style="left:614px; top:154px; width:428px; height:41px; "/>
- <textarea id="tar_cnts9" ref="/root/main/reptdetl/item/cnts9" navindex="9" maxlength="500" style="left:614px; top:244px; width:428px; height:41px; "/>
- <button id="button3" class="btn2_letter9" _auth="P" style="left:877px; top:10px; width:119px; height:19px; ">
- <caption>변경계획보고서 출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var cnts1 ="";
- var cnts2 ="";
- var cnts3 ="";
- var cnts4 ="";
- var cnts5 ="";
- var cnts6 ="";
- var cnts7 ="";
- var cnts8 ="";
- var cnts9 ="";
- var cnts10 ="";
- var cnts11 ="";
- var cnts12 ="";
- var cnts13 ="";
- var cnts14 ="";
- var cnts15 ="";
-
- var data = "";
- var i =0;
- var kk = 0;
-
- if(submit("TRIRS00131")) {
-
- submit("TRIRS00132");
- model.copyNode("/root/rex/reptdetl", "/root/main/reptdetl");
- model.copyNode("/root/rex/updtsubj", "/root/main/updtsubj");
-
- cnts1="";
- cnts2="";
- cnts3="";
- cnts4="";
- cnts5="";
- cnts6="";
- cnts7="";
- cnts8="";
- cnts9="";
- cnts10="";
- cnts11="";
- cnts12="";
- cnts13="";
- cnts14="";
- cnts15="";
- data="";
-
- if ( model.getValue("/root/rex/reptdetl/item/cnts1") != "" && model.getValue("/root/rex/reptdetl/item/cnts1") != " ") {
- cnts1 = "▶ 기본사항 : " + model.getValue("/root/rex/reptdetl/item/cnts1") + "\n";
- }
- if ( model.getValue("/root/rex/reptdetl/item/cnts2") != "" && model.getValue("/root/rex/reptdetl/item/cnts2") != " ") {
- cnts2 = "▶ 연구목적 및 배경 : " + model.getValue("/root/rex/reptdetl/item/cnts2") + "\n";
- }
- if ( model.getValue("/root/rex/reptdetl/item/cnts3") != "" && model.getValue("/root/rex/reptdetl/item/cnts3") != " ") {
- cnts3 = "▶ 임상시험 대상관련 : " + model.getValue("/root/rex/reptdetl/item/cnts3") + "\n";
- }
- if ( model.getValue("/root/rex/reptdetl/item/cnts4") != "" && model.getValue("/root/rex/reptdetl/item/cnts4") != " ") {
- cnts4 = "▶ 피험자 관련 : " + model.getValue("/root/rex/reptdetl/item/cnts4") + "\n";
- }
- if ( model.getValue("/root/rex/reptdetl/item/cnts5") != "" && model.getValue("/root/rex/reptdetl/item/cnts5") != " ") {
- cnts5 = "▶ 임상시험 방법 : " + model.getValue("/root/rex/reptdetl/item/cnts5") + "\n";
- }
- if ( model.getValue("/root/rex/reptdetl/item/cnts6") != "" && model.getValue("/root/rex/reptdetl/item/cnts6") != " ") {
- cnts6 = "▶ 통계관련 : " + model.getValue("/root/rex/reptdetl/item/cnts6") + "\n";
- }
- if ( model.getValue("/root/rex/reptdetl/item/cnts7") != "" && model.getValue("/root/rex/reptdetl/item/cnts7") != " ") {
- cnts7 = "▶ 피험자 동의 및 안전대책 : " + model.getValue("/root/rex/reptdetl/item/cnts7") + "\n";
- }
- if ( model.getValue("/root/rex/reptdetl/item/cnts8") != "" && model.getValue("/root/rex/reptdetl/item/cnts8") != " ") {
- cnts8 = "▶ 기타 : " + model.getValue("/root/rex/reptdetl/item/cnts8") + "\n";
- }
-
- data = cnts1 + cnts2 + cnts3 + cnts4 + cnts5 + cnts6 + cnts7 + cnts8
-
- model.makeValue("/root/rex/reptdetl/item/data", data);
-
-
- var data = model.getValue("/root/rex/reptdetl/item/data");
- var j = 0;
- var p = 0;
- var k = 0;
-
- if ( data.indexOf("\n",p ) >=0 ){
- while ( (j = data.indexOf("\n",p ))>=0){
-
- var sdata = data.substring( p, j );
-
- p = j + 1;
- k = k + 1;
- model.makeValue("/root/rex/reptdetl/item[1]/datainfo["+k+"]/data", sdata.replace("\n","") );
-
- }
- if ( p<data.length){ // 제일 마지막 엔터 뒤 문장 처리
- var sdata = data.substring( p, data.length );
- k = k + 1;
- model.makeValue("/root/rex/reptdetl/item[1]/datainfo["+k+"]/data", sdata.replace("\n","") );
- }
- } else { //엔터없을때 처리
- k = k + 1;
- model.makeNode("/root/rex/reptdetl");
- model.makeValue("/root/rex/reptdetl/item[1]/datainfo["+k+"]/data", data);
- }
-
-
- cnts1="";
- cnts2="";
- cnts3="";
- cnts4="";
- cnts5="";
- cnts6="";
- cnts7="";
- cnts8="";
- cnts9="";
- cnts10="";
- cnts11="";
- cnts12="";
- cnts13="";
- cnts14="";
- cnts15="";
- data="";
-
- if ( model.getValue("/root/rex/updtsubj/item/stdystartdd") != "" && model.getValue("/root/rex/updtsubj/item/stdystartdd") != " ") {
- cnts1 = "▶ 연구기간 : " + model.getValue("/root/rex/updtsubj/item/stdystartdd") + " ~ " + model.getValue("/root/rex/updtsubj/item/stdyenddd") + "\n";
- }
- if ( model.getValue("/root/rex/updtsubj/item/direccost") != "" && model.getValue("/root/rex/updtsubj/item/direccost") != " ") {
- cnts3 = "▶ 직접비 : " + model.getValue("/root/rex/updtsubj/item/direccost") + "\n";
- }
- if ( model.getValue("/root/rex/updtsubj/item/verplan") != "" && model.getValue("/root/rex/updtsubj/item/verplan") != " ") {
- cnts5 = "▶ 계획서 Version : " + model.getValue("/root/rex/updtsubj/item/verplan") + "\n";
- }
- if ( model.getValue("/root/rex/updtsubj/item/veraprv") != "" && model.getValue("/root/rex/updtsubj/item/veraprv") != " ") {
- cnts7 = "▶ 동의서 Version : " + model.getValue("/root/rex/updtsubj/item/veraprv") + "\n";
- }
- if ( model.getValue("/root/rex/updtsubj/item/vercrf") != "" && model.getValue("/root/rex/updtsubj/item/vercrf") != " ") {
- cnts9 = "▶ CRF Version : " + model.getValue("/root/rex/updtsubj/item/vercrf") + "\n";
- }
- if ( model.getValue("/root/rex/updtsubj/item/verib") != "" && model.getValue("/root/rex/updtsubj/item/verib") != " ") {
- cnts11 = "▶ IB Version : " + model.getValue("/root/rex/updtsubj/item/verib") + "\n";
- }
- if ( model.getValue("/root/rex/updtsubj/item/subjnm") != "" && model.getValue("/root/rex/updtsubj/item/subjnm") != " ") {
- cnts13 = "▶ 과제명 : " + model.getValue("/root/rex/updtsubj/item/subjnm") + "\n";
- }
-
- data = cnts1 + cnts3 + cnts5 + cnts7 + cnts9 + cnts11 + cnts13 ;
-
- model.makeValue("/root/rex/updtsubj/item/data", data);
-
-
- var data = model.getValue("/root/rex/updtsubj/item/data");
- var j = 0;
- var p = 0;
- var k = 0;
-
- if ( data.indexOf("\n",p ) >=0 ){
- while ( (j = data.indexOf("\n",p ))>=0){
-
- var sdata = data.substring( p, j );
-
- p = j + 1;
- k = k + 1;
- model.makeValue("/root/rex/updtsubj/item[1]/datainfo["+k+"]/data", sdata.replace("\n","") );
-
- }
- if ( p<data.length){ // 제일 마지막 엔터 뒤 문장 처리
- var sdata = data.substring( p, data.length );
- k = k + 1;
- model.makeValue("/root/rex/updtsubj/item[1]/datainfo["+k+"]/data", sdata.replace("\n","") );
- }
- } else { //엔터없을때 처리
- k = k + 1;
- model.makeNode("/root/rex/updtsubj");
- model.makeValue("/root/rex/updtsubj/item[1]/datainfo["+k+"]/data", data);
- }
-
- cnts1="";
- cnts2="";
- cnts3="";
- cnts4="";
- cnts5="";
- cnts6="";
- cnts7="";
- cnts8="";
- cnts9="";
- cnts10="";
- cnts11="";
- cnts12="";
- cnts13="";
- cnts14="";
- cnts15="";
- data="";
-
- if ( model.getValue("/root/rex/updtsubj/item/ddupdtresn") != "" ) {
- cnts2 = "연구기간 변경사유 : " + model.getValue("/root/rex/updtsubj/item/ddupdtresn") + "\n";
- }
- if ( model.getValue("/root/rex/updtsubj/item/costupdtresn") != "" ) {
- cnts4 = "직접비 변경사유 : " + model.getValue("/root/rex/updtsubj/item/costupdtresn") + "\n";
- }
- if ( model.getValue("/root/rex/updtsubj/item/verupdtresn1") != "" ) {
- cnts6 = "계획서 Version 변경사유 : " + model.getValue("/root/rex/updtsubj/item/verupdtresn1") + "\n";
- }
- if ( model.getValue("/root/rex/updtsubj/item/verupdtresn2") != "" ) {
- cnts8 = "동의서 Version 변경사유 : " + model.getValue("/root/rex/updtsubj/item/verupdtresn2") + "\n";
- }
- if ( model.getValue("/root/rex/updtsubj/item/verupdtresn3") != "" ) {
- cnts10 = "CRF Version 변경사유 : " + model.getValue("/root/rex/updtsubj/item/verupdtresn3") + "\n";
- }
- if ( model.getValue("/root/rex/updtsubj/item/verupdtresn4") != "" ) {
- cnts12 = "IB Version 변경사유 : " + model.getValue("/root/rex/updtsubj/item/verupdtresn4") + "\n";
- }
- if ( model.getValue("/root/rex/updtsubj/item/nmupdtresn") != "" ) {
- cnts14 = "과제명 변경사유 : " + model.getValue("/root/rex/updtsubj/item/nmupdtresn") + "\n";
- }
-
-
- data = cnts2 + cnts4 + cnts6 + cnts8 + cnts10 + cnts12 + cnts14;
-
- model.makeValue("/root/rex/updtsubj/item/data1", data);
-
-
- var data = model.getValue("/root/rex/updtsubj/item/data1");
- var j = 0;
- var p = 0;
- var k = 0;
-
- if ( data.indexOf("\n",p ) >=0 ){
- while ( (j = data.indexOf("\n",p ))>=0){
-
- var sdata = data.substring( p, j );
-
- p = j + 1;
- k = k + 1;
- model.makeValue("/root/rex/updtsubj/item[1]/datainfo1["+k+"]/data", sdata.replace("\n","") );
-
- }
- if ( p<data.length){ // 제일 마지막 엔터 뒤 문장 처리
- var sdata = data.substring( p, data.length );
- k = k + 1;
- model.makeValue("/root/rex/updtsubj/item[1]/datainfo1["+k+"]/data", sdata.replace("\n","") );
- }
- } else { //엔터없을때 처리
- k = k + 1;
- model.makeNode("/root/rex/updtsubj");
- model.makeValue("/root/rex/updtsubj/item[1]/datainfo1["+k+"]/data", data);
- }
-
- //관리약사
- if ( grd_drug.rows > 0 ) {
-
- for ( var kk = 0; kk < grd_drug.rows -1; kk++ ) {
-
- if ( grd_drug.valueMatrix(kk+1, grd_drug.colRef("updtflag")) != "-" ) {
-
- i = i + 1;
-
- cnts1="";
- cnts2="";
- cnts3="";
- cnts4="";
- cnts5="";
- cnts6="";
- cnts7="";
- cnts8="";
- cnts9="";
- cnts10="";
- cnts11="";
- cnts12="";
- cnts13="";
- cnts14="";
- cnts15="";
-
- if ( model.getValue("/root/rex/updtsubj/drug["+ i +"]/updtflag") == 'I' ) {
- cnts1 = "▶ 상태 : 추가" + "\n" ;
- } else if ( model.getValue("/root/rex/updtsubj/drug["+ i +"]/updtflag") == 'U' ) {
- cnts1 = "▶ 상태 : 수정" + "\n" ;
- } else if ( model.getValue("/root/rex/updtsubj/drug["+ i +"]/updtflag") == 'D' ) {
- cnts1 = "▶ 상태 : 삭제" + "\n" ;
- }
-
- // cnts1 = "▶ 상태 : " + model.getValue("/root/rex/updtsubj/drug["+ i +"]/updtflag") + "\n" ;
- cnts2 = "▶ 성명 : " + model.getValue("/root/rex/updtsubj/drug["+ i +"]/usernm") + "\n";
- cnts3 = "▶ 주민번호 : " + model.getValue("/root/rex/updtsubj/drug["+ i +"]/rrgatno") + "\n";
- cnts4 = "▶ 연락처 : " + model.getValue("/root/rex/updtsubj/drug["+ i +"]/mpphonno") + "\n";
- cnts5 = "▶ 이메일 : " + model.getValue("/root/rex/updtsubj/drug["+ i +"]/email") + "\n";
- cnts6 = "▶ 소속 : " + model.getValue("/root/rex/updtsubj/drug["+ i +"]/deptnm") + "\n" ;
- cnts7 = "▶ 직위 : " + model.getValue("/root/rex/updtsubj/drug["+ i +"]/jobposnm") + "\n" ;
- cnts8 = "▶ 주소 : " + model.getValue("/root/rex/updtsubj/drug["+ i +"]/workplceaddr") + "\n" ;
- cnts9 = "▶ 은행 : " + model.getValue("/root/rex/updtsubj/drug["+ i +"]/acntno") + "\n";
- cnts10 = "▶ 계좌번호 : " + model.getValue("/root/rex/updtsubj/drug["+ i +"]/acntno") + "\n" ;
- cnts11 = "▶ 예금주 : " + model.getValue("/root/rex/updtsubj/drug["+ i +"]/depor") + "\n" ;
- data = cnts1 + cnts2 + cnts3 + cnts4 + cnts5 + cnts6 + cnts7 + cnts8 + cnts9 + cnts10 + cnts11;
-
- var s = data;
- var j = 0;
- var p = 0;
- var k = 0;
- j = i;
-
- if ( s.indexOf("\n",p ) >=0 ){
-
- while ( (j = s.indexOf("\n",p ))>=0){
-
- var sdata = s.substring( p, j );
- p = j + 1;
- k = k + 1;
- model.makeValue("/root/rex/updtsubj/item/drug["+i+"]/druginfo["+k+"]/data", sdata.replace("\n","") );
-
- }
- if ( p<s.length){ // 제일 마지막 엔터 뒤 문장 처리
- var sdata = s.substring( p, s.length );
- k = k + 1;
- model.makeValue("/root/rex/updtsubj/item/drug["+i+"]/druginfo["+k+"]/data", sdata.replace("\n","") );
- }
- } else { //엔터없을때 처리
- k = k + 1;
- model.makeNode("/root/rex/updtsubj");
- model.makeValue("/root/rex/updtsubj/item/drug["+i+"]/druginfo["+k+"]/data", s);
- }
-
- }
- }
- }
- //공동연구자
- if ( grd_comn.rows > 0 ) {
-
- for ( var kk = 0; kk < grd_comn.rows -1; kk++ ) {
-
- if ( grd_comn.valueMatrix(kk+1, grd_comn.colRef("updtflag")) != "-" ) {
-
- i = i + 1;
-
- cnts1="";
- cnts2="";
- cnts3="";
- cnts4="";
- cnts5="";
- cnts6="";
- cnts7="";
- cnts8="";
- cnts9="";
- cnts10="";
- cnts11="";
- cnts12="";
- cnts13="";
- cnts14="";
- cnts15="";
-
- if ( model.getValue("/root/rex/updtsubj/comn["+ i +"]/updtflag") == 'I' ) {
- cnts1 = "▶ 상태 : 추가" + "\n" ;
- } else if ( model.getValue("/root/rex/updtsubj/comn["+ i +"]/updtflag") == 'U' ) {
- cnts1 = "▶ 상태 : 수정" + "\n" ;
- } else if ( model.getValue("/root/rex/updtsubj/comn["+ i +"]/updtflag") == 'D' ) {
- cnts1 = "▶ 상태 : 삭제" + "\n" ;
- }
-
- // cnts1 = "▶ 상태 : " + model.getValue("/root/rex/updtsubj/drug["+ i +"]/updtflag") + "\n" ;
- cnts2 = "▶ 성명 : " + model.getValue("/root/rex/updtsubj/comn["+ i +"]/usernm") + "\n";
- cnts3 = "▶ 주민번호 : " + model.getValue("/root/rex/updtsubj/comn["+ i +"]/rrgatno") + "\n";
- cnts4 = "▶ 연락처 : " + model.getValue("/root/rex/updtsubj/comn["+ i +"]/mpphonno") + "\n";
- cnts5 = "▶ 이메일 : " + model.getValue("/root/rex/updtsubj/comn["+ i +"]/email") + "\n";
- cnts6 = "▶ 소속 : " + model.getValue("/root/rex/updtsubj/comn["+ i +"]/deptnm") + "\n" ;
- cnts7 = "▶ 직위 : " + model.getValue("/root/rex/updtsubj/comn["+ i +"]/jobposnm") + "\n" ;
- cnts8 = "▶ 주소 : " + model.getValue("/root/rex/updtsubj/comn["+ i +"]/workplceaddr") + "\n" ;
- cnts9 = "▶ 은행 : " + model.getValue("/root/rex/updtsubj/comn["+ i +"]/acntno") + "\n";
- cnts10 = "▶ 계좌번호 : " + model.getValue("/root/rex/updtsubj/comn["+ i +"]/acntno") + "\n" ;
- cnts11 = "▶ 예금주 : " + model.getValue("/root/rex/updtsubj/comn["+ i +"]/depor") + "\n" ;
- data = cnts1 + cnts2 + cnts3 + cnts4 + cnts5 + cnts6 + cnts7 + cnts8 + cnts9 + cnts10 + cnts11;
-
- var s = data;
- var j = 0;
- var p = 0;
- var k = 0;
- j = i;
-
- if ( s.indexOf("\n",p ) >=0 ){
-
- while ( (j = s.indexOf("\n",p ))>=0){
-
- var sdata = s.substring( p, j );
- p = j + 1;
- k = k + 1;
- model.makeValue("/root/rex/updtsubj/item/comn["+i+"]/comninfo["+k+"]/data", sdata.replace("\n","") );
-
- }
- if ( p<s.length){ // 제일 마지막 엔터 뒤 문장 처리
- var sdata = s.substring( p, s.length );
- k = k + 1;
- model.makeValue("/root/rex/updtsubj/item/comn["+i+"]/comninfo["+k+"]/data", sdata.replace("\n","") );
- }
- } else { //엔터없을때 처리
- k = k + 1;
- model.makeNode("/root/rex/updtsubj");
- model.makeValue("/root/rex/updtsubj/item/comn["+i+"]/comninfo["+k+"]/data", s);
- }
-
- }
- }
- }
- //코디네이터
- if ( grd_codi.rows > 0 ) {
-
- for ( var kk = 0; kk < grd_codi.rows -1; kk++ ) {
-
- if ( grd_codi.valueMatrix(kk+1, grd_codi.colRef("updtflag")) != "-" ) {
-
- i = i + 1;
-
- cnts1="";
- cnts2="";
- cnts3="";
- cnts4="";
- cnts5="";
- cnts6="";
- cnts7="";
- cnts8="";
- cnts9="";
- cnts10="";
- cnts11="";
- cnts12="";
- cnts13="";
- cnts14="";
- cnts15="";
-
- if ( model.getValue("/root/rex/updtsubj/codi["+ i +"]/updtflag") == 'I' ) {
- cnts1 = "▶ 상태 : 추가" + "\n" ;
- } else if ( model.getValue("/root/rex/updtsubj/codi["+ i +"]/updtflag") == 'U' ) {
- cnts1 = "▶ 상태 : 수정" + "\n" ;
- } else if ( model.getValue("/root/rex/updtsubj/codi["+ i +"]/updtflag") == 'D' ) {
- cnts1 = "▶ 상태 : 삭제" + "\n" ;
- }
-
- // cnts1 = "▶ 상태 : " + model.getValue("/root/rex/updtsubj/drug["+ i +"]/updtflag") + "\n" ;
- cnts2 = "▶ 성명 : " + model.getValue("/root/rex/updtsubj/codi["+ i +"]/usernm") + "\n";
- cnts3 = "▶ 주민번호 : " + model.getValue("/root/rex/updtsubj/codi["+ i +"]/rrgatno") + "\n";
- cnts4 = "▶ 연락처 : " + model.getValue("/root/rex/updtsubj/codi["+ i +"]/mpphonno") + "\n";
- cnts5 = "▶ 이메일 : " + model.getValue("/root/rex/updtsubj/codi["+ i +"]/email") + "\n";
- cnts6 = "▶ 소속 : " + model.getValue("/root/rex/updtsubj/codi["+ i +"]/deptnm") + "\n" ;
- cnts7 = "▶ 직위 : " + model.getValue("/root/rex/updtsubj/codi["+ i +"]/jobposnm") + "\n" ;
- cnts8 = "▶ 주소 : " + model.getValue("/root/rex/updtsubj/codi["+ i +"]/workplceaddr") + "\n" ;
- cnts9 = "▶ 은행 : " + model.getValue("/root/rex/updtsubj/codi["+ i +"]/acntno") + "\n";
- cnts10 = "▶ 계좌번호 : " + model.getValue("/root/rex/updtsubj/codi["+ i +"]/acntno") + "\n" ;
- cnts11 = "▶ 예금주 : " + model.getValue("/root/rex/updtsubj/codi["+ i +"]/depor") + "\n" ;
- data = cnts1 + cnts2 + cnts3 + cnts4 + cnts5 + cnts6 + cnts7 + cnts8 + cnts9 + cnts10 + cnts11;
-
- var s = data;
- var j = 0;
- var p = 0;
- var k = 0;
- j = i;
- if ( s.indexOf("\n",p ) >=0 ){
-
- while ( (j = s.indexOf("\n",p ))>=0){
-
- var sdata = s.substring( p, j );
- p = j + 1;
- k = k + 1;
- model.makeValue("/root/rex/updtsubj/item/codi["+i+"]/codiinfo["+k+"]/data", sdata.replace("\n","") );
-
- }
- if ( p<s.length){ // 제일 마지막 엔터 뒤 문장 처리
- var sdata = s.substring( p, s.length );
- k = k + 1;
- model.makeValue("/root/rex/updtsubj/item/codi["+i+"]/codiinfo["+k+"]/data", sdata.replace("\n","") );
- }
- } else { //엔터없을때 처리
- k = k + 1;
- model.makeNode("/root/rex/updtsubj");
- model.makeValue("/root/rex/updtsubj/item/codi["+i+"]/codiinfo["+k+"]/data", s);
- }
-
- }
- }
- }
- //의뢰담당자
- if ( model.getValue("/root/rex/updtsubj/perchgr[1]/updtflag") != "-" ) {
- cnts1="";
- cnts2="";
- cnts3="";
- cnts4="";
- cnts5="";
- cnts6="";
- cnts7="";
- cnts8="";
- cnts9="";
- cnts10="";
- cnts11="";
- cnts12="";
- cnts13="";
- cnts14="";
- cnts15="";
- data="";
-
- if ( model.getValue("/root/rex/updtsubj/perchgr[1]/updtflag") == 'I' ) {
- cnts1 = "▶ 상태 : 추가" + "\n" ;
- } else if ( model.getValue("/root/rex/updtsubj/perchgr[1]/updtflag") == 'U' ) {
- cnts1 = "▶ 상태 : 수정" + "\n" ;
- } else if ( model.getValue("/root/rex/updtsubj/perchgr[1]/updtflag") == 'D' ) {
- cnts1 = "▶ 상태 : 삭제" + "\n" ;
- }
-
- cnts2 = "▶ 성명 : " + model.getValue("/root/rex/updtsubj/perchgr[1]/usernm") + "\n";
- cnts3 = "▶ 주민번호 : " + model.getValue("/root/rex/updtsubj/perchgr[1]/rrgatno") + "\n";
- cnts4 = "▶ 연락처 : " + model.getValue("/root/rex/updtsubj/perchgr[1]/mpphonno") + "\n";
- cnts5 = "▶ 이메일 : " + model.getValue("/root/rex/updtsubj/perchgr[1]/email") + "\n";
- cnts6 = "▶ 소속 : " + model.getValue("/root/rex/updtsubj/perchgr[1]/deptnm") + "\n" ;
- cnts7 = "▶ 직위 : " + model.getValue("/root/rex/updtsubj/perchgr[1]/jobposnm") + "\n" ;
- cnts8 = "▶ 주소 : " + model.getValue("/root/rex/updtsubj/perchgr[1]/workplceaddr") + "\n" ;
- cnts9 = "▶ 은행 : " + model.getValue("/root/rex/updtsubj/perchgr[1]/acntno") + "\n";
- cnts10 = "▶ 계좌번호 : " + model.getValue("/root/rex/updtsubj/perchgr[1]/acntno") + "\n" ;
- cnts11 = "▶ 예금주 : " + model.getValue("/root/rex/updtsubj/perchgr[1]/depor") + "\n" ;
- data = cnts1 + cnts2 + cnts3 + cnts4 + cnts5 + cnts6 + cnts7 + cnts8 + cnts9 + cnts10 + cnts11;
-
- data = cnts1 + cnts2 + cnts3 + cnts4 + cnts5 + cnts6 + cnts7 + cnts8
-
- var s = data;
- var j = 0;
- var p = 0;
- var k = 0;
-
- if ( s.indexOf("\n",p ) >=0 ){
-
- while ( (j = s.indexOf("\n",p ))>=0){
-
- var sdata = s.substring( p, j );
- p = j + 1;
- k = k + 1;
- model.makeValue("/root/rex/updtsubj/item/perchgr[1]/perchgrinfo["+k+"]/data", sdata.replace("\n","") );
-
- }
- if ( p<s.length){ // 제일 마지막 엔터 뒤 문장 처리
- var sdata = s.substring( p, s.length );
- k = k + 1;
- model.makeValue("/root/rex/updtsubj/item/perchgr[1]/perchgrinfo["+k+"]/data", sdata.replace("\n","") );
- }
- } else { //엔터없을때 처리
- k = k + 1;
- model.makeNode("/root/rex/updtsubj");
- model.makeValue("/root/rex/updtsubj/item/perchgr[1]/perchgrinfo["+k+"]/data", s);
- }
-
- }
- //책임연구자
- if ( model.getValue("/root/rex/updtsubj/reser[1]/updtflag") != "-" ) {
- cnts1="";
- cnts2="";
- cnts3="";
- cnts4="";
- cnts5="";
- cnts6="";
- cnts7="";
- cnts8="";
- cnts9="";
- cnts10="";
- cnts11="";
- cnts12="";
- cnts13="";
- cnts14="";
- cnts15="";
- data="";
-
- if ( model.getValue("/root/rex/updtsubj/reser[1]/updtflag") == 'I' ) {
- cnts1 = "▶ 상태 : 추가" + "\n" ;
- } else if ( model.getValue("/root/rex/updtsubj/reser[1]/updtflag") == 'U' ) {
- cnts1 = "▶ 상태 : 수정" + "\n" ;
- } else if ( model.getValue("/root/rex/updtsubj/reser[1]/updtflag") == 'D' ) {
- cnts1 = "▶ 상태 : 삭제" + "\n" ;
- }
-
- cnts2 = "▶ 성명 : " + model.getValue("/root/rex/updtsubj/reser[1]/usernm") + "\n";
- cnts3 = "▶ 주민번호 : " + model.getValue("/root/rex/updtsubj/reser[1]/rrgatno") + "\n";
- cnts4 = "▶ 연락처 : " + model.getValue("/root/rex/updtsubj/reser[1]/mpphonno") + "\n";
- cnts5 = "▶ 이메일 : " + model.getValue("/root/rex/updtsubj/reser[1]/email") + "\n";
- cnts6 = "▶ 소속 : " + model.getValue("/root/rex/updtsubj/reser[1]/deptnm") + "\n" ;
- cnts7 = "▶ 직위 : " + model.getValue("/root/rex/updtsubj/reser[1]/jobposnm") + "\n" ;
- cnts8 = "▶ 주소 : " + model.getValue("/root/rex/updtsubj/reser[1]/workplceaddr") + "\n" ;
- cnts9 = "▶ 은행 : " + model.getValue("/root/rex/updtsubj/reser[1]/acntno") + "\n";
- cnts10 = "▶ 계좌번호 : " + model.getValue("/root/rex/updtsubj/reser[1]/acntno") + "\n" ;
- cnts11 = "▶ 예금주 : " + model.getValue("/root/rex/updtsubj/reser[1]/depor") + "\n" ;
- data = cnts1 + cnts2 + cnts3 + cnts4 + cnts5 + cnts6 + cnts7 + cnts8 + cnts9 + cnts10 + cnts11;
-
- data = cnts1 + cnts2 + cnts3 + cnts4 + cnts5 + cnts6 + cnts7 + cnts8
-
- var s = data;
- var j = 0;
- var p = 0;
- var k = 0;
-
- if ( s.indexOf("\n",p ) >=0 ){
-
- while ( (j = s.indexOf("\n",p ))>=0){
-
- var sdata = s.substring( p, j );
- p = j + 1;
- k = k + 1;
- model.makeValue("/root/rex/updtsubj/item/reser[1]/reserinfo["+k+"]/data", sdata.replace("\n","") );
-
- }
- if ( p<s.length){ // 제일 마지막 엔터 뒤 문장 처리
- var sdata = s.substring( p, s.length );
- k = k + 1;
- model.makeValue("/root/rex/updtsubj/item/reser[1]/reserinfo["+k+"]/data", sdata.replace("\n","") );
- }
- } else { //엔터없을때 처리
- k = k + 1;
- model.makeNode("/root/rex/updtsubj");
- model.makeValue("/root/rex/updtsubj/item/reser[1]/reserinfo["+k+"]/data", s);
- }
-
- }
-
- exeReportPreview("PSIRB00700", "XMLSTR" , "/root/rex");
- }
- ]]>
- </script>
- </button>
- <group id="group1" visibility="hidden" style="left:455px; top:37px; width:585px; height:25px; ">
- <button id="button4" class="btn5_letter2" _auth="X" style="left:535px; top:0px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TXIIA00116");
-
- window.close();
- ]]>
- </script>
- </button>
- <input id="input2" ref="/root/send/searchitem/rtnresn" class="input_default" disabled="true" navindex="20" style="left:340px; top:2px; width:185px; height:19px; "/>
- <caption id="caption19" class="cell_1" style="left:265px; top:0px; width:70px; height:23px; text-align:center; vertical-align:middle; ">반려사유</caption>
- <input id="input1" ref="/root/send/searchitem/rtndate" class="input_default" disabled="true" navindex="10" inputtype="date" style="left:165px; top:2px; width:94px; height:19px; text-align:center; "/>
- <caption id="caption18" class="cell_1" style="left:90px; top:0px; width:70px; height:23px; text-align:center; vertical-align:middle; ">반려일자</caption>
- <bool id="bool1" ref="/root/send/searchitem/rtnbtn" style="left:55px; top:3px; width:30px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue("/root/send/searchitem/rtnbtn") == 'true') {
- input2.disabled = false;
- input1.disabled = false;
-
- input1.value = getCurrentDate();
- } else {
- input2.disabled = true;
- input1.disabled = true;
-
- input2.value = "";
- }
- ]]>
- </script>
- </bool>
- <caption id="caption17" class="cell_1" style="left:0px; top:0px; width:55px; height:23px; text-align:center; vertical-align:middle; ">반려</caption>
- </group>
- <input id="ipt_filenm" ref="/root/main/reptdetl/item/attfile" class="input_default" style="left:342px; top:10px; width:200px; height:19px; "/>
- <button id="btn_filedown" class="btn2_letter4" visibility="hidden" _auth="R" style="left:545px; top:10px; width:64px; height:19px; ">
- <caption>내려받기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var s = model.getValue("/root/main/reptdetl/item/attfile");
- var ss = s.split("/");
- var filepath = "";
- var filenm = "";
- for ( var i = 0; i < ss.length; i ++){
- if ( i < ss.length -2 ) {
- filepath = filepath+ss[i] +"/";
- } else if ( i < ss.length -1 ) {
- filepath = filepath+ss[i] ;
- } else {
- filenm = ss[i];
- }
-
- }
-
-
- var localfile = window.fileDialog("save","|",false,filenm,"","All Files(*.*)|*.*");
- if (localfile != "") {
- model.download(getActionURL("TRIRS00135")+"&filepath="+filepath,localfile);
- var rtn = messageBox("파일을", "Q004");
- if( rtn == 6 ) {
- window.exec(localfile);
- }
- }
- ]]>
- </script>
- </button>
- <upload id="upload1" nodeset="/root/send/attach/file" ext="zip" filecount="5" filesize="52428800" validate="true" style="left:240px; top:10px; width:100px; height:20px; "/>
- <button id="btn_fileatt" class="btn2_letter4" _auth="X" style="left:545px; top:10px; width:64px; height:19px; ">
- <caption>파일첨부</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if ( model.getValue("/root/main/reptdetl/item/acptyn") == '' ) {
- messageBox("임시저장 후 첨부파일을 올리세요", "I");
- return;
- }
-
- var maxsize = upload1.attribute("filesize");
-
- files = window.fileDialog("open", "|", true);
- filelist = files.split("|");
- for(var i = 0 ; i < filelist.length ; i++ ) {
- grd_attach.addRow(false);
- grd_attach.valueMatrix(grd_attach.rows - 1, 0) = filelist[i];
- if (!checkFileSize(upload1)){
- grd_attach.removeItem();
- messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
- return;
- }
- }
-
- if ( filelist[0] != "") {
- if (submit("TXIRS00189")) {
- messageBox("Upload가 성공적으로 이루어졌습니다.","I999");
- model.removeNodeset("/root/send/attach");
- parent.model.setValue("/root/temp/ivieweryn", "N"); //중간보고서 iviewer 호출 여부 = N
- parent.btn_report5.selected = true;
- parent.btn_report5.dispatch("DOMActivate");
- model.refresh();
- }
- }
-
- submit("TRIRB00124"); //결과보고서 내용 조회
- submit("TRIMR00101"); //변경내용요약 조회
-
-
- model.setValue("/root/main/reptdetl/item/subjid", parent.model.getValue("/root/send/searchitem2/subjid"));
- model.setValue("/root/main/reptdetl/item/instcd", parent.model.getValue("/root/send/searchitem2/instcd"));
- model.setValue("/root/main/reptdetl/item/judgappdg", parent.model.getValue("/root/send/searchitem2/judgappdg"));
- model.setValue("/root/main/reptdetl/item/roothospidxcasecnt", parent.model.getValue("/root/send/searchitem2/roothospidxcasecnt"));
- model.setValue("/root/main/reptdetl/item/subjno", parent.model.getValue("/root/send/searchitem2/subjno"));
- model.setValue("/root/main/reptdetl/item/subjnm", parent.model.getValue("/root/send/searchitem2/subjnm"));
- model.setValue("/root/main/reptdetl/item/fstplanjudgdd", parent.model.getValue("/root/send/searchitem2/judgdd"));
- model.setValue("/root/main/reptdetl/item/screenmenu", parent.model.getValue("/root/init/screenmenu"));
- model.setValue("/root/main/reptdetl/item/stdykind2", parent.model.getValue("/root/send/searchitem2/stdykind2"));
- model.setValue("/root/main/reptdetl/item/rc", parent.model.getValue("/root/send/searchitem2/rc"));
- model.refresh();
- ]]>
- </script>
- </button>
- <datagrid id="grd_attach" nodeset="/root/send/attach" visibility="hidden" caption="파일경로^" colwidth="644" extendlastcol="scroll" mergecellsfixedrows="bycolrec" style="left:245px; top:90px; width:665px; height:150px; ">
- <col ref="file"/>
- </datagrid>
- </group>
- <button id="btn_reptacpt" class="btn5_letter5" _auth="X" style="left:798px; top:10px; width:75px; height:19px; ">
- <caption>보고서접수</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- //접수 후 수정불가
- if ( model.getValue("/root/main/reptdetl/item/acptyn") == "Y" ) {
- messageBox("이미 접수되어 저장 또는 수정", "E001");
- return;
- }
-
- /* if ( model.getValue("/root/main/updtsubj/item/verplan") != '' && model.getValue("/root/main/updtsubj/item/verupdtresn1") == '') {
- messageBox("변경사유는", "I003");
- model.setFocus("ipt_verupdtresn1");
- return;
- }*/
- if ( model.getValue("/root/main/updtsubj/item/stdystartdd") != '' && model.getValue("/root/main/updtsubj/item/stdyenddd") != '' && model.getValue("/root/main/updtsubj/item/ddupdtresn") == '') {
- messageBox("변경사유는", "I003");
- model.setFocus("ipt_ddupdtresn");
- return;
- }
- if ( model.getValue("/root/main/updtsubj/item/direccost") != '' && model.getValue("/root/main/updtsubj/item/direccost") != 0 && model.getValue("/root/main/updtsubj/item/costupdtresn") == '') {
- messageBox("변경사유는", "I003");
- model.setFocus("ipt_costupdtresn");
- return;
- }
- if ( model.getValue("/root/main/updtsubj/item/verplan") != '' && model.getValue("/root/main/updtsubj/item/verupdtresn1") == '') {
- messageBox("변경사유는", "I003");
- model.setFocus("ipt_verupdtresn1");
- return;
- }
- if ( model.getValue("/root/main/updtsubj/item/veraprv") != '' && model.getValue("/root/main/updtsubj/item/verupdtresn2") == '') {
- messageBox("변경사유는", "I003");
- model.setFocus("verupdtresn2");
- return;
- }
- if ( model.getValue("/root/main/updtsubj/item/vercrf") != '' && model.getValue("/root/main/updtsubj/item/verupdtresn3") == '') {
- messageBox("변경사유는", "I003");
- model.setFocus("verupdtresn3");
- return;
- }
- if ( model.getValue("/root/main/updtsubj/item/verib") != '' && model.getValue("/root/main/updtsubj/item/verupdtresn4") == '') {
- messageBox("변경사유는", "I003");
- model.setFocus("verupdtresn4");
- return;
- }
- if ( model.getValue("/root/main/updtsubj/item/subjnm") != '' && model.getValue("/root/main/updtsubj/item/nmupdtresn") == '') {
- messageBox("변경사유는", "I003");
- model.setFocus("ipt_nmupdtresn");
- return;
- }
-
-
- var reptseqno = model.getValue("/root/hidden/ret/reptseqno");
- if ( reptseqno != '') {
- model.setValue("/root/main/reptdetl/item/reptseqno", model.getValue("/root/hidden/ret/reptseqno"));
- }
- //변경계획서
- model.copyNode("/root/send/savedata", "/root/main/reptdetl/item");
- model.setValue("/root/send/savedata/reptkind", "5"); //보고서종류=변경계획서(5)
- model.setValue("/root/send/savedata/acptyn", "Y"); //접수여부=접수(Y)
- model.setValue("/root/send/savedata/acptdd", getCurrentDate()); //접수일=오늘날짜
- model.makeValue("/root/send/savedata/judgkind", "N"); //심의종류
-
- if (model.getValue("/root/send/searchitem/consorflag") == 'Y') {
- var instcd = model.getValue("/root/send/savedata/instcd");
- if ( instcd == '' ) {
- messageBox("병원을 ", "C002");
- }
- submit("TXIRB00122");
- } else {
- submit("TXIRB00121");
- }
-
- model.setValue("/root/send/searchitem/reptseqno", model.getValue("/root/hidden/ret/reptseqno"));
- model.setValue("/root/send/searchitem/instcd", model.getValue("/root/main/reptdetl/item/instcd"));
- model.setValue("/root/main/reptdetl/item/reptseqno", model.getValue("/root/send/searchitem/reptseqno"));
-
- //변경내용요약
- model.copyNode("/root/send/savedata", "/root/main/updtsubj/item");
-
- model.setValue("/root/send/savedata/subjid", model.getValue("/root/send/searchitem/subjid"));
- model.setValue("/root/send/savedata/instcd", model.getValue("/root/send/searchitem/instcd"));
- model.setValue("/root/send/savedata/reptseqno", model.getValue("/root/send/searchitem/reptseqno"));
- model.setValue("/root/send/savedata/reptkind", "5");
- model.makeValue("/root/send/savedata/croinstcd", model.getValue("/root/send/searchitem/croinstcd"));
-
- //관리약사등록 그리드 필수입력항목 체크
- for ( i=1; i<grd_drug.rows; i++ ) {
- model.setValue("/root/main/updtsubj/drug["+ i +"]/reptseqno", model.getValue("/root/send/searchitem/reptseqno"));
- }
-
- var update1 = instance1.selectNodes("/root/main/updtsubj/drug"); //instance1.selectNodes("/root/send/tempnode/drug");
- var rCSV1 = getNodeListCSV(update1);
-
- if ( rCSV1 != null ) {
- for ( i=1; i<grd_drug.rows; i++ ) {
- if ( model.getValue("/root/main/updtsubj/drug["+ i +"]/usernm") == "" ) {
- messageBox("관리약사 성명을", "C002");
-
- submit("TXIRB00123");
-
- return;
- }
- }
- model.makeNode("/root/send/savedata/drug");
- model.setValue("/root/send/savedata/drug", rCSV1);
- }
- //공동연구자등록 그리드 필수입력항목 체크
- for ( i=1; i<grd_comn.rows; i++ ) {
- model.setValue("/root/main/updtsubj/comn["+ i +"]/reptseqno", model.getValue("/root/send/searchitem/reptseqno"));
- }
- var update2 = instance1.selectNodes("/root/main/updtsubj/comn");
- var rCSV2 = getNodeListCSV(update2);
- if ( rCSV2 != null) {
- for ( i=1; i<grd_comn.rows; i++ ) {
- if ( model.getValue("/root/main/updtsubj/comn["+ i +"]/usernm") == "" ) {
- messageBox("공동연구자 성명을", "C002");
-
- submit("TXIRB00123");
-
- return;
- }
- }
- model.makeNode("/root/send/savedata/comn");
- model.setValue("/root/send/savedata/comn", rCSV2);
- }
- //코디네이터등록 그리드 필수입력항목 체크
- for ( i=1; i<grd_codi.rows; i++ ) {
- model.setValue("/root/main/updtsubj/codi["+ i +"]/reptseqno", model.getValue("/root/send/searchitem/reptseqno"));
- }
- var update3 = instance1.selectNodes("/root/main/updtsubj/codi");
- var rCSV3 = getNodeListCSV(update3);
- if ( rCSV3 != null ) {
- for ( i=1; i<grd_codi.rows; i++ ) {
- if ( model.getValue("/root/main/updtsubj/codi["+ i +"]/usernm") == "" ) {
- messageBox("코디네이터 성명을", "C002");
-
- submit("TXIRB00123");
-
- return;
- }
- }
- model.makeNode("/root/send/savedata/codi");
- model.setValue("/root/send/savedata/codi", rCSV3);
- }
-
- //의뢰담당자등록 그리드 필수입력항목 체크
- for ( i=1; i<grd_perchgr.rows; i++ ) {
- model.setValue("/root/main/updtsubj/perchgr["+ i +"]/reptseqno", model.getValue("/root/send/searchitem/reptseqno"));
- if ( model.getValue("/root/main/updtsubj/perchgr["+ i +"]/subjid") == '' ) {
- model.setValue("/root/main/updtsubj/perchgr["+ i +"]/subjid", model.getValue("/root/send/searchitem/subjid"));
- model.setValue("/root/main/updtsubj/perchgr["+ i +"]/instcd", model.getValue("/root/send/searchitem/instcd"));
- model.setValue("/root/main/updtsubj/perchgr["+ i +"]/userkind", "5");
- }
-
- }
-
- var update4 = instance1.selectNodes("/root/main/updtsubj/perchgr");
- var rCSV4 = getNodeListCSV(update4);
- if ( rCSV4 != null ) {
- for ( i=1; i<grd_perchgr.rows; i++ ) {
- if ( model.getValue("/root/main/updtsubj/perchgr["+ i +"]/usernm") == "" ) {
- messageBox("의뢰담당자 성명을", "C002");
-
- submit("TXIRB00123");
-
- return;
- }
- model.setValue("/root/main/updtsubj/perchgr["+ i +"]/reptseqno", model.getValue("/root/hidden/ret/reptseqno"));
- }
- model.makeNode("/root/send/savedata/perchgr");
- model.setValue("/root/send/savedata/perchgr", rCSV4);
- }
-
- //책임연구자 그리드 필수입력항목 체크
- for ( i=1; i<grd_perchgr.rows; i++ ) {
- model.setValue("/root/main/updtsubj/reser["+ i +"]/reptseqno", model.getValue("/root/send/searchitem/reptseqno"));
- if ( model.getValue("/root/main/updtsubj/reser["+ i +"]/subjid") == '' ) {
- model.setValue("/root/main/updtsubj/reser["+ i +"]/subjid", model.getValue("/root/send/searchitem/subjid"));
- model.setValue("/root/main/updtsubj/reser["+ i +"]/instcd", model.getValue("/root/send/searchitem/instcd"));
- model.setValue("/root/main/updtsubj/reser["+ i +"]/userkind", "1");
- }
-
- }
-
- var update5 = instance1.selectNodes("/root/main/updtsubj/reser");
- var rCSV5 = getNodeListCSV(update5);
- if ( rCSV5 != null ) {
- for ( i=1; i<grd_reser.rows; i++ ) {
- if ( model.getValue("/root/main/updtsubj/reser["+ i +"]/usernm") == "" ) {
- messageBox("책임연구자 성명을", "C002");
-
- submit("TXIRB00123");
-
- return;
- }
- model.setValue("/root/main/updtsubj/reser["+ i +"]/reptseqno", model.getValue("/root/hidden/ret/reptseqno"));
- }
- model.makeNode("/root/send/savedata/reser");
- model.setValue("/root/send/savedata/reser", rCSV5);
- }
-
-
- submit("TXIMR00101");
- model.setValue( "/root/send/searchitem/reptseqno",model.getValue("/root/hidden/ret/reptseqno"));
- model.setValue("/root/main/reptdetl/item/acptyn", "Y"); //접수여부를 접수로 보여줌.
- model.refresh();
- /*
- if ( parseInt(model.getValue("/root/main/updtsubj/item/direccost")) > 0 && model.getValue("/root/main/reptdetl/item/stdykind2") == 'I' && model.getValue("/root/main/reptdetl/item/rc") == 'R' && parent.model.getValue("/root/init/screenmenu") == 'R' ) {
- setParameter("subjid", model.getValue("/root/main/reptdetl/item/subjid"));
- setParameter("instcd", model.getValue("/root/main/reptdetl/item/instcd"));
- open("SMISA00102");
- }
- */
- // parent.model.setValue("/root/temp/ivieweryn", "N"); //변경계획서 iviewer 호출 여부 = N
- parent.btn_report5.selected = true;
- parent.btn_report5.dispatch("DOMActivate");
- model.removeNodeset("/root/send/savedata");
- model.makeNode("/root/send/savedata");
- window.close();
-
- ]]>
- </script>
- </button>
- <button id="btn_tmpsave" class="btn5_letter4" _auth="X" style="left:684px; top:10px; width:64px; height:19px; ">
- <caption>임시저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //접수 후 수정불가
- if ( model.getValue("/root/main/reptdetl/item/acptyn") == "Y" ) {
- messageBox("이미 접수되어 저장 또는 수정", "E001");
- return;
- }
-
- var reptseqno = model.getValue("/root/hidden/ret/reptseqno");
- if ( reptseqno != '') {
- model.setValue("/root/main/reptdetl/item/reptseqno", model.getValue("/root/hidden/ret/reptseqno"));
- }
-
- // 변경계획서
- model.copyNode("/root/send/savedata", "/root/main/reptdetl/item");
-
- model.setValue("/root/send/savedata/reptkind", "5"); //보고서종류=변경계획서(5)
- model.setValue("/root/send/savedata/acptyn", "N"); //접수여부=미접수(N)
- model.makeValue("/root/send/savedata/judgkind", "N"); //심의종류
-
- if (model.getValue("/root/send/searchitem/consorflag") == 'Y') {
- var instcd = model.getValue("/root/send/savedata/instcd");
- if ( instcd == '' ) {
- messageBox("병원을 ", "C002");
- }
- submit("TXIRB00122");
- } else {
- submit("TXIRB00121");
- }
-
- model.setValue("/root/send/searchitem/reptseqno", model.getValue("/root/hidden/ret/reptseqno"));
- model.setValue("/root/send/searchitem/instcd", model.getValue("/root/main/reptdetl/item/instcd"));
- model.setValue("/root/main/reptdetl/item/reptseqno", model.getValue("/root/send/searchitem/reptseqno"));
-
- //변경내용요약
- model.copyNode("/root/send/savedata", "/root/main/updtsubj/item");
-
- model.setValue("/root/send/savedata/subjid", model.getValue("/root/send/searchitem/subjid"));
- model.setValue("/root/send/savedata/instcd", model.getValue("/root/send/searchitem/instcd"));
- model.setValue("/root/send/savedata/reptseqno", model.getValue("/root/send/searchitem/reptseqno"));
- model.setValue("/root/send/savedata/reptkind", "5");
- model.makeValue("/root/send/savedata/croinstcd", model.getValue("/root/send/searchitem/croinstcd"));
-
- //관리약사등록 그리드 필수입력항목 체크
- //model.removeNodeset("/root/send/tempnode/drug");
-
- for ( i=1; i<grd_drug.rows; i++ ) {
- model.setValue("/root/main/updtsubj/drug["+ i +"]/reptseqno", model.getValue("/root/send/searchitem/reptseqno"));
- }
-
- var update1 = instance1.selectNodes("/root/main/updtsubj/drug"); //instance1.selectNodes("/root/send/tempnode/drug");
- var rCSV1 = getNodeListCSV(update1);
-
- if ( rCSV1 != null ) {
- for ( i=1; i<grd_drug.rows; i++ ) {
- if ( model.getValue("/root/main/updtsubj/drug["+ i +"]/usernm") == "" ) {
- messageBox("관리약사 성명을", "C002");
-
- submit("TXIRB00123");
-
- return;
- }
- }
- model.makeNode("/root/send/savedata/drug");
- model.setValue("/root/send/savedata/drug", rCSV1);
- }
- //공동연구자등록 그리드 필수입력항목 체크
- for ( i=1; i<grd_comn.rows; i++ ) {
- model.setValue("/root/main/updtsubj/comn["+ i +"]/reptseqno", model.getValue("/root/send/searchitem/reptseqno"));
- }
- var update2 = instance1.selectNodes("/root/main/updtsubj/comn");
- var rCSV2 = getNodeListCSV(update2);
- if ( rCSV2 != null) {
- for ( i=1; i<grd_comn.rows; i++ ) {
- if ( model.getValue("/root/main/updtsubj/comn["+ i +"]/usernm") == "" ) {
- messageBox("공동연구자 성명을", "C002");
-
- submit("TXIRB00123");
-
- return;
- }
- }
- model.makeNode("/root/send/savedata/comn");
- model.setValue("/root/send/savedata/comn", rCSV2);
- }
- //코디네이터등록 그리드 필수입력항목 체크
- for ( i=1; i<grd_codi.rows; i++ ) {
- model.setValue("/root/main/updtsubj/codi["+ i +"]/reptseqno", model.getValue("/root/send/searchitem/reptseqno"));
- }
- var update3 = instance1.selectNodes("/root/main/updtsubj/codi");
- var rCSV3 = getNodeListCSV(update3);
- if ( rCSV3 != null ) {
- for ( i=1; i<grd_codi.rows; i++ ) {
- if ( model.getValue("/root/main/updtsubj/codi["+ i +"]/usernm") == "" ) {
- messageBox("코디네이터 성명을", "C002");
-
- submit("TXIRB00123");
-
- return;
- }
- }
- model.makeNode("/root/send/savedata/codi");
- model.setValue("/root/send/savedata/codi", rCSV3);
- }
-
- //의뢰담당자등록 그리드 필수입력항목 체크
- for ( i=1; i<grd_perchgr.rows; i++ ) {
- model.setValue("/root/main/updtsubj/perchgr["+ i +"]/reptseqno", model.getValue("/root/send/searchitem/reptseqno"));
- if ( model.getValue("/root/main/updtsubj/perchgr["+ i +"]/subjid") == '' ) {
- model.setValue("/root/main/updtsubj/perchgr["+ i +"]/subjid", model.getValue("/root/send/searchitem/subjid"));
- model.setValue("/root/main/updtsubj/perchgr["+ i +"]/instcd", model.getValue("/root/send/searchitem/instcd"));
- model.setValue("/root/main/updtsubj/perchgr["+ i +"]/userkind", "5");
- }
-
- }
-
- var update4 = instance1.selectNodes("/root/main/updtsubj/perchgr");
- var rCSV4 = getNodeListCSV(update4);
- if ( rCSV4 != null ) {
- for ( i=1; i<grd_perchgr.rows; i++ ) {
- if ( model.getValue("/root/main/updtsubj/perchgr["+ i +"]/usernm") == "" ) {
- messageBox("의뢰담당자 성명을", "C002");
-
- submit("TXIRB00123");
-
- return;
- }
- model.setValue("/root/main/updtsubj/perchgr["+ i +"]/reptseqno", model.getValue("/root/hidden/ret/reptseqno"));
- }
- model.makeNode("/root/send/savedata/perchgr");
- model.setValue("/root/send/savedata/perchgr", rCSV4);
- }
-
- //책임연구자 그리드 필수입력항목 체크
- for ( i=1; i<grd_perchgr.rows; i++ ) {
- model.setValue("/root/main/updtsubj/reser["+ i +"]/reptseqno", model.getValue("/root/send/searchitem/reptseqno"));
- if ( model.getValue("/root/main/updtsubj/reser["+ i +"]/subjid") == '' ) {
- model.setValue("/root/main/updtsubj/reser["+ i +"]/subjid", model.getValue("/root/send/searchitem/subjid"));
- model.setValue("/root/main/updtsubj/reser["+ i +"]/instcd", model.getValue("/root/send/searchitem/instcd"));
- model.setValue("/root/main/updtsubj/reser["+ i +"]/userkind", "1");
- }
-
- }
-
- var update5 = instance1.selectNodes("/root/main/updtsubj/reser");
- var rCSV5 = getNodeListCSV(update5);
- if ( rCSV5 != null ) {
- for ( i=1; i<grd_reser.rows; i++ ) {
- if ( model.getValue("/root/main/updtsubj/reser["+ i +"]/usernm") == "" ) {
- messageBox("책임연구자 성명을", "C002");
- return;
- }
- model.setValue("/root/main/updtsubj/reser["+ i +"]/reptseqno", model.getValue("/root/hidden/ret/reptseqno"));
- }
- model.makeNode("/root/send/savedata/reser");
- model.setValue("/root/send/savedata/reser", rCSV5);
- }
-
- submit("TXIMR00101");
-
- model.setValue("/root/main/reptdetl/item/acptyn", "N"); //접수여부를 미접수로 보여줌.
- model.setValue( "/root/send/searchitem/reptseqno",model.getValue("/root/hidden/ret/reptseqno"));
- model.refresh();
- /*
- if ( parseInt(model.getValue("/root/main/updtsubj/item/direccost")) > 0 && model.getValue("/root/main/reptdetl/item/stdykind2") == 'I' && model.getValue("/root/main/reptdetl/item/rc") == 'R' ) {
- setParameterd("subjid", model.getValue("/root/main/reptdetl/item/subjid"));
- setParameter("instcd", model.getValue("/root/main/reptdetl/item/instcd"));
- open("SMISA00102");
- }
- */
- parent.btn_report5.selected = true;
- parent.btn_report5.dispatch("DOMActivate");
-
- submit("TRIRB00124"); //결과보고서 내용 조회
- submit("TRIMR00101"); //변경내용요약 조회
-
- model.setValue("/root/main/reptdetl/item/subjid", parent.model.getValue("/root/send/searchitem2/subjid"));
- model.setValue("/root/main/reptdetl/item/instcd", model.getValue("/root/send/searchitem/instcd"));
- model.setValue("/root/main/reptdetl/item/judgappdg", parent.model.getValue("/root/send/searchitem2/judgappdg"));
- model.setValue("/root/main/reptdetl/item/roothospidxcasecnt", parent.model.getValue("/root/send/searchitem2/roothospidxcasecnt"));
- model.setValue("/root/main/reptdetl/item/subjno", parent.model.getValue("/root/send/searchitem2/subjno"));
- model.setValue("/root/main/reptdetl/item/subjnm", parent.model.getValue("/root/send/searchitem2/subjnm"));
- model.setValue("/root/main/reptdetl/item/screenmenu", parent.model.getValue("/root/init/screenmenu"));
- model.setValue("/root/main/reptdetl/item/stdykind2", parent.model.getValue("/root/send/searchitem2/stdykind2"));
- model.setValue("/root/main/reptdetl/item/rc", parent.model.getValue("/root/send/searchitem2/rc"));
-
- model.removeNodeset("/root/send/savedata");
- model.makeNode("/root/send/savedata");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button5" class="btn5_letter2" _auth="X" style="left:752px; top:10px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //접수 후 수정불가
- if ( model.getValue("/root/main/reptdetl/item/acptyn") == "Y" ) {
- messageBox("이미 접수되어 저장 또는 수정", "E001");
- return;
- }
-
- var reptseqno = model.getValue("/root/hidden/ret/reptseqno");
- if ( reptseqno != '') {
- model.setValue("/root/main/reptdetl/item/reptseqno", model.getValue("/root/hidden/ret/reptseqno"));
- }
-
- if (model.getValue("/root/send/searchitem/consorflag") == 'Y') {
- /* var instcd = model.getValue("/root/send/savedata/instcd");
- if ( instcd == '' ) {
- messageBox("병원을 ", "C002");
- }*/
- submit("TXIRB00124");
- } else {
- submit("TXIRB00123");
- }
-
- model.refresh();
-
- parent.btn_report5.selected = true;
- parent.btn_report5.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <button id="btn_filedel" class="btn5_letter4" _auth="X" style="left:615px; top:10px; width:64px; height:19px; ">
- <caption>첨부삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //접수 후 수정불가
- if ( model.getValue("/root/main/reptdetl/item/acptyn") == "Y" ) {
- messageBox("이미 접수되어 저장 또는 수정", "E001");
- return;
- } else {
- if (submit("TXIRS00188")) {
- messageBox("첨부파일이 삭제되었습니다.","I999");
-
- model.refresh();
- }
- }
-
- if ( model.getValue("/root/hidden/ret/reptseqno") != '' ) {
- submit("TRIRB00124"); //결과보고서 내용 조회
- submit("TRIMR00101"); //변경내용요약 조회
- }
-
- ]]>
- </script>
- </button>
- <group id="group2" style="left:5px; top:295px; width:1055px; height:510px; border-color:#ff0000; border-style:solid; ">
- <input id="ipt_verupdtresn1" ref="/root/main/updtsubj/item/verupdtresn1" class="input_default" navindex="16" maxlength="100" style="left:287px; top:104px; width:233px; height:19px; "/>
- <button id="button1" class="btn2_letter3" visibility="hidden" _auth="X" style="left:409px; top:403px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_perchgr.addRow(true, true);
- model.setValue("/root/main/updtsubj/perchgr["+ grd_perchgr.row +"]/instcd", model.getValue("/root/send/searchitem/instcd"));
- model.setValue("/root/main/updtsubj/perchgr["+ grd_perchgr.row +"]/subjid", model.getValue("/root/send/searchitem/subjid"));
- model.setValue("/root/main/updtsubj/perchgr["+ grd_perchgr.row +"]/reptkind", "5");
- model.setValue("/root/main/updtsubj/perchgr["+ grd_perchgr.row +"]/userkind", "5"); //5=담당자
- model.setValue("/root/main/updtsubj/perchgr["+ grd_perchgr.row +"]/updtflag", "I");
- ]]>
- </script>
- </button>
- <input id="ipt_verupdtresn2" ref="/root/main/updtsubj/item/verupdtresn2" class="input_default" navindex="18" maxlength="100" style="left:287px; top:130px; width:233px; height:19px; "/>
- <button id="button2" class="btn2_letter3" visibility="hidden" _auth="X" style="left:464px; top:403px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( model.getValue("/root/main/updtsubj/perchgr["+ grd_perchgr.row +"]/updtflag")=="I"){
- grd_perchgr.deleterow(grd_perchgr.row);
- } else {
- model.setValue("/root/main/updtsubj/perchgr["+ grd_perchgr.row +"]/updtflag", "D");
- }
-
- ]]>
- </script>
- </button>
- <caption id="caption50" class="cell_1" style="left:525px; top:153px; width:100px; height:23px; text-align:center; vertical-align:middle; ">변경사유</caption>
- <input id="ipt_verupdtresn3" ref="/root/main/updtsubj/item/verupdtresn3" class="input_default" navindex="20" maxlength="100" style="left:807px; top:103px; width:233px; height:19px; "/>
- <line id="line20" class="line_3" style="x1:525px; y1:288px; x2:1040px; y2:288px; "/>
- <caption id="caption51" class="cell_1" style="left:213px; top:102px; width:70px; height:23px; text-align:center; vertical-align:middle; ">변경사유</caption>
- <input id="ipt_verupdtresn4" ref="/root/main/updtsubj/item/verupdtresn4" class="input_default" navindex="22" maxlength="100" style="left:807px; top:129px; width:233px; height:19px; "/>
- <input id="ipt_verib" ref="/root/main/updtsubj/item/verib" class="input_default" navindex="21" maxlength="50" style="left:629px; top:129px; width:100px; height:19px; "/>
- <line id="line21" class="line_1" style="x1:5px; y1:316px; x2:1040px; y2:316px; "/>
- <button id="btn_rowadd2" class="btn2_letter3" _auth="X" style="left:930px; top:184px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_comn.addRow(true, true);
- model.setValue("/root/main/updtsubj/comn["+ grd_comn.row +"]/instcd", model.getValue("/root/send/searchitem/instcd"));
- model.setValue("/root/main/updtsubj/comn["+ grd_comn.row +"]/subjid", model.getValue("/root/send/searchitem/subjid"));
- model.setValue("/root/main/updtsubj/comn["+ grd_comn.row +"]/reptkind", "5");
- model.setValue("/root/main/updtsubj/comn["+ grd_comn.row +"]/userkind", "2"); //2=공동연구자
- model.setValue("/root/main/updtsubj/comn["+ grd_comn.row +"]/updtflag", "I");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption40" class="cell_1" style="left:213px; top:128px; width:70px; height:23px; text-align:center; vertical-align:middle; ">변경사유</caption>
- <caption id="caption52" class="cell_1" style="left:213px; top:76px; width:70px; height:23px; text-align:center; vertical-align:middle; ">변경사유</caption>
- <button id="btn_rowadd3" class="btn2_letter3" _auth="X" style="left:929px; top:294px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_codi.addRow(true, true);
- model.setValue("/root/main/updtsubj/codi["+ grd_codi.row +"]/instcd", model.getValue("/root/send/searchitem/instcd"));
- model.setValue("/root/main/updtsubj/codi["+ grd_codi.row +"]/subjid", model.getValue("/root/send/searchitem/subjid"));
- model.setValue("/root/main/updtsubj/codi["+ grd_codi.row +"]/reptkind", "5");
- model.setValue("/root/main/updtsubj/codi["+ grd_codi.row +"]/userkind", "3"); //3=코디네이터
- model.setValue("/root/main/updtsubj/codi["+ grd_codi.row +"]/updtflag", "I");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption41" class="cell_1" style="left:525px; top:101px; width:100px; height:23px; text-align:center; vertical-align:middle; ">CRF Version</caption>
- <input id="ipt_verplan" ref="/root/main/updtsubj/item/verplan" class="input_default" navindex="15" maxlength="100" style="left:115px; top:104px; width:94px; height:19px; "/>
- <caption id="caption53" class="cell_1" style="left:325px; top:50px; width:100px; height:23px; text-align:center; vertical-align:middle; ">변경사유</caption>
- <button id="btn_rowadd4" class="btn2_letter3" _auth="X" style="left:409px; top:184px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_drug.addRow(true, true);
-
- model.setValue("/root/main/updtsubj/drug["+ grd_drug.row +"]/instcd", model.getValue("/root/send/searchitem/instcd"));
- model.setValue("/root/main/updtsubj/drug["+ grd_drug.row +"]/subjid", model.getValue("/root/send/searchitem/subjid"));
- model.setValue("/root/main/updtsubj/drug["+ grd_drug.row +"]/reptkind", "5");
- model.setValue("/root/main/updtsubj/drug["+ grd_drug.row +"]/userkind", "4"); //4=관리약사
- model.setValue("/root/main/updtsubj/drug["+ grd_drug.row +"]/updtflag", "I");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption42" class="tit_2" style="left:530px; top:190px; width:108px; height:13px; ">공동연구자등록</caption>
- <caption id="caption1" class="tit_2" style="left:5px; top:410px; width:113px; height:13px; ">의뢰담당자 변경</caption>
- <caption id="caption43" class="tit_2" style="left:5px; top:301px; width:108px; height:13px; ">코디네이터등록</caption>
- <input id="ipt_stdyenddd" ref="/root/main/updtsubj/item/stdyenddd" class="input_default" navindex="11" inputtype="date" style="left:225px; top:52px; width:94px; height:19px; text-align:center; "/>
- <caption id="caption44" class="tit_2" style="left:5px; top:190px; width:100px; height:13px; ">관리약사등록</caption>
- <input id="ipt_ddupdtresn" ref="/root/main/updtsubj/item/ddupdtresn" class="input_default" navindex="12" maxlength="500" style="left:429px; top:52px; width:611px; height:19px; "/>
- <caption id="caption45" class="cell_1" style="left:525px; top:127px; width:100px; height:23px; text-align:center; vertical-align:middle; ">IB Version</caption>
- <line id="line15" class="line_1" style="x1:5px; y1:45px; x2:1040px; y2:45px; "/>
- <caption id="caption46" class="cell_1" style="left:5px; top:153px; width:106px; height:23px; text-align:center; vertical-align:middle; ">과제명</caption>
- <line id="line16" class="line_3" style="x1:5px; y1:398px; x2:1040px; y2:398px; "/>
- <input id="ipt_direccost" ref="/root/main/updtsubj/item/direccost" class="input_default" navindex="13" format="#,###" style="left:115px; top:78px; width:94px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var direccost = Math.ceil(model.getValue("/root/main/updtsubj/item/direccost") * 0.1) *10;
-
- // alert(direccost);
- model.setValue("/root/main/updtsubj/item/direccost", direccost);
- //ceiling( /root/main/updtsubj/item/direccost * 0.1) * 10
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption35" class="tit_2" style="left:5px; top:30px; width:158px; height:13px; ">변경내용요약</caption>
- <line id="line1" class="line_1" style="x1:5px; y1:425px; x2:520px; y2:425px; "/>
- <input id="ipt_nmupdtresn" ref="/root/main/updtsubj/item/nmupdtresn" class="input_default" navindex="24" maxlength="100" style="left:629px; top:155px; width:411px; height:19px; "/>
- <caption id="caption47" style="left:212px; top:55px; width:15px; height:20px; ">~</caption>
- <line id="line17" class="line_1" style="x1:5px; y1:205px; x2:520px; y2:205px; "/>
- <button id="btn_rowdel2" class="btn2_letter3" _auth="X" style="left:985px; top:184px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( model.getValue("/root/main/updtsubj/comn["+ grd_comn.row +"]/updtflag")=="I"){
- grd_comn.deleterow(grd_comn.row);
- } else {
- model.setValue("/root/main/updtsubj/comn["+ grd_comn.row +"]/updtflag", "D");
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption36" class="cell_1" style="left:5px; top:50px; width:106px; height:23px; text-align:center; vertical-align:middle; ">연구기간</caption>
- <caption id="caption15" class="cell_1" style="left:428px; top:75px; width:100px; height:23px; text-align:center; vertical-align:middle; ">센터간접비(5%)</caption>
- <line id="line2" class="line_3" style="x1:5px; y1:499px; x2:520px; y2:499px; "/>
- <caption id="caption48" class="cell_1" style="left:733px; top:101px; width:70px; height:23px; text-align:center; vertical-align:middle; ">변경사유</caption>
- <line id="line18" class="line_1" style="x1:525px; y1:205px; x2:1040px; y2:205px; "/>
- <button id="btn_rowdel3" class="btn2_letter3" _auth="X" style="left:984px; top:294px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if ( model.getValue("/root/main/updtsubj/codi["+ grd_codi.row +"]/updtflag")=="I"){
- grd_codi.deleterow(grd_codi.row);
- } else {
- model.setValue("/root/main/updtsubj/codi["+ grd_codi.row +"]/updtflag", "D");
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption37" class="cell_1" style="left:5px; top:76px; width:106px; height:23px; text-align:center; vertical-align:middle; ">직접비(100%)</caption>
- <caption id="caption16" class="cell_1" style="left:632px; top:75px; width:100px; height:23px; text-align:center; vertical-align:middle; ">병원간접비(10%)</caption>
- <caption id="caption7" class="cell_1" style="left:835px; top:75px; width:106px; height:23px; text-align:center; vertical-align:middle; ">연구비총액(115%)</caption>
- <caption id="caption49" class="cell_1" style="left:733px; top:127px; width:70px; height:23px; text-align:center; vertical-align:middle; ">변경사유</caption>
- <line id="line19" class="line_3" style="x1:5px; y1:288px; x2:520px; y2:288px; "/>
- <button id="btn_rowdel4" class="btn2_letter3" _auth="X" style="left:464px; top:184px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( model.getValue("/root/main/updtsubj/drug["+ grd_drug.row +"]/updtflag")=="I"){
- grd_drug.deleterow(grd_drug.row);
- } else {
- model.setValue("/root/main/updtsubj/drug["+ grd_drug.row +"]/updtflag", "D");
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption38" class="cell_1" style="left:5px; top:102px; width:106px; height:23px; text-align:center; vertical-align:middle; ">계획서Version</caption>
- <input id="ipt_stdystartdd" ref="/root/main/updtsubj/item/stdystartdd" class="input_default" navindex="10" inputtype="date" style="left:115px; top:52px; width:94px; height:19px; text-align:center; "/>
- <input id="ipt_vercrf" ref="/root/main/updtsubj/item/vercrf" class="input_default" navindex="19" maxlength="100" style="left:629px; top:103px; width:100px; height:19px; "/>
- <caption id="caption39" class="cell_1" style="left:5px; top:128px; width:106px; height:23px; text-align:center; vertical-align:middle; ">동의서Version</caption>
- <output id="output1" ref="/root/main/updtsubj/item/totstdycost" class="output_fix" format="#,###" appearance="output" style="left:945px; top:77px; width:94px; height:19px; text-align:right; "/>
- <input id="ipt_veraprv" ref="/root/main/updtsubj/item/veraprv" class="input_default" navindex="17" maxlength="100" style="left:115px; top:130px; width:94px; height:19px; "/>
- <output id="output2" ref="/root/main/updtsubj/item/centercost" class="output_fix" format="#,###" appearance="output" style="left:532px; top:77px; width:94px; height:19px; text-align:right; "/>
- <input id="ipt_subjnm" ref="/root/main/updtsubj/item/subjnm" class="input_default" navindex="23" style="left:115px; top:155px; width:405px; height:19px; "/>
- <output id="output3" ref="/root/main/updtsubj/item/hospcost" class="output_fix" format="#,###" appearance="output" style="left:736px; top:77px; width:94px; height:19px; text-align:right; "/>
- <input id="ipt_costupdtresn" ref="/root/main/updtsubj/item/costupdtresn" class="input_default" navindex="14" maxlength="100" style="left:287px; top:78px; width:138px; height:19px; "/>
- <button id="button25" class="btn2_letter8" _auth="R" style="left:820px; top:184px; width:108px; height:19px; ">
- <caption>신규외부연구등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("instcd",model.getValue("/root/main/reptdetl/item/instcd"));
- setParameter("target","respo");
- window.load("../../comsubjweb/xrw/SMIMR00400_외부연구원등록.xrw","modal","basis", "left:400px; top:400px; width:534px; height:343px;min:hidden;max:hidden;resize:true;");
- grd_comn.addRow();
-
- model.setValue("/root/main/updtsubj/comn[" + grd_comn.row + "]/usernm", getParameter("insusernm"));
- model.setValue("/root/main/updtsubj/comn[" + grd_comn.row + "]/deptnm", getParameter("insposnm"));
- model.setValue("/root/main/updtsubj/comn[" + grd_comn.row + "]/jobposnm", getParameter("insjobposnm"));
- model.setValue("/root/main/updtsubj/comn[" + grd_comn.row + "]/workplceaddr", getParameter("insworkplceaddr"));
- model.setValue("/root/main/updtsubj/comn[" + grd_comn.row + "]/mpphonno", getParameter("inscmpytelno"));
- model.setValue("/root/main/updtsubj/comn[" + grd_comn.row + "]/email", getParameter("insemail"));
- model.setValue("/root/main/updtsubj/comn[" + grd_comn.row + "]/bankcd", getParameter("insbankcd"));
- model.setValue("/root/main/updtsubj/comn[" + grd_comn.row + "]/acntno", getParameter("insacntno"));
- model.setValue("/root/main/updtsubj/comn[" + grd_comn.row + "]/depor", getParameter("insdepor"));
- model.setValue("/root/main/updtsubj/comn[" + grd_comn.row + "]/cmt", getParameter("inscmt"));
- model.setValue("/root/main/updtsubj/comn[" + grd_comn.row + "]/subjid", model.getValue("/root/send/searchitem/subjid"));
- model.setValue("/root/main/updtsubj/comn[" + grd_comn.row + "]/instcd", getParameter("insinstcd"));
- model.setValue("/root/main/updtsubj/comn[" + grd_comn.row + "]/userid", getParameter("insuserid"));
- model.setValue("/root/main/updtsubj/comn[" + grd_comn.row + "]/rrgstno", getParameter("insrrgstno"));
- model.setValue("/root/main/updtsubj/comn[" + grd_comn.row + "]/userseqno", getParameter("insuserseqno"));
- model.setValue("/root/main/updtsubj/comn["+ grd_comn.row +"]/reptkind", "5");
- model.setValue("/root/main/updtsubj/comn["+ grd_comn.row +"]/userkind", "2"); //2=공동연구자
- model.setValue("/root/main/updtsubj/comn["+ grd_comn.row +"]/updtflag", "I");
- model.refresh();
- ]]>
- </script>
- </button>
- <output id="opt_hospcost" ref="/root/send/searchitem/hospcost" class="output_fix" visibility="hidden" format="#,###" appearance="output" style="left:946px; top:31px; width:94px; height:19px; text-align:right; "/>
- <caption id="caption54" class="cell_1" visibility="hidden" style="left:519px; top:29px; width:80px; height:23px; text-align:center; vertical-align:middle; ">연구비총액</caption>
- <caption id="caption55" class="cell_1" visibility="hidden" style="left:692px; top:29px; width:80px; height:23px; text-align:center; vertical-align:middle; ">센타간접비</caption>
- <caption id="caption56" class="cell_1" visibility="hidden" style="left:866px; top:29px; width:80px; height:23px; text-align:center; vertical-align:middle; ">병원간접비</caption>
- <output id="opt_totstdycost" ref="/root/send/searchitem/totstdycost" class="output_fix" visibility="hidden" format="#,###" appearance="output" style="left:599px; top:31px; width:94px; height:19px; text-align:right; "/>
- <output id="opt_centercost" ref="/root/send/searchitem/centercost" class="output_fix" visibility="hidden" format="#,###" appearance="output" style="left:771px; top:31px; width:94px; height:19px; text-align:right; "/>
- <caption id="caption20" style="left:114px; top:9px; width:908px; height:20px; font-weight:bold; color:#cc3300; ">※ 연구기간, 연구비, 계획서/동의서 버전, 과제명, 인력 등이 변경되었을 경우 "반드시 해당항목에 변경될 내용을 '다시한번 더' 입력해주시기 바랍니다."</caption>
- <datagrid id="grd_comn" nodeset="/root/main/updtsubj/comn" caption="상태^성명^주민번호^소속^직위^주소^연락처^이메일^은행^계좌번호^예금주^병원코드^과제ID^보고서일련번호^보고서종류^사번^사용자종류^비고^userseqno" colsep="^" colwidth="54, 100, 28, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:525px; top:210px; width:515px; height:75px; ">
- <col disabled="true" ref="updtflag" type="combo">
- <choices>
- <item>
- <label/>
- <value>-</value>
- </item>
- <item>
- <label>추가</label>
- <value>I</value>
- </item>
- <item>
- <label>수정</label>
- <value>U</value>
- </item>
- <item>
- <label>삭제</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="usernm" type="inputbutton"/>
- <col ref="rrgstno" visibility="hidden"/>
- <col ref="deptnm" type="input"/>
- <col ref="jobposnm" type="input"/>
- <col ref="workplceaddr" type="input"/>
- <col ref="mpphonno" type="input"/>
- <col ref="email" type="input"/>
- <col class="gridcombo" ref="bankcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initbank/R0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="acntno" type="input"/>
- <col ref="depor" type="input"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="subjid" visibility="hidden"/>
- <col ref="reptseqno" visibility="hidden"/>
- <col ref="reptkind" visibility="hidden"/>
- <col ref="userid" visibility="hidden"/>
- <col ref="userkind" visibility="hidden"/>
- <col ref="cmt" visibility="hidden"/>
- <col ref="userseqno" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if ( grd_comn.col == grd_comn.colRef("usernm") ) {
- setParameter("userkind", "1"); //userkind : 2-공동연구자(내부,외부), 3-코디네이터, 4-관리약사
- setParameter("target","resp");
- setParameter("instcd", model.getValue("/root/main/reptdetl/item/instcd"));
- setParameter("usernm", "");
- setParameter("userid", "");
- setParameter("hospnm", "");
- setParameter("jobposnm", "");
- window.load("../../../crc/comsubjweb/xrw/SPIMR00200_연구원조회.xrw","modal","reser", "left:400px; top:200px; width:534px; height:343px;min:hidden;max:hidden;resize:true;");
-
-
- if ( getParameter("usernm") != '' ) {
- model.setValue("/root/main/updtsubj/comn["+grd_comn.row+"]/usernm", getParameter("usernm"));
- model.setValue("/root/main/updtsubj/comn["+grd_comn.row+"]/userid", getParameter("userid"));
- model.setValue("/root/main/updtsubj/comn["+grd_comn.row+"]/deptnm", getParameter("deptnm"));
- model.setValue("/root/main/updtsubj/comn["+grd_comn.row+"]/jobposnm", getParameter("jobposnm"));
- model.setValue("/root/main/updtsubj/comn["+grd_comn.row+"]/workplceaddr", getParameter("workplceaddr"));
- model.setValue("/root/main/updtsubj/comn["+grd_comn.row+"]/mpphonno", getParameter("cmpytelno"));
- model.setValue("/root/main/updtsubj/comn["+grd_comn.row+"]/email", getParameter("email"));
- model.setValue("/root/main/updtsubj/comn["+grd_comn.row+"]/bankcd", getParameter("bankcd"));
- model.setValue("/root/main/updtsubj/comn["+grd_comn.row+"]/acntno", getParameter("acntno"));
- model.setValue("/root/main/updtsubj/comn["+grd_comn.row+"]/depor", getParameter("depor"));
- model.setValue("/root/main/updtsubj/comn["+grd_comn.row+"]/rrgstno", getParameter("rrgstno"));
-
- if ( model.getValue("/root/main/updtsubj/comn["+ grd_comn.row +"]/updtflag") == "-" ) {
- model.setValue("/root/main/updtsubj/comn["+ grd_comn.row +"]/updtflag", "U");
- }
- }
- grd_comn.isReadOnly(grd_comn.colRef("usernm"), grd_comn.row)=true;
-
- grd_comn.refresh();
-
- setParameter("usernm", "");
- setParameter("userid", "");
- setParameter("deptnm", "");
- setParameter("jobposnm", "");
- setParameter("workplceaddr", "");
- setParameter("cmpytelno", "");
- setParameter("email", "");
- setParameter("bankcd", "");
- setParameter("acntno", "");
- setParameter("depor", "");
- setParameter("rrgstno", "");
- //var rownum = grd_mealprcpcd.row - 1;
- // modal("SPANB00201", 0,100,150,"SPANB00201", "/root/main/mealprcpcd/data["+rownum+"]", "/root/temp/receivedata");
- // grd_drug.addStatus(grd_drug.row, "update");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_comn.editCell();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue("/root/main/updtsubj/comn["+ grd_comn.row +"]/updtflag") == '-' ) {
- model.setValue("/root/main/updtsubj/comn["+ grd_comn.row +"]/updtflag", "U");
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_codi" nodeset="/root/main/updtsubj/codi" caption="상태^성명^주민번호^연락처^소속^직위^주소^이메일^은행^계좌번호^예금주^병원코드^과제ID^reptseqno^reptkind^userid^userkind^cmt^userseqno" colsep="^" colwidth="55, 100, 113, 100, 100, 100, 231, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:321px; width:1035px; height:74px; ">
- <col disabled="true" ref="updtflag" type="combo">
- <choices>
- <item>
- <label/>
- <value>-</value>
- </item>
- <item>
- <label>추가</label>
- <value>I</value>
- </item>
- <item>
- <label>수정</label>
- <value>U</value>
- </item>
- <item>
- <label>삭제</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="usernm" type="inputbutton"/>
- <col ref="rrgstno" type="input" format="999999-9999999"/>
- <col ref="mpphonno" type="input"/>
- <col ref="deptnm" type="input"/>
- <col ref="jobposnm" type="input"/>
- <col ref="workplceaddr" type="input"/>
- <col ref="email" type="input"/>
- <col class="gridcombo" ref="bankcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initbank/R0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="acntno" type="input"/>
- <col ref="depor" type="input"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="subjid" visibility="hidden"/>
- <col ref="reptseqno" visibility="hidden"/>
- <col ref="reptkind" visibility="hidden"/>
- <col ref="userid" visibility="hidden"/>
- <col ref="userkind" visibility="hidden"/>
- <col ref="cmt" visibility="hidden"/>
- <col ref="userseqno" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if ( grd_codi.col == grd_codi.colRef("usernm") ) {
- setParameter("userkind", "3"); //userkind : 2-공동연구자(내부,외부), 3-코디네이터, 4-관리약사
- setParameter("instcd", model.getValue("/root/main/reptdetl/item/instcd"));
- window.load("../../../crc/comsubjweb/xrw/SPIMR00200_연구원조회.xrw","modal","reser", "left:400px; top:200px; width:534px; height:343px;min:hidden;max:hidden;resize:true;");
-
- if ( getParameter("usernm") != '' ) {
- model.setValue("/root/main/updtsubj/codi["+grd_codi.row+"]/usernm", getParameter("usernm"));
- model.setValue("/root/main/updtsubj/codi["+grd_codi.row+"]/userid", getParameter("userid"));
- model.setValue("/root/main/updtsubj/codi["+grd_codi.row+"]/deptnm", getParameter("hospnm"));
- model.setValue("/root/main/updtsubj/codi["+grd_codi.row+"]/jobposnm", getParameter("jobposnm"));
- model.setValue("/root/main/updtsubj/codi["+grd_codi.row+"]/workplceaddr", getParameter("workplceaddr"));
- model.setValue("/root/main/updtsubj/codi["+grd_codi.row+"]/mpphonno", getParameter("cmpytelno"));
- model.setValue("/root/main/updtsubj/codi["+grd_codi.row+"]/email", getParameter("email"));
- model.setValue("/root/main/updtsubj/codi["+grd_codi.row+"]/bankcd", getParameter("bankcd"));
- model.setValue("/root/main/updtsubj/codi["+grd_codi.row+"]/acntno", getParameter("acntno"));
- model.setValue("/root/main/updtsubj/codi["+grd_codi.row+"]/depor", getParameter("depor"));
- model.setValue("/root/main/updtsubj/codi["+grd_codi.row+"]/rrgstno", getParameter("rrgstno"));
-
- if ( model.getValue("/root/main/updtsubj/codi["+ grd_codi.row +"]/updtflag") == "-" ) {
- model.setValue("/root/main/updtsubj/codi["+ grd_codi.row +"]/updtflag", "U");
- }
- }
-
- grd_codi.isReadOnly(grd_codi.colRef("usernm"), grd_codi.row)=true;
- grd_codi.refresh();
-
- setParameter("usernm", "");
- setParameter("userid", "");
- setParameter("deptnm", "");
- setParameter("jobposnm", "");
- setParameter("workplceaddr", "");
- setParameter("cmpytelno", "");
- setParameter("email", "");
- setParameter("bankcd", "");
- setParameter("acntno", "");
- setParameter("depor", "");
- setParameter("rrgstno", "");
-
- //var rownum = grd_mealprcpcd.row - 1;
- // modal("SPANB00201", 0,100,150,"SPANB00201", "/root/main/mealprcpcd/data["+rownum+"]", "/root/temp/receivedata");
- // grd_drug.addStatus(grd_drug.row, "update");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_codi.editCell();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue("/root/main/updtsubj/codi["+ grd_codi.row +"]/updtflag") == '-' ) {
- model.setValue("/root/main/updtsubj/codi["+ grd_codi.row +"]/updtflag", "U");
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_drug" nodeset="/root/main/updtsubj/drug" caption="상태^성명^주민번호^userseqno^연락처^이메일^소속^직위^주소^은행^계좌번호^예금주^instcd^subjid^reptseqno^reptkind^userid^userkind^cmt" colsep="^" colwidth="56, 100, 44, 33, 100, 100, 100, 169, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:210px; width:515px; height:75px; ">
- <col disabled="true" ref="updtflag" type="combo">
- <choices>
- <item>
- <label/>
- <value>-</value>
- </item>
- <item>
- <label>추가</label>
- <value>I</value>
- </item>
- <item>
- <label>수정</label>
- <value>U</value>
- </item>
- <item>
- <label>삭제</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="usernm" type="inputbutton"/>
- <col ref="rrgstno" visibility="hidden"/>
- <col ref="userseqno" visibility="hidden"/>
- <col ref="mpphonno" type="input"/>
- <col ref="email" type="input"/>
- <col ref="deptnm" type="input"/>
- <col ref="jobposnm" type="input"/>
- <col ref="workplceaddr" type="input"/>
- <col class="gridcombo" ref="bankcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initbank/R0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="acntno" type="input"/>
- <col ref="depor" type="input"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="subjid" visibility="hidden"/>
- <col ref="reptseqno" visibility="hidden"/>
- <col ref="reptkind" visibility="hidden"/>
- <col ref="userid" visibility="hidden"/>
- <col ref="userkind" visibility="hidden"/>
- <col ref="cmt" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if ( grd_drug.col == grd_drug.colRef("usernm") ) {
- setParameter("userkind", "4"); //userkind : 2-공동연구자(내부,외부), 3-코디네이터, 4-관리약사
- setParameter("instcd", model.getValue("/root/main/reptdetl/item/instcd"));
- window.load("../../../crc/comsubjweb/xrw/SPIMR00200_연구원조회.xrw","modal","code", "left:400px; top:200px; width:534px; height:343px;min:hidden;max:hidden;resize:true;");
- //clearParameter("reqinstcd");
-
- if ( getParameter("usernm") != '' ) {
- model.setValue("/root/main/updtsubj/drug["+grd_drug.row+"]/usernm", getParameter("usernm"));
- model.setValue("/root/main/updtsubj/drug["+grd_drug.row+"]/userid", getParameter("userid"));
- model.setValue("/root/main/updtsubj/drug["+grd_drug.row+"]/deptnm", getParameter("deptnm"));
- model.setValue("/root/main/updtsubj/drug["+grd_drug.row+"]/jobposnm", getParameter("jobposnm"));
- model.setValue("/root/main/updtsubj/drug["+grd_drug.row+"]/workplceaddr", getParameter("workplceaddr"));
- model.setValue("/root/main/updtsubj/drug["+grd_drug.row+"]/mpphonno", getParameter("cmpytelno"));
- model.setValue("/root/main/updtsubj/drug["+grd_drug.row+"]/email", getParameter("email"));
- model.setValue("/root/main/updtsubj/drug["+grd_drug.row+"]/bankcd", getParameter("bankcd"));
- model.setValue("/root/main/updtsubj/drug["+grd_drug.row+"]/acntno", getParameter("acntno"));
- model.setValue("/root/main/updtsubj/drug["+grd_drug.row+"]/depor", getParameter("depor"));
- model.setValue("/root/main/updtsubj/drug["+grd_drug.row+"]/rrgstno", getParameter("rrgstno"));
-
- if ( model.getValue("/root/main/updtsubj/drug["+ grd_drug.row +"]/updtflag") == "-" ) {
- model.setValue("/root/main/updtsubj/drug["+ grd_drug.row +"]/updtflag", "U");
- }
-
- }
-
- grd_drug.isReadOnly(grd_drug.colRef("usernm"), grd_drug.row)=true;
- grd_drug.refresh();
-
- setParameter("usernm", "");
- setParameter("userid", "");
- setParameter("deptnm", "");
- setParameter("jobposnm", "");
- setParameter("workplceaddr", "");
- setParameter("cmpytelno", "");
- setParameter("email", "");
- setParameter("bankcd", "");
- setParameter("acntno", "");
- setParameter("depor", "");
- setParameter("rrgstno", "");
-
- //var rownum = grd_mealprcpcd.row - 1;
- // modal("SPANB00201", 0,100,150,"SPANB00201", "/root/main/mealprcpcd/data["+rownum+"]", "/root/temp/receivedata");
- // grd_drug.addStatus(grd_drug.row, "update");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_drug.editCell();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue("/root/main/updtsubj/drug["+ grd_drug.row +"]/updtflag") == '-' ) {
- model.setValue("/root/main/updtsubj/drug["+ grd_drug.row +"]/updtflag", "U");
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_perchgr" nodeset="/root/main/updtsubj/perchgr" caption="상태^성명^주민번호^userseqno^연락처^이메일^소속^직위^은행^계좌번호^예금주^instcd^subjid^reptseqno^reptkind^userid^userkind^cmt^workplceaddr" colsep="^" colwidth="60, 100, 34, 34, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:430px; width:515px; height:64px; ">
- <col disabled="true" ref="updtflag" type="combo">
- <choices>
- <item>
- <label/>
- <value>-</value>
- </item>
- <item>
- <label>추가</label>
- <value>I</value>
- </item>
- <item>
- <label>수정</label>
- <value>U</value>
- </item>
- <item>
- <label>삭제</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="usernm" type="inputbutton" editable="false"/>
- <col ref="rrgstno" visibility="hidden"/>
- <col ref="userseqno" visibility="hidden"/>
- <col ref="mpphonno" type="input"/>
- <col ref="email" type="input"/>
- <col ref="deptnm" type="input"/>
- <col ref="jobposnm" type="input"/>
- <col ref="bankcd" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initbank/R0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="acntno" type="input" visibility="hidden"/>
- <col ref="depor" type="input" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="subjid" visibility="hidden"/>
- <col ref="reptseqno" visibility="hidden"/>
- <col ref="reptkind" visibility="hidden"/>
- <col ref="userid" visibility="hidden"/>
- <col ref="userkind" visibility="hidden"/>
- <col ref="cmt" visibility="hidden"/>
- <col ref="workplceaddr" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if ( grd_perchgr.col == grd_perchgr.colRef("usernm") ) {
-
- if ( model.getValue("/root/send/searchitem/croinstcd") != '' ) {
- var reqinstcd = model.getValue("/root/send/searchitem/croinstcd");
- } else {
- var reqinstcd = model.getValue("/root/send/searchitem/reqinstcd");
- }
-
- setParameter("reqinstcd",reqinstcd);
- window.load("../../../crc/comsubjweb/xrw/SMIMR00300_담당자조회팝업.xrw","modal","reser", "left:400px; top:200px; width:534px; height:343px;min:hidden;max:hidden;resize:true;");
- /*
- model.setValue("/root/main/updtsubj/perchgr["+ grd_perchgr.row +"]/userid", getParameter("perchgrid"));
- model.setValue("/root/main/updtsubj/perchgr["+ grd_perchgr.row +"]/usernm", getParameter("nm"));
- model.setValue("/root/main/updtsubj/perchgr["+ grd_perchgr.row +"]/rrgstno1", getParameter("rrgstno").substr(0,6));
- model.setValue("/root/main/updtsubj/perchgr["+ grd_perchgr.row +"]/rrgstno2", getParameter("rrgstno").substr(6,7));
- model.setValue("/root/main/updtsubj/perchgr["+ grd_perchgr.row +"]/deptnm", getParameter("posnm"));
- model.setValue("/root/main/updtsubj/perchgr["+ grd_perchgr.row +"]/jobposnm", getParameter("jobposnm"));
- model.setValue("/root/main/updtsubj/perchgr["+ grd_perchgr.row +"]/email", getParameter("email"));
- model.setValue("/root/main/updtsubj/perchgr["+ grd_perchgr.row +"]/mpphonno", getParameter("cntctelno"));
- */
- if ( getParameter("nm") != '' ) {
- model.setValue("/root/main/updtsubj/perchgr["+grd_perchgr.row+"]/usernm", getParameter("nm"));
- model.setValue("/root/main/updtsubj/perchgr["+grd_perchgr.row+"]/userid", getParameter("perchgrid"));
- model.setValue("/root/main/updtsubj/perchgr["+grd_perchgr.row+"]/deptnm", getParameter("posnm"));
- model.setValue("/root/main/updtsubj/perchgr["+grd_perchgr.row+"]/jobposnm", getParameter("jobposnm"));
- model.setValue("/root/main/updtsubj/perchgr["+grd_perchgr.row+"]/workplceaddr", getParameter("workplceaddr"));
- model.setValue("/root/main/updtsubj/perchgr["+grd_perchgr.row+"]/mpphonno", getParameter("cntctelno"));
- model.setValue("/root/main/updtsubj/perchgr["+grd_perchgr.row+"]/email", getParameter("email"));
- model.setValue("/root/main/updtsubj/perchgr["+grd_perchgr.row+"]/bankcd", getParameter("bankcd"));
- model.setValue("/root/main/updtsubj/perchgr["+grd_perchgr.row+"]/acntno", getParameter("acntno"));
- model.setValue("/root/main/updtsubj/perchgr["+grd_perchgr.row+"]/depor", getParameter("depor"));
- model.setValue("/root/main/updtsubj/perchgr["+grd_perchgr.row+"]/rrgstno", getParameter("rrgstno"));
-
- model.setValue("/root/main/updtsubj/perchgr["+grd_perchgr.row+"]/updtflag", "U");
- }
-
- setParameter("reqinstcd", "");
-
- grd_perchgr.refresh();
- //var rownum = grd_mealprcpcd.row - 1;
- // modal("SPANB00201", 0,100,150,"SPANB00201", "/root/main/mealprcpcd/data["+rownum+"]", "/root/temp/receivedata");
- // grd_drug.addStatus(grd_drug.row, "update");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_perchgr.editCell();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue("/root/main/updtsubj/perchgr["+grd_perchgr.row+"]/updtflag") == '-' ) {
- model.setValue("/root/main/updtsubj/perchgr["+grd_perchgr.row+"]/updtflag", "U");
- }
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <caption id="caption22" style="left:139px; top:299px; width:320px; height:20px; font-weight:bold; color:#0000ff; ">※ 코디네이터는 모든 항목이 필수 입력 항목입니다.</caption>
- <caption id="caption23" style="left:119px; top:27px; width:410px; height:20px; font-weight:bold; color:#339933; ">* 단, 변경되지 않는 항목란에는 글씨를 입력하지 마십시오.</caption>
- <caption id="caption24" class="tit_2" style="left:530px; top:410px; width:113px; height:13px; ">책임연구자 변경</caption>
- <line id="line4" class="line_1" style="x1:525px; y1:425px; x2:1040px; y2:425px; "/>
- <datagrid id="grd_reser" nodeset="/root/main/updtsubj/reser" caption="상태^사번^성명^주민번호^연락처^이메일^소속^직위^주소^은행^계좌번호^예금주^병원코드^과제ID^reptseqno^reptkind^userkind" colsep="^" colwidth="66, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 45, 39, 36, 28, 39" mergecellsfixedrows="bycolrec" rowsep="|" style="left:525px; top:430px; width:515px; height:64px; ">
- <col ref="updtflag" type="combo">
- <choices>
- <item>
- <label/>
- <value>-</value>
- </item>
- <item>
- <label>추가</label>
- <value>I</value>
- </item>
- <item>
- <label>수정</label>
- <value>U</value>
- </item>
- <item>
- <label>삭제</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="userid"/>
- <col ref="usernm" type="inputbutton" editable="false"/>
- <col ref="rrgstno" visibility="hidden"/>
- <col ref="mpphonno"/>
- <col ref="email"/>
- <col ref="deptnm"/>
- <col ref="jobposnm"/>
- <col ref="workplceaddr"/>
- <col ref="bankcd"/>
- <col ref="acntno"/>
- <col ref="depor"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="subjid" visibility="hidden"/>
- <col ref="reptseqno" visibility="hidden"/>
- <col ref="reptkind" visibility="hidden"/>
- <col ref="userkind" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if ( grd_reser.col == grd_reser.colRef("usernm") ) {
- setParameter("userkind", "1"); //userkind : 2-공동연구자(내부,외부), 3-코디네이터, 4-관리약사
- setParameter("target","resp");
- setParameter("instcd", model.getValue("/root/main/reptdetl/item/instcd"));
- setParameter("usernm", "");
- setParameter("userid", "");
- setParameter("hospnm", "");
- setParameter("jobposnm", "");
- window.load("../../../crc/comsubjweb/xrw/SPIMR00200_연구원조회.xrw","modal","reser", "left:400px; top:200px; width:534px; height:343px;min:hidden;max:hidden;resize:true;");
-
-
- if ( getParameter("usernm") != '' ) {
- model.setValue("/root/main/updtsubj/reser["+grd_reser.row+"]/usernm", getParameter("usernm"));
- model.setValue("/root/main/updtsubj/reser["+grd_reser.row+"]/userid", getParameter("userid"));
- model.setValue("/root/main/updtsubj/reser["+grd_reser.row+"]/deptnm", getParameter("deptnm"));
- model.setValue("/root/main/updtsubj/reser["+grd_reser.row+"]/jobposnm", getParameter("jobposnm"));
- model.setValue("/root/main/updtsubj/reser["+grd_reser.row+"]/workplceaddr", getParameter("workplceaddr"));
- model.setValue("/root/main/updtsubj/reser["+grd_reser.row+"]/mpphonno", getParameter("cmpytelno"));
- model.setValue("/root/main/updtsubj/reser["+grd_reser.row+"]/email", getParameter("email"));
- model.setValue("/root/main/updtsubj/reser["+grd_reser.row+"]/bankcd", getParameter("bankcd"));
- model.setValue("/root/main/updtsubj/reser["+grd_reser.row+"]/acntno", getParameter("acntno"));
- model.setValue("/root/main/updtsubj/reser["+grd_reser.row+"]/depor", getParameter("depor"));
- model.setValue("/root/main/updtsubj/reser["+grd_reser.row+"]/rrgstno", getParameter("rrgstno"));
-
- if ( model.getValue("/root/main/updtsubj/reser["+ grd_reser.row +"]/updtflag") == "-" ) {
- model.setValue("/root/main/updtsubj/reser["+ grd_reser.row +"]/updtflag", "U");
- }
- }
-
- grd_reser.refresh();
-
- setParameter("usernm", "");
- setParameter("userid", "");
- setParameter("deptnm", "");
- setParameter("jobposnm", "");
- setParameter("workplceaddr", "");
- setParameter("cmpytelno", "");
- setParameter("email", "");
- setParameter("bankcd", "");
- setParameter("acntno", "");
- setParameter("depor", "");
- setParameter("rrgstno", "");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue("/root/main/updtsubj/reser["+grd_reser.row+"]/updtflag") == '-' ) {
- model.setValue("/root/main/updtsubj/reser["+grd_reser.row+"]/updtflag", "U");
- }
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <line id="line5" class="line_3" style="x1:526px; y1:499px; x2:1040px; y2:499px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|