1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?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>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <usermngtlist>
- <userkindcd/>
- <userkind/>
- <acntgrupcd/>
- <userid/>
- <usernm/>
- <pwd/>
- <posinstcd/>
- <posinstnm/>
- <posdeptcd/>
- <posdeptnm/>
- <userfromdd/>
- <usertodd/>
- <dutplceinstcd/>
- <dutplceinstnm/>
- <dutplcecd/>
- <dutplcenm/>
- <fromdd/>
- <todd/>
- <majorfild/>
- <majorfildnm/>
- <jobkindcd/>
- <jobkindnm/>
- <jobposcd/>
- <jobposnm/>
- <rrgstno/>
- <email/>
- <mpphonno/>
- <grupjoblncd/>
- <resetodd/>
- </usermngtlist>
- </list>
- <view>
- <info1>
- <userid/>
- <usernm/>
- <pwd/>
- <userfromdd/>
- <usertodd/>
- <posinstcd/>
- <posinstnm/>
- <posdeptcd/>
- <posdeptnm/>
- <fromdd/>
- <todd/>
- <dutplceinstcd/>
- <dutplceinstnm/>
- <dutplcecd/>
- <dutplcenm/>
- <majorfild/>
- <majorfildnm/>
- <jobkindcd/>
- <jobkindnm/>
- <jobposcd/>
- <jobposnm/>
- <userkindcd/>
- <info1del/>
- <userkind/>
- <rrgstno/>
- <mpphonno/>
- <email/>
- <status/>
- <grupjoblncd/>
- <resetodd/>
- </info1>
- <reqinfo>
- <reqinstcd/>
- <reqinstflag/>
- <cmpynm/>
- <prsdnm/>
- <bizcondkind/>
- <bizcond/>
- <telno/>
- <jobposnm/>
- <email/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseq/>
- <addr1/>
- <jobposnm1/>
- <posnm1/>
- <email1/>
- <cntctelno1/>
- <mpphonno1/>
- <cmt/>
- <userid/>
- <faxno/>
- <usernm/>
- <hidreqinstcd/>
- </reqinfo>
- <info3>
- <userkind/>
- <engnm/>
- <postrecvtret/>
- <gndr/>
- <acdmydgcd/>
- <acdmydgnm/>
- <frmrmertcd/>
- <frmrmertnm/>
- <hometel/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseq/>
- <homeaddr/>
- <jobposcd/>
- <jobposnm/>
- <bankcd/>
- <acntno/>
- <depor/>
- <cmpytelno/>
- <faxno/>
- <workplceaddr/>
- <cmt/>
- <userid/>
- <dutplceinstcd/>
- <usernm/>
- <jobkindcd/>
- <jobkindnm/>
- <dutplcecd/>
- <dutplcenm/>
- <usertodd/>
- </info3>
- </view>
- <pwd>
- <item>
- <userid/>
- <pwd/>
- </item>
- </pwd>
- </main>
- <send>
- <userid/>
- <usernm/>
- <userkindcd/>
- <userkind/>
- <info1/>
- <info2/>
- <info3/>
- <srchuserkind/>
- <srchsubuserkind/>
- <passinfo>
- <orgpwd/>
- <pwda/>
- <pwdb/>
- <userid/>
- </passinfo>
- <srchsubjid/>
- <userfromdd/>
- <chkhist/>
- <rrgstno/>
- <email>
- <fromaddress/>
- <fromname/>
- <toaddress/>
- <subject/>
- <mailmsg/>
- <tomailaddr/>
- <toname/>
- </email>
- </send>
- <init>
- <baseinfo>
- <bankcode>
- <R0001>
- <cdid/>
- <cdnm/>
- </R0001>
- </bankcode>
- </baseinfo>
- <hosp>
- <item>
- <instcd/>
- <cdnm/>
- </item>
- </hosp>
- <grupjob>
- <item>
- <cdid/>
- <cdnm/>
- </item>
- </grupjob>
- </init>
- <hidden>
- <info1/>
- <info3/>
- <reqinfo/>
- </hidden>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- zbcfGetCodeList( new Array("R0001"), new Array("/root/init/baseinfo/bankcode"));
- submit("TRICE00104");
- submit("TRICE00106");
- model.setValue("/root/main/view/info1/userfromdd",getCurrentDate());
- model.setValue("/root/main/view/info1/usertodd","99991231");
- model.setValue("/root/main/view/info1/fromdd",getCurrentDate());
- model.setValue("/root/main/view/info1/todd","99991231");
-
- btn_resave.disabled = true;
- btn_t.disabled = true;
- btn_r.disabled = true;
- model.refresh();
- ]]>
- </script>
- <submission id="TRZBC00101"/>
- <submission id="TRICE00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
- <submission id="TXICE00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info1" replace="instance" resultref="/root/temp"/>
- <submission id="TXICE00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info2" replace="instance" resultref="/root/hidden"/>
- <submission id="TXICE00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info3" resultref="/root/hidden"/>
- <submission id="TXICE00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/passinfo" replace="instance" resultref="/root/hidden"/>
- <submission id="TRICE00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/view/info1" replace="instance" resultref="/root/main/view"/>
- <submission id="TRICE00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/view/reqinfo" replace="instance" resultref="/root/hidden"/>
- <submission id="TRICE00104" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init/hosp"/>
- <submission id="TRICE00105" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/main/pwd"/>
- <submission id="TRICE00106" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init/grupjob"/>
- <submission id="TXICE00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info1" replace="instance" resultref="/root/hidden"/>
- <submission id="TXICE00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/email" replace="instance" resultref="/root/hidden"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fView(){
- model.setValue( "/root/send/userid", model.getValue("/root/send/userid").toUpperCase() );
- submit("TRICE00101");
- model.setValue("/root/main/view/info1/userfromdd",getCurrentDate());
- model.setValue("/root/main/view/info1/usertodd","99991231");
- model.setValue("/root/main/view/info1/fromdd",getCurrentDate());
- model.setValue("/root/main/view/info1/todd","99991231");
- model.refresh();
- }
-
- function fDelete(){
-
- model.setValue("/root/main/view/info1/info1del", "D");
- model.setValue("/root/main/view/info1/userkindcd", model.getValue("/root/send/userkindcd"));
- model.setValue("/root/main/view/reqinfo/userid", model.getValue("/root/main/view/info1/userid"));
-
- model.copyNode("/root/send/info1", "/root/main/view/info1");
- model.copyNode("/root/send/info2", "/root/main/view/reqinfo");
-
- model.setValue("/root/main/view/info3/userid", model.getValue("/root/main/view/info1/userid"));
- model.setValue("/root/main/view/info3/usernm", model.getValue("/root/main/view/info1/usernm"));
- model.setValue("/root/main/view/info3/dutplceinstcd", model.getValue("/root/main/view/info1/dutplceinstcd"));
-
- submit("TXICE00101");
-
- fView();
- }
-
- // 저장
-
- function fSave() {
-
- var getDD = new Date();
- var yearVal = getDD.getYear().toString();
- var monthVal = (getDD.getMonth() + 1).toString();
- var dayVal = getDD.getDate().toString();
- var today = "";
-
- if (monthVal.length == 1)
- monthVal = "0" + monthVal;
-
- if (dayVal.length == 1)
- dayVal = "0" + dayVal;
-
- today = yearVal + monthVal + dayVal; // 오늘 날짜(99991231)
-
- model.setValue("/root/main/view/info1/userkindcd", model.getValue("/root/send/userkindcd"));
-
- model.makeNode("/root/main/view/info3/dutplcecd") ;
- model.makeNode("/root/main/view/info3/dutplcenm") ;
-
- // 부서코드, 부서명
- model.setValue("/root/main/view/info3/dutplcecd", model.getValue("/root/main/view/info1/dutplcecd"));
- model.setValue("/root/main/view/info3/dutplcenm", model.getValue("/root/main/view/info1/dutplcenm"));
- // 내부 구분
- if (model.getValue("/root/send/userkindcd") == '01') {
- //연구자
- model.setValue("/root/main/view/info3/usernm", model.getValue("/root/main/view/info1/usernm"));
- model.setValue("/root/main/view/info3/dutplceinstcd", model.getValue("/root/main/view/info1/dutplceinstcd"));
- model.copyNode("/root/send/info3", "/root/main/view/info3");
- model.setValue("/root/send/info3/userkind", model.getValue("/root/main/view/info1/userkind"));
-
- model.setValue("/root/main/view/info1/userkindcd", model.getValue("/root/send/userkindcd"));
- model.copyNode("/root/send/info1", "/root/main/view/info1");
- model.makeValue("/root/send/info1/zipcd1", model.getValue("/root/main/view/info3/zipcd1"));
- model.makeValue("/root/send/info1/zipcd2", model.getValue("/root/main/view/info3/zipcd2"));
- model.makeValue("/root/send/info1/addr", model.getValue("/root/main/view/info3/homeaddr"));
- model.makeValue("/root/send/info1/cntctelno", model.getValue("/root/main/view/info3/cmpytelno"));
- model.makeValue("/root/send/info1/faxno", model.getValue("/root/main/view/info3/faxno"));
-
- // 5: CRCC담당자, 6: IRB담당자, 7: 연구비담당자
- if ( model.getValue("/root/main/view/info1/userkind") == '5' || model.getValue("/root/main/view/info1/userkind") == '6' || model.getValue("/root/main/view/info1/userkind") == '7' ) { //irb 및 crcc 담당자
- if ( submit("TXICE00101") ) {
- //messageBox("저장이","I002");
- if ( model.getValue("/root/temp/initinfo/retstatus") == 'N' ) {
- messageBox("같은 주민등록번호의 사용자가 존재합니다.", "E999");
- messageBox("신규 등록되지", "E007");
- return;
- }
- else
- {
- // ***** 2009.09.28(김재우 추가, 사용자구분 값 저장) *****
- var ruserid = model.getValue("/root/temp/initinfo/ruserid"); // 인사팀 연동정보 저장 후의 return ID값
- var userid = model.getValue("/root/main/view/info1/userid");
- if ( model.getValue("/root/main/view/info1/status") == 'i' ) {
- model.setValue("/root/send/info3/userid", ruserid);
- } else {
- model.setValue("/root/send/info3/userid", userid);
- }
-
- model.makeValue("/root/send/info3/userkindcd", model.getValue("/root/send/userkindcd"));
- submit("TXICE00103");
- messageBox("저장이","I002");
- // ***** 2009.09.28 수정 끝 *****
- }
- } else {
- messageBox("저장이", "E009");
- return;
- }
-
- } else {
- if( submit("TXICE00101") ) {
- var ruserid = model.getValue("/root/temp/initinfo/ruserid"); // 인사팀 연동정보 저장 후의 return ID값
- var userid = model.getValue("/root/main/view/info1/userid");
-
- if ( model.getValue("/root/main/view/info1/status") == 'i' ) {
- model.setValue("/root/send/info3/userid", ruserid);
- model.setValue("/root/send/info1/userid", ruserid);
- } else {
- model.setValue("/root/send/info3/userid", userid);
- model.setValue("/root/send/info1/userid", userid);
- }
- if ( model.getValue("/root/temp/initinfo/retstatus") == 'N' ) {
- messageBox("같은 주민등록번호의 사용자가 존재합니다.", "E999");
- messageBox("신규 등록되지", "E007");
- return;
- } else {
- // ***** 2009.09.28(김재우 추가, 연구자 정보 데이터 저장) *****
- model.makeValue("/root/send/info3/userkindcd", model.getValue("/root/send/userkindcd")); // 연구자정보 UPDATE 시 where절에서 '사용자구분'을 조건으로 추가
- model.setValue("/root/send/info3/cmpytelno", model.getValue("/root/main/view/info3/cmpytelno")); // 전화번호
- model.setValue("/root/send/info3/faxno", model.getValue("/root/main/view/info3/faxno")); // 팩스번호
- model.setValue("/root/send/info3/workplceaddr", model.getValue("/root/main/view/info3/workplceaddr")); // 근무지주소
- model.setValue("/root/send/info3/frmrmertcd", model.getValue("/root/main/view/info3/frmrmertcd")); // 전공코드
- model.setValue("/root/send/info3/frmrmertnm", model.getValue("/root/main/view/info3/frmrmertnm")); // 전공명
- model.setValue("/root/send/info3/acdmydgcd", model.getValue("/root/main/view/info3/acdmydgcd")); // 학위코드
- model.setValue("/root/send/info3/acdmydgnm", model.getValue("/root/main/view/info3/acdmydgnm")); // 학위명
- model.setValue("/root/send/info3/homeaddr", model.getValue("/root/main/view/info3/homeaddr")); // 집주소
- model.setValue("/root/send/info3/bankcd", model.getValue("/root/main/view/info3/bankcd")); // 은행코드
- model.setValue("/root/send/info3/zipcd1", model.getValue("/root/main/view/info3/zipcd1")); // 우편번호1
- model.setValue("/root/send/info3/zipcd2", model.getValue("/root/main/view/info3/zipcd2")); // 우편번호2
- model.setValue("/root/send/info3/postrecvtret", model.getValue("/root/main/view/info3/postrecvtret")); // 우편물수신처
- // ***** 2009.09.28 수정 끝 *****
- submit("TXICE00103"); // crc.imcmreser에 저장
- submit("TXICE00105"); // crc.imcmreqchrg에 저장
- messageBox("저장이","I002");
- }
- } else {
- messageBox("저장이", "E009");
- return;
- }
-
- }
- }
- // 외부구분
- if ( model.getValue("/root/send/userkindcd") == '02' ) {
- if (model.getValue("/root/main/view/info1/userkind") == '0') {
- // 의뢰담당자
- if ( model.getValue("/root/main/view/reqinfo/posnm1") == '' ) {
- messageBox("소속은 필수입력입니다.", "I");
- return;
- }
- if ( model.getValue("/root/main/view/reqinfo/email1") == '' ) {
- messageBox("이메일은 필수입력입니다.", "I");
- return;
- }
- if ( model.getValue("/root/main/view/reqinfo/cntctelno1") == '' ) {
- messageBox("전화번호는 필수입력입니다.", "I");
- return;
- }
- if ( model.getValue("/root/main/view/reqinfo/mpphonno1") == '' ) {
- messageBox("핸드폰번호는 필수입력입니다.", "I");
- return;
- }
- if ( model.getValue("/root/main/view/reqinfo/faxno") == '' ) {
- messageBox("팩스번호는 필수입력입니다.", "I");
- return;
- }
- // 2009/09/15,pwh : 직위는 필수에서 제외
- /*
- if ( model.getValue("/root/main/view/reqinfo/jobposnm1") == '' ) {
- messageBox("직위는 필수입력입니다.", "I");
- return;
- }
- */
- model.copyNode("/root/send/info1", "/root/main/view/info1");
-
- model.setValue("/root/main/view/reqinfo/usernm", model.getValue("/root/main/view/info1/usernm"));
- model.copyNode("/root/send/info2", "/root/main/view/reqinfo");
-
- if ( submit("TXICE00101") ) {
- var ruserid = model.getValue("/root/temp/initinfo/ruserid"); // 인사팀 연동정보 저장 후의 return ID값
- var userid = model.getValue("/root/main/view/info1/userid");
- if ( model.getValue("/root/main/view/info1/status") == 'i' ) {
- model.setValue("/root/send/info2/userid", ruserid);
- } else {
- model.setValue("/root/send/info2/userid", userid);
- }
- if ( model.getValue("/root/temp/initinfo/retstatus") == 'N' ) {
- messageBox("같은 주민등록번호의 사용자가 존재합니다.", "E999");
- messageBox("신규 등록되지", "E007");
- return;
- } else {
- submit("TXICE00102"); // crc.imcmreqchrg에 저장
-
- // ***** 2009.09.28 추가(김재우, [사용자구분] 항목을 imcmreser테이블에 저장)
- model.setValue("/root/main/view/info3/dutplceinstcd", model.getValue("/root/main/view/info1/dutplceinstcd"));
- model.copyNode("/root/send/info3", "/root/main/view/info3");
- model.makeValue("/root/send/info3/userkind", model.getValue("/root/main/view/info1/userkind")); // 사용자구분
- model.makeValue("/root/send/info3/userkindcd", model.getValue("/root/send/userkindcd"));
-
- model.makeValue("/root/send/info3/rrgstno", model.getValue("/root/main/view/info1/rrgstno"));
- model.makeValue("/root/send/info3/email", model.getValue("/root/main/view/info1/email"));
- model.makeValue("/root/send/info3/mpphonno", model.getValue("/root/main/view/info1/mpphonno"));
-
- var ruserid = model.getValue("/root/temp/initinfo/ruserid"); // 인사팀 연동정보 저장 후의 return ID값
- var userid = model.getValue("/root/main/view/info1/userid");
- if ( model.getValue("/root/main/view/info1/status") == 'i' )
- model.setValue("/root/send/info3/userid", ruserid);
- else
- model.setValue("/root/send/info3/userid", userid);
-
- model.makeValue("/root/send/info3/usertodd", today); // 의뢰담당자로 변경되면 crc.imcmreser에서 사용되는 계정은 종료 시킴(2009.10.09)
- submit("TXICE00103"); // crc.imcmreser에 저장(김재우, 2009.10.08)
- // ***** 2009.09.28 수정 끝 *****
-
- messageBox("저장이","I002");
- }
- } else {
- messageBox("저장이", "E009");
- return;
- }
- } else {
- // 외부연구자, 외부코디네이터
- model.setValue("/root/main/view/info1/userkindcd", model.getValue("/root/send/userkindcd"));
- model.copyNode("/root/send/info1", "/root/main/view/info1");
- model.setValue("/root/main/view/info3/usernm", model.getValue("/root/main/view/info1/usernm"));
- model.setValue("/root/main/view/info3/dutplceinstcd", model.getValue("/root/main/view/info1/dutplceinstcd"));
-
- model.copyNode("/root/send/info3", "/root/main/view/info3");
- model.setValue("/root/send/info3/userkind", model.getValue("/root/main/view/info1/userkind"));
- model.makeValue("/root/send/info3/rrgstno", model.getValue("/root/main/view/info1/rrgstno"));
- model.makeValue("/root/send/info3/email", model.getValue("/root/main/view/info1/email"));
- model.makeValue("/root/send/info3/mpphonno", model.getValue("/root/main/view/info1/mpphonno"));
-
- model.copyNode("/root/send/info1", "/root/main/view/info1");
- model.makeValue("/root/send/info1/zipcd1", model.getValue("/root/main/view/info3/zipcd1"));
- model.makeValue("/root/send/info1/zipcd2", model.getValue("/root/main/view/info3/zipcd2"));
- model.makeValue("/root/send/info1/addr", model.getValue("/root/main/view/info3/homeaddr"));
- model.makeValue("/root/send/info1/cntctelno", model.getValue("/root/main/view/info3/cmpytelno"));
- model.makeValue("/root/send/info1/faxno", model.getValue("/root/main/view/info3/faxno"));
- if( submit("TXICE00101") ) {
- var ruserid = model.getValue("/root/temp/initinfo/ruserid"); // 인사팀 연동정보 저장 후의 return ID값
- var userid = model.getValue("/root/main/view/info1/userid");
- if ( model.getValue("/root/main/view/info1/status") == 'i' ) {
- model.setValue("/root/send/info3/userid", ruserid);
- model.setValue("/root/send/info1/userid", ruserid);
- } else {
- model.setValue("/root/send/info3/userid", userid);
- model.setValue("/root/send/info1/userid", userid);
- }
-
- if ( model.getValue("/root/temp/initinfo/retstatus") == 'N' ) {
- messageBox("같은 주민등록번호의 사용자가 존재합니다.", "E999");
- messageBox("신규 등록되지", "E007");
- return;
- } else {
- model.makeValue("/root/send/info3/userkindcd", model.getValue("/root/send/userkindcd"));
- model.makeValue("/root/send/info3/usertodd", "99991231");
- submit("TXICE00103"); // crc.imcmreser에 저장
- submit("TXICE00105"); // crc.imcmreqchrg에 저장(김재우, 2009-10-08)
- messageBox("저장이","I002");
- }
- } else {
- messageBox("저장이", "E009");
- return;
- }
- }
- }
- }
-
- // 의뢰기관 정보 조회
- function fGetReqInfo() {
- model.getValue("/root/main/view/reqinfo/reqinstcd", model.setValue("/root/hidden/reqinfo/reqinstcd"));
- model.getValue("/root/main/view/reqinfo/reqinstflag", model.setValue("/root/hidden/reqinfo/reqinstflag"));
- model.getValue("/root/main/view/reqinfo/cmpynm", model.setValue("/root/hidden/reqinfo/cmpynm"));
- model.getValue("/root/main/view/reqinfo/prsdnm", model.setValue("/root/hidden/reqinfo/prsdnm"));
- model.getValue("/root/main/view/reqinfo/bizcondkind", model.setValue("/root/hidden/reqinfo/bizcondkind"));
- model.getValue("/root/main/view/reqinfo/bizcond", model.setValue("/root/hidden/reqinfo/bizcond"));
- model.getValue("/root/main/view/reqinfo/telno", model.setValue("/root/hidden/reqinfo/telno"));
- model.getValue("/root/main/view/reqinfo/jobposnm", model.setValue("/root/hidden/reqinfo/jobposnm"));
- model.getValue("/root/main/view/reqinfo/email", model.setValue("/root/hidden/reqinfo/email"));
- model.getValue("/root/main/view/reqinfo/zipcd1", model.setValue("/root/hidden/reqinfo/zipcd1"));
- model.getValue("/root/main/view/reqinfo/zipcd2", model.setValue("/root/hidden/reqinfo/zipcd2"));
- model.getValue("/root/main/view/reqinfo/addr1", model.setValue("/root/hidden/reqinfo/addr1"));
- model.getValue("/root/main/view/reqinfo/cmt", model.setValue("/root/hidden/reqinfo/cmt"));
-
- model.getValue("/root/main/view/reqinfo/jobposnm1", model.setValue("/root/hidden/reqinfo/jobposnm1"));
- model.getValue("/root/main/view/reqinfo/posnm1", model.setValue("/root/hidden/reqinfo/posnm1"));
- model.getValue("/root/main/view/reqinfo/email1", model.setValue("/root/hidden/reqinfo/email1"));
- model.getValue("/root/main/view/reqinfo/cntctelno1", model.setValue("/root/hidden/reqinfo/cntctelno1"));
- model.getValue("/root/main/view/reqinfo/mpphonno1", model.setValue("/root/hidden/reqinfo/mpphonno1"));
- model.getValue("/root/main/view/reqinfo/faxno", model.setValue("/root/hidden/reqinfo/faxno"));
- }
-
- // 사용자정보 Clear
- function fSetUserClear() {
- model.resetInstanceNode("/root/main/view/info1");
- model.resetInstanceNode("/root/main/view/reqinfo");
- model.resetInstanceNode("/root/main/view/info3");
-
- model.refresh();
- }
-
- function fCheck() {
- if ( model.getValue("/root/main/view/info1/usernm") == '' ) {
- messageBox("사용자명은", "I003");
- model.setFocus("ipt_usernm");
- return false;
- }
- if ( model.getValue("/root/main/view/info1/rrgstno") == '' || model.getValue("/root/main/view/info1/rrgstno").length != '13') {
- messageBox("주민등록번호는", "I003");
- model.setFocus("ipt_rrgstno");
- return false;
- }
- var rrgs = model.getValue("/root/main/view/info1/rrgstno");
- if(!isResidentNo(rrgs)){ // 주민번호 유효성 체크
- messageBox(model.getValue("/root/main/view/info1/usernm") + "님의 주민번호는 잘못된 주민번호","E008");
- return false;
- }
- if ( model.getValue("/root/main/view/info1/mpphonno") == '' ) {
- messageBox("핸드폰 번호는", "I003");
- model.setFocus("ipt_phonno");
- return false;
- }
- if ( model.getValue("/root/main/view/info1/email") == '' ) {
- messageBox("이메일은", "I003");
- model.setFocus("ipt_email");
- return false;
- }
-
- if (model.getValue("/root/send/userkindcd") == '02' && model.getValue("/root/main/view/info1/userkind") == '2' ){
- // 외부연구자
- if ( model.getValue("root/main/view/info1/usernm") == '') {
- messageBox("사용자명은 필수입력입니다.", "I");
- return false;
- }
- if ( model.getValue("/root/main/view/info1/rrgstno") == '' ) {
- messageBox("주민번호는 필수입력입니다.", "I");
- return false;
- }
- if ( model.getValue("/root/main/view/info3/hometel") == '' ) {
- messageBox("집전화는 필수입력입니다.", "I");
- return false;
- }
- if ( model.getValue("/root/main/view/info3/homeaddr") == '' ) {
- messageBox("집주소는 필수입력입니다.", "I");
- return false;
- }
- if ( model.getValue("/root/main/view/info1/mpphonno") == '' ) {
- messageBox("핸드폰번호는 필수입력입니다.", "I");
- return false;
- }
- if ( model.getValue("/root/main/view/info1/email") == '' ) {
- messageBox("메일은 필수입력입니다.", "I");
- return false;
- }
- if ( model.getValue("/root/main/view/info3/bankcd") == '' ) {
- messageBox("은행코드는 필수입력입니다.", "I");
- return false;
- }
- if ( model.getValue("/root/main/view/info3/acntno") == '' ) {
- messageBox("계좌번호는 필수입력입니다.", "I");
- return false;
- }
- if ( model.getValue("/root/main/view/info3/depor") == '' ) {
- messageBox("예금주는 필수입력입니다.", "I");
- return false;
- }
- if ( model.getValue("/root/main/view/info1/dutplceinstcd") == '' ) {
- messageBox("근무지기관은 필수입력입니다.", "I");
- return false;
- }
- if ( model.getValue("/root/main/view/info1/dutplcecd") == '' ) {
- messageBox("근무지부서는 필수입력입니다.", "I");
- return false;
- }
- if ( model.getValue("/root/main/view/info3/cmpytelno") == '' ) {
- messageBox("직장 전화번호는 필수입력입니다.", "I");
- return false;
- }
- if ( model.getValue("/root/main/view/info3/faxno") == '' ) {
- messageBox("직장 팩스는 필수입력입니다.", "I");
- return false;
- }
- if ( model.getValue("/root/main/view/info3/workplceaddr") == '' ) {
- messageBox("직장주소는 필수입력입니다.", "I");
- return false;
- }
- // 2009/09/14,pwh: 직위는 필수조건에서 제외:사용자 정은경 협의
- // if ( model.getValue("/root/main/view/info3/jobposcd") == '' ) {
- // messageBox("직위는 필수입력입니다.", "I");
- // return false;
- // }
- }else if (model.getValue("/root/main/view/info1/userkind") == '8' || model.getValue("/root/main/view/info1/userkind") == '2' ){
- // 코디네이터
- if ( model.getValue("root/main/view/info1/usernm") == '') {
- messageBox("사용자명은 필수입력입니다.", "I");
- return false;
- }
- if ( model.getValue("/root/main/view/info1/dutplceinstcd") == '' ) {
- messageBox("근무지기관은 필수입력입니다.", "I"); // Table에서 not null
- return false;
- }
- if ( model.getValue("/root/main/view/info1/dutplcecd") == '' ) {
- messageBox("근무지부서는 필수입력입니다.", "I"); // Table에서 not null
- return false;
- }
- if ( model.getValue("/root/main/view/info1/rrgstno") == '' ) {
- messageBox("주민번호는 필수입력입니다.", "I");
- return false;
- }
- if ( model.getValue("/root/main/view/info3/hometel") == '' ) {
- messageBox("집전화는 필수입력입니다.", "I");
- return false;
- }
- if ( model.getValue("/root/main/view/info3/homeaddr") == '' ) {
- messageBox("집주소는 필수입력입니다.", "I");
- return false;
- }
- if ( model.getValue("/root/main/view/info1/mpphonno") == '' ) {
- messageBox("핸드폰번호는 필수입력입니다.", "I");
- return false;
- }
- if ( model.getValue("/root/main/view/info1/email") == '' ) {
- messageBox("메일은 필수입력입니다.", "I");
- return false;
- }
- if ( model.getValue("/root/main/view/info3/bankcd") == '' ) {
- messageBox("은행코드는 필수입력입니다.", "I");
- return false;
- }
- if ( model.getValue("/root/main/view/info3/acntno") == '' ) {
- messageBox("계좌번호는 필수입력입니다.", "I");
- return false;
- }
- if ( model.getValue("/root/main/view/info3/depor") == '' ) {
- messageBox("예금주는 필수입력입니다.", "I");
- return false;
- }
- }
- }
-
- function fDisable() {
- if ( model.getValue("/root/send/userkindcd") == '01') { //내부
- // ipt_usernm.disabled = true;
- ipt_posinstcd.disabled = true;
- ipt_posdeptcd.disabled = true;
- ipt_posdeptnm.disabled = true;
- ipt_dutplceinstcd.disabled = true;
- ipt_dutplcecd.disabled = true;
- ipt_dutplcenm.disabled = true;
- ipt_fromdd.disabled = true;
- ipt_todd.disabled = true;
- ipt_fromdd2.disabled = true;
- ipt_todd2.disabled = true;
- ipt_rrgstno.disabled = true;
- ipt_phonno.disabled = true;
- ipt_email.disabled = true;
- combo1.disabled = true;
- ipt_majorfild.disabled = true;
- ipt_majorfildnm.disabled = true;
- ipt_jobkindcd.disabled = true;
- ipt_jobkindnm.disabled = true;
- ipt_jobposcd.disabled = true;
- ipt_jobposnm.disabled = true;
- } else { //외부
- // ipt_usernm.disabled = false;
- ipt_posinstcd.disabled = false;
- ipt_posdeptcd.disabled = false;
- ipt_posdeptnm.disabled = false;
- ipt_dutplceinstcd.disabled = false;
- ipt_dutplcecd.disabled = false;
- ipt_dutplcenm.disabled = false;
- ipt_fromdd.disabled = true;
- ipt_todd.disabled = true;
- ipt_fromdd2.disabled = true;
- ipt_todd2.disabled = true;
- ipt_rrgstno.disabled = true;
- // ipt_phonno.disabled = false;
- // ipt_email.disabled = false;
- combo1.disabled = false;
- ipt_majorfild.disabled = false;
- ipt_majorfildnm.disabled = false;
- ipt_jobkindcd.disabled = false;
- ipt_jobkindnm.disabled = false;
- ipt_jobposcd.disabled = false;
- ipt_jobposnm.disabled = false;
- }
- }
-
- function fSearchChk()
- {
- if (model.getValue("/root/send/srchuserkind") == "" && model.getValue("/root/send/srchsubuserkind") == "")
- {
- if (model.getValue("/root/send/userid") == "" && model.getValue("/root/send/usernm") == "" && model.getValue("/root/send/rrgstno") == "")
- {
- alert("사용자ID, 사용자명, 주민등록번호 중에 하나를 입력해 주시길 바랍니다");
- return false;
- }
- }
- else
- {
- if (model.getValue("/root/send/userid") == "" && model.getValue("/root/send/usernm") == "" && model.getValue("/root/send/rrgstno") == "")
- alert("[주의사항] 조회 건수가 10000건 초과시에는 오류가 발생하게 됩니다");
- }
- }
-
- // ***** 2009.09.17 김재우(등록/재등록 처리함수) *****
- function fStatusReverse(obj)
- {
- var today = new Date();
- var y = String(today.getFullYear());
- var m = String((today.getMonth() + 1));
- var d = String(today.getDate());
- var userkindcdValue = model.getValue("/root/main/view/info1/userkindcd"); // 내부-외부
- var userkindValue = model.getValue("/root/main/view/info1/userkind"); // 사용자구분
- var usertodd = model.getValue("/root/main/view/info1/usertodd");
- if (m.length == 1) m = "0" + m;
- var getDate = y + m + d;
- if (userkindcdValue == "02" && (userkindValue == "0" || userkindValue == "2" || userkindValue == "8"))
- {
- model.setValue("/root/main/view/info1/status", obj);
- if (obj == "t") // 퇴사
- {
- if (usertodd != "99991231")
- {
- alert(usertodd.substring(0, 4) + "년 " + usertodd.substring(4, 6)+ "월 " + usertodd.substring(6) + "일자로 종료되었으므로, [퇴사]처리를 할 수 없습니다");
- return false;
- }
- model.setValue("/root/main/view/info1/usertodd", getDate);
- model.setValue("/root/main/view/info1/todd", getDate);
- model.copyNode("/root/send/info1", "/root/main/view/info1");
- model.setValue("/root/main/view/reqinfo/usernm", model.getValue("/root/main/view/info1/usernm"));
- model.copyNode("/root/send/info2", "/root/main/view/reqinfo");
- }
- else // 재입사
- {
- // var userfromdd = model.getValue("/root/main/view/info1/userfromdd");
- // var usertodd = model.getValue("/root/main/view/info1/usertodd");
-
- // if ( usertodd == '99991231' ) {
- // messageBox("권한종료되지 않은 사용자는 재등록할 수","I004");
- // return false;
- // } else if ( userfromdd <= usertodd ) {
- // messageBox("최종 사용 종료일자와 같거나 작은 등록 시작일자는 입력할 수","I004");
- // return false;
- // }
- if (usertodd == "99991231")
- {
- alert("유효한 ID이므로, [재입사] 처리를 할 수 없습니다");
- return false;
- }
-
- model.setValue("/root/main/view/info1/usertodd", '99991231');
- model.setValue("/root/main/view/info1/todd", '99991231');
-
- model.copyNode("/root/send/info1", "/root/main/view/info1");
- model.setValue("/root/main/view/reqinfo/usernm", model.getValue("/root/main/view/info1/usernm"));
- model.copyNode("/root/send/info2", "/root/main/view/reqinfo");
- }
- }
- else
- {
- alert("교직원 정보는 인사팀에서 관리합니다");
- return false;
- }
- submit("TXICE00101");
- fSetUserClear();
- fView();
- model.resetInstanceNode("/root/send");
- model.refresh();
- return true;
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="2,783;1,1194;1,1356;2,178;">
- <input id="ipt_jobkindcd" ref="/root/main/view/info1/jobkindcd" class="input_default" navindex="30" inputtype="button" appearance="input" style="left:445px; top:530px; width:70px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- setParameter("cdgrupid","R0061");
- window.load("../../../crc/comsubjweb/xrw/SPIMR00300_공통코드조회팝업.xrw","modal","code", "left:600px; top:50px; width:1500px; height:540px;min:hidden;max:hidden;resize:false;" ,"", "");
-
- var cdid = getParameter("cdid");
- var cdnm = getParameter("cdnm");
-
- if ( cdid !="" ){
- model.setValue("/root/main/view/info1/jobkindcd", cdid);
- model.setValue("/root/main/view/info1/jobkindnm", cdnm);
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <group id="group3" style="left:0px; top:0px; width:1194px; height:37px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="search_name" style="left:330px; top:10px; width:90px; height:17px; ">사용자ID :</caption>
- <caption id="caption2" class="search_name" style="left:550px; top:10px; width:90px; height:17px; ">사용자명 :</caption>
- <input id="input1" ref="/root/send/userid" navindex="3" style="left:420px; top:9px; width:110px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </input>
- <input id="input2" ref="/root/send/usernm" navindex="4" style="left:640px; top:9px; width:115px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption55" class="search_name" style="left:10px; top:10px; width:117px; height:17px; ">사용자구분 :</caption>
- <select1 id="combo11" ref="/root/send/srchuserkind" class="combo_search" navindex="2" appearance="minimal" style="left:115px; top:9px; width:70px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>내부</label>
- <value>01</value>
- </item>
- <item>
- <label>외부</label>
- <value>02</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue("/root/send/srchuserkind") == '02' ) {
- combo6.visible = true;
- combo10.visible = false;
- } else {
- combo6.visible = false;
- combo10.visible = true;
- }
- model.setValue("/root/send/srchsubuserkind", "");
- fSetUserClear();
- ]]>
- </script>
- </select1>
- <button id="btn_sea" class="btn1_letter2" navindex="5" _auth="R" style="left:1130px; top:5px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( fSearchChk() == false ) {
- return;
- }
- fSetUserClear();
- fView();
- model.setValue("/root/send", "");
- ]]>
- </script>
- </button>
- <select id="checkbox1" ref="/root/send/chkhist" overflow="visible" appearance="full" style="left:1030px; top:10px; width:80px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>이력포함</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select1 id="combo6" ref="/root/send/srchsubuserkind" class="combo_search" navindex="2" appearance="minimal" style="left:190px; top:9px; width:110px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>의뢰자</label>
- <value>0</value>
- </item>
- <item>
- <label>외부연구자</label>
- <value>2</value>
- </item>
- <item>
- <label>외부코디네이터</label>
- <value>8</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //model.setValue("/root/send/userid","");
- //model.setValue("/root/send/usernm","");
- fSetUserClear();
- // fView();
- ]]>
- </script>
- </select1>
- <select1 id="combo10" ref="/root/send/srchsubuserkind" class="combo_search" navindex="2" appearance="minimal" style="left:190px; top:9px; width:110px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>내부연구자</label>
- <value>1</value>
- </item>
- <item>
- <label>내부코디네이터</label>
- <value>3</value>
- </item>
- <item>
- <label>관리약사</label>
- <value>4</value>
- </item>
- <item>
- <label>CRCC담당자</label>
- <value>5</value>
- </item>
- <item>
- <label>IRB담당자</label>
- <value>6</value>
- </item>
- <item>
- <label>연구비관리자</label>
- <value>7</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //model.setValue("/root/send/userid","");
- //model.setValue("/root/send/usernm","");
- fSetUserClear();
- // fView();
- ]]>
- </script>
- </select1>
- <caption id="caption5" class="search_name" style="left:770px; top:10px; width:112px; height:17px; ">주민등록번호 :</caption>
- <input id="input21" ref="/root/send/rrgstno" navindex="4" format="999999-9999999" style="left:890px; top:9px; width:115px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </input>
- </group>
- <datagrid id="grd_userdeptinfo" nodeset="/root/main/list/usermngtlist" class="datagrid2" scroll="auto" caption="내부/외부^사용자구분^사용자ID^사용자명^비밀
번호^소속기관^소속기관^소속기관부서^소속기관부서^시작일자^종료일자^근무지기관^근무지기관^근무지부서^근무지부서^시작일자^종료일자^전공^전공^직종^직종^직위^직위^caption1^caption2^caption3^caption4" colsep="^" colwidth="77, 100, 80, 66, 46, 34, 100, 76, 107, 79, 79, 34, 100, 76, 80, 79, 79, 56, 100, 54, 100, 54, 100, 27, 30, 17, 30" dataheight="35" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" tooltip="true" navindex="9" style="left:5px; top:70px; width:1190px; height:300px; ">
- <col disabled="true" ref="userkindcd" type="combo">
- <choices>
- <item>
- <label>내부사용자</label>
- <value>01</value>
- </item>
- <item>
- <label>외부사용자</label>
- <value>02</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="userkind" type="combo">
- <choices>
- <item>
- <label>내부연구자</label>
- <value>1</value>
- </item>
- <item>
- <label>외부연구자</label>
- <value>2</value>
- </item>
- <item>
- <label>내부코디네이터</label>
- <value>3</value>
- </item>
- <item>
- <label>관리약사</label>
- <value>4</value>
- </item>
- <item>
- <label>CRCC담당자</label>
- <value>5</value>
- </item>
- <item>
- <label>IRB담당자</label>
- <value>6</value>
- </item>
- <item>
- <label>연구비관리자</label>
- <value>7</value>
- </item>
- <item>
- <label>외부코디네이터</label>
- <value>8</value>
- </item>
- <item>
- <label>의뢰담당자</label>
- <value>0</value>
- </item>
- </choices>
- </col>
- <col ref="userid"/>
- <col ref="usernm"/>
- <col ref="pwd" visibility="hidden"/>
- <col ref="posinstcd"/>
- <col ref="posinstnm"/>
- <col ref="posdeptcd"/>
- <col ref="posdeptnm"/>
- <col ref="userfromdd" format="yyyy-mm-dd"/>
- <col ref="usertodd" format="yyyy-mm-dd"/>
- <col ref="dutplceinstcd"/>
- <col ref="dutplceinstnm"/>
- <col ref="dutplcecd"/>
- <col ref="dutplcenm"/>
- <col ref="fromdd" format="yyyy-mm-dd"/>
- <col ref="todd" format="yyyy-mm-dd"/>
- <col ref="majorfild"/>
- <col ref="majorfildnm"/>
- <col ref="jobkindcd"/>
- <col ref="jobkindnm"/>
- <col ref="jobposcd"/>
- <col ref="jobposnm"/>
- <col ref="rrgstno" visibility="hidden"/>
- <col ref="email" visibility="hidden"/>
- <col ref="mpphonno" visibility="hidden"/>
- <col ref="grupjoblncd" visibility="hidden"/>
- <col ref="acntgrupcd" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var idx = grd_userdeptinfo.row;
- DbClick_value = idx;
-
- model.copyNode("/root/main/view/info1","/root/main/list/usermngtlist["+idx+"]");
- model.setValue("/root/send/userkindcd", model.getValue("/root/main/list/usermngtlist["+idx+"]/userkindcd"));
- model.setValue("/root/send/userkind", model.getValue("/root/main/list/usermngtlist["+idx+"]/userkind"));
- var userkindcd = model.getValue("/root/send/userkindcd");
- var userkind = model.getValue("/root/send/userkind");
- submit("TRICE00102", false);
- model.makeValue("/root/main/view/info1/userkind", model.getValue("/root/main/list/usermngtlist["+idx+"]/userkind"));
- model.makeValue("/root/main/view/info1/resetodd", model.getValue("/root/main/list/usermngtlist["+idx+"]/resetodd")); // 2009.09.28(김재우, imcmreser의 종료일자)
- if(userkindcd == "01") { //내부사용자
- group1.visible=false;
- group2.visible=true;
- caption63.visible = true;
- combo8.visible = true;
- combo9.visible = false;
- } else {
- //외부사용자
- combo8.visible = false;
- combo9.visible = true;
- if ( model.getValue("/root/main/view/info1/userkind") == '0' ) { //의뢰담당자
- group1.visible = true;
- caption63.visible = true;
- group2.visible = false;
- } else { // 외부연구자, 외부코디네이터
- group1.visible=false;
- caption63.visible = true;
- group2.visible=true;
- }
- model.refresh();
- }
-
- fDisable();
-
- btn_new.disabled = true;
- btn_resave.disabled = false;
- btn_t.disabled = false;
- btn_r.disabled = false;
-
- model.refresh();
- ]]>
- </script>
- <script ev:event="ondblclick">
- <![CDATA[
-
- 'Dim objShell
- 'Set objShell = CreateObject("WScript.Shell")
- 'Dim userid
- 'userid= model.getValue("/root/main/list/usermngtlist[" & grd_userdeptinfo.row & "]/userid")
-
- 'call objShell.Run("EXPLORER ""http://crc001.cmcnu.or.kr/himed/login.live?userid=" & userid & "&password=1""")
- 'alert("완료")
- 'Set objShell = Nothing
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_userdeptinfo.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="btn_abort" class="btn4_letter4" navindex="8" visibility="hidden" _auth="X" style="left:1030px; top:757px; width:80px; height:22px; ">
- <caption>권한종료</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/main/view/info1/status", "t");
- if (messageBox("권한종료를","Q004") != 6 ){
- return;
- }
- fSave();
- fSetUserClear();
- fView();
- ]]>
- </script>
- </button>
- <button id="btn_new" class="btn4_letter2" navindex="7" _auth="X" style="left:871px; top:40px; width:56px; height:22px; ">
- <caption>신규</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // if ( fCheck() == false ) {
- // return;
- // }
- model.setValue("/root/main/view/info1/status", "i");
- fSave();
- fSetUserClear();
- fView();
- ]]>
- </script>
- </button>
- <line id="line1" class="line_1" style="x1:5px; y1:65px; x2:1195px; y2:65px; "/>
- <select1 id="combo1" ref="/root/send/userkindcd" class="combo_essential" navindex="11" appearance="minimal" style="left:140px; top:390px; width:205px; height:19px; ">
- <choices>
- <item>
- <label>내부</label>
- <value>01</value>
- </item>
- <item>
- <label>외부</label>
- <value>02</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var userkindcd = model.getValue("/root/send/userkindcd");
-
- //연구자
- if(userkindcd == "01") {
- group1.visible=false;
- caption63.visible = true;
- group2.visible=true;
- combo8.visible = true;
- combo9.visible = false;
- } else {
- //의뢰담당자 or 외부사용자
- combo8.visible = false;
- combo9.visible = true;
-
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if ( model.getValue("/root/send/userkindcd") == '01') {
- messageBox("내부 사용자는 등록하실 수 없습니다.", "I999");
- model.setValue("/root/send/userkindcd", "02");
- model.refresh();
- return;
- }
- ]]>
- </script>
- </select1>
- <caption id="caption3" class="cell_1" style="left:6px; top:387px; width:130px; height:23px; text-align:center; vertical-align:middle; ">내부 / 외부</caption>
- <caption id="caption21" class="cell_1" style="left:6px; top:415px; width:130px; height:23px; text-align:center; vertical-align:middle; ">사용자ID(사원번호)</caption>
- <caption id="caption39" class="cell_1" style="left:350px; top:415px; width:90px; height:23px; text-align:center; vertical-align:middle; ">사용자명</caption>
- <input id="ipt_usernm" ref="/root/main/view/info1/usernm" class="input_essential" navindex="13" appearance="input" style="left:445px; top:417px; width:130px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/view/info3/depor", model.getValue("/root/main/view/info1/usernm"));
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption42" class="cell_1" style="left:580px; top:415px; width:90px; height:23px; text-align:center; vertical-align:middle; ">비밀번호</caption>
- <caption id="caption43" class="cell_1" style="left:6px; top:443px; width:130px; height:23px; text-align:center; vertical-align:middle; ">소속기관</caption>
- <caption id="caption44" class="cell_1" style="left:350px; top:443px; width:90px; height:23px; text-align:center; vertical-align:middle; ">소속기관부서</caption>
- <caption id="caption45" class="cell_1" style="left:6px; top:470px; width:130px; height:23px; text-align:center; vertical-align:middle; ">근무지기관</caption>
- <caption id="caption46" class="cell_1" style="left:350px; top:470px; width:90px; height:23px; text-align:center; vertical-align:middle; ">근무지부서</caption>
- <caption id="caption47" class="cell_1" style="left:735px; top:445px; width:90px; height:23px; text-align:center; vertical-align:middle; ">시작일자</caption>
- <caption id="caption48" class="cell_1" style="left:940px; top:445px; width:90px; height:23px; text-align:center; vertical-align:middle; ">종료일자</caption>
- <input id="ipt_posdeptcd" ref="/root/main/view/info1/posdeptcd" class="input_default" navindex="18" inputtype="button" appearance="input" style="left:445px; top:445px; width:110px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- zbcfOpenInstDeptCodeList("deptnm", "", "/root/main/view/info1/posdeptcd", "/root/main/view/info1/posdeptnm", "orduseyn", "", new Array("deptcd", "depthngnm"));
- ]]>
- </script>
- </input>
- <input id="ipt_posdeptnm" ref="/root/main/view/info1/posdeptnm" class="input_default" navindex="19" appearance="input" style="left:560px; top:445px; width:130px; height:19px; "/>
- <input id="ipt_dutplcenm" ref="/root/main/view/info1/dutplcenm" class="input_default" navindex="22" appearance="input" style="left:560px; top:472px; width:130px; height:19px; "/>
- <input id="ipt_dutplcecd" ref="/root/main/view/info1/dutplcecd" class="input_essential" navindex="21" inputtype="button" appearance="input" style="left:445px; top:472px; width:110px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- zbcfOpenInstDeptCodeList("deptnm", "", "/root/main/view/info1/dutplcecd", "/root/main/view/info1/dutplcenm", "orduseyn", "", new Array("deptcd", "depthngnm"));
- ]]>
- </script>
- </input>
- <input id="ipt_majorfildnm" ref="/root/main/view/info1/majorfildnm" class="input_default" navindex="29" appearance="input" style="left:215px; top:530px; width:130px; height:19px; "/>
- <caption id="caption49" class="cell_1" style="left:6px; top:528px; width:130px; height:23px; text-align:center; vertical-align:middle; ">전공</caption>
- <input id="ipt_majorfild" ref="/root/main/view/info1/majorfild" class="input_default" navindex="28" inputtype="button" appearance="input" style="left:140px; top:530px; width:70px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- setParameter("cdgrupid","R0089");
- window.load("../../../crc/comsubjweb/xrw/SPIMR00300_공통코드조회팝업.xrw","modal","code", "left:600px; top:50px; width:1500px; height:540px;min:hidden;max:hidden;resize:false;" ,"", "");
-
- var cdid = getParameter("cdid");
- var cdnm = getParameter("cdnm");
-
- // model.setValue("/root/main/view/info1/majorfild", cdid);
- // model.setValue("/root/main/view/info1/majorfildnm", cdnm);
- if ( cdid !="" ){
- model.setValue("/root/main/view/info1/majorfild", cdid);
- model.setValue("/root/main/view/info1/majorfildnm", cdnm);
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <caption id="caption51" class="cell_1" style="left:350px; top:529px; width:90px; height:23px; text-align:center; vertical-align:middle; ">직종</caption>
- <input id="ipt_jobkindnm" ref="/root/main/view/info1/jobkindnm" class="input_default" navindex="31" maxlength="50" appearance="input" style="left:520px; top:530px; width:130px; height:19px; "/>
- <line id="line12" class="line_3" style="x1:6px; y1:386px; x2:1190px; y2:386px; "/>
- <line id="line13" class="line_2" style="x1:6px; y1:410px; x2:1190px; y2:410px; "/>
- <line id="line14" class="line_2" style="x1:6px; y1:440px; x2:1190px; y2:440px; "/>
- <line id="line15" class="line_2" style="x1:6px; y1:470px; x2:1190px; y2:470px; "/>
- <input id="input17" ref="/root/main/view/info1/userid" class="input_essential" navindex="12" editable="false" imemode="alpha" maxlength="10" appearance="input" style="left:140px; top:417px; width:205px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- button3.disabled = true;
- ]]>
- </script>
- </input>
- <input id="ipt_fromdd" ref="/root/main/view/info1/userfromdd" class="input_essential" navindex="15" inputtype="date" appearance="input" style="left:829px; top:447px; width:106px; height:19px; "/>
- <input id="ipt_todd" ref="/root/main/view/info1/usertodd" class="input_essential" navindex="16" inputtype="date" appearance="input" style="left:1035px; top:447px; width:106px; height:19px; "/>
- <caption id="caption50" class="cell_1" style="left:655px; top:528px; width:90px; height:23px; text-align:center; vertical-align:middle; ">직위</caption>
- <input id="ipt_jobposnm" ref="/root/main/view/info1/jobposnm" class="input_default" navindex="33" maxlength="50" appearance="input" style="left:825px; top:530px; width:111px; height:19px; "/>
- <input id="ipt_jobposcd" ref="/root/main/view/info1/jobposcd" class="input_default" navindex="32" inputtype="button" appearance="input" style="left:750px; top:530px; width:70px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- setParameter("cdgrupid","R0062");
- window.load("../../../crc/comsubjweb/xrw/SPIMR00300_공통코드조회팝업.xrw","modal","code", "left:600px; top:50px; width:1500px; height:540px;min:hidden;max:hidden;resize:false;" ,"", "");
-
- var cdid = getParameter("cdid");
- var cdnm = getParameter("cdnm");
-
- // model.setValue("/root/main/view/info1/jobposcd", cdid);
- // model.setValue("/root/main/view/info1/jobposnm", cdnm);
- if ( cdid !="" ){
- model.setValue("/root/main/view/info1/jobposcd", cdid);
- model.setValue("/root/main/view/info1/jobposnm", cdnm);
- model.refresh();
- }
- // input28.value = cdid;
- // input27.value = cdnm;
- ]]>
- </script>
- </input>
- <line id="line17" class="line_3" visibility="hidden" style="x1:6px; y1:570px; x2:1190px; y2:570px; "/>
- <group id="group4" visibility="hidden" style="left:770px; top:355px; width:298px; height:85px; border-style:solid; ">
- <secret id="secret2" ref="/root/send/passinfo/pwdb" navindex="25" appearance="secret" style="left:113px; top:34px; width:177px; height:19px; "/>
- <button id="button4" class="btn5_letter2" navindex="26" _auth="X" style="left:195px; top:59px; width:42px; height:19px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /*submit("TRICE00105");
- for ( var i =1; i <= datagrid1.rows ; i++){
- model.setValue( "/root/main/view/info1/userid", model.getValue("/root/main/pwd/item["+i+"]/userid"));
- model.setValue("/root/send/passinfo/userid", model.getValue("/root/main/pwd/item["+i+"]/userid"));
- model.setValue("/root/send/passinfo/pwda", model.getValue( "/root/main/pwd/item["+i+"]/pwd"));
- model.setValue("/root/send/passinfo/pwda", model.getValue( "/root/main/pwd/item["+i+"]/pwd"));
- model.refresh();
-
- submit("TXICE00104");
- }
- return;*/
- model.setValue( "/root/main/view/info1/userid", model.getValue("/root/main/view/info1/userid").toUpperCase() );
- model.refresh();
- model.setValue("/root/send/passinfo/userid", model.getValue("/root/main/view/info1/userid"));
-
- var pwda = model.getValue("/root/send/passinfo/pwda");
- var pwdb = model.getValue("/root/send/passinfo/pwdb");
- if(pwda != pwdb) {
- messageBox("입력하신 비밀번호가 다릅니다.", "I");
- model.setFocus("secre1");
- return;
- }
-
- if(submit("TXICE00104")) {
- messageBox("변경되었습니다.", "I");
- group4.visible = false;
- }
- model.setValue("/root/send/passinfo/pwda","");
- model.setValue("/root/send/passinfo/pwdb","");
- secret1.refresh();
- secret2.refresh();
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter2" navindex="27" style="left:245px; top:59px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/passinfo/pwda","");
- model.setValue("/root/send/passinfo/pwdb","");
- secret1.refresh();
- secret2.refresh();
- group4.visible = false;
- ]]>
- </script>
- </button>
- <caption id="caption53" class="cell_1" style="left:5px; top:10px; width:105px; height:21px; text-align:center; ">변경할 비밀번호</caption>
- <caption id="caption54" class="cell_1" style="left:5px; top:34px; width:105px; height:21px; text-align:center; ">비밀번호확인</caption>
- <secret id="secret1" ref="/root/send/passinfo/pwda" navindex="10" appearance="secret" style="left:113px; top:10px; width:177px; height:19px; "/>
- </group>
- <button id="button7" class="btn2_letter6" navindex="14" _auth="X" style="left:680px; top:415px; width:86px; height:19px; ">
- <caption>비밀번호변경</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group4.visible = true;
- ]]>
- </script>
- </button>
- <select1 id="ipt_posinstcd" ref="/root/main/view/info1/posinstcd" class="combo_default" navindex="17" appearance="minimal" style="left:140px; top:445px; width:205px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/hosp/item">
- <label ref="cdnm"/>
- <value ref="instcd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="ipt_dutplceinstcd" ref="/root/main/view/info1/dutplceinstcd" class="combo_essential" navindex="20" appearance="minimal" style="left:140px; top:472px; width:205px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/hosp/item">
- <label ref="cdnm"/>
- <value ref="instcd"/>
- </itemset>
- </choices>
- </select1>
- <line id="line16" class="line_2" style="x1:6px; y1:495px; x2:1190px; y2:495px; "/>
- <button id="btn_clear" class="btn4_letter3" navindex="6" style="left:797px; top:40px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetUserClear();
- model.setValue("/root/main/view/info1/userfromdd",getCurrentDate());
- model.setValue("/root/main/view/info1/usertodd","99991231");
- model.setValue("/root/main/view/info1/fromdd",getCurrentDate());
- model.setValue("/root/main/view/info1/todd","99991231");
- model.setValue("/root/send/userkindcd", "02");
- combo8.visible = false;
- combo9.visible = true;
-
- btn_new.disabled = false;
- btn_resave.disabled = false;
- btn_t.disabled = false;
- btn_r.disabled = false;
-
- // ipt_usernm.disabled = false;
- ipt_posinstcd.disabled = false;
- ipt_posdeptcd.disabled = false;
- ipt_posdeptnm.disabled = false;
- ipt_dutplceinstcd.disabled = false;
- ipt_dutplcecd.disabled = false;
- ipt_dutplcenm.disabled = false;
- ipt_fromdd.disabled = false;
- ipt_todd.disabled = false;
- ipt_fromdd2.disabled = false;
- ipt_todd2.disabled = false;
- ipt_rrgstno.disabled = false;
- ipt_phonno.disabled = false;
- ipt_email.disabled = false;
- combo1.disabled = false;
- ipt_majorfild.disabled = false;
- ipt_majorfildnm.disabled = false;
- ipt_jobkindcd.disabled = false;
- ipt_jobkindnm.disabled = false;
- ipt_jobposcd.disabled = false;
- ipt_jobposnm.disabled = false;
-
- model.refresh();
- ]]>
- </script>
- </button>
- <datagrid id="datagrid1" nodeset="/root/main/pwd/item" visibility="hidden" caption="caption1^caption2^caption3" colsep="^" mergecellsfixedrows="bycolrec" rowsep="|" style="left:725px; top:175px; width:410px; height:150px; ">
- <col ref="userid"/>
- <col ref="pwd"/>
- <col/>
- </datagrid>
- <group id="group2" visibility="hidden" style="left:4px; top:572px; width:1190px; height:200px; border-color:red; border-width:1px; border-style:solid; ">
- <input id="output7" ref="/root/main/view/info3/engnm" class="input_default" navindex="42" appearance="input" style="left:223px; top:4px; width:152px; height:19px; "/>
- <input id="output11" ref="/root/main/view/info3/cmpytelno" class="input_essential" appearance="input" style="left:223px; top:109px; width:152px; height:19px; "/>
- <input id="output8" ref="/root/main/view/info3/postrecvtret" class="input_default" navindex="46" appearance="input" style="left:610px; top:4px; width:390px; height:19px; "/>
- <input id="output12" ref="/root/main/view/info3/workplceaddr" class="input_essential" appearance="input" style="left:722px; top:108px; width:465px; height:19px; "/>
- <input id="output13" ref="/root/main/view/info3/homeaddr" class="input_essential" navindex="53" appearance="input" style="left:490px; top:56px; width:696px; height:19px; "/>
- <input id="output9" ref="/root/main/view/info3/hometel" class="input_essential" navindex="52" appearance="input" style="left:223px; top:56px; width:152px; height:19px; "/>
- <caption id="caption10" class="cell_1" style="left:133px; top:54px; width:87px; height:23px; text-align:center; vertical-align:middle; ">집전화</caption>
- <caption id="caption22" class="cell_1" style="left:380px; top:81px; width:107px; height:23px; text-align:center; vertical-align:middle; ">은행코드</caption>
- <caption id="caption11" class="cell_1" style="left:625px; top:107px; width:95px; height:23px; text-align:center; vertical-align:middle; ">주소</caption>
- <caption id="caption23" class="cell_1" style="left:380px; top:54px; width:107px; height:23px; text-align:center; vertical-align:middle; ">집주소</caption>
- <caption id="caption12" class="cell_1" style="left:133px; top:81px; width:87px; height:23px; text-align:center; vertical-align:middle; ">직위</caption>
- <caption id="caption4" class="cell_1" style="left:2px; top:2px; width:130px; height:75px; text-align:center; vertical-align:middle; ">기초정보</caption>
- <caption id="caption13" class="cell_1" style="left:133px; top:107px; width:87px; height:23px; text-align:center; vertical-align:middle; ">전화번호</caption>
- <caption id="caption14" class="cell_1" style="left:2px; top:133px; width:130px; height:64px; text-align:center; vertical-align:middle; ">비고</caption>
- <caption id="caption6" class="cell_1" style="left:133px; top:2px; width:87px; height:23px; text-align:center; vertical-align:middle; ">영문명</caption>
- <line id="line2" class="line_3" style="x1:1px; y1:78px; x2:1185px; y2:78px; "/>
- <caption id="caption7" class="cell_1" style="left:380px; top:2px; width:107px; height:23px; text-align:center; vertical-align:middle; ">우편물수신처</caption>
- <line id="line3" class="line_2" style="x1:132px; y1:26px; x2:1185px; y2:26px; "/>
- <textarea id="textarea1" ref="/root/main/view/info3/cmt" style="left:133px; top:133px; width:1052px; height:64px; "/>
- <caption id="caption8" class="cell_1" style="left:133px; top:28px; width:87px; height:23px; text-align:center; vertical-align:middle; ">성별</caption>
- <caption id="caption9" class="cell_1" style="left:2px; top:80px; width:130px; height:49px; text-align:center; vertical-align:middle; ">직장정보</caption>
- <input id="input6" ref="/root/main/view/info3/zipcd1" class="input_default" navindex="43" editable="false" appearance="input" style="left:490px; top:5px; width:45px; height:19px; "/>
- <input id="input7" ref="/root/main/view/info3/zipcd2" class="input_default" navindex="44" editable="false" appearance="input" style="left:538px; top:5px; width:45px; height:19px; "/>
- <button id="button8" class="icon_search" navindex="45" style="left:588px; top:7px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var rcv_zipcdhead_path = "/root/main/view/info3/zipcd1";
- var rcv_zipcdfoot_path = "/root/main/view/info3/zipcd2";
- var rcv_address_path = "/root/main/view/info3/postrecvtret";
- var rcv_seqno_path = "/root/main/view/info3/zipcdseq";
- var term = model.getValue("recv_zipcdhead_path");
- zbcfOpenZipCodeList("address", term, rcv_zipcdhead_path, rcv_zipcdfoot_path, rcv_seqno_path, rcv_address_path);
- ]]>
- </script>
- </button>
- <line id="line4" class="line_2" style="x1:132px; y1:52px; x2:1185px; y2:52px; "/>
- <select1 id="combo3" ref="/root/main/view/info3/gndr" navindex="47" appearance="minimal" style="left:223px; top:30px; width:152px; height:19px; ">
- <choices>
- <item>
- <label>남</label>
- <value>M</value>
- </item>
- <item>
- <label>여</label>
- <value>F</value>
- </item>
- </choices>
- </select1>
- <input id="input3" ref="/root/main/view/info3/faxno" class="input_essential" appearance="input" style="left:490px; top:109px; width:130px; height:19px; "/>
- <caption id="caption17" class="cell_1" style="left:380px; top:107px; width:107px; height:23px; text-align:center; vertical-align:middle; ">팩스</caption>
- <input id="input4" ref="/root/main/view/info3/acntno" class="input_essential" navindex="57" appearance="input" style="left:722px; top:83px; width:193px; height:19px; "/>
- <caption id="caption18" class="cell_1" style="left:625px; top:81px; width:95px; height:23px; text-align:center; vertical-align:middle; ">계좌번호</caption>
- <caption id="caption19" class="cell_1" style="left:920px; top:81px; width:70px; height:23px; text-align:center; vertical-align:middle; ">예금주</caption>
- <input id="input5" ref="/root/main/view/info3/depor" class="input_essential" appearance="input" style="left:993px; top:83px; width:194px; height:19px; "/>
- <select1 id="combo7" ref="/root/main/view/info3/bankcd" class="input_essential" navindex="56" appearance="minimal" style="left:490px; top:82px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/bankcode/R0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line5" class="line_2" style="x1:133px; y1:105px; x2:1185px; y2:105px; "/>
- <line id="line6" class="line_3" style="x1:1px; y1:131px; x2:1185px; y2:131px; "/>
- <caption id="caption15" class="cell_1" style="left:700px; top:28px; width:90px; height:23px; text-align:center; vertical-align:middle; ">학위</caption>
- <caption id="caption16" class="cell_1" style="left:380px; top:28px; width:107px; height:23px; text-align:center; vertical-align:middle; ">전공</caption>
- <input id="input41" ref="/root/main/view/info3/jobposnm" class="input_default" navindex="55" maxlength="50" appearance="input" style="left:285px; top:82px; width:90px; height:19px; "/>
- <input id="input42" ref="/root/main/view/info3/jobposcd" class="input_default" navindex="54" inputtype="button" appearance="input" style="left:223px; top:82px; width:60px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- setParameter("cdgrupid","R0062");
- window.load("../../../crc/comsubjweb/xrw/SPIMR00300_공통코드조회팝업.xrw","modal","code", "left:600px; top:50px; width:1500px; height:540px;min:hidden;max:hidden;resize:false;" ,"", "");
-
- var cdid = getParameter("cdid");
- var cdnm = getParameter("cdnm");
-
- // model.setValue("/root/main/view/info1/majorfild", cdid);
- // model.setValue("/root/main/view/info1/majorfildnm", cdnm);
- if ( cdid !="" ){
- model.setValue("/root/main/view/info3/jobposcd", cdid);
- model.setValue("/root/main/view/info3/jobposnm", cdnm);
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="input43" ref="/root/main/view/info3/frmrmertnm" class="input_default" navindex="49" appearance="input" style="left:565px; top:30px; width:130px; height:19px; "/>
- <input id="input44" ref="/root/main/view/info3/acdmydgnm" class="input_default" navindex="51" appearance="input" style="left:870px; top:30px; width:130px; height:19px; "/>
- <input id="input45" ref="/root/main/view/info3/frmrmertcd" class="input_default" navindex="48" inputtype="button" appearance="input" style="left:490px; top:30px; width:70px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- setParameter("cdgrupid","R0089");
- window.load("../../../crc/comsubjweb/xrw/SPIMR00300_공통코드조회팝업.xrw","modal","code", "left:600px; top:50px; width:1500px; height:540px;min:hidden;max:hidden;resize:false;" ,"", "");
-
- var cdid = getParameter("cdid");
- var cdnm = getParameter("cdnm");
-
- // model.setValue("/root/main/view/info1/jobkindcd", cdid);
- // model.setValue("/root/main/view/info1/jobkindnm", cdnm);
- if ( cdid !="" ){
- model.setValue("/root/main/view/info3/frmrmertcd", cdid);
- model.setValue("/root/main/view/info3/frmrmertnm", cdnm);
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="input46" ref="/root/main/view/info3/acdmydgcd" class="input_default" navindex="50" inputtype="button" appearance="input" style="left:795px; top:30px; width:70px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- setParameter("cdgrupid","R0087");
- window.load("../../../crc/comsubjweb/xrw/SPIMR00300_공통코드조회팝업.xrw","modal","code", "left:600px; top:50px; width:1500px; height:540px;min:hidden;max:hidden;resize:false;" ,"", "");
-
- var cdid = getParameter("cdid");
- var cdnm = getParameter("cdnm");
-
- // model.setValue("/root/main/view/info1/jobposcd", cdid);
- // model.setValue("/root/main/view/info1/jobposnm", cdnm);
- if ( cdid !="" ){
- model.setValue("/root/main/view/info3/acdmydgcd", cdid);
- model.setValue("/root/main/view/info3/acdmydgnm", cdnm);
- model.refresh();
- }
- ]]>
- </script>
- </input>
- </group>
- <group id="group1" visibility="hidden" style="left:3px; top:572px; width:1191px; height:200px; border-color:red; border-width:1px; border-style:solid; ">
- <output id="input8" ref="/root/main/view/reqinfo/zipcd2" class="input_default" editable="false" appearance="output" style="left:555px; top:56px; width:66px; height:19px; "/>
- <input id="input9" ref="/root/main/view/reqinfo/cntctelno1" class="input_essential" navindex="37" appearance="input" style="left:223px; top:109px; width:130px; height:19px; "/>
- <output id="input12" ref="/root/main/view/reqinfo/cmpynm" class="input_default" appearance="output" style="left:723px; top:4px; width:147px; height:19px; "/>
- <output id="input13" ref="/root/main/view/reqinfo/jobposnm" class="input_default" appearance="output" style="left:962px; top:30px; width:126px; height:19px; "/>
- <output id="input14" ref="/root/main/view/reqinfo/addr1" class="input_default" appearance="output" style="left:625px; top:56px; width:463px; height:19px; "/>
- <caption id="caption20" class="cell_1" style="left:874px; top:28px; width:86px; height:23px; text-align:center; vertical-align:middle; ">직위명</caption>
- <caption id="caption24" class="cell_1" style="left:357px; top:81px; width:130px; height:23px; text-align:center; vertical-align:middle; ">소속</caption>
- <caption id="caption25" class="cell_1" style="left:133px; top:81px; width:87px; height:23px; text-align:center; vertical-align:middle; ">직위</caption>
- <caption id="caption26" class="cell_1" style="left:357px; top:54px; width:130px; height:23px; text-align:center; vertical-align:middle; ">주소</caption>
- <caption id="caption27" class="cell_1" style="left:133px; top:107px; width:87px; height:23px; text-align:center; vertical-align:middle; ">전화번호</caption>
- <caption id="caption28" class="cell_1" style="left:2px; top:2px; width:130px; height:75px; text-align:center; vertical-align:middle; ">의뢰기관</caption>
- <caption id="caption29" class="cell_1" style="left:2px; top:133px; width:130px; height:64px; text-align:center; vertical-align:middle; ">비고</caption>
- <caption id="caption30" class="cell_1" style="left:133px; top:2px; width:87px; height:23px; text-align:center; vertical-align:middle; ">의뢰기관코드</caption>
- <caption id="caption31" class="cell_1" style="left:874px; top:2px; width:86px; height:23px; text-align:center; vertical-align:middle; ">대표자명</caption>
- <line id="line7" class="line_3" style="x1:1px; y1:78px; x2:1088px; y2:78px; "/>
- <caption id="caption32" class="cell_1" style="left:357px; top:2px; width:130px; height:23px; text-align:center; vertical-align:middle; ">의뢰기관구분</caption>
- <caption id="caption33" class="cell_1" style="left:357px; top:28px; width:130px; height:23px; text-align:center; vertical-align:middle; ">업태</caption>
- <textarea id="textarea2" ref="/root/main/view/reqinfo/cmt" navindex="40" style="left:133px; top:133px; width:952px; height:64px; "/>
- <line id="line8" class="line_3" style="x1:132px; y1:26px; x2:1088px; y2:26px; "/>
- <caption id="caption34" class="cell_1" style="left:625px; top:2px; width:95px; height:23px; text-align:center; vertical-align:middle; ">회사명</caption>
- <caption id="caption35" class="cell_1" style="left:357px; top:107px; width:130px; height:23px; text-align:center; vertical-align:middle; ">핸드폰</caption>
- <input id="input15" ref="/root/main/view/reqinfo/mpphonno1" class="input_essential" navindex="38" maxlength="13" appearance="input" style="left:490px; top:109px; width:130px; height:19px; "/>
- <line id="line9" class="line_3" style="x1:132px; y1:52px; x2:1088px; y2:52px; "/>
- <caption id="caption36" class="cell_1" style="left:133px; top:28px; width:87px; height:23px; text-align:center; vertical-align:middle; ">업종</caption>
- <line id="line10" class="line_3" style="x1:133px; y1:105px; x2:1089px; y2:105px; "/>
- <caption id="caption37" class="cell_1" style="left:625px; top:81px; width:95px; height:23px; text-align:center; vertical-align:middle; ">E-mail</caption>
- <input id="input16" ref="/root/main/view/reqinfo/email1" class="input_essential" navindex="36" appearance="input" style="left:722px; top:83px; width:193px; height:19px; "/>
- <caption id="caption38" class="cell_1" style="left:2px; top:80px; width:130px; height:49px; text-align:center; vertical-align:middle; ">담당자</caption>
- <line id="line11" class="line_3" style="x1:1px; y1:131px; x2:1088px; y2:131px; "/>
- <output id="input18" ref="/root/main/view/reqinfo/zipcd1" class="input_default" editable="false" appearance="output" style="left:491px; top:56px; width:60; height:19px; "/>
- <output id="input19" ref="/root/main/view/reqinfo/telno" class="input_default" appearance="output" style="left:723px; top:30px; width:147px; height:19px; "/>
- <caption id="caption40" class="cell_1" style="left:625px; top:28px; width:95px; height:23px; text-align:center; vertical-align:middle; ">전화번호</caption>
- <output id="input20" ref="/root/main/view/reqinfo/prsdnm" class="input_default" appearance="output" style="left:962px; top:5px; width:126px; height:19px; "/>
- <caption id="caption41" class="cell_1" style="left:133px; top:54px; width:87px; height:23px; text-align:center; vertical-align:middle; ">E-mail</caption>
- <output id="input11" ref="/root/main/view/reqinfo/email" class="input_default" appearance="output" style="left:223px; top:56px; width:130px; height:19px; "/>
- <select1 id="combo14" ref="/root/main/view/reqinfo/reqinstflag" class="combo_search" disabled="true" navindex="24" appearance="minimal" style="left:491px; top:4px; width:130px; height:19px; ">
- <choices>
- <item>
- <label>제약회사</label>
- <value>1</value>
- </item>
- <item>
- <label>CRO</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <input id="input10" ref="/root/main/view/reqinfo/reqinstcd" class="input_essential" navindex="23" inputtype="button" appearance="input" style="left:223px; top:4px; width:130px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var hidreqinstcd = model.getValue("/root/main/view/reqinfo/hidreqinstcd"); // kjw 추가
- window.load("../../../crc/comsubjweb/xrw/SPIMR00100_의뢰자조회팝업.xrw","modal","code", "left:600px; top:50px; width:550px; height:540px;min:hidden;max:hidden;resize:true;" ,"", "/root/send/searchwh");
-
- var cmpynm = getParameter("cmpynm");
- var reqinstcd = getParameter("reqinstcd");
- var prsdnm = getParameter("prsdnm");
-
- model.setValue("/root/main/view/reqinfo/cmpynm", cmpynm);
- model.setValue("/root/main/view/reqinfo/reqinstcd", reqinstcd);
- model.setValue("/root/main/view/reqinfo/prsdnm", prsdnm);
-
- submit("TRICE00103");
-
- model.copyNode("/root/main/view/reqinfo", "/root/hidden/reqinfo");
- model.makeValue("/root/main/view/reqinfo/hidreqinstcd", hidreqinstcd); // kjw 추가
- model.refresh();
- // fGetReqInfo();
-
- ]]>
- </script>
- </input>
- <caption id="caption56" class="cell_1" style="left:625px; top:107px; width:95px; height:23px; text-align:center; vertical-align:middle; ">Fax</caption>
- <input id="input22" ref="/root/main/view/reqinfo/faxno" class="input_essential" navindex="39" appearance="input" style="left:722px; top:110px; width:193px; height:19px; "/>
- <output id="input35" ref="/root/main/view/reqinfo/bizcondkind" class="input_default" appearance="output" style="left:223px; top:30px; width:130px; height:19px; "/>
- <output id="input36" ref="/root/main/view/reqinfo/bizcond" class="input_default" appearance="output" style="left:491px; top:30px; width:130px; height:19px; "/>
- <input id="input39" ref="/root/main/view/reqinfo/jobposnm1" class="input_default" navindex="34" appearance="input" style="left:223px; top:83px; width:130px; height:19px; "/>
- <input id="input40" ref="/root/main/view/reqinfo/posnm1" class="input_essential" navindex="35" appearance="input" style="left:490px; top:83px; width:130px; height:19px; "/>
- </group>
- <caption id="caption57" class="cell_1" style="left:735px; top:473px; width:90px; height:23px; text-align:center; vertical-align:middle; ">시작일자</caption>
- <caption id="caption58" class="cell_1" style="left:940px; top:473px; width:90px; height:23px; text-align:center; vertical-align:middle; ">종료일자</caption>
- <input id="ipt_fromdd2" ref="/root/main/view/info1/fromdd" class="input_essential" navindex="15" inputtype="date" appearance="input" style="left:829px; top:475px; width:106px; height:19px; "/>
- <input id="ipt_todd2" ref="/root/main/view/info1/todd" class="input_essential" navindex="16" inputtype="date" appearance="input" style="left:1035px; top:475px; width:106px; height:19px; "/>
- <caption id="caption52" class="cell_1" style="left:6px; top:500px; width:130px; height:23px; text-align:center; vertical-align:middle; ">주민등록번호</caption>
- <line id="line18" class="line_2" style="x1:5px; y1:525px; x2:1189px; y2:525px; "/>
- <input id="ipt_rrgstno" ref="/root/main/view/info1/rrgstno" class="input_essential" format="999999-9999999" style="left:140px; top:501px; width:205px; height:19px; "/>
- <caption id="caption59" class="cell_1" style="left:350px; top:500px; width:90px; height:23px; text-align:center; vertical-align:middle; ">핸드폰</caption>
- <input id="ipt_phonno" ref="/root/main/view/info1/mpphonno" class="input_essential" maxlength="11" format="999-9999-9999" style="left:445px; top:501px; width:245px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- /* if ( model.getValue("/root/send/userkindcd") == '02' && model.getValue("/root/main/view/info1/userkind") == '0' ) {
- model.setValue("/root/main/view/reqinfo/mpphonno1", model.getValue("/root/main/view/info1/mpphonno"));
- model.refresh();
- } */
- ]]>
- </script>
- </input>
- <caption id="caption60" class="cell_1" style="left:735px; top:500px; width:90px; height:23px; text-align:center; vertical-align:middle; ">이메일</caption>
- <input id="ipt_email" ref="/root/main/view/info1/email" class="input_essential" style="left:829px; top:501px; width:286px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- /* if ( model.getValue("/root/send/userkindcd") == '02' && model.getValue("/root/main/view/info1/userkind") == '0' ) {
- model.setValue("/root/main/view/reqinfo/email1", model.getValue("/root/main/view/info1/email"));
- model.refresh();
- } */
- ]]>
- </script>
- </input>
- <caption id="caption61" class="cell_1" style="left:350px; top:387px; width:90px; height:23px; text-align:center; vertical-align:middle; ">사용자구분</caption>
- <select1 id="combo8" ref="/root/main/view/info1/userkind" appearance="minimal" style="left:445px; top:390px; width:130px; height:19px; ">
- <choices>
- <item>
- <label>내부연구자</label>
- <value>1</value>
- </item>
- <item>
- <label>내부코디네이터</label>
- <value>3</value>
- </item>
- <item>
- <label>관리약사</label>
- <value>4</value>
- </item>
- <item>
- <label>CRCC담당자</label>
- <value>5</value>
- </item>
- <item>
- <label>IRB담당자</label>
- <value>6</value>
- </item>
- <item>
- <label>연구비관리자</label>
- <value>7</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var userkind = model.getValue("/root/main/view/info1/userkind");
-
- if ( userkind == '5' ) {
- group1.visible=false;
- caption63.visible = false;
- group2.visible=false;
- model.setValue("/root/main/view/info1/posinstcd","001");
- model.setValue("/root/main/view/info1/dutplceinstcd","001");
- model.setValue("/root/main/view/info1/posdeptcd","6200000000");
- model.setValue("/root/main/view/info1/posdeptnm","임상지원연구센터");
- model.setValue("/root/main/view/info1/dutplcecd","6200000000");
- model.setValue("/root/main/view/info1/dutplcenm","임상지원연구센터");
-
- model.refresh();
- } else if ( userkind == '6' || userkind == '7' ) {
- group1.visible = false;
- caption63.visible = false;
- group2.visible = false;
- model.refresh();
- } else {
- group1.visible=false;
- caption63.visible = true;
- group2.visible=true;
- model.refresh();
- }
- ]]>
- </script>
- </select1>
- <select1 id="combo9" ref="/root/main/view/info1/userkind" appearance="minimal" style="left:445px; top:390px; width:130px; height:19px; ">
- <choices>
- <item>
- <label>의뢰담당자</label>
- <value>0</value>
- </item>
- <item>
- <label>외부연구자</label>
- <value>2</value>
- </item>
- <item>
- <label>외부코디네이터</label>
- <value>8</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var userkind = model.getValue("/root/main/view/info1/userkind");
-
- if ( userkind == '0' ) {
- group1.visible = true;
- caption63.visible = true;
- group2.visible = false;
-
- model.setValue("/root/main/view/info1/posinstcd","001");
- model.setValue("/root/main/view/info1/dutplceinstcd","001");
- model.setValue("/root/main/view/info1/posdeptcd","6200000000");
- model.setValue("/root/main/view/info1/posdeptnm","임상연구지원센터");
- model.setValue("/root/main/view/info1/dutplcecd","6200000000");
- model.setValue("/root/main/view/info1/dutplcenm","임상연구지원센터");
-
- model.refresh();
- } else {
- group1.visible=false;
- caption63.visible = true;
- group2.visible=true;
-
- model.setValue("/root/main/view/info1/posinstcd","001");
- model.setValue("/root/main/view/info1/dutplceinstcd","001");
- model.setValue("/root/main/view/info1/posdeptcd","6200000000");
- model.setValue("/root/main/view/info1/posdeptnm","임상연구지원센터");
- model.setValue("/root/main/view/info1/dutplcecd","6200000000");
- model.setValue("/root/main/view/info1/dutplcenm","임상연구지원센터");
-
- model.refresh();
- }
- ]]>
- </script>
- </select1>
- <button id="btn_resave" class="btn4_letter8" disabled="true" navindex="7" _auth="X" style="left:933px; top:40px; width:128px; height:22px; ">
- <caption>연구자 정보 수정</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if ( fCheck() == false ) {
- return;
- }
- model.setValue("/root/main/view/info1/status", "u");
- fSave();
- fSetUserClear();
- fView();
- model.resetInstanceNode("/root/send");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_reauth" class="btn4_letter3" navindex="8" visibility="hidden" _auth="X" style="left:1115px; top:757px; width:68px; height:22px; ">
- <caption>재등록</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/main/view/info1/userfromdd", getCurrentDate());
- model.setValue("/root/main/view/info1/fromdd", getCurrentDate());
- model.refresh();
-
- var userfromdd = model.getValue("/root/main/view/info1/userfromdd");
- var usertodd = model.getValue("/root/main/view/info1/usertodd");
-
- if ( usertodd == '99991231' ) {
- messageBox("권한종료되지 않은 사용자는 재등록할 수","I004");
- return;
- } else if ( userfromdd <= usertodd ) {
- messageBox("최종 사용 종료일자와 같거나 작은 등록 시작일자는 입력할 수","I004");
- return;
- }
- model.setValue("/root/main/view/info1/usertodd", '99991231');
- model.setValue("/root/main/view/info1/todd", '99991231');
- model.refresh();
- if ( fCheck() == false ) {
- return;
- }
- model.setValue("/root/main/view/info1/status", "r");
- if (messageBox("재등록을","Q004") != 6 ){
- return;
- }
- fSave();
- fSetUserClear();
- fView();
- ]]>
- </script>
- </button>
- <button id="btn_t" class="btn4_letter2" navindex="7" _auth="X" style="left:1065px; top:40px; width:56px; height:22px; ">
- <caption>퇴사</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (fStatusReverse("t"))
- messageBox("퇴사 처리가 ","I002");
- ]]>
- </script>
- </button>
- <button id="btn_r" class="btn4_letter3" navindex="8" _auth="X" style="left:1125px; top:40px; width:68px; height:22px; ">
- <caption>재입사</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (fStatusReverse("r"))
- messageBox("재입사 처리가 ","I002");
- /*
- model.setValue("/root/main/view/info1/userfromdd", getCurrentDate());
- model.setValue("/root/main/view/info1/fromdd", getCurrentDate());
- model.refresh();
-
- var userfromdd = model.getValue("/root/main/view/info1/userfromdd");
- var usertodd = model.getValue("/root/main/view/info1/usertodd");
-
- if ( usertodd == '99991231' ) {
- messageBox("권한종료되지 않은 사용자는 재등록할 수","I004");
- return;
- } else if ( userfromdd <= usertodd ) {
- messageBox("최종 사용 종료일자와 같거나 작은 등록 시작일자는 입력할 수","I004");
- return;
- }
- model.setValue("/root/main/view/info1/usertodd", '99991231');
- model.setValue("/root/main/view/info1/todd", '99991231');
- model.refresh();
- if ( fCheck() == false ) {
- return;
- }
- model.setValue("/root/main/view/info1/status", "r");
- if (messageBox("재등록을","Q004") != 6 ){
- return;
- }
- fSave();
- fSetUserClear();
- fView();
- */
- ]]>
- </script>
- </button>
- <caption id="caption62" class="tit_2" style="left:10px; top:371px; width:150px; height:13px; ">인사팀 연동 정보</caption>
- <caption id="caption63" class="tit_2" visibility="hidden" style="left:10px; top:555px; width:150px; height:13px; ">CTMS 연구자 정보</caption>
- <line id="line19" class="line_2" style="x1:5px; y1:553px; x2:1189px; y2:553px; "/>
- <button id="button2" class="btn2_letter4" style="left:1121px; top:500px; width:64px; height:19px; ">
- <caption>Mail발송</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (model.getValue("/root/main/view/info1/email") == "")
- {
- messageBox("등록된 메일주소가 ","I004");
- return;
- }
-
- var adminuser = null;
- var comment1 = null;
- var comment2 = null;
- var msgbody = null;
-
- if (model.getValue("/root/main/view/info1/userkind") == 8) // 외부코디네이터
- {
- adminuser = "";
- comment1 = " 5) 진행중인 과제 정보 확인 \n\n";
- comment2 = " [ CMC IRB 임상연구관리시스템 사용 안내 ] \n\n";
- }
- else // 기본(외부 담당자)
- {
- adminuser = "정은경";
- comment1 = "\n";
- comment2 = " [ CMC IRB 임상연구관리시스템 사용 안내 ]-의뢰자용 \n\n";
- }
- // 외부담당자, 외부코디네이터 내용
- msgbody = "<font face='굴림'> 안녕하세요. \n\n 가톨릭임상연구지원센터 "+ adminuser +"입니다. \n\n id는 " + model.getValue("/root/main/view/info1/userid") + " 이며, 비밀번호는 주민번호 뒷자리 입니다.\n\n 시스템 사용 방법을 안내해 드리겠습니다.\n\n";
- msgbody += comment2 + " 1. 접속\n 1) CMC 임상연구지원센터 홈페이지로 접속\n\n http://cmccrcc.catholic.ac.kr/ \n\n";
- msgbody += " 2) 우측 하단의 'CMC IRB 임상연구관리시스템 접속' 클릭\n 3) 로그인창 하단의 해당 매뉴얼을 읽어보신 후 \n 4) ID / PW 입력 -> 로그인 \n";
- msgbody += comment1;
-
- if (model.getValue("/root/main/view/info1/userkind") != 8)
- {
- msgbody += " 2. 신규과제 접수\n\n";
- msgbody += " 1) 상단 메뉴 중 [과제접수] -> [신규과제 작성] 클릭\n";
- msgbody += " 2) [초기 심의] 클릭 -> 심의 종류 선택\n";
- msgbody += " 3) [의뢰자정보], [CRO정보], [담당자 정보] 입력 ( '돋보기' 아이콘을 클릭하여 검색 후 선택)과제명 입력 후 저장\n 4) 심의 신청 항목 체크 후 [확인]\n";
- msgbody += " 5) [과제기초정보 등록],[병원과제정보등록], [실행예산편성등록],[구비서류등록]을 작성. [구비서류등록 탭]에서 [과제파일 올리기] 완료 후 [과제의뢰접수 ] 클릭\n\n";
- msgbody += " ▶ [병원과제정보등록]에서 외부연구원 및 외부코디네이터를 등록할 경우 '임상연구지원센터 홈페이지'에서\n";
- msgbody += " 외부연구원/외부코디네이터 등록신청서를 다운받아서 작성 후 임상연구지원센터(crcc@catholic.ac.kr)로 발송\n";
- msgbody += " ▶ [과제의뢰접수]를 하면 수정할 수 없으며 책임연구자에 연락하여 전산 확인 요청과제 접수 후에 수정할 일이 생기면 책임연구자에게 반려 요청한 후 수정해야 함\n";
- msgbody += " 책임연구자가 전산 확인 완료하면 IRB에 전산 접수 됨\n";
- msgbody += " IRB에서 전산승인하면 과제번호가 생성되며 안내메일에 따라 심의서류 준비하여 해당 병원 IRB에 접수\n\n";
- msgbody += " 3. 공동 IRB 접수\n 1) 상단 메뉴 중 [과제접수] -> [신규과제 작성] 클릭\n";
- msgbody += " 2) [공동 IRB ] -> 우측의 [신규과제등록] 클릭\n 3) [의뢰자정보], [CRO정보], [담당자 정보] 입력 ( '돋보기' 아이콘을 클릭하여 검색 후 선택)과제명 입력 후 저장\n";
- msgbody += " 4) 심의 신청 항목 체크 후 [확인]\n";
- msgbody += " 5) [과제기초정보 등록],[병원과제정보등록], [실행예산편성등록],[구비서류등록] 을 작성. [구비서류등록 탭]에서 [과제파일 올리기] 완료 후 [과제의뢰접수 ] 클릭\n\n";
- msgbody += " ▶ [병원과제정보등록]에서 외부연구원 및 외부코디네이터를 등록할 경우 '임상연구지원센터 홈페이지'에서\n";
- msgbody += " 외부연구원/외부코디네이터 등록신청서를 다운받아서 작성 후 임상연구지원센터(crcc@catholic.ac.kr)로 발송\n";
- msgbody += " ▶ [과제의뢰접수]를 하면 수정할 수 없으며 책임연구자에 연락하여 전산 확인 요청\n";
- msgbody += " 과제 접수 후에 수정할 일이 생기면 책임연구자에게 반려 요청한 후 수정해야 함\n";
- msgbody += " 책임연구자가 전산 확인 완료하면 IRB에 전산 접수 됨\n";
- msgbody += " IRB에서 전산승인하면 과제번호가 생성되며 안내메일에 따라 심의서류 준비하여 해당 병원 IRB에 접수\n\n";
- msgbody += " 6) 다른 병원을 추가할 경우 [병원과제정보등록]에 가서 병원 추가하여 공동 연구를 실시하는 다른 병원의 정보 입력 , 이후 [실행예산편성등록],[구비서류등록]을 작성\n";
- msgbody += " [구비서류등록 탭]에서 [과제파일 올리기] 완료 후 [과제의뢰접수 ] 클릭\n\n";
- msgbody += " 4. 신규과제 작성중인 과제의 조회 및 수정은 [과제접수]-[신규과제작성]-[과제조회 및 수정]을 클릭 후 등록된 과제 목록이 뜨면 해당 과제를 클릭 후 우측 상단의 [과제수정]을 클릭하여 해당 텝으로 이동 후 수정\n\n";
- msgbody += " 5. 공동 IRB 과제 작성중인 과제의 조회 및 수정은 [과제접수]-[신규과제작성]-[공동 IRB]를 클릭 후 등록된 과제 목록이 뜨면 해당 과제를 클릭 후 우측 상단의 [과제수정]을 클릭하여 해당 텝으로 이동 후 수정\n\n";
- msgbody += " 6. 각종보고서 작성\n";
- msgbody += " 1) 상단 메뉴의 [과제접수]-[각종보고서 작성]을 클릭\n";
- msgbody += " 2) 등록된 병원 목록에서 해당 과제를 클릭\n";
- msgbody += " 3) 보고서 종류를 선택\n";
- msgbody += " 4) 내용을 입력하고 [보고서 접수]를 클릭\n\n";
- msgbody += " 7. 접수된 신규과제 및 각종보고서의 확인(연구자가 작성한 신규과제 / 각종보고서 )\n";
- msgbody += " 1) 상단 메뉴의 [과제의뢰 확인]-[신규과제/각종보고서]를 클릭\n";
- msgbody += " 2) [신규과제확인/각종보고서확인] 목록에 뜨는 과제 중 해당 과제를 클릭한 후 하단에 나오는 내용을 확인하고 확인여부를 [확인/미확인/반려]로 선택하고 저장\n\n";
- msgbody += " 8. 입금 정보 입력\n";
- msgbody += " 1) 상단 메뉴의 [연구비 관리]-[입금정보]를 클릭하여 등록된 병원 목록에 뜨는 과제 중 해당 과제를 클릭하고 하단의 [심사비],[연구비 입금정보]를 입력\n";
- msgbody += " 2) 입금 정보 입력 방법\n\n";
- msgbody += " (1) 입금일을 입력\n";
- msgbody += " (2) 직접비,센터간접비,병원간접비를 입력하면 [입금액]에 합계가 표시됨\n";
- msgbody += " (3) 계산서 발송처에 [우편번호,주소,회사명, 수취인 성명,연락처,이메일]을 표시한 후 저장\n";
- msgbody += " (4) 추가 입금을 할 경우 [행추가]버튼을 누르고 차수를 생성하여 입금정보를 입력 * 청구계산서 발행 불가\n\n";
- msgbody += " 3) 심사비는 IRB 심의 전에 입금 필수\n";
- msgbody += " 4) 연구비 총액이 변경 될 경우 변경계획서를 통하여 IRB 승인 받고 입금정보 입력. [연구비계획변경]에서 실행예산 재편성 필수\n\n";
- msgbody += " 9. 심의 절차\n";
- msgbody += " 1) 스폰서 주도 연구에서 신규과제 접수\n";
- msgbody += " : 신규과제 작성/접수 ->책임연구자 확인-> IRB에서 전산승인 -> 해당 IRB에 서류 접수\n";
- msgbody += " 2) 각종보고서 접수 절차\n";
- msgbody += " : 각종보고서 작성/접수 -> 책임연구자 확인 -> 해당 IRB에 서류 접수\n\n";
- }
-
- msgbody += " 사용 중 문의가 있으시면 언제든지 연락주시기 바랍니다.\n\n";
- msgbody += " 전산 및 기타 문의 : 02)2258-7854, 연구비 문의: 02)2258-7857\n\n";
- msgbody += " IRB 심의 관련 문의 : 임상연구지원센터 홈페이지 참조</font>";
-
- // 외부 연구자 내용
- if (model.getValue("/root/main/view/info1/userkind") == 2)
- msgbody = "<font face='굴림'> 안녕하세요. \n\n 가톨릭임상연구지원센터 입니다. \n\n CMC IRB 임상연구관리시스템에 외부공동연구자로 등록 완료되었음을 알려드립니다.";
- model.setValue("/root/send/email/fromaddress", "crcc@catholic.ac.kr"); // 보낸이 주소
- model.setValue("/root/send/email/fromname", "가톨릭중앙의료원"); // 보낸이 이름
- model.setValue("/root/send/email/toaddress", model.getValue("/root/main/view/info1/email")); // 받는이 주소
- model.setValue("/root/send/email/toname", model.getValue("/root/main/view/info1/usernm")); // 받는이 이름
- model.setValue("/root/send/email/subject", "가톨릭중앙의료원 임상연구지원센터_ 계정 등록 완료 안내"); // 제목
-
- model.setValue("/root/send/email/mailmsg", msgbody); // 내용
- if (submit("TXICE00106"))
- messageBox("메일발송이 완료되었습니다.", "I999");
-
- ]]>
- </script>
- </button>
- <caption id="caption64" class="cell_1" style="left:940px; top:528px; width:90px; height:23px; text-align:center; vertical-align:middle; ">직군</caption>
- <select1 id="combo2" ref="/root/main/view/info1/grupjoblncd" class="input_default" disabled="true" appearance="minimal" style="left:1035px; top:530px; width:106px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/grupjob/item">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- </xhtml:body>
- </xhtml:html>
|