123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>학생자원봉사활동신청등록관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <cond>
- <svcyy/>
- <vacatflag/>
- <birth/>
- <name/>
- <updateflag>i</updateflag>
- </cond>
- <studvoluntrlist>
- <studvoluntrlistinfo>
- <servyy/>
- <vacatflag/>
- <voluntrnm/>
- <schnm/>
- <actdeptcd/>
- <servtm/>
- <voluntrid/>
- <studapptseqno/>
- </studvoluntrlistinfo>
- </studvoluntrlist>
- <studvoluntrinfo>
- <voluntrinfo>
- <voluntrid/>
- <voluntrnm/>
- <sex/>
- <brthdd/>
- <solarlunarflag/>
- <hometel/>
- <mpphontel/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseq/>
- <addr/>
- <detladdr/>
- <emailid/>
- <emailaddr/>
- <etcemailaddr/>
- <status/>
- <brthdd1/>
- <voluntrengnm/>
- <brthdd2/>
- </voluntrinfo>
- <studvoluntrrgst>
- <servyy/>
- <vacatflag/>
- <studflag/>
- <schnm/>
- <studdeptnm/>
- <grde/>
- <studclass/>
- <studno/>
- <hopevoluntractcd/>
- <hopevoluntractcnts/>
- <remfact/>
- <voluntrid/>
- <studapptseqno/>
- <schengnm/>
- </studvoluntrrgst>
- <studsvcactterminfo>
- <voluntractweekcd/>
- <voluntractteamcd/>
- <actdeptcd/>
- <actdeptdetlnm/>
- <actfromdd/>
- <acttodd/>
- <studvoluntrfild/>
- <voluntrid/>
- <actrgstseqno/>
- <studapptseqno/>
- <actterm/>
- <studvoluntrfild1/>
- </studsvcactterminfo>
- <studsvcactterminfo2/>
- <studattdabsninfo>
- <servyy/>
- <vacatflag/>
- <servdd/>
- <voluntractteamcd/>
- <actdeptcd/>
- <servtm/>
- <otyn/>
- </studattdabsninfo>
- <infodata/>
- <actterminfo>
- <actterm/>
- <actterm2/>
- <reportdd/>
- </actterminfo>
- </studvoluntrinfo>
- <returns>
- <statusinfo>
- <restatus/>
- </statusinfo>
- </returns>
- <report>
- <year1/>
- <month1/>
- <day1/>
- <servtm1/>
- <usernm/>
- <actterm/>
- </report>
- <reportsql>
- <reportissseq>
- <issyy/>
- <issseqno/>
- </reportissseq>
- </reportsql>
- <aaa>
- <report>
- <systeminstnm/>
- <systeminstengnm/>
- </report>
- </aaa>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- <listdata/>
- <removedata/>
- </send>
- <init>
- <A0366list/>
- <A0503list/>
- <A0120list/>
- <A0511list/>
- <A0360list/>
- <A0367list/>
- <all>
- <cdid>0</cdid>
- <cdnm>
- <전체/>
- </cdnm>
- </all>
- <A0366listall/>
- </init>
- <hidden/>
- <temp/>
- <issseq>
- <voluntrflag/>
- <issyy/>
- <issseqno/>
- <instcd/>
- <voluntrid/>
- <issdd/>
- <isspsn/>
- <reisstims/>
- <studappseqno/>
- </issseq>
- <code/>
- </root>
- </instance>
- <submission id="TRAAA01501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/studvoluntrlist"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRAAA01502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/listdata" resultref="/root/main/studvoluntrinfo"/>
- <submission id="TRZBP00102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TXAAA01501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/returns"/>
- <submission id="TXAAA01502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root"/>
- <submission id="TRAAA01503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/reportsql"/>
- <submission id="TRAAA01504" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/reportsql"/>
- <submission id="TXAAA01503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root"/>
- <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/code/codelist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- </xhtml:head>
- <script type="javascript">
- <![CDATA[
- //초기화
- function fInit(){
- model.removeNodeset("/root/main/studvoluntrinfo/studsvcactterminfo");
- model.removeNodeset("/root/main/studvoluntrinfo/studattdabsninfo");
- model.removeNodeset("/root/main/studvoluntrlist/studvoluntrlistinfo");
- model.resetInstanceNode("/root/main/cond");
-
- var systeminstnm = getUserInfo("systeminstnm"); //기관명
- model.setValue("/root/main/aaa/report/systeminstnm", systeminstnm+"장");
-
- //조회년월 초기화
- var CurrentDate = getCurrentDate();
- var sYear = CurrentDate.substr(0,4);
- model.setValue("/root/main/cond/svcyy", sYear);
-
- //년/월/일
- var year1 = getCurrentDate().substr(0,4);
- model.setValue("/root/main/report/year1", year1);
- var month1 = getCurrentDate().substr(4,2);
- model.setValue("/root/main/report/month1", month1);
- var day1 = getCurrentDate().substr(6,2);
- model.setValue("/root/main/report/day1", day1);
-
- var usernm = getUserInfo("usernm"); //담당자.
- model.setValue("/root/main/report/usernm", usernm);
-
- // 공통코드를 조회한다.
- addComboItem("cmb_vacatflagcd", "전체", "%", "above");
- model.setValue("/root/main/cond/vacatflag", "%");
- // zbcfGetCodeList(new Array("R0131"), new Array("/root/init/comcodelist/email2_cmblist"), true);
- zbcfGetCodeList(new Array("A0366","A0503","A0120","A0511","A0360","A0367","A0366")
- , new Array("/root/init/A0366list", "/root/init/A0503list", "/root/init/A0120list"
- , "/root/init/A0511list", "/root/init/A0360list", "/root/init/A0367list","/root/init/A0366listall"), true);
- btn_update.disabled = true;
- btn_del.disabled = true;
- //하단의 콤보 인스턴스 생성.전체가 제외된 인스턴스가 필요하므로 별도의 노드를 만든다
- //copyNodesetType("/root/init/A0366listall","/root/init/A0366list","replace",model,model);
- //copyNodesetType("/root/init/A0366listall/A0366","/root/init/all","before",model,model);//조건부 콤보에 전체를 추가한다.
-
- // 간호하드코딩 테이블 조회_20091130-kys
- var pCode = "'077'"; // 조회할 CdGrupID 코드정보
- //var pDate = getCurrentDate(); //조회기준일자
- fGetNursHardCdInfo(pCode, CurrentDate);
- //============================================================
- if(model.getValue("/root/code/codeinfo/codelist[cdgrupid = '077' and supcdid = '01' and cdid = '"+ getUserInfo("dutplceinstcd") +"']/cdid")){ //supcdid='01' : 서울성모병원
- btn_engreport.visible = true;
- caption64.visible = true;
- ipt_admin.visible = true;
- caption65.visible = true;
- grd_voluntrhist.attribute ( "height" ) = 183;
- caption45.attribute ( "height" ) = 183;
- }else{
- btn_engreport.visible = false;
- caption64.visible = false;
- ipt_admin.visible = false;
- caption65.visible = false;
- grd_voluntrhist.attribute ( "height" ) = 207;
- caption45.attribute ( "height" ) = 207;
- }
- model.refresh();
- }//fInit END
-
- //조회버튼클릭시
- function fStudVoluntrList() {
- if (model.getValue("/root/main/cond/svcyy") == "" && model.getValue("/root/main/cond/birth") == "" &&model.getValue("/root/main/cond/name") == "" ) {
- messageBox("조회기간은","I003");
- model.setFocus("ipt_svcyy");
- return false;
- }
- if (model.getValue("/root/main/cond/svcyy").length != 4 && model.getValue("/root/main/cond/birth") == "" &&model.getValue("/root/main/cond/name") == "" ) {
- messageBox("올바른 조회기간 항목을 입력하십시오","I");
- model.setFocus("ipt_svcyy");
- return false;
- }
- //model.resetInstanceNode("/root/main/studvoluntrlist/studvoluntrlistinfo"); //학생봉사자리스트 초기화
- //model.resetInstanceNode("/root/main/studvoluntrinfo/voluntrinfo"); //학생봉사자리스트 신상정보 초기화
- //model.resetInstanceNode("/root/main/studvoluntrinfo/studvoluntrrgst"); //학생봉사자리스트 신청정보 초기화
- //model.resetInstanceNode("/root/main/studvoluntrinfo/studsvcactterminfo"); //학생봉사자리스트 봉사활동기간정보 초기화
- //model.resetInstanceNode("/root/main/studvoluntrinfo/studattdabsninfo"); //학생봉사자리스트 출결정보 초기화
-
- model.makeNode("/root/main/studvoluntrlist/studvoluntrlistinfo"); //fInit()에서 removeNodeset을 했기에 makeNode로 생성
- model.removeNodeset("/root/send/reqdata"); //보낼data node 삭제
- model.makeNode("/root/send/reqdata"); //보낼data node 생성
- model.copyNode("/root/send/reqdata", "/root/main/cond"); //copyNode
- submit("TRAAA01501"); //submit
- }
-
- //그리드 onclick시
- function fVoluntrInfo() {
- var idxRow = grd_studvoluntrlistinfo.row; //- 위치
- var idxCol = grd_studvoluntrlistinfo.col; //|
-
- if(idxRow <1 || idxCol<1) return; //그리드 data외 return
-
- if(grd_studvoluntrlistinfo.isCell(event.target) && grd_studvoluntrlistinfo.mouseRow >= grd_studvoluntrlistinfo.fixedrows) // 01클릭하는 위치가 그리드 안에 있을 때만 함수 실행
- {
- ipt_servyy.disabled=true;
- btn_save.disabled = true;
- btn_update.disabled =false;
- btn_del.disabled = false;
-
-
- model.removenode("/root/send/listdata"); //보낼data node 삭제
- model.makeNode("/root/send/listdata"); //보낼data node 생성
- model.copyNode("/root/send/listdata", "/root/main/studvoluntrlist/studvoluntrlistinfo["+idxRow+"]"); //copyNode
-
- submit("TRAAA01502");
- if(model.getValue("/root/main/studvoluntrinfo/voluntrinfo/etcemailaddr") =="-") {
- model.setValue("/root/main/studvoluntrinfo/voluntrinfo/etcemailaddr","");
- }
- if(model.getValue("/root/main/studvoluntrinfo/voluntrinfo/emailaddr") != "-" || model.getValue("/root/main/studvoluntrinfo/voluntrinfo/emailaddr") != "") {
- cmb_etcemailaddr.disabled = true;
- } else {
- cmb_etcemailaddr.disabled = false;
- }
-
- var infoRows = grd_svcterminfo.rows;
- for(i=1;i<infoRows;i++)
- {
- //봉사활동기간 중복체크하기 위해서
- model.removenode("/root/main/studvoluntrinfo/studsvcactterminfo2["+i+"]");
- model.makeNode("/root/main/studvoluntrinfo/studsvcactterminfo2["+i+"]");
- model.copyNode("/root/main/studvoluntrinfo/studsvcactterminfo2["+i+"]", "/root/main/studvoluntrinfo/studsvcactterminfo["+i+"]");
- }
-
-
- model.refresh();
-
- //보고서에 servtm을 출력하기 위해서
- model.setValue("/root/main/report/servtm1", model.getValue("/root/main/studvoluntrlist/studvoluntrlistinfo["+idxRow +"]/servtm"));
- model.setValue("/root/main/report/actterm", model.getValue("/root/main/studvoluntrinfo/studsvcactterminfo["+1+"]/actterm"));
-
-
- // var iRow = grd_studvoluntrlistinfo.row;
- //
- // model.setValue("/root/main/studvoluntrinfo/studvoluntrrgst/svcyy", model.getValue("/root/main/studvoluntrlist/studvoluntrlistinfo["+iRow+"]/svcyy"));
- // model.setValue("/root/main/studvoluntrinfo/studvoluntrrgst/vacatflagcd", model.getValue("/root/main/studvoluntrlist/studvoluntrlistinfo["+iRow+"]/vacatflag"));
- // model.setValue("/root/main/studvoluntrinfo/voluntrinfo/voluntrnm", model.getValue("/root/main/studvoluntrlist/studvoluntrlistinfo["+iRow+"]/voluntrnm"));
- // model.setValue("/root/main/studvoluntrinfo/studvoluntrrgst/schnm", model.getValue("/root/main/studvoluntrlist/studvoluntrlistinfo["+iRow+"]/schnm"));
- // model.setValue("/root/main/studvoluntrinfo/studvoluntrrgst/studactdeptcd", model.getValue("/root/main/studvoluntrlist/studvoluntrlistinfo["+iRow+"]/actdeptcd"));
- // model.setValue("/root/main/studvoluntrinfo/studvoluntrrgst/studactdeptcd", model.getValue("/root/main/studvoluntrlist/studvoluntrlistinfo["+iRow+"]/servtm"));
- // model.setValue("/root/main/studvoluntrinfo/voluntrinfo/voluntrid", model.getValue("/root/main/studvoluntrlist/studvoluntrlistinfo["+iRow+"]/voluntrid"));
-
- model.refresh();
- }
- }
-
- //초기화 버튼 클릭시
- function fReset(){
- var btn = messageBox("초기화를 ", "Q004");
-
- if (btn == '6') {
- model.removeNodeset("/root/main/studvoluntrlist/studvoluntrlistinfo"); //학생봉사자리스트 초기화
- model.removeNodeset("/root/main/studvoluntrinfo/studsvcactterminfo");//학생봉사자리스트 봉사활동기간정보 초기화
- model.removeNodeset("/root/main/studvoluntrinfo/studsvcactterminfo2");
- model.removeNodeset("/root/main/studvoluntrinfo/studattdabsninfo"); //학생봉사자리스트 출결정보 초기화
- model.resetInstanceNode("/root/main/studvoluntrinfo/voluntrinfo"); //학생봉사자리스트 신상정보 초기화
- model.resetInstanceNode("/root/main/studvoluntrinfo/studvoluntrrgst"); //학생봉사자리스트 신청정보 초기화
-
- //조회년월 초기화
- var CurrentDate = getCurrentDate();
- var sYear = CurrentDate.substr(0,4);
-
- model.setValue("/root/main/cond/svcyy", sYear);
- model.setValue("/root/main/cond/vacatflag", "%"); //방학구분
-
- //model.setValue("/root/main/studvoluntrinfo/voluntrinfo/status","i"); //초기화버튼클릭시 status "i"셋팅(신상정보1)
-
- btn_save.disabled = false;
- ipt_servyy.disabled= false;
- btn_update.disabled = true;
- btn_del.disabled = true;
-
- fStudVoluntrList(); //재조회
-
- model.refresh();
- } else if (btn == '7') {
- return;
- }
- }//fReset END
-
- //행추가버튼 클릭시
- function fInsRow() {
- //행추가버튼 클릭시 한줄만 추가 servdd
- grd_svcterminfo.addRow();
- var row = grd_svcterminfo.rows-1;
-
- model.setValue("/root/main/studvoluntrinfo/studsvcactterminfo["+ row +"]/voluntrid",model.getValue("/root/main/studvoluntrinfo/voluntrinfo/voluntrid"));
- model.setValue("/root/main/studvoluntrinfo/studsvcactterminfo["+ row +"]/studapptseqno",model.getValue("/root/main/studvoluntrinfo/studvoluntrrgst/studapptseqno"));
- model.setValue("/root/main/studvoluntrinfo/studsvcactterminfo["+ row +"]/actfromdd",getCurrentDate());
- model.setValue("/root/main/studvoluntrinfo/studsvcactterminfo["+ row +"]/acttodd",getCurrentDate());
- model.refresh();
- }
-
- //행삭제버튼 클릭시
- function fDelRow() {
- var idx = grd_svcterminfo.row;
- var rowstatus = grd_svcterminfo.rowStatus(idx);
-
- if( idx > 0 ){
- //디비에 저장되지 않은 데이타는 그냥 삭제한다. 1: insert , 3 : insert and update
- if (rowstatus == "1" || rowstatus == "3"){
- grd_svcterminfo.deleteItem(idx);
- return;
- }
- else {
- if(rowstatus=='4'||rowstatus=='6') { //상태가 delete또는 Update& Delete일 때
- grd_svcterminfo.removeStatus(idx,"delete"); //delete상태를 초기화 한다.
- }else
- {
- grd_svcterminfo.addStatus(idx,"delete");
- // 클릭한 행에 값이 있을 때에는 delete 로 상태 표시
- }
- }
- }else{
- messageBox("삭제할 일정을 ", "C002");
- }
- model.refresh();
- }//fDelRow END
-
- //저장, 수정시 공통으로 필수 항목 입력 값 체크해주는 함수
- function fVoluntrComnSave() {
- if(model.getValue("/root/main/studvoluntrinfo/voluntrinfo/voluntrnm")=="") {
- messageBox("성명을 입력하세요","C001");
- model.setFocus("ipt_voluntrnm");
- return false;
- }
- if(model.getValue("/root/main/studvoluntrinfo/voluntrinfo/sex")=='') {
- messageBox("성별을 입력하세요","I");
- model.setFocus("rdo_sex");
- return false;
- }
- if(model.getValue("/root/main/studvoluntrinfo/voluntrinfo/brthdd")=='') {
- messageBox("생년월일을 입력하세요","I");
- model.setFocus("ipt_brthdd");
- return false;
- }
- if(model.getValue("/root/main/studvoluntrinfo/voluntrinfo/hometel")==''
- && model.getValue("/root/main/studvoluntrinfo/voluntrinfo/mpphontel")=='') {
- messageBox("전화[자택]또는 전화[휴대폰]을 입력하세요","I");
- model.setFocus("ipt_hometel");
- return false;
- }
- if(model.getValue("/root/main/studvoluntrinfo/studvoluntrrgst/servyy")=='') {
- messageBox("봉사년도를 입력하세요","I");
- model.setFocus("ipt_servyy");
- return false;
- }
- if(model.getValue("/root/main/studvoluntrinfo/studvoluntrrgst/vacatflag")=='') {
- messageBox("방학구분을 입력하세요","I");
- model.setFocus("cmb_vacatflag");
- return false;
- }
- if(model.getValue("/root/main/studvoluntrinfo/studvoluntrrgst/studflag")=='') {
- messageBox("학생구분을 입력하세요","I");
- model.setFocus("rdo_studflag");
- return false;
- }
- if(model.getValue("/root/main/studvoluntrinfo/studvoluntrrgst/schnm")=='') {
- messageBox("소속(학교)을 입력하세요","I");
- model.setFocus("ipt_schnm");
- return false;
- }
- if(model.getValue("/root/main/studvoluntrinfo/studvoluntrrgst/hopevoluntractcd")=='') {
- messageBox("희망부서를 입력하세요","I");
- model.setFocus("ipt_hopevoluntractcd");
- return false;
- }
-
- var infoRows=grd_svcterminfo.rows; // 선택된 활동현황 그리드의 전체 행갯수
- var infoRow=grd_svcterminfo.row; // 선택된 활동현황 그리드의 행 갯수
- var absnRows = grd_voluntrhist.rows; //출결정보
-
- if(infoRows != '1')
- {
- for(i=1;i<infoRows;i++)
- {
-
- //alert("iiiiiii ======"+i);
- //봉사활동기간정보 row의 주자, 구분, 활동부서, 시작일, 종료일의 값을 저장한다.
- var voluntractweekcd =model.getValue("root/main/studvoluntrinfo/studsvcactterminfo["+i+"]/voluntractweekcd");
- var voluntractteamcd =model.getValue("root/main/studvoluntrinfo/studsvcactterminfo["+i+"]/voluntractteamcd");
- var actdeptcd =model.getValue("root/main/studvoluntrinfo/studsvcactterminfo["+i+"]/actdeptcd");
- var actfromdd =model.getValue("root/main/studvoluntrinfo/studsvcactterminfo["+i+"]/actfromdd");
- var acttodd =model.getValue("root/main/studvoluntrinfo/studsvcactterminfo["+i+"]/acttodd");
- var actfromdd2 =model.getValue("/root/main/studvoluntrinfo/studsvcactterminfo2["+i+"]/actfromdd");
- var acttodd2 =model.getValue("/root/main/studvoluntrinfo/studsvcactterminfo2["+i+"]/acttodd");
- var rowstatus = grd_svcterminfo.rowStatus(i);
-
- for(j=i+1;j<infoRows;j++)
- {
- var voluntractweekcd2 =model.getValue("root/main/studvoluntrinfo/studsvcactterminfo["+j+"]/voluntractweekcd");
- if(voluntractweekcd == voluntractweekcd2)
- {
- messageBox("주차구분은 중복될 수 없습니다.","I");
- return false;
- }
- }
- //alert("rowstatus =======" +rowstatus);
- if (rowstatus == '2' || rowstatus == "4" || rowstatus == "6") //delete, update&delete
- {
- //alert("rowstatus =======" +rowstatus + i);
- for(j=1;j<absnRows;j++)
- {
- //alert("jjjjjjjjjjjjj22222222 ======"+j);
- if(absnRows !='1')
- {
- //alert("11111");
- var servdd =model.getValue("/root/main/studvoluntrinfo/studattdabsninfo["+j+"]/servdd");
- if(rowstatus == "4" || rowstatus == "6")
- {
- //alert("22222");
- if(servdd >= actfromdd2 && servdd <= acttodd2)
- {
- //alert("333333");
- messageBox("봉사자 출결정보가 존재합니다. 테이터를 수정", "E001");
- return false;
- }
- }
- else
- {
- //alert("else444444");
- if(servdd >= actfromdd2 && servdd <= acttodd2)
- {
- //alert("else55555");
- if(model.getValue("/root/main/studvoluntrinfo/studsvcactterminfo["+i+"]/voluntractweekcd") != model.getValue("/root/main/studvoluntrinfo/studsvcactterminfo2["+i+"]/voluntractweekcd")
- ||model.getValue("/root/main/studvoluntrinfo/studsvcactterminfo["+i+"]/voluntractteamcd") != model.getValue("/root/main/studvoluntrinfo/studsvcactterminfo2["+i+"]/voluntractteamcd")
- ||model.getValue("/root/main/studvoluntrinfo/studsvcactterminfo["+i+"]/actdeptcd") != model.getValue("/root/main/studvoluntrinfo/studsvcactterminfo2["+i+"]/actdeptcd")
- ||model.getValue("/root/main/studvoluntrinfo/studsvcactterminfo["+i+"]/actfromdd") != model.getValue("/root/main/studvoluntrinfo/studsvcactterminfo2["+i+"]/actfromdd")
- ||model.getValue("/root/main/studvoluntrinfo/studsvcactterminfo["+i+"]/acttodd") != model.getValue("/root/main/studvoluntrinfo/studsvcactterminfo2["+i+"]/acttodd"))
- {
- messageBox("봉사자 출결정보가 존재합니다. 테이터를 수정", "E001");
- return false;
- }
- }
- }
- }
- }
- }
-
- if (actfromdd > acttodd) {
- messageBox("활동 시작일자는 활동종료일자보다 클 수","I004");
- return false;
- }
- if(voluntractweekcd=='')
- {
- messageBox("주차구분은","I003");
- return false;
- }
- if(voluntractteamcd=='')
- {
- messageBox("학생활동구분은","I003");
- return false;
- }
- if(actdeptcd=='')
- {
- messageBox("활동부서는","I003");
- return false;
- }
- if(actfromdd=='')
- {
- messageBox("시작일은","I003");
- return false;
- }
- if(acttodd=='')
- {
- messageBox("종료일은","I003");
- return false;
- }
- }
- }
-
-
-
-
- //봉사활동기간정보 행 추가 되었을 때 필수입력
- if(infoRows>1)
- {
- for(i=1;i<infoRows;i++)
- {
- var rowstatus=grd_svcterminfo.rowStatus(i); // 각로우의 상태 값 구함
- if(rowstatus!='4'&&rowstatus!='6') //상태가 delete또는 Update& Delete아닌 경우
- {
- //저장할 활동현황 행의 갯수만큼 for문 반복 시켜서 봉사구분,활동부서,소속팀,특별활동,활동시작/종료일에 값이
- //들어갔는지 판별한다.
- var voluntractweekcd =model.getValue("root/main/studvoluntrinfo/studsvcactterminfo["+i+"]/voluntractweekcd");
- var actfromdd =model.getValue("root/main/studvoluntrinfo/studsvcactterminfo["+i+"]/actfromdd");
- var acttodd =model.getValue("root/main/studvoluntrinfo/studsvcactterminfo["+i+"]/acttodd");
- for(j=i+1;j<infoRows;j++)
- {
- var actfromddcom=model.getValue("/root/main/studvoluntrinfo/studsvcactterminfo["+j+"]/actfromdd");
- if(model.getValue("/root/main/studvoluntrinfo/studsvcactterminfo["+i+"]/voluntractweekcd")
- <=model.getValue("/root/main/studvoluntrinfo/studsvcactterminfo["+j+"]/voluntractweekcd"))
- {
- if(actfromddcom <= acttodd)
- {
- messageBox("봉사활동기간에 겹치는 구간이 존재합니다.","I");
- return false;
- }
-
- }
- }
- }
- }
- }
- }
-
-
- //등록버튼 클릭시
- function fSaveData() {
- if(fVoluntrComnSave() == false) return; //필수 항목 입력 하지 않았을 경우 return 해줌
-
- model.removenode("/root/send");
- model.makeNode("/root/send/savedata");
- model.makeValue("/root/main/studvoluntrinfo/infodata", grd_svcterminfo.getUpdateData());
-
- model.copyNode("/root/send/savedata", "/root/main/studvoluntrinfo");
- model.makeValue("/root/send/savedata/voluntrinfo/status", "i");//상태값
-
- //alert(grd_svcterminfo.getUpdateData());
-
- if(submit("TXAAA01501")) {
- if(model.getValue("/root/main/returns/statusinfo/restatus")=="N")
- {
- messageBox("봉사활동기간정보의 봉사기간이","E006");
- return;
- } else {
- messageBox("자료 저장이 ","I002");
- }
- }
-
- model.removenode("/root/send");
- model.removeNodeset("/root/main/studvoluntrinfo/studsvcactterminfo");//학생봉사자리스트 봉사활동기간정보 초기화
- model.removeNodeset("/root/main/studvoluntrinfo/studattdabsninfo"); //학생봉사자리스트 출결정보 초기화
- model.resetInstanceNode("/root/main/studvoluntrinfo/voluntrinfo"); //학생봉사자리스트 신상정보 초기화
- model.resetInstanceNode("/root/main/studvoluntrinfo/studvoluntrrgst"); //학생봉사자리스트 신청정보 초기화
-
- btn_save.disabled = false;
- ipt_servyy.disabled= false;
- btn_update.disabled = true;
- btn_del.disabled = true;
-
- fStudVoluntrList();
-
-
- }
-
- //수정버튼클릭시
- function fVoluntrInfoUpdate() {
- if(fVoluntrComnSave() == false) return; //필수입력하지 않았을경우 return
-
- model.removenode("/root/send");
- model.makeNode("/root/send/savedata");
- model.makeValue("/root/main/studvoluntrinfo/infodata", grd_svcterminfo.getUpdateData());
-
- model.copyNode("/root/send/savedata", "/root/main/studvoluntrinfo");
- model.makeValue("/root/send/savedata/voluntrinfo/status", "u");//상태값
-
- //alert(grd_svcterminfo.getUpdateData());
-
- if(submit("TXAAA01501")) {
- messageBox("자료 수정이 ","I002");
- model.removenode("/root/send");
- model.removeNodeset("/root/main/studvoluntrinfo/studsvcactterminfo");//학생봉사자리스트 봉사활동기간정보 초기화
- model.removeNodeset("/root/main/studvoluntrinfo/studattdabsninfo"); //학생봉사자리스트 출결정보 초기화
- model.resetInstanceNode("/root/main/studvoluntrinfo/voluntrinfo"); //학생봉사자리스트 신상정보 초기화
- model.resetInstanceNode("/root/main/studvoluntrinfo/studvoluntrrgst"); //학생봉사자리스트 신청정보 초기화
- fStudVoluntrList();
- }
- model.refresh();
- }
-
- //삭제버튼클릭시
- function fDelData() {
- var idxRow = grd_voluntrhist.rows; //data가 없으면 1, 있으면 1이상
-
- if (idxRow=='1'){
- var btn = messageBox("데이터를 ", "Q001");
- } else {
- var btn = messageBox("봉사자 출결정보가 존재합니다. 테이터를 삭제", "E001");
- return;
- }
-
- if (btn == '6') {
- model.removenode("/root/send");
- model.makeNode("/root/send/removedata");
- model.copyNode("/root/send/removedata", "/root/main/studvoluntrinfo");
- model.makeValue("/root/send/removedata/voluntrinfo/status", "d");//상태값
-
- if (submit("TXAAA01501", false))
- {
- model.removenode("/root/send");
- model.removeNodeset("/root/main/studvoluntrinfo/studsvcactterminfo");//학생봉사자리스트 봉사활동기간정보 초기화
- model.removeNodeset("/root/main/studvoluntrinfo/studattdabsninfo"); //학생봉사자리스트 출결정보 초기화
- model.resetInstanceNode("/root/main/studvoluntrinfo/voluntrinfo"); //학생봉사자리스트 신상정보 초기화
- model.resetInstanceNode("/root/main/studvoluntrinfo/studvoluntrrgst"); //학생봉사자리스트 신청정보 초기화
- btn_save.disabled = false;
- ipt_servyy.disabled= false;
- btn_update.disabled = true;
- btn_del.disabled = true;
-
- fStudVoluntrList();
- }
- } else if (btn == '7') {
- return;
- }
- }
-
- function fPreview(flag){
- if(flag == "H"){
- var rid = "RPAAA01501"; // 레포트명(한글)
- }else if(flag == "E"){
- var rid = "RPAAA01502"; // 레포트명(영문)-20091130-kys(영문확인서추가)
- }
- var dataType = "XMLSTR"; // 연계방법(XMLSTR/ XMLFILE/ XML)
- var paramsXPath = "/root/main/aaa"; // 매개변수필드 XPath
- var submitId = ""; // SubmitID
- var print = ""; // 출력여부(true, false)
- var printDialog = ""; // 인쇄 창 보임 여부(true, false)
- var fileType = ""; // 저장타입(xls/ pdf/ hml/rtf/ html/ bmp/ txt/ xml )
- var fileName = ""; // 파일명(c:\report\레포트명.저장타입)
- var fileDialog = ""; // 파일 저장 창 보임여부(0 : 숨김[기본]/1 : 보임)
- var closeYn = ""; // 미리보기창닫기여부(출력 후 true로 설정한 경우 미리보기 화면 닫기)
- var monNo = ""; // 모니터 번호
- var parentObjId = ""; // 부모객체명(미리 생성한 부모 객체명, 해당 부모 객체에 레포트 데이터를 생성한다.)
- var printPaperBin = ""; // 트레이번호
- var userService = ""; // 데이터 소스
- var showButton = ""; // 툴바버튼보임여부(visible, hidden)
- var printCount = ""; // 프린트장수(1, 2,..)
- var zoomRate = ""; // 미리보기뷰어 비율(0, 50,...)
- var printOption = ""; // 출력시 선택 옵션
- var dataXPath = ""; // 데이터 XPath
- var mainDataXPath = ""; // 메인리포트 반복XPath
- var subDataXPath = ""; // 서브리포트1 반복Xpath
-
- var idxRows = grd_voluntrhist.rows;
- if(idxRows =='1') {
- messageBox("출결정보가","E014");
- return;
- }
-
- var idxRow = grd_studvoluntrlistinfo.row; //학생자원봉사자리스트 ROW
-
- model.removeNodeset("/root/send/reqdata");
- model.makeNode("/root/send/reqdata");
- model.copyNode("/root/send/reqdata", "/root/main/studvoluntrlist/studvoluntrlistinfo["+idxRow+"]");
- model.makeValue("/root/send/reqdata/voluntrflag",2);
- submit("TRAAA01504"); //확인서 재발행 유무확인
-
- //봉사분야출력
- var grdRows = grd_svcterminfo.rows;
- model.removenode("/root/main/report/studvoluntrfild1");
- model.removenode("/root/main/report/studvoluntrfild2");
- model.removenode("/root/main/report/studvoluntrfild3");
- model.removenode("/root/main/report/studvoluntrfild4");
- for(i =1 ; i<grdRows; i++) {
- if(i =='1') {
- model.makeValue("/root/main/report/studvoluntrfild1", model.getValue("/root/main/studvoluntrinfo/studsvcactterminfo["+i+"]/studvoluntrfild"));
- } else if(i=='2') {
- model.makeValue("/root/main/report/studvoluntrfild2", model.getValue("/root/main/studvoluntrinfo/studsvcactterminfo["+i+"]/studvoluntrfild"));
- } else if(i=='3') {
- model.makeValue("/root/main/report/studvoluntrfild3", model.getValue("/root/main/studvoluntrinfo/studsvcactterminfo["+i+"]/studvoluntrfild"));
- } else if(i=='4') {
- model.makeValue("/root/main/report/studvoluntrfild4", model.getValue("/root/main/studvoluntrinfo/studsvcactterminfo["+i+"]/studvoluntrfild"));
- }
- }
-
- if(flag == "H"){ //한글확인서
- var usernm = getUserInfo("usernm"); //담당자.
- model.setValue("/root/main/report/usernm", usernm);
- model.setValue("/root/main/report/actterm", model.getValue("/root/main/studvoluntrinfo/studsvcactterminfo["+1+"]/actterm"));
- model.makeValue("/root/main/report/brthdd",model.getValue("/root/main/studvoluntrinfo/voluntrinfo/brthdd1"));
- model.makeValue("/root/main/report/schnm",model.getValue("/root/main/studvoluntrinfo/studvoluntrrgst/schnm"));
- model.makeValue("/root/main/report/voluntrnm",model.getValue("/root/main/studvoluntrinfo/voluntrinfo/voluntrnm"));
- }else if(flag == "E"){ //영문확인서
- model.makeValue("/root/main/report/usernm", model.getValue("/root/main/aaa/report/systeminstengnm") + ","); //담당자영문명
- var brthddeng = model.getValue("/root/main/studvoluntrinfo/voluntrinfo/brthdd2");
- brthddeng = brthddeng.substr(0,2).toDate("MM").getDateFormat("MON");
- model.makeValue("/root/main/report/brthdd", "Date of Birth : " + brthddeng + " " + model.getValue("/root/main/studvoluntrinfo/voluntrinfo/brthdd2").substr(2,10));
- model.makeValue("/root/main/report/schnm", "School : " + model.getValue("/root/main/studvoluntrinfo/studvoluntrrgst/schengnm"));
- model.makeValue("/root/main/report/voluntrnm",model.getValue("/root/main/studvoluntrinfo/voluntrinfo/voluntrengnm"));
- var acttermengfrom = model.getValue("/root/main/studvoluntrinfo/studsvcactterminfo["+1+"]/actterm2");
- var acttermengto = model.getValue("/root/main/studvoluntrinfo/studsvcactterminfo["+1+"]/actterm2");
- acttermengfrom = acttermengfrom.substr(0,8).toDate("YYYYMMDD").getDateFormat("MON DD, YYYY");
- acttermengto = acttermengto.substr(9,8).toDate("YYYYMMDD").getDateFormat("MON DD, YYYY");
- model.makeValue("/root/main/report/actterm", "from " + acttermengfrom + " to " + acttermengto); //영문확인서를위해 추가..kys-20091130
- var reportengdd = getCurrentDate().toDate().getDateFormat("MON DD, YYYY");
- model.makeValue("/root/main/report/reportdd", reportengdd); //영문발행일
-
- }
-
- if (model.getValue("/root/main/reportsql/reportissseq/issyy") == '') {
- submit("TRAAA01503"); //발행번호 조회하는 서브미션
- setParameter("reportprintyn", ""); //출력 여부 알려주는 reportprintyn 란 파라메터 셋팅
-
-
- exeReportPreview(rid, dataType, paramsXPath, submitId, print, printDialog, fileType, fileName, fileDialog, closeYn, monNo, parentObjId, printPaperBin, userService, showButton, printCount, zoomRate, printOption, dataXPath, mainDataXPath, subDataXPath);
- if (getParameter("reportprintyn") == "Y")
- { // 프린트 출력이 되고 창이 닫혔을 때
- model.removenode("/root/send/savedata");
- model.makeNode("/root/send/savedata");
- model.copyNode("/root/send/savedata", "/root/send/reqdata");
- submit("TXAAA01502");
-
- model.removenode("/root/main/reportsq/reportissseq");
- model.makeNode("/root/main/reportsq/reportissseq");
- }
- } else {
- setParameter("reportprintyn", ""); //출력 여부 알려주는 reportprintyn 란 파라메터 셋팅
-
- exeReportPreview(rid, dataType, paramsXPath, submitId, print, printDialog, fileType, fileName, fileDialog, closeYn, monNo, parentObjId, printPaperBin, userService, showButton, printCount, zoomRate, printOption, dataXPath, mainDataXPath, subDataXPath);
- if (getParameter("reportprintyn") == "Y")
- { // 프린트 출력이 되고 창이 닫혔을 때
- model.removenode("/root/send/savedata");
- model.makeNode("/root/send/savedata");
- model.copyNode("/root/send/savedata", "/root/send/reqdata");
- submit("TXAAA01503");
- model.removenode("/root/main/reportsq/reportissseq");
- model.makeNode("/root/main/reportsq/reportissseq");
- }
- }
- model.refresh();
- }
- ]]>
- </script>
- <xhtml:body guideline="1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <caption id="caption1" class="tit_2" style="left:430px; top:10px; width:165px; height:14px; ">학생자원봉사자 신상정보</caption>
- <input id="input12" ref="/root/main/studvoluntrinfo/voluntrinfo/brthdatedd" class="input_default" format="yyyy-mm-dd" appearance="input" style="left:881px; top:31px; width:76px; height:19px; "/>
- <select1 id="radio1" ref="/root/main/studvoluntrinfo/voluntrinfo/solarlunarflag" appearance="full" cellspacing="5" cols="2" rows="1" overflow="visible" style="left:959px; top:32px; width:70px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>양</label>
- <value>S</value>
- </item>
- <item>
- <label>음</label>
- <value>M</value>
- </item>
- </choices>
- </select1>
- <line id="line8" class="line_2" style="x1:425px; y1:261px; x2:1194px; y2:261px; "/>
- <line id="line4" class="line_2" style="x1:425px; y1:52px; x2:1194px; y2:52px; "/>
- <input id="input7" ref="/root/main/studvoluntrinfo/studvoluntrrgst/studdeptnm" class="input_default" appearance="input" style="left:639px; top:183px; width:110px; height:19px; "/>
- <input id="input13" ref="/root/main/studvoluntrinfo/studvoluntrrgst/hopedeptrem" class="input_default" appearance="input" style="left:606px; top:207px; width:364px; height:19px; "/>
- <datagrid id="grd_studvoluntrterm" nodeset="/root/main/studvoluntrinfo/studvoluntrterm" caption="주차^구분^활동부서/봉사분야^활동부서/봉사분야^시작일^종료일^시작시간^시작시간^종료시간^종료시간" colsep="^" colwidth="64, 107, 70, 90, 106, 117, 66, 73, 71, 69" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:508px; top:320px; width:686px; height:174px; ">
- <col ref="weektimscd" type="combo">
- <choices>
- <item>
- <label>--</label>
- <value>combo1</value>
- </item>
- <item>
- <label>1</label>
- <value>combo2</value>
- </item>
- <item>
- <label>2</label>
- <value>combo3</value>
- </item>
- <item>
- <label>3</label>
- <value>combo4</value>
- </item>
- <item>
- <label>4</label>
- <value>combo5</value>
- </item>
- <item>
- <label>5</label>
- <value>combo6</value>
- </item>
- <item>
- <label>6</label>
- <value>combo7</value>
- </item>
- </choices>
- </col>
- <col ref="studactflagcd" type="combo">
- <choices>
- <item>
- <label>오전</label>
- <value>1</value>
- </item>
- <item>
- <label>오후</label>
- <value>2</value>
- </item>
- <item>
- <label>기타</label>
- <value>3</value>
- </item>
- </choices>
- </col>
- <col 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>기타</label>
- <value>5</value>
- </item>
- </choices>
- </col>
- <col/>
- <col ref="fromdd" type="inputdate"/>
- <col ref="todd" type="inputdate"/>
- <col ref="fromtm" type="combo">
- <choices>
- <item>
- <label>00시</label>
- <value>00</value>
- </item>
- <item>
- <label>01시</label>
- <value>01</value>
- </item>
- <item>
- <label>02시</label>
- <value>02</value>
- </item>
- <item>
- <label>03시</label>
- <value>03</value>
- </item>
- <item>
- <label>04시</label>
- <value>04</value>
- </item>
- <item>
- <label>05시</label>
- <value>05</value>
- </item>
- <item>
- <label>06시</label>
- <value>06</value>
- </item>
- <item>
- <label>07시</label>
- <value>07</value>
- </item>
- <item>
- <label>08시</label>
- <value>08</value>
- </item>
- <item>
- <label>09시</label>
- <value>09</value>
- </item>
- <item>
- <label>10시</label>
- <value>10</value>
- </item>
- <item>
- <label>11시</label>
- <value>11</value>
- </item>
- <item>
- <label>12시</label>
- <value>12</value>
- </item>
- <item>
- <label>13시</label>
- <value>13</value>
- </item>
- <item>
- <label>14시</label>
- <value>14</value>
- </item>
- <item>
- <label>15시</label>
- <value>15</value>
- </item>
- <item>
- <label>16시</label>
- <value>16</value>
- </item>
- <item>
- <label>17시</label>
- <value>17</value>
- </item>
- <item>
- <label>18시</label>
- <value>18</value>
- </item>
- <item>
- <label>19시</label>
- <value>19</value>
- </item>
- <item>
- <label>20시</label>
- <value>20</value>
- </item>
- <item>
- <label>21시</label>
- <value>21</value>
- </item>
- <item>
- <label>22시</label>
- <value>22</value>
- </item>
- <item>
- <label>23시</label>
- <value>23</value>
- </item>
- <item>
- <label>24시</label>
- <value>24</value>
- </item>
- </choices>
- </col>
- <col ref="totm" type="combo">
- <choices>
- <item>
- <label>00분</label>
- <value>00</value>
- </item>
- <item>
- <label>30분</label>
- <value>30</value>
- </item>
- </choices>
- </col>
- <col ref="totm" type="combo">
- <choices>
- <item>
- <label>00시</label>
- <value>00</value>
- </item>
- <item>
- <label>01시</label>
- <value>01</value>
- </item>
- <item>
- <label>02시</label>
- <value>02</value>
- </item>
- <item>
- <label>03시</label>
- <value>03</value>
- </item>
- <item>
- <label>04시</label>
- <value>04</value>
- </item>
- <item>
- <label>05시</label>
- <value>05</value>
- </item>
- <item>
- <label>06시</label>
- <value>06</value>
- </item>
- <item>
- <label>07시</label>
- <value>07</value>
- </item>
- <item>
- <label>08시</label>
- <value>08</value>
- </item>
- <item>
- <label>09시</label>
- <value>09</value>
- </item>
- <item>
- <label>10시</label>
- <value>10</value>
- </item>
- <item>
- <label>11시</label>
- <value>11</value>
- </item>
- <item>
- <label>12시</label>
- <value>12</value>
- </item>
- <item>
- <label>13시</label>
- <value>13</value>
- </item>
- <item>
- <label>14시</label>
- <value>14</value>
- </item>
- <item>
- <label>15시</label>
- <value>15</value>
- </item>
- <item>
- <label>16시</label>
- <value>16</value>
- </item>
- <item>
- <label>17시</label>
- <value>17</value>
- </item>
- <item>
- <label>18시</label>
- <value>18</value>
- </item>
- <item>
- <label>19시</label>
- <value>19</value>
- </item>
- <item>
- <label>20시</label>
- <value>20</value>
- </item>
- <item>
- <label>21시</label>
- <value>21</value>
- </item>
- <item>
- <label>22시</label>
- <value>22</value>
- </item>
- <item>
- <label>23시</label>
- <value>23</value>
- </item>
- <item>
- <label>24시</label>
- <value>24</value>
- </item>
- </choices>
- </col>
- <col type="combo">
- <choices>
- <item>
- <label>00분</label>
- <value>00</value>
- </item>
- <item>
- <label>30분</label>
- <value>30</value>
- </item>
- </choices>
- </col>
- </datagrid>
- <button id="button11" class="btn2_letter3" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:1085px; top:294px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_studvoluntrterm.addItem();
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter3" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:1141px; top:294px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_studvoluntrterm.deleteItem(grd_studvoluntrterm.row);
- ]]>
- </script>
- </button>
- <caption id="caption20" style="left:753px; top:187px; width:30px; height:15px; ">학과</caption>
- <caption id="caption21" style="left:836px; top:187px; width:26px; height:15px; ">학년</caption>
- <caption id="caption22" style="left:974px; top:187px; width:20px; height:15px; ">반</caption>
- <input id="input10" ref="/root/main/studvoluntrinfo/studvoluntrrgst/grde" class="input_default" appearance="input" style="left:782px; top:183px; width:50px; height:19px; "/>
- <input id="input14" ref="/root/main/studvoluntrinfo/studvoluntrrgst/studclass" class="input_default" appearance="input" style="left:865px; top:183px; width:105px; height:19px; "/>
- <line id="line9" class="line_2" style="x1:425px; y1:529px; x2:1194px; y2:529px; "/>
- <datagrid id="datagrid2" nodeset="/root/main/voluntrhist" caption="년도^방학구분^봉사일자^봉사구분^활동부서^시작시간^종료시간^활동시간" colsep="^" colwidth="60, 75, 100, 75, 110, 80, 80, 100" dataheight="25" extendlastcol="scroll" frozencols="4" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" style="left:507px; top:531px; width:686px; height:207px; ">
- <col ref="svcyyflagcd"/>
- <col ref="vacatflagcd"/>
- <col ref="svcactdd"/>
- <col ref="studactflagcd"/>
- <col ref="studactdeptcd"/>
- <col ref="fromtm"/>
- <col ref="totm"/>
- <col ref="acttm"/>
- </datagrid>
- <combo id="ipt_studactdeptcd" ref="/root/main/studvoluntrinfo/studvoluntrrgst/studactdeptcd" class="input_default" appearance="input" style="left:509px; top:268px; width:118px; height:19px; ">
- <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>기타</label>
- <value>5</value>
- </item>
- </choices>
- </combo>
- <line id="line1" class="line_1" style="x1:425px; y1:25px; x2:1194px; y2:25px; "/>
- <datagrid id="grd_studvoluntrlist" nodeset="/root/main/studvoluntrlist/studvoluntrlistinfo" caption="봉사년도^방학구분^성명^학교명^활동부서^활동시간 누계^봉사자id" colsep="^" colwidth="60, 68, 83, 95, 88, 100, 0" dataheight="25" extendlastcol="scroll" frozencols="3" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:110px; width:420px; height:630px; ">
- <col ref="svcyy"/>
- <col ref="vacatflagcd"/>
- <col ref="voluntrnm"/>
- <col ref="schnm"/>
- <col ref="studactdeptcd"/>
- <col/>
- <col ref="voluntrid"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // var iRow = grd_studvoluntrlist.row;
- // model.copyNode("/root/send/listdata","/root/main/studvoluntrlist/studvoluntrlistinfo["+iRow+"]");
- // submit("TRAAA01502");
- //
- /*
- var iRow = grd_studvoluntrlist.row;
- model.setValue("/root/main/studvoluntrinfo/voluntrinfo/voluntrid", model.getValue("/root/main/studvoluntrlist/studvoluntrlistinfo["+iRow+"]/voluntrid"));
- model.setValue("/root/main/studvoluntrinfo/studvoluntrrgst/svcyy", model.getValue("/root/main/studvoluntrlist/studvoluntrlistinfo["+iRow+"]/svcyy"));
- model.setValue("/root/main/studvoluntrinfo/studvoluntrrgst/vacatflagcd", model.getValue("/root/main/studvoluntrlist/studvoluntrlistinfo["+iRow+"]/vacatflagcd"));
- model.setValue("/root/main/studvoluntrinfo/voluntrinfo/voluntrnm", model.getValue("/root/main/studvoluntrlist/studvoluntrlistinfo["+iRow+"]/voluntrnm"));
- model.setValue("/root/main/studvoluntrinfo/studvoluntrrgst/schnm", model.getValue("/root/main/studvoluntrlist/studvoluntrlistinfo["+iRow+"]/schnm"));
- model.setValue("/root/main/studvoluntrinfo/studvoluntrrgst/studactdeptcd", model.getValue("/root/main/studvoluntrlist/studvoluntrlistinfo["+iRow+"]/studactdeptcd"));
- model.refresh();
- */
- ]]>
- </script>
- </datagrid>
- <line id="line11" class="line_1" style="x1:0px; y1:106px; x2:420px; y2:106px; "/>
- <group id="group4" style="left:0px; top:10px; width:420px; height:70px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:420px; height:70px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_req" class="btn1_letter2" style="left:357px; top:25px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // model.copyNode("root/send/reqdata", "root/main/cond");
- // //model.alert(model.getValue("/root/send/reqdata"));
- // submit("TRAAA01501");
- ]]>
- </script>
- </button>
- <line id="line10" class="line_4" style="x1:349px; y1:6px; x2:349px; y2:65px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption14" class="search_name" style="left:7px; top:13px; width:90px; height:17px; ">조회기간 :</caption>
- <caption id="caption16" style="left:153px; top:17px; width:35px; height:15px; ">년도</caption>
- <caption id="caption29" class="search_name" style="left:7px; top:41px; width:98px; height:17px; ">생년월일 :</caption>
- </group>
- <caption id="caption18" class="tit_2" style="left:5px; top:89px; width:152px; height:13px; ">학생자원봉사자 리스트</caption>
- <line id="line6" class="line_2" style="x1:424px; y1:289px; x2:1193px; y2:289px; "/>
- <line id="line7" class="line_3" style="x1:508px; y1:317px; x2:1194px; y2:317px; "/>
- <line id="line12" class="line_3" style="x1:425px; y1:739px; x2:1194px; y2:739px; "/>
- <caption id="caption5" style="left:1063px; top:187px; width:56px; height:15px; ">번호/학번</caption>
- <input id="input2" ref="/root/main/studvoluntrinfo/studvoluntrrgst/studno" class="input_default" appearance="input" style="left:993px; top:183px; width:65px; height:19px; "/>
- <input id="input59" ref="/root/main/studvoluntrinfo/voluntrinfo/zipcd1" class="input_default" style="left:712px; top:56px; width:40px; height:19px; "/>
- <input id="input65" ref="/root/main/studvoluntrinfo/voluntrinfo/zipcd2" class="input_default" style="left:756px; top:56px; width:40px; height:19px; "/>
- <button id="button19" class="icon_search" style="left:801px; top:57px; width:16px; height:16px; ">
- <caption/>
- </button>
- <input id="input55" ref="/root/main/studvoluntrinfo/voluntrinfo/addr" class="input_default" style="left:824px; top:56px; width:370px; height:19px; "/>
- <input id="input5" ref="/root/main/studvoluntrinfo/voluntrinfo/detladdr" class="input_default" style="left:712px; top:80px; width:482px; height:19px; "/>
- <select1 id="combo3" ref="/root/main/studvoluntrinfo/studvoluntrrgst/hopeactflagcd" class="combo_default" appearance="minimal" style="left:508px; top:207px; width:95px; height:19px; ">
- <choices>
- <item>
- <label>오전</label>
- <value>A</value>
- </item>
- <item>
- <label>오후</label>
- <value>B</value>
- </item>
- <item>
- <label>기타</label>
- <value>C</value>
- </item>
- </choices>
- </select1>
- <input id="input4" ref="/root/main/studvoluntrinfo/studvoluntrrgst/schnm" class="input_default" appearance="input" style="left:508px; top:183px; width:95px; height:19px; "/>
- <caption id="caption24" style="left:606px; top:187px; width:26px; height:15px; ">학교</caption>
- <input id="input1" ref="/root/main/studvoluntrinfo/voluntrinfo/mpphontel" class="input_default" appearance="input" style="left:508px; top:80px; width:118px; height:19px; "/>
- <input id="input3" ref="/root/main/studvoluntrinfo/voluntrinfo/hometel" class="input_default" appearance="input" style="left:508px; top:55px; width:118px; height:19px; "/>
- <line id="line5" class="line_2" style="x1:424px; y1:155px; x2:1193px; y2:155px; "/>
- <line id="line13" class="line_2" style="x1:425px; y1:76px; x2:625px; y2:76px; "/>
- <caption id="caption11" class="cell_1" style="left:425px; top:54px; width:80px; height:23px; vertical-align:middle; ">전화[자택]</caption>
- <caption id="caption12" class="cell_1" style="left:425px; top:156px; width:80px; height:23px; vertical-align:middle; ">봉사년도</caption>
- <caption id="caption3" class="cell_1" style="left:425px; top:181px; width:80px; height:23px; vertical-align:middle; ">소속</caption>
- <caption id="caption25" class="cell_1" style="left:425px; top:531px; width:80px; height:207px; vertical-align:middle; ">봉사이력</caption>
- <caption id="caption15" class="cell_1" style="left:629px; top:54px; width:80px; height:48px; vertical-align:middle; ">주소</caption>
- <caption id="caption9" class="cell_1" style="left:425px; top:78px; width:80px; height:23px; vertical-align:middle; ">전화[휴대]</caption>
- <caption id="caption19" class="cell_1" style="left:425px; top:205px; width:80px; height:23px; vertical-align:middle; ">희망부서</caption>
- <caption id="caption26" class="cell_1" style="left:425px; top:30px; width:80px; height:23px; font-family:돋움; vertical-align:middle; ">성명</caption>
- <caption id="caption23" class="cell_1" style="left:425px; top:230px; width:80px; height:58px; vertical-align:middle; ">참고사항</caption>
- <textarea id="textarea1" ref="/root/main/studvoluntrinfo/studvoluntrrgst/rem" scroll="vertical" style="left:508px; top:232px; width:686px; height:53px; "/>
- <input id="input9" ref="/root/main/studvoluntrinfo/studvoluntrrgst/svcyy" class="input_default" format="yyyy" style="left:508px; top:157px; width:95px; height:19px; "/>
- <caption id="caption4" style="left:606px; top:161px; width:30px; height:15px; ">년도</caption>
- <select1 id="combo4" ref="/root/main/studvoluntrinfo/studvoluntrrgst/vacatflagcd" class="combo_default" appearance="minimal" style="left:717px; top:157px; width:110px; height:19px; ">
- <choices>
- <item>
- <label>하계</label>
- <value>1</value>
- </item>
- <item>
- <label>동계</label>
- <value>2</value>
- </item>
- <item>
- <label>수시</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio2" ref="/root/main/studvoluntrinfo/studvoluntrrgst/studflagcd" appearance="full" cellspacing="15" cols="2" rows="1" overflow="visible" style="left:915px; top:158px; width:156px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>중.고등학생</label>
- <value>H</value>
- </item>
- <item>
- <label>대학생</label>
- <value>U</value>
- </item>
- </choices>
- </select1>
- <caption id="caption7" class="cell_1" style="left:832px; top:156px; width:80px; height:23px; vertical-align:middle; ">학생구분</caption>
- <input id="input6" ref="/root/main/studvoluntrinfo/voluntrinfo/voluntrnm" class="input_essential" style="left:508px; top:31px; width:117px; height:19px; "/>
- <caption id="caption27" class="cell_1" style="left:629px; top:30px; width:80px; height:23px; vertical-align:middle; ">성별</caption>
- <select1 id="radio4" ref="/root/main/studvoluntrinfo/voluntrinfo/gndr" appearance="full" cellspacing="5" cols="2" rows="1" overflow="visible" style="left:713px; top:32px; width:77px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>남</label>
- <value>M</value>
- </item>
- <item>
- <label>여</label>
- <value>F</value>
- </item>
- </choices>
- </select1>
- <caption id="caption28" class="cell_1" style="left:798px; top:30px; width:80px; height:23px; vertical-align:middle; ">생년월일</caption>
- <caption id="caption2" class="tit_2" style="left:425px; top:136px; width:165px; height:13px; ">학생자원봉사자 신청정보</caption>
- <line id="line18" class="line_3" style="x1:424px; y1:125px; x2:1193px; y2:125px; "/>
- <line id="line14" class="line_1" style="x1:425px; y1:150px; x2:1194px; y2:150px; "/>
- <line id="line2" class="line_2" style="x1:424px; y1:229px; x2:1193px; y2:229px; "/>
- <input id="input8" ref="/root/main/cond/birth" class="input_default" format="yyyy-mm-dd" style="left:99px; top:50px; width:75px; height:19px; "/>
- <caption id="caption30" class="tit_2" style="left:425px; top:509px; width:165px; height:13px; ">학생자원봉사자 출결정보</caption>
- <line id="line3" class="line_1" style="x1:424px; y1:524px; x2:1193px; y2:524px; "/>
- <line id="line15" class="line_3" style="x1:424px; y1:495px; x2:1193px; y2:495px; "/>
- <input id="input16" ref="/root/main/cond/svcyy" class="input_default" navindex="1" format="yyyy" style="left:99px; top:23px; width:50px; height:19px; "/>
- <caption id="caption31" class="search_name" style="left:185px; top:23px; width:91px; height:17px; ">방학구분 :</caption>
- <caption id="caption33" class="cell_1" style="left:425px; top:78px; width:80px; height:23px; vertical-align:middle; ">전화[휴대]</caption>
- <caption id="caption34" class="cell_1" style="left:425px; top:102px; width:80px; height:23px; vertical-align:middle; ">E-Mail</caption>
- <input id="input18" ref="/root/main/studvoluntrinfo/voluntrinfo/email1" class="input_default" appearance="input" style="left:508px; top:104px; width:118px; height:19px; "/>
- <select1 id="cmb_emailaddr2" ref="/root/main/studvoluntrinfo/voluntrinfo/email2" class="input_default" appearance="minimal" style="left:629px; top:104px; width:127px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcodelist/email2_cmblist/R0131">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_etcemailaddr" ref="/root/main/studvoluntrinfo/voluntrinfo/email3" class="input_default" style="left:759px; top:104px; width:134px; height:19px; "/>
- <caption id="caption8" class="cell_1" style="left:634px; top:155px; width:80px; height:23px; vertical-align:middle; ">방학구분</caption>
- </group>
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:202px; height:14px; ">학생자원봉사활동 신청등록관리</caption>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:947px; top:3px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //필수입력 체크 (CSS 이용)
- fSaveData();
- ]]>
- </script>
- </button>
- <button id="btn_update" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:1008px; top:3px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fVoluntrInfoUpdate();
- ]]>
- </script>
- </button>
- <button id="btn_del" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:1067px; top:3px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelData();
- ]]>
- </script>
- </button>
- <button id="button10" class="btn4_letter3" disable.background-image="../../../com/commonweb/images/dis_btn4_letter3.gif" style="left:1126px; top:3px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fReset();
-
- ]]>
- </script>
- </button>
- <line id="line16" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- <button id="button96" class="btn6_letter5" disable.background-image="../../../com/commonweb/images/dis_btn6_letter5.gif" style="left:0px; top:3px; width:92px; height:22px; background-image:../../../com/commonweb/images/btn6_letter5.gif; ">
- <caption>확인서출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPreview("H");
- /*function fPreview(flag){
- if(flag == "H"){
- var rid = "RPAAA01501"; // 레포트명(한글)
- }else if(flag == "E"){
- var rid = "RPAAA01502"; // 레포트명(영문)
- }
- var dataType = "XMLSTR"; // 연계방법(XMLSTR/ XMLFILE/ XML)
- var paramsXPath = "/root/main/aaa"; // 매개변수필드 XPath
- var submitId = ""; // SubmitID
- var print = ""; // 출력여부(true, false)
- var printDialog = ""; // 인쇄 창 보임 여부(true, false)
- var fileType = ""; // 저장타입(xls/ pdf/ hml/rtf/ html/ bmp/ txt/ xml )
- var fileName = ""; // 파일명(c:\report\레포트명.저장타입)
- var fileDialog = ""; // 파일 저장 창 보임여부(0 : 숨김[기본]/1 : 보임)
- var closeYn = ""; // 미리보기창닫기여부(출력 후 true로 설정한 경우 미리보기 화면 닫기)
- var monNo = ""; // 모니터 번호
- var parentObjId = ""; // 부모객체명(미리 생성한 부모 객체명, 해당 부모 객체에 레포트 데이터를 생성한다.)
- var printPaperBin = ""; // 트레이번호
- var userService = ""; // 데이터 소스
- var showButton = ""; // 툴바버튼보임여부(visible, hidden)
- var printCount = ""; // 프린트장수(1, 2,..)
- var zoomRate = ""; // 미리보기뷰어 비율(0, 50,...)
- var printOption = ""; // 출력시 선택 옵션
- var dataXPath = ""; // 데이터 XPath
- var mainDataXPath = ""; // 메인리포트 반복XPath
- var subDataXPath = ""; // 서브리포트1 반복Xpath
-
- var idxRows = grd_voluntrhist.rows;
- if(idxRows =='1') {
- messageBox("출결정보가","E014");
- return;
- }
-
- var idxRow = grd_studvoluntrlistinfo.row; //학생자원봉사자리스트 ROW
-
- model.removeNodeset("/root/send/reqdata");
- model.makeNode("/root/send/reqdata");
- model.copyNode("/root/send/reqdata", "/root/main/studvoluntrlist/studvoluntrlistinfo["+idxRow+"]");
- model.makeValue("/root/send/reqdata/voluntrflag",2);
- submit("TRAAA01504"); //확인서 재발행 유무확인
-
- //봉사분야출력
- var grdRows = grd_svcterminfo.rows;
- model.removenode("/root/main/report/studvoluntrfild1");
- model.removenode("/root/main/report/studvoluntrfild2");
- model.removenode("/root/main/report/studvoluntrfild3");
- model.removenode("/root/main/report/studvoluntrfild4");
- for(i =1 ; i<grdRows; i++) {
- if(i =='1') {
- model.makeValue("/root/main/report/studvoluntrfild1", model.getValue("/root/main/studvoluntrinfo/studsvcactterminfo["+i+"]/studvoluntrfild"));
- } else if(i=='2') {
- model.makeValue("/root/main/report/studvoluntrfild2", model.getValue("/root/main/studvoluntrinfo/studsvcactterminfo["+i+"]/studvoluntrfild"));
- } else if(i=='3') {
- model.makeValue("/root/main/report/studvoluntrfild3", model.getValue("/root/main/studvoluntrinfo/studsvcactterminfo["+i+"]/studvoluntrfild"));
- } else if(i=='4') {
- model.makeValue("/root/main/report/studvoluntrfild4", model.getValue("/root/main/studvoluntrinfo/studsvcactterminfo["+i+"]/studvoluntrfild"));
- }
- }
-
- if(flag == "H"){
- var usernm = getUserInfo("usernm"); //담당자.
- model.setValue("/root/main/report/usernm", usernm);
- model.setValue("/root/main/report/actterm", model.getValue("/root/main/studvoluntrinfo/studsvcactterminfo["+1+"]/actterm"));
- model.makeValue("/root/main/report/brthdd",model.getValue("/root/main/studvoluntrinfo/voluntrinfo/brthdd1"));
- model.makeValue("/root/main/report/schnm",model.getValue("/root/main/studvoluntrinfo/studvoluntrrgst/schnm"));
- model.makeValue("/root/main/report/voluntrnm",model.getValue("/root/main/studvoluntrinfo/voluntrinfo/voluntrnm"));
- }else if(flag == "E"){
- model.setValue("/root/main/report/usernm", model.getValue("/root/main/aaa/report/systeminstengnm")); //담당자영문명
- model.makeValue("/root/main/report/brthdd",model.getValue("/root/main/studvoluntrinfo/voluntrinfo/brthdd2"));
- model.makeValue("/root/main/report/schnm",model.getValue("/root/main/studvoluntrinfo/studvoluntrrgst/schengnm"));
- model.makeValue("/root/main/report/voluntrnm",model.getValue("/root/main/studvoluntrinfo/voluntrinfo/voluntrengnm"));
- model.setValue("/root/main/report/actterm", model.getValue("/root/main/studvoluntrinfo/actterminfo/actterm2")); //영문확인서를위해 추가..kys-20091130
- model.makeValue("/root/main/report/reportdd", model.getValue("/root/main/studvoluntrinfo/actterminfo/reportdd")); //영문발행일
- }
-
- if (model.getValue("/root/main/reportsql/reportissseq/issyy") == '') {
- submit("TRAAA01503"); //발행번호 조회하는 서브미션
- setParameter("reportprintyn", ""); //출력 여부 알려주는 reportprintyn 란 파라메터 셋팅
-
-
- exeReportPreview(rid, dataType, paramsXPath, submitId, print, printDialog, fileType, fileName, fileDialog, closeYn, monNo, parentObjId, printPaperBin, userService, showButton, printCount, zoomRate, printOption, dataXPath, mainDataXPath, subDataXPath);
- if (getParameter("reportprintyn") == "Y")
- { // 프린트 출력이 되고 창이 닫혔을 때
- model.removenode("/root/send/savedata");
- model.makeNode("/root/send/savedata");
- model.copyNode("/root/send/savedata", "/root/send/reqdata");
- submit("TXAAA01502");
-
- model.removenode("/root/main/reportsq/reportissseq");
- model.makeNode("/root/main/reportsq/reportissseq");
- }
- } else {
- setParameter("reportprintyn", ""); //출력 여부 알려주는 reportprintyn 란 파라메터 셋팅
-
- exeReportPreview(rid, dataType, paramsXPath, submitId, print, printDialog, fileType, fileName, fileDialog, closeYn, monNo, parentObjId, printPaperBin, userService, showButton, printCount, zoomRate, printOption, dataXPath, mainDataXPath, subDataXPath);
- if (getParameter("reportprintyn") == "Y")
- { // 프린트 출력이 되고 창이 닫혔을 때
- model.removenode("/root/send/savedata");
- model.makeNode("/root/send/savedata");
- model.copyNode("/root/send/savedata", "/root/send/reqdata");
- submit("TXAAA01503");
- model.removenode("/root/main/reportsq/reportissseq");
- model.makeNode("/root/main/reportsq/reportissseq");
- }
- }
- model.refresh();
- }//fPreview END */
- ]]>
- </script>
- </button>
- <line id="line37" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- <button id="btn_engreport" class="btn6_letter7" visibility="hidden" disable.background-image="../../../com/commonweb/images/dis_btn6_letter5.gif" style="left:100px; top:4px; width:116px; height:22px; background-image:../../../com/commonweb/images/btn6_letter5.gif; ">
- <caption>영문확인서출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPreview("E");
- ]]>
- </script>
- </button>
- </group>
- <select1 id="combo2" ref="/root/main/cond/vacatflagcd" class="combo_search" visibility="visible" appearance="minimal" style="left:277px; top:35px; width:62px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>하계</label>
- <value>S</value>
- </item>
- <item>
- <label>동계</label>
- <value>W</value>
- </item>
- <item>
- <label>수시</label>
- <value>T</value>
- </item>
- </choices>
- </select1>
- <caption id="caption17" class="search_name" style="left:185px; top:64px; width:65px; height:17px; ">성명 :</caption>
- <input id="input11" ref="/root/main/cond/name" class="input_default" style="left:251px; top:63px; width:89px; height:19px; "/>
- <group id="group1" scroll="auto" style="left:0px; top:15px; width:1195px; height:744px; ">
- <caption id="caption10" class="tit_2" style="left:430px; top:10px; width:165px; height:14px; ">학생자원봉사자 신상정보</caption>
- <input id="ipt_brthdd" ref="/root/main/studvoluntrinfo/voluntrinfo/brthdd" class="input_essential" navindex="3" inputtype="date" format="yyyy-mm-dd" appearance="input" style="left:1006px; top:31px; width:99px; height:19px; "/>
- <select1 id="radio3" ref="/root/main/studvoluntrinfo/voluntrinfo/solarlunarflag" navindex="4" appearance="full" cellspacing="5" cols="2" rows="1" overflow="visible" style="left:1109px; top:32px; width:70px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>양</label>
- <value>1</value>
- </item>
- <item>
- <label>음</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <line id="line17" class="line_2" style="x1:425px; y1:261px; x2:1194px; y2:261px; "/>
- <line id="line19" class="line_2" style="x1:425px; y1:52px; x2:1194px; y2:52px; "/>
- <input id="input17" ref="/root/main/studvoluntrinfo/studvoluntrrgst/studdeptnm" class="input_default" navindex="14" maxlength="30" appearance="input" style="left:709px; top:183px; width:107px; height:19px; "/>
- <input id="input19" ref="/root/main/studvoluntrinfo/studvoluntrrgst/hopevoluntractcnts" class="input_default" navindex="19" maxlength="30" appearance="input" style="left:946px; top:207px; width:239px; height:19px; "/>
- <datagrid id="grd_svcterminfo" nodeset="/root/main/studvoluntrinfo/studsvcactterminfo" visibility="visible" allowuserresize="true" autoresize="true" caption="주차^구분^활동부서^활동세부부서^시작일^종료일^활동세부부서/봉사분야^caption1^caption4^caption5^caption3^caption2" colsep="^" colwidth="62, 68, 101, 100, 93, 93, 220, 100, 100, 100, 100, 100" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:425px; top:320px; width:769px; height:174px; ">
- <col ref="voluntractweekcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/A0367list/A0367">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="voluntractteamcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/A0360list/A0360">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="actdeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/A0503list/A0503">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="actdeptdetlnm" type="input" visibility="hidden" maxlength="100"/>
- <col ref="actfromdd" type="inputdate" style="text-align:center; "/>
- <col ref="acttodd" type="inputdate" style="text-align:center; "/>
- <col ref="studvoluntrfild" type="input" maxlength="100"/>
- <col ref="voluntrid" visibility="hidden"/>
- <col ref="actrgstseqno" visibility="hidden"/>
- <col ref="studapptseqno" visibility="hidden"/>
- <col ref="actterm" visibility="hidden"/>
- <col ref="studvoluntrfild1" visibility="hidden"/>
- </datagrid>
- <button id="button1" class="btn2_letter3" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:1085px; top:294px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInsRow();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter3" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:1141px; top:294px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelRow();
- ]]>
- </script>
- </button>
- <caption id="caption13" style="left:817px; top:187px; width:29px; height:15px; ">학과</caption>
- <caption id="caption32" style="left:904px; top:187px; width:26px; height:15px; ">학년</caption>
- <caption id="caption35" style="left:990px; top:187px; width:20px; height:15px; ">반</caption>
- <input id="input20" ref="/root/main/studvoluntrinfo/studvoluntrrgst/grde" class="input_default" navindex="15" maxlength="2" format="99" appearance="input" style="left:852px; top:183px; width:50px; height:19px; "/>
- <input id="input21" ref="/root/main/studvoluntrinfo/studvoluntrrgst/studclass" class="input_default" navindex="16" maxlength="2" format="99" appearance="input" style="left:938px; top:183px; width:50px; height:19px; "/>
- <line id="line20" class="line_2" style="x1:425px; y1:529px; x2:1194px; y2:529px; "/>
- <datagrid id="grd_voluntrhist" nodeset="/root/main/studvoluntrinfo/studattdabsninfo" autoresize="true" caption="년도^방학구분^봉사일자^봉사구분^활동부서^활동시간^OT출결" colsep="^" colwidth="59, 85, 85, 109, 170, 85, 80" dataheight="25" explorerbar="sort" extendlastcol="scroll" frozencols="4" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:507px; top:531px; width:686px; height:183px; ">
- <col disabled="true" ref="servyy" style="text-align:center; "/>
- <col disabled="true" ref="vacatflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/A0366list/A0366">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="servdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="voluntractteamcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/A0360list/A0360">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="actdeptcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/A0503list/A0503">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="servtm" maxlength="2" style="text-align:center; "/>
- <col disabled="true" ref="otyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label/>
- <value>N</value>
- </item>
- </choices>
- </col>
- </datagrid>
- <combo id="ipt_studactdeptcd" ref="/root/main/studvoluntrinfo/studvoluntrrgst/studactdeptcd" class="input_default" appearance="input" style="left:509px; top:268px; width:118px; height:19px; ">
- <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>기타</label>
- <value>5</value>
- </item>
- </choices>
- </combo>
- <line id="line21" class="line_1" style="x1:425px; y1:25px; x2:1194px; y2:25px; "/>
- <datagrid id="grd_studvoluntrlistinfo" nodeset="/root/main/studvoluntrlist/studvoluntrlistinfo" allowuserresize="true" autoresize="true" caption="봉사년도^방학구분^성명^학교명^활동부서^활동시간 누계^일련번호^봉사자id" colsep="^" colwidth="60, 68, 83, 95, 88, 100, 100, 0" dataheight="25" explorerbar="sort" extendlastcol="scroll" frozencols="3" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:110px; width:420px; height:630px; ">
- <col ref="servyy" style="text-align:center; "/>
- <col disabled="true" ref="vacatflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/A0366list/A0366">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="voluntrnm" style="text-align:center; "/>
- <col ref="schnm" style="text-align:center; "/>
- <col disabled="true" ref="actdeptcd" type="combo" style="left:326px; top:23px; width:88px; height:28px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/A0503list/A0503">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="servtm" style="text-align:center; "/>
- <col ref="voluntrid" visibility="hidden"/>
- <col ref="studappseqno"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fVoluntrInfo(); //봉사자리스트 클릭시
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- //sort기능추가-20090916-kys
- grd_studvoluntrlistinfo.gridToInstance(); // sorting시 데이터 순서 그대로 가져갈 수 있도록
- ]]>
- </script>
- </datagrid>
- <line id="line22" class="line_1" style="x1:0px; y1:106px; x2:420px; y2:106px; "/>
- <group id="group2" style="left:0px; top:10px; width:420px; height:70px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:420px; height:70px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button4" class="btn1_letter2" navindex="5" style="left:357px; top:25px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fStudVoluntrList();
- ]]>
- </script>
- </button>
- <line id="line23" class="line_4" style="x1:349px; y1:6px; x2:349px; y2:65px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption36" class="search_name" style="left:7px; top:13px; width:90px; height:17px; ">조회기간 :</caption>
- <caption id="caption37" style="left:153px; top:17px; width:35px; height:15px; ">년도</caption>
- <caption id="caption38" class="search_name" style="left:7px; top:41px; width:98px; height:17px; ">생년월일 :</caption>
- <select1 id="cmb_vacatflagcd" ref="/root/main/cond/vacatflag" class="combo_search" navindex="2" visibility="visible" appearance="minimal" style="left:281px; top:12px; width:54px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/A0366listall/A0366">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_name" ref="/root/main/cond/name" class="input_default" navindex="4" style="left:261px; top:41px; width:77px; height:19px; ">
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- fStudVoluntrList();
- ]]>
- </script>
- </input>
- <caption id="caption62" class="search_name" style="left:190px; top:42px; width:65px; height:17px; ">성명 :</caption>
- </group>
- <caption id="caption39" class="tit_2" style="left:5px; top:89px; width:152px; height:13px; ">학생자원봉사자 리스트</caption>
- <line id="line24" class="line_2" style="x1:424px; y1:289px; x2:1193px; y2:289px; "/>
- <line id="line26" class="line_3" style="x1:425px; y1:739px; x2:1194px; y2:739px; "/>
- <caption id="caption40" style="left:1087px; top:187px; width:56px; height:15px; ">번호/학번</caption>
- <input id="input22" ref="/root/main/studvoluntrinfo/studvoluntrrgst/studno" class="input_default" navindex="17" maxlength="15" format="99999999" appearance="input" style="left:1015px; top:183px; width:68px; height:19px; "/>
- <input id="input23" ref="/root/main/studvoluntrinfo/voluntrinfo/zipcd1" class="input_default" disabled="true" style="left:712px; top:56px; width:40px; height:19px; "/>
- <input id="input24" ref="/root/main/studvoluntrinfo/voluntrinfo/zipcd2" class="input_default" disabled="true" style="left:756px; top:56px; width:40px; height:19px; "/>
- <button id="btn_zipcd" class="icon_search" navindex="6" style="left:801px; top:57px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //우편번호 가져오기
- zbcfOpenZipCodeList('combination', '', "/root/main/studvoluntrinfo/voluntrinfo/zipcd1", "/root/main/studvoluntrinfo/voluntrinfo/zipcd2" , "/root/main/studvoluntrinfo/voluntrinfo/zipcdseq", "/root/main/studvoluntrinfo/voluntrinfo/addr", "hangul");
- ]]>
- </script>
- </button>
- <output id="opt_addr" ref="/root/main/studvoluntrinfo/voluntrinfo/addr" class="output_fix" appearance="output" style="left:824px; top:56px; width:370px; height:19px; "/>
- <input id="input26" ref="/root/main/studvoluntrinfo/voluntrinfo/detladdr" class="input_default" maxlength="66" style="left:712px; top:80px; width:482px; height:19px; "/>
- <select1 id="cmb_hopevoluntractcd" ref="/root/main/studvoluntrinfo/studvoluntrrgst/hopevoluntractcd" class="combo_essential" navindex="18" appearance="minimal" style="left:848px; top:207px; width:87px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/A0360list/A0360">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_schnm" ref="/root/main/studvoluntrinfo/studvoluntrrgst/schnm" class="input_essential" navindex="13" maxlength="20" appearance="input" style="left:508px; top:183px; width:172px; height:19px; "/>
- <caption id="caption41" style="left:680px; top:187px; width:26px; height:15px; ">학교</caption>
- <input id="ipt_mpphontel" ref="/root/main/studvoluntrinfo/voluntrinfo/mpphontel" class="input_essential" navindex="7" maxlength="15" appearance="input" style="left:508px; top:105px; width:118px; height:19px; "/>
- <input id="ipt_hometel" ref="/root/main/studvoluntrinfo/voluntrinfo/hometel" class="input_essential" navindex="5" maxlength="15" appearance="input" style="left:508px; top:80px; width:118px; height:19px; "/>
- <line id="line27" class="line_2" style="x1:425px; y1:155px; x2:1193px; y2:155px; "/>
- <line id="line28" class="line_2" style="x1:425px; y1:76px; x2:625px; y2:76px; "/>
- <caption id="caption42" class="cell_1" style="left:425px; top:79px; width:80px; height:23px; vertical-align:middle; ">전화[자택]</caption>
- <caption id="caption43" class="cell_1" style="left:425px; top:156px; width:80px; height:23px; vertical-align:middle; ">봉사년도</caption>
- <caption id="caption44" class="cell_1" style="left:425px; top:181px; width:80px; height:23px; vertical-align:middle; ">소속</caption>
- <caption id="caption45" class="cell_1" style="left:425px; top:531px; width:80px; height:183px; vertical-align:middle; ">봉사이력</caption>
- <caption id="caption46" class="cell_1" style="left:629px; top:54px; width:80px; height:46px; vertical-align:middle; ">주소</caption>
- <caption id="caption47" class="cell_1" style="left:425px; top:78px; width:80px; height:23px; vertical-align:middle; ">전화[휴대]</caption>
- <caption id="caption48" class="cell_1" style="left:765px; top:205px; width:80px; height:23px; vertical-align:middle; ">희망부서</caption>
- <caption id="cap_name" class="cell_1" style="left:425px; top:30px; width:80px; height:23px; font-family:돋움; vertical-align:middle; ">성명</caption>
- <caption id="caption50" class="cell_1" style="left:425px; top:230px; width:80px; height:58px; vertical-align:middle; ">참고사항</caption>
- <textarea id="textarea2" ref="/root/main/studvoluntrinfo/studvoluntrrgst/remfact" navindex="20" scroll="vertical" maxlength="100" style="left:508px; top:232px; width:686px; height:53px; "/>
- <input id="ipt_servyy" ref="/root/main/studvoluntrinfo/studvoluntrrgst/servyy" class="input_essential" navindex="10" format="yyyy" style="left:508px; top:157px; width:87px; height:19px; "/>
- <caption id="caption51" style="left:596px; top:161px; width:30px; height:15px; ">년도</caption>
- <select1 id="cmb_vacatflag" ref="/root/main/studvoluntrinfo/studvoluntrrgst/vacatflag" class="input_essential" navindex="11" appearance="minimal" style="left:712px; top:157px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/A0366list/A0366">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_studflag" ref="/root/main/studvoluntrinfo/studvoluntrrgst/studflag" class="select_essential" navindex="12" appearance="full" cellspacing="15" cols="2" rows="1" overflow="visible" style="left:910px; top:158px; width:8px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0511list/A0511">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption52" class="cell_1" style="left:828px; top:156px; width:80px; height:23px; vertical-align:middle; ">학생구분</caption>
- <input id="ipt_voluntrnm" ref="/root/main/studvoluntrinfo/voluntrinfo/voluntrnm" class="input_essential" navindex="1" imemode="hangul" maxlength="6" max="6" style="left:508px; top:31px; width:117px; height:19px; "/>
- <caption id="caption53" class="cell_1" style="left:425px; top:54px; width:80px; height:23px; vertical-align:middle; ">성별</caption>
- <select1 id="rdo_sex" ref="/root/main/studvoluntrinfo/voluntrinfo/sex" class="select_essential" navindex="2" appearance="full" cellspacing="5" cols="2" rows="1" overflow="visible" style="left:509px; top:56px; width:8px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>남</label>
- <value>M</value>
- </item>
- <item>
- <label>여</label>
- <value>F</value>
- </item>
- </choices>
- </select1>
- <caption id="caption54" class="cell_1" style="left:923px; top:30px; width:80px; height:23px; vertical-align:middle; ">생년월일</caption>
- <caption id="caption55" class="tit_2" style="left:425px; top:136px; width:165px; height:13px; ">학생자원봉사자 신청정보</caption>
- <line id="line29" class="line_3" style="x1:425px; y1:125px; x2:1194px; y2:125px; "/>
- <line id="line30" class="line_1" style="x1:425px; y1:150px; x2:1194px; y2:150px; "/>
- <line id="line31" class="line_2" style="x1:425px; y1:229px; x2:1194px; y2:229px; "/>
- <line id="line34" class="line_2" style="x1:425px; y1:180px; x2:1194px; y2:180px; "/>
- <input id="ipt_birth" ref="/root/main/cond/birth" class="input_default" navindex="3" inputtype="date" format="yyyy-mm-dd" style="left:99px; top:50px; width:86px; height:19px; "/>
- <caption id="caption56" class="tit_2" style="left:425px; top:509px; width:165px; height:13px; ">학생자원봉사자 출결정보</caption>
- <line id="line32" class="line_1" style="x1:425px; y1:524px; x2:1194px; y2:524px; "/>
- <line id="line33" class="line_3" style="x1:425px; y1:495px; x2:1194px; y2:495px; "/>
- <input id="ipt_svcyy" ref="/root/main/cond/svcyy" class="input_default" navindex="1" format="yyyy" style="left:99px; top:23px; width:50px; height:19px; "/>
- <caption id="caption57" class="search_name" style="left:190px; top:23px; width:91px; height:17px; ">방학구분 :</caption>
- <caption id="caption58" class="cell_1" style="left:425px; top:103px; width:80px; height:23px; vertical-align:middle; ">전화[휴대폰]</caption>
- <caption id="caption59" class="cell_1" style="left:629px; top:102px; width:80px; height:23px; vertical-align:middle; ">E-Mail</caption>
- <input id="input34" ref="/root/main/studvoluntrinfo/voluntrinfo/emailid" class="input_default" navindex="8" maxlength="10" appearance="input" style="left:713px; top:104px; width:118px; height:19px; "/>
- <select1 id="cmb_emailaddr" ref="/root/main/studvoluntrinfo/voluntrinfo/emailaddr" class="input_default" navindex="9" appearance="minimal" style="left:834px; top:104px; width:127px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/A0120list/A0120">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (model.getValue("/root/main/studvoluntrinfo/voluntrinfo/emailaddr") == "01"){ //직접입력선택시
- cmb_etcemailaddr.disabled = false;
- model.setValue("/root/main/studvoluntrinfo/voluntrinfo/etcemailaddr","");
- } else {
- cmb_etcemailaddr.disabled = true;
- model.setValue("/root/main/studvoluntrinfo/voluntrinfo/etcemailaddr","");
- }
- cmb_etcemailaddr.refresh();
- ]]>
- </script>
- </select1>
- <input id="cmb_etcemailaddr" ref="/root/main/studvoluntrinfo/voluntrinfo/etcemailaddr" class="input_default" maxlength="20" style="left:964px; top:104px; width:134px; height:19px; "/>
- <caption id="caption60" class="cell_1" style="left:629px; top:155px; width:80px; height:23px; vertical-align:middle; ">방학구분</caption>
- <line id="line25" class="line_2" style="x1:424px; y1:317px; x2:1193px; y2:317px; "/>
- <line id="line35" class="line_1" style="x1:424px; y1:315px; x2:1193px; y2:315px; "/>
- <caption id="caption61" class="tit_2" style="left:425px; top:300px; width:217px; height:14px; ">학생자원봉사자 봉사활동기간정보</caption>
- <line id="line36" class="line_2" style="x1:425px; y1:205px; x2:1193px; y2:205px; "/>
- <caption id="caption49" class="cell_1" style="left:629px; top:30px; width:80px; height:23px; vertical-align:middle; ">성명(영문)</caption>
- <input id="ipt_voluntrengnm" ref="/root/main/studvoluntrinfo/voluntrinfo/voluntrengnm" class="input_default" maxlength="40" appearance="input" style="left:712px; top:31px; width:207px; height:19px; "/>
- <caption id="caption63" class="cell_1" style="left:425px; top:205px; width:80px; height:23px; vertical-align:middle; ">학교(영문)</caption>
- <input id="ipt_schengnm" ref="/root/main/studvoluntrinfo/studvoluntrrgst/schengnm" class="input_default" maxlength="50" appearance="input" style="left:508px; top:208px; width:250px; height:19px; "/>
- <caption id="caption64" class="cell_1" visibility="hidden" style="left:425px; top:715px; width:80px; height:23px; vertical-align:middle; ">담당자영문명</caption>
- <caption id="caption65" visibility="hidden" style="left:725px; top:720px; width:305px; height:15px; font-weight:bold; color:#ff0000; ">* 영문확인서출력시 담당자영문명을 기입하세요 *</caption>
- <input id="ipt_admin" ref="/root/main/aaa/report/systeminstengnm" class="input_default" visibility="hidden" maxlength="40" appearance="input" style="left:507px; top:718px; width:213px; height:19px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|