123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488 |
- <?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>
- <donat>
- <donatlist>
- <humbodydnorid/>
- <rgstdd/>
- <restcertissdd/>
- <acptdd/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <cntctel/>
- <mpphon/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseq/>
- <addr/>
- <cntcaddr/>
- <btype/>
- <rh/>
- <bdht/>
- <bdwt/>
- <email/>
- <relign/>
- <baptnm/>
- <pastsickandophist/>
- <smplnmakeaprvyn/>
- <hepatitis/>
- <tuberculosis/>
- <vd/>
- <gita/>
- <basicto/>
- <nationto/>
- <restcertreissdd/>
- <restcertreissresn/>
- <rem/>
- <rgstyy/>
- <flag/>
- <picture/>
- <aftaprv/>
- <sickandophist/>
- </donatlist>
- <lastpage>
- <lastpage/>
- </lastpage>
- </donat>
- <famyaprv>
- <famyaprvlist>
- <humbodydnorid/>
- <rgstdd/>
- <aprvpsnhngnm/>
- <aprvdd/>
- <aprvpsnrrgstno1/>
- <aprvpsnrrgstno2/>
- <aprvpsnrelign/>
- <aprvpsnbaptnm/>
- <aprvpsnzipcd1/>
- <aprvpsnzipcd2/>
- <aprvpsnzipcdseq/>
- <aprvpsnaddr/>
- <aprvpsncntcaddr/>
- <aprvpsncntctel/>
- <aprvpsnmpphon/>
- <aprvpsnemail/>
- <aprvpsnrela/>
- <orgndonatdispyn/>
- <rgstyy/>
- <flag/>
- </famyaprvlist>
- </famyaprv>
- <info>
- <donat>
- <humbodydnorid/>
- <rgstdd/>
- <restcertissdd/>
- <acptdd/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <cntctel/>
- <mpphon/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseq/>
- <addr/>
- <cntcaddr/>
- <btype/>
- <rh/>
- <bdht/>
- <bdwt/>
- <email/>
- <relign/>
- <baptnm/>
- <pastsickandophist/>
- <hepatitis/>
- <tuberculosis/>
- <vd/>
- <gita/>
- <basicto/>
- <nationto/>
- <restcertreissdd/>
- <restcertreissresn/>
- <smplnmakeaprvyn/>
- <rem/>
- <rgstyy/>
- <flag/>
- <picture/>
- <aftaprv/>
- <sickandophist/>
- </donat>
- <famyaprv>
- <humbodydnorid/>
- <rgstdd/>
- <aprvpsnhngnm/>
- <aprvdd/>
- <aprvpsnrrgstno1/>
- <aprvpsnrrgstno2/>
- <aprvpsnrelign/>
- <aprvpsnbaptnm/>
- <aprvpsnzipcd1/>
- <aprvpsnzipcd2/>
- <aprvpsnzipcdseq/>
- <aprvpsnaddr/>
- <aprvpsncntcaddr/>
- <aprvpsncntctel/>
- <aprvpsnmpphon/>
- <aprvpsnemail/>
- <aprvpsnrela/>
- <orgndonatdispyn/>
- <rgstyy/>
- <flag/>
- </famyaprv>
- </info>
- <view>
- <imgwidth/>
- <imgheight/>
- </view>
- </main>
- <send>
- <srchflag>2</srchflag>
- <srchfromdd/>
- <srchtodd/>
- <srchhngnm/>
- <humbodydnorid/>
- <srchrrgst1/>
- <srchrrgst2/>
- <donat/>
- <famyaprv/>
- <rgstdd/>
- <restcertissdd/>
- <restcertreissdd/>
- <restcertreissresn/>
- <picture/>
- </send>
- <init>
- <cmbinfo>
- <btype/>
- <rhtype/>
- <relign/>
- <emailaddr1/>
- <emailaddr2/>
- <smplnmakeaprvyn/>
- </cmbinfo>
- <picture/>
- </init>
- <hidden>
- <list/>
- <emailsample1/>
- <emailsample2/>
- <temp>
- <humbodydnorid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <addr/>
- <cntcaddr/>
- <picture/>
- <rrgstno/>
- <rgstdd/>
- </temp>
- <paval/>
- </hidden>
- <label>
- <print/>
- </label>
- </root>
- </instance>
- <submission id="TRZBC00101"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- model.removeNodeset("/root/main/donat/donatlist");
- // zbcfGetCodeList( new Array("M0074","P0157","R0131","R0131","A0474") , new Array("/root/init/cmbinfo/btype", "/root/init/cmbinfo/relign","/root/init/cmbinfo/emailaddr1","/root/init/cmbinfo/emailaddr2","/root/init/cmbinfo/smplnmakeaprvyn"));
- zbcfGetCodeList( new Array("M0074","P0157","R0131","R0131") , new Array("/root/init/cmbinfo/btype", "/root/init/cmbinfo/relign","/root/init/cmbinfo/emailaddr1","/root/init/cmbinfo/emailaddr2"));
-
- //ipt_todd.value = getCurrentDate();
- //ipt_fromdd.value = ipt_todd.value.toDate().getAddDate(-1,"M").getDateFormat("YYYYMMDD") ;
- model.toggle("case1");
- btn_menu1.selected = true;
- btn_menu2.selected = false;
-
- //---------------------------------------------
- // 접수일자 안보임
- input5.visible = false;
-
- model.setValue("/root/send/srchflag", "2");
-
- addComboItem( "cmb_btype" , " ", "");
- // addComboItem( "cmb_smplnmakeaprv" , " ", "");
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRAVH00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/donat"/>
- <submission id="TXAVH00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/donat" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAVH00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/famyaprv" replace="instance" resultref="/root/hidden"/>
- <submission id="TRAVH00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/famyaprv"/>
- <submission id="TXAVH00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
- <submission id="TRAVH00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/donat/donatlist"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- var DbClick_value =0 ;
-
- /** -------------------------------------------------------------------------------------------
- * 인체기증 승낙서 List 조회
- ------------------------------------------------------------------------------------------- **/
- function fSearchList(page) {
- // 이상 페이지 번호 처리
- if(page == "") page = 1;
- if(page < 1) page = 1;
-
- if(page > Number(cap_lastPage.value)) page = Number(cap_lastPage.value);
- if (page == 0) page = 1;
-
- model.removeNodeset("/root/main/donat/donatlist");
- model.removeNodeset("/root/main/donat/lastpage");
- // model.makeValue("/root/send/srchflag", model.getValue("/root/send/srchflag")); // 구분
- // model.makeValue("/root/send/srchfromdd", model.getValue("/root/send/srchfromdd")); // 조회일자(from)
- // model.makeValue("/root/send/srchtodd", model.getValue("/root/send/srchtodd")); // 조회일자(to)
- // model.makeValue("/root/send/srchhngnm", model.getValue("/root/send/srchhngnm")); // 성명
- // model.makeValue("/root/send/srchrrgst1", model.getValue("/root/send/srchrrgst1")); // 주민번호1
- // model.makeValue("/root/send/srchrrgst2", model.getValue("/root/send/srchrrgst2")); // 주민번호2
- model.makeValue("/root/send/page", 1); // page
- model.makeValue("/root/send/itemlimit", "10000"); // 한그리드에 조회되는 row 수
-
- if(model.getValue("/root/send/srchflag") == "") {
- messageBox("구분을","C002");
- return ;
- }
- ret = submit("TRAVH00203");
- ipt_paval.value = 1;
-
- model.toggle("case1");
- btn_menu1.selected = true;
- btn_menu2.selected = false;
-
- model.refresh();
- }
-
-
- /* @group : 인체기증승낙서
- * @ver : 2008.10.18 (CMCDEV-0001)
- * @by : 한음미(평화IS)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 시신기증등록증카드 출력
- */
- function fExePrintCard(){
-
- model.makeNode("/root/hidden/temp/humbodydnorid");// 등록번호
- model.makeNode("/root/hidden/temp/hngnm"); // 성명
- model.makeNode("/root/hidden/temp/rrgstno1"); // 주민번호1
- model.makeNode("/root/hidden/temp/rrgstno2"); // 주민번호2
- model.makeNode("/root/hidden/temp/addr"); //주소1
- model.makeNode("/root/hidden/temp/cntcaddr"); // 주소2
- model.makeNode("/root/hidden/temp/picture"); // 사진
- model.setValue("/root/hidden/temp/humbodydnorid", model.getValue("/root/main/info/donat/humbodydnorid"));
- model.setValue("/root/hidden/temp/hngnm", model.getValue("/root/main/info/donat/hngnm"));
-
- var sCard;
- sCard = "";
- sCard += model.getValue("/root/main/info/donat/rrgstno1");
- sCard += " - ";
- sCard += model.getValue("/root/main/info/donat/rrgstno2");
-
- model.makeValue("/root/hidden/temp/rrgstno", sCard);
-
- model.setValue("/root/hidden/temp[" + 1 + "]/rrgstno1", model.getValue("/root/main/info/donat/rrgstno1"));
- model.setValue("/root/hidden/temp[" + 1 + "]/rrgstno2", model.getValue("/root/main/info/donat/rrgstno2"));
- model.setValue("/root/hidden/temp[" + 1 + "]/addr", model.getValue("/root/main/info/donat/addr"));
- model.setValue("/root/hidden/temp[" + 1 + "]/cntcaddr", model.getValue("/root/main/info/donat/cntcaddr"));
- model.setValue("/root/hidden/temp[" + 1 + "]/picture", model.getValue("/root/main/info/donat/picture"));
-
- //----------------------------------------------------
- // 사진 없이 저장 하면 실행 안됨.
- if ((model.getValue("/root/main/info/donat/picture"))!=""||(model.getValue("/root/main/info/donat/picture"))!= null){
- if((model.getValue("/root/main/info/donat/picture").length) != 0){
-
-
- exeReportPreview("RPAVH00201", "XMLSTR", "", "", "", "", "", "", "", "", "", ""); // 등록증 카드 발급 출력
- }else{
- exeReportPreview("RPAVH00202", "XMLSTR", "", "", "", "", "", "", "", "", "", ""); // 등록증 카드 발급 출력
- }
- }else {
- exeReportPreview("RPAVH00202", "XMLSTR", "", "", "", "", "", "", "", "", "", ""); // 등록증 카드 발급 출력
-
- }
-
- fExeCard(); // 등록증 발급일자 입력
-
- if ( fSetdata() ) {
- // model.setValue("/root/send/srchflag", "2");
- // model.setValue("/root/send/srchhngnm", model.getValue("/root/main/info/donat/hngnm") );
- fSearchList();
- }
-
- }
- /* @group : 인체기증승낙서
- * @ver : 2008.10.18 (CMCDEV-0001)
- * @by : 한음미(평화IS)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 등록증 발급일자, 재발급일자 입력
- */
- function fExeCard(){
-
- var picture;
- picture = model.getValue("/root/main/info/donat/picture");
-
- // if (picture.length != 0){ // 사진 있음
- if ((model.getValue("/root/main/info/donat/restcertissdd") != null)||(model.getValue("/root/main/info/donat/restcertissdd") != "")){
- // model.setValue("/root/main/info/donat/restcertissdd", getCurrentDate()); // 등록증 발급일자
- // model.makeValue("/root/send/restcertissdd", getCurrentDate());
- // model.setValue("/root/main/info/donat/restcertreissdd", model.getValue("/root/main/info/donat/restcertreissdd")); // 등록증 재발급일자
- // model.makeValue("/root/send/restcertreissdd", model.getValue("/root/main/info/donat/restcertreissdd"));
- // model.makeValue("/root/send/restcertreissresn", model.getValue("/root/main/info/donat/restcertreissresn")); // 재발급 사유
- //
- // }else{
- // model.setValue("/root/main/info/donat/restcertissdd", model.getValue("/root/main/info/donat/restcertissdd")); // 등록증 발급일자
- // model.makeValue("/root/send/restcertissdd", model.getValue("/root/main/info/donat/restcertissdd"));
- // model.setValue("/root/main/info/donat/restcertreissdd", getCurrentDate()); // 등록증 재발급일자
- // model.makeValue("/root/send/restcertreissdd", getCurrentDate());
- // model.makeValue("/root/send/restcertreissresn", model.getValue("/root/main/info/donat/restcertreissresn")); // 재발급 사유
- //
- // }
- //
- // }else{ // 사진 없음
- // if ((model.getValue("/root/main/info/donat/restcertissdd") == null)||(model.getValue("/root/main/info/donat/restcertissdd") == "")){
- // model.setValue("/root/main/info/donat/restcertissdd", getCurrentDate()); // 등록증 발급일자
- // model.makeValue("/root/send/restcertissdd", getCurrentDate());
- // model.setValue("/root/main/info/donat/restcertreissdd", model.getValue("/root/main/info/donat/restcertreissdd")); // 등록증 재발급일자
- // model.makeValue("/root/send/restcertreissdd", model.getValue("/root/main/info/donat/restcertreissdd"));
- // model.makeValue("/root/send/restcertreissresn", model.getValue("/root/main/info/donat/restcertreissresn")); // 재발급 사유
- //
- // }else{
- model.setValue("/root/main/info/donat/restcertissdd", model.getValue("/root/main/info/donat/restcertissdd")); // 등록증 발급일자
- model.makeValue("/root/send/restcertissdd", model.getValue("/root/main/info/donat/restcertissdd"));
- model.setValue("/root/main/info/donat/restcertreissdd", getCurrentDate()); // 등록증 재발급일자
- model.makeValue("/root/send/restcertreissdd", getCurrentDate());
- model.makeValue("/root/send/restcertreissresn", model.getValue("/root/main/info/donat/restcertreissresn")); // 재발급 사유
- }
- // }
- submit("TXAVH00203");
- model.refresh();
-
- fSearchList(); // 조회
- }
-
- /* @group : 인체기증승낙서
- * @ver : 2008.10.05 (CMCDEV-0001)
- * @by : 한음미(평화IS)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 엑셀저장
- */
- function fExeSaveToExcel(){
- var fileName = window.fileDialog("save", ",", false, "인체기증승낙서내역", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != "")
- {
- grd_list.saveExcel(fileName);
- }
- }
-
- /* @group : 인체기증승낙서
- * @ver : 2008.10.05 (CMCDEV-0001)
- * @by : 한음미(평화IS)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 라벨출력
- */
- function fExePrintLabel(){
- model.resetInstanceNode("/root/label/print");
- model.copyNode("/root/label/print", "/root/main/donat");
- var label ;
- for (var iRow = 1; iRow<=getNodesetCount("/root/label/print/donatlist"); iRow++){
-
- label = "";
- label += model.getValue("/root/label/print/donatlist"+"["+iRow+"]/hngnm");
- label += " 귀하";
-
- model.setValue("/root/label/print/donatlist"+"["+iRow+"]/hngnm", label); // 성명
- }
-
- exeReportPreview("RPAVH00200", "XMLSTR", "/root");
- model.refresh();
- }
-
- /* @group : 인체기증승낙서
- * @ver : 2008.10.05 (CMCDEV-0001)
- * @by : 한음미(평화IS)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 주민번호 입력후 엔터키
- */
- function fExeRrgstRefValKeyPress(){
- if(event.keyCode == 13) {
- model.setValue("/root/send/srchrrgst1", ipt_srchrrgst1.currentText);
- model.setValue("/root/send/srchrrgst2", ipt_srchrrgst2.currentText);
- ipt_srchrrgst1.refresh();
- ipt_srchrrgst2.refresh();
- //---------------------------
- //조회 호출
- fSearchList();
- }
- }
-
- /* @group : 인체기증승낙서
- * @ver : 2009.06.01 (CMCDEV-0001)
- * @by : 박상환(평화IS)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 등록번호 입력후 엔터키
- */
- function fExeRrgstRefValKeyPress(){
- if(event.keyCode == 13) {
- model.setValue("/root/send/humbodydnorid", ipt_humbodydnorid.currentText);
- ipt_humbodydnorid.refresh();
- //---------------------------
- //조회 호출
- fSearchList();
- }
- }
-
- /* @group : 인체기증승낙서
- * @ver : 2008.10.05 (CMCDEV-0001)
- * @by : 한음미(평화IS)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 성명 입력후 엔터키
- */
- function fExeRefValKeyPress(){
- if(event.keyCode == 13) {
- model.setValue("/root/send/srchhngnm", ipt_srchhngnm.currentText);
- ipt_srchhngnm.refresh();
- //---------------------------
- //조회 호출
- fSearchList();
- }
- }
- /* @group : 인체기증승낙서
- * @ver : 2008.10.16 (CMCDEV-0001)
- * @by : 한음미(평화IS)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 사진 첨부 기능
- */
- function fExeAddPicture(pRow){
-
- //--------------------------------
- // 탐색기 폴더 open
- var sFileName = openImageFileDialog(1042576);
-
- //--------------------------------
- if (sFileName == "") return false;
-
- //----------------------------
- fExeChngImg(sFileName);
-
- }
-
- /* @group : 인체기증승낙서
- * @ver : 2008.10.16 (CMCDEV-0001)
- * @by : 한음미(평화IS)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 사진 첨부 하여 사이즈에 조정 function
- */
- function fExeChngImg(imgsrc){
-
- img_hidden.src = imgsrc; // 파일에서 읽은 이미지의 base64 encoding 값을 가져오기 위한 이미지 컨트롤
- var data = img_hidden.getbase64data(); // base64 encoding 문자열을 가져온다.
- var imgSize = getImageSize(imgsrc);
- var imgWidthSize = imgSize.split("^")[0];
- var imgHeightSize = imgSize.split("^")[1];
-
- model.makeValue("/root/main/info/donat/picture",data,true); // 이미지를 보여주기 위하여 view용 이미지컨트롤의 ref instance에 값을 저장
- setImageRefInstance("/root/main/info/donat/picture");
-
- model.refresh();
- }
-
- /* @group : 인체기증승낙서
- * @ver : 2008.10.16 (CMCDEV-0001)
- * @by : 한음미(평화IS)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 첨부한 사진 삭제 function
- */
- function fExeDeleteImage(){
-
- var idx = grd_list.row;
- DbClick_value = idx;
-
- model.resetInstanceNode("/root/main/info/donat["+idx+"]/picture");
- model.resetInstanceNode("/root/main/info/donat/picture");
-
- img_src.refresh();
- model.refresh();
- }
- /** -------------------------------------------------------------------------------------------
- * 인체기증 승낙서 조회 (List Double Click 시 )
- ------------------------------------------------------------------------------------------- **/
- function fGetDetail(pRow){
-
- model.resetInstanceNode("/root/main/info/donat");
-
- //---------------------------------------------------------
- // 목록을 더블 클릭했을때.
- model.setValue("/root/main/info/donat/humbodydnorid", model.getValue("/root/main/donat/donatlist["+pRow+"]/humbodydnorid")); //등록번호
- if (combo5.value == "0"){ // 구분이 전체에서 접수일자 조회 해 올때.
- model.setValue("/root/main/info/donat/rgstdd", getCurrentDate()); // 등록일자
- model.setValue("/root/main/info/donat/acptdd", getCurrentDate()); // 접수일자
- }else{ // 구분이 전체가 아닌 상태에서 접수일자 조회 해 올때.
- model.setValue("/root/main/info/donat/rgstdd", model.getValue("/root/main/donat/donatlist["+pRow+"]/rgstdd")); // 등록일자
- model.setValue("/root/main/info/donat/acptdd", model.getValue("/root/main/donat/donatlist["+pRow+"]/acptdd")); // 접수일자
- }
- model.setValue("/root/main/info/donat/hngnm", model.getValue("/root/main/donat/donatlist["+pRow+"]/hngnm")); // 성명
- model.setValue("/root/main/info/donat/rrgstno1", model.getValue("/root/main/donat/donatlist["+pRow+"]/rrgstno1")); // 주민번호1
- model.setValue("/root/main/info/donat/rrgstno2", model.getValue("/root/main/donat/donatlist["+pRow+"]/rrgstno2")); // 주민번호2
- model.setValue("/root/main/info/donat/cntctel", model.getValue("/root/main/donat/donatlist["+pRow+"]/cntctel")); // 전화번호
- model.setValue("/root/main/info/donat/mpphon", model.getValue("/root/main/donat/donatlist["+pRow+"]/mpphon")); // 핸드폰번호
- model.setValue("/root/main/info/donat/zipcd1", model.getValue("/root/main/donat/donatlist["+pRow+"]/zipcd1")); // 우편번호1
- model.setValue("/root/main/info/donat/zipcd2", model.getValue("/root/main/donat/donatlist["+pRow+"]/zipcd2")); // 우편번호2
- model.setValue("/root/main/info/donat/zipcdseq", model.getValue("/root/main/donat/donatlist["+pRow+"]/zipcdseq")); // 우편번호 순서
- model.setValue("/root/main/info/donat/addr", model.getValue("/root/main/donat/donatlist["+pRow+"]/addr")); // 주소
- model.setValue("/root/main/info/donat/cntcaddr", model.getValue("/root/main/donat/donatlist["+pRow+"]/cntcaddr")); // 상세 주소
- model.setValue("/root/main/info/donat/btype", model.getValue("/root/main/donat/donatlist["+pRow+"]/btype")); // 혈액형 타입
- model.setValue("/root/main/info/donat/rh", model.getValue("/root/main/donat/donatlist["+pRow+"]/rh")); // 혈액형 (+,-)
- model.setValue("/root/main/info/donat/bdht", model.getValue("/root/main/donat/donatlist["+pRow+"]/bdht")); // 키
- model.setValue("/root/main/info/donat/bdwt", model.getValue("/root/main/donat/donatlist["+pRow+"]/bdwt")); // 몸무게
- model.setValue("/root/main/info/donat/email", model.getValue("/root/main/donat/donatlist["+pRow+"]/email")); // 이메일
- model.setValue("/root/main/info/donat/relign", model.getValue("/root/main/donat/donatlist["+pRow+"]/relign")); // 종교
- model.setValue("/root/main/info/donat/baptnm", model.getValue("/root/main/donat/donatlist["+pRow+"]/baptnm")); // 세례명
- model.setValue("/root/main/info/donat/pastsickandophist",model.getValue("/root/main/donat/donatlist["+pRow+"]/pastsickandophist")); // 과거 질병 및 수술여부
- model.setValue("/root/main/info/donat/sickandophist", model.getValue("/root/main/donat/donatlist["+pRow+"]/sickandophist")); //현재 질병 및 수술여부
- model.setValue("/root/main/info/donat/hepatitis", model.getValue("/root/main/donat/donatlist["+pRow+"]/hepatitis")); // 간염
- model.setValue("/root/main/info/donat/tuberculosis", model.getValue("/root/main/donat/donatlist["+pRow+"]/tuberculosis")); // 결핵
- model.setValue("/root/main/info/donat/vd", model.getValue("/root/main/donat/donatlist["+pRow+"]/vd")); // 성병
- model.setValue("/root/main/info/donat/gita", model.getValue("/root/main/donat/donatlist["+pRow+"]/gita")); // 기타
- model.setValue("/root/main/info/donat/basicto", model.getValue("/root/main/donat/donatlist["+pRow+"]/basicto")); // 기초생황수급대상여주
- model.setValue("/root/main/info/donat/nationto", model.getValue("/root/main/donat/donatlist["+pRow+"]/nationto")); // 국가보훈대상여부
- model.setValue("/root/main/info/donat/restcertissdd", model.getValue("/root/main/donat/donatlist["+pRow+"]/restcertissdd")); // 등록증 신규 발행 일자
- model.setValue("/root/main/info/donat/restcertreissdd", model.getValue("/root/main/donat/donatlist["+pRow+"]/restcertreissdd")); // 등록증 재발급일자
- model.setValue("/root/main/info/donat/restcertreissresn", model.getValue("/root/main/donat/donatlist["+pRow+"]/restcertreissresn")); // 등록증 재발급 사유
- model.setValue("/root/main/info/donat/smplnmakeaprvyn", model.getValue("/root/main/donat/donatlist["+pRow+"]/smplnmakeaprvyn")); // 표본제작동의
- model.setValue("/root/main/info/donat/rem", model.getValue("/root/main/donat/donatlist["+pRow+"]/rem")); // 비고
- model.setValue("/root/main/info/donat/rgstyy", model.getValue("/root/main/donat/donatlist["+pRow+"]/rgstyy")); // 등록년도
- model.setValue("/root/main/info/donat/flag", model.getValue("/root/main/donat/donatlist["+pRow+"]/flag")); // flag
- model.setValue("/root/main/info/donat/picture", model.getValue("/root/main/donat/donatlist["+pRow+"]/picture")); // 사진
- model.setValue("/root/main/info/donat/aftaprv", model.getValue("/root/main/donat/donatlist["+pRow+"]/aftaprv")); // 사후기증
-
-
- //-------------------------------------
- // 사진 미리보기
- setImageRefInstance("/root/main/donat/donatlist["+pRow+"]/picture");
- setImageRefInstance("/root/main/info/donat/picture");
- img_src.attribute("width") = model.getValue("/root/main/view/imgwidth"); // 가로 사이즈를 이미지 사이즈로 조정
- img_src.attribute("height") = model.getValue("/root/main/view/imgheight"); // 세로 사이즈를 이미지 사이즈로 조정
-
- fGetFamyAprv();
- // model.setValue("/root/send/humbodydnorid", "");
- model.refresh();
- }
- /** -------------------------------------------------------------------------------------------
- * 인체기증 가족동의서 조회 (List Double Click 시 )
- ------------------------------------------------------------------------------------------- **/
- function fGetFamyAprv(){
- var idx = grd_list.row;
- var tempPid = "";
- DbClick_value = idx;
-
- model.resetInstanceNode("/root/main/famyaprv/famyaprvlist");
- tempPid = model.getValue("/root/send/humbodydnorid");
- model.setValue("/root/send/humbodydnorid", model.getValue("/root/main/info/donat/humbodydnorid"));
- model.setValue("/root/send/rgstdd", model.getValue("/root/main/info/donat/rgstdd"));
-
- submit("TRAVH00202");
- model.setValue("/root/send/humbodydnorid", tempPid);
- model.copyNode("/root/main/info/famyaprv","/root/main/famyaprv/famyaprvlist[1]");
-
- model.refresh();
- }
- /** -------------------------------------------------------------------------------------------
- * 인체기증 승낙서 저장 (선택된 Tab에 따라서 기증정보저장, 가족동의 저장 따로함(업무구분)
- ------------------------------------------------------------------------------------------- **/
- function fSetdata(){
- var success1 = true;
- var success2 = true;
-
- if (model.getValue("/root/main/info/donat/hngnm") == "") {
- messageBox("성명 입력은","I003");
- return false;
- }
- if (model.getValue("/root/main/info/donat/rrgstno1") == "") {
- messageBox("주민번호 입력은","I003");
- return false;
- }
- if (model.getValue("/root/main/info/donat/rrgstno2") == "") {
- messageBox("주민번호 입력은","I003");
- return false;
- }
- if (isDate(model.getValue("/root/main/info/donat/rgstdd")) == false){
- messageBox("등록일자의 날짜 형식이 잘못 입력되었습니다.", "E999", "");
- return false;
- }
- if (model.getValue("/root/main/info/donat/rgstdd") ==""){
- messageBox("등록일자 입력은","I003");
- return false;
- }
- if (isDate(model.getValue("/root/main/info/donat/acpttdd")) == false){
- messageBox("접수일자의 날짜 형식이 잘못 입력되었습니다.", "E999", "");
- return false;
- }
-
- if ((model.getValue("/root/main/info/donat/picture")) == ""||(model.getValue("/root/main/info/donat/picture")) == null){
-
- var rgstrid = model.getValue("/root/main/info/donat/rgstdd").substr(0,4);
- model.setValue("/root/main/info/donat/rgstyy", rgstrid);
-
- model.copyNode("/root/send/donat", "/root/main/info/donat");
- model.makeValue("/root/send/picture", "");
-
- model.makeValue("/root/send/donat/flag", "I"); // 입력 & 수정
- success1 = submit("TXAVH00201");
-
- } else{
-
- var rgstrid = model.getValue("/root/main/info/donat/rgstdd").substr(0,4);
-
- model.setValue("/root/main/info/donat/rgstyy", rgstrid);
- model.copyNode("/root/send/donat", "/root/main/info/donat");
- model.makeValue("/root/send/picture", model.getValue("/root/init/picture"));
- model.makeValue("/root/send/donat/flag", "I"); // 입력,수정
-
- success1 = submit("TXAVH00201");
- }
-
- var humbodydnorid = model.getValue("/root/main/info/donat/humbodydnorid");
-
- if (humbodydnorid == "") {
- model.setValue("/root/main/info/donat/humbodydnorid", model.getValue("/root/hidden/message/humbodydnorid"));
- }
-
- if ( btn_menu2.selected ) {
- // 가족동의가 동시에 입력이 된경우 가족동의 까지 저장합니다.
- if (model.getValue("/root/main/info/famyaprv/aprvpsnhngnm") == "") {
- messageBox("동의자성명 입력은","I003");
- return false;
- } else {
- model.setValue("/root/main/info/famyaprv/humbodydnorid", model.getValue("/root/main/info/donat/humbodydnorid"));
- model.setValue("/root/main/info/famyaprv/rgstdd", model.getValue("/root/main/info/donat/rgstdd"));
- model.setValue("/root/main/info/famyaprv/rgstyy" , model.getValue("/root/main/info/donat/rgstyy"));
-
- model.resetInstanceNode("/root/main/famyaprv/famyaprvlist");
-
- model.copyNode("/root/send/famyaprv", "/root/main/info/famyaprv");
- model.setValue("/root/send/famyaprv/flag", "I"); // 입력,수정
-
- success2 = submit("TXAVH00202");
- }
- }
-
- if ( btn_menu1.selected ) {
-
- if (success1 == true ){
- messageBox("기증정보 내역 저장이","I002");
- return true;
- } else {
- messageBox("기증정보 내역 저장이","E009");
- return false;
- }
- } else {
-
- if (success2 == true ){
- messageBox("가족동의 내역 저장이","I002");
- return true;
- } else {
- messageBox("가족동의 내역 저장이","E009");
- return false;
- }
- }
- model.refresh();
- }
-
- /** -------------------------------------------------------------------------------------------
- * 인체기증 승낙서 삭제 (기증정보삭제 true 가족동의삭제 함 (기증과리내역 있을시 삭제안됨 메세지)
- ------------------------------------------------------------------------------------------- **/
- function fDelete(){
- if( messageBox("기증승낙 내역과 가족동의 내역을" , "Q001" ) == 6 ) {
- var success1 = true;
- var success2 = true;
-
- if (model.getValue("/root/main/info/donat/humbodydnorid") == "") {
- messageBox("기증자선택은","C002");
- return false;
- }
- model.copyNode("/root/send/donat", "/root/main/info/donat");
- model.makeValue("/root/send/donat/flag", "D"); // 삭제
- model.resetInstanceNode("/root/main/info/donat");
- model.resetInstanceNode("/root/main/info/famyaprv");
-
- //기증승낙내역 삭제
- success1 = submit("TXAVH00201");
-
- if (success1 == true){
- model.setValue("/root/main/info/famyaprv/humbodydnorid", model.getValue("/root/main/info/donat/humbodydnorid"));
- model.setValue("/root/main/info/famyaprv/rgstdd", model.getValue("/root/main/info/donat/rgstdd"));
- model.setValue("/root/main/info/famyaprv/rgstyy" , model.getValue("/root/main/info/donat/rgstyy"));
-
- model.copyNode("/root/send/famyaprv", "/root/main/info/famyaprv");
- model.makeValue("/root/send/famyaprv", "D"); // 삭제
-
- // 기본정보 삭제
- success2 = submit("TXAVH00202");
-
- if (success2 == true ){
- messageBox("삭제","I002");
- return true;
- } else {
- messageBox("삭제 ","E009");
- return false;
- }
- model.refresh();
- } else {
- messageBox("삭제 ","E009");
- }
- }
- }
- /** -------------------------------------------------------------------------------------------
- * 일자 체크
- ------------------------------------------------------------------------------------------- **/
- function isDate(str) { // 날짜 형식에 대한 적합여부 체크
- if (str == "") return true; // 빈건 체크안함
- if (trim(str) == "") return true; // 빈건 체크안함
- if (isNaN(parseInt(str))) return false; // 숫자가 아니면 false
- if (str.length != 8) return false; // 8자리(yyyymmdd)가 아니면 false
-
- var yy = new Number(str.substring(0, 4));
- var mm = new Number(str.substring(4, 6)) - 1;
- var dd = new Number(str.substring(6, 8));
- var date = new Date(yy, mm, dd);
-
- if (yy != date.getFullYear() ||
- mm != date.getMonth() ||
- dd != date.getDate()) {
- return false; // 존재하지 않는 날짜
- }
- return true; // 존재하는 날짜
- }
- function trim(data){ // 문자에 대한 TRIM 작업
- return data.replace(/(^\s*)|(\s*$)/g, "");
- }
-
- /** -------------------------------------------------------------------------------------------
- * 인체기증 승낙서 초기화
- ------------------------------------------------------------------------------------------- **/
- function fSetClear(){
- model.reset();
- }
-
- function fGetTestInfoList(page) {
-
- // alert(model.getValue("/root/hidden/paval"));
-
- //----------------------
- // 이상 페이지 번호 처리
- if(page == "") page = 1;
- if(page < 1) page = 1;
-
- if(page > Number(cap_lastPage.value)) page = Number(cap_lastPage.value);
- if (page == 0) page = 1;
-
- // model.removeNodeset("/root/send");
- model.removeNodeset("/root/main/donat/donatlist");
- model.removeNodeset("/root/main/donat/lastpage");
-
- //--------------------------------------------------------------------------------
- model.makeValue("/root/send/srchflag", model.getValue("/root/send/srchflag")); // 구분
- model.makeValue("/root/send/srchfromdd", model.getValue("/root/send/srchfromdd")); // 조회일자(from)
- model.makeValue("/root/send/srchtodd", model.getValue("/root/send/srchtodd")); // 조회일자(to)
- model.makeValue("/root/send/srchhngnm", model.getValue("/root/send/srchhngnm")); // 성명
- model.makeValue("/root/send/srchrrgst1", model.getValue("/root/send/srchrrgst1")); // 주민번호1
- model.makeValue("/root/send/srchrrgst2", model.getValue("/root/send/srchrrgst2")); // 주민번호2
- model.makeValue("/root/send/page", page); // page
- model.makeValue("/root/send/itemlimit", "10000"); // 한그리드에 조회되는 row 수
-
- submit("TRAVH00203");
-
- ipt_paval.value = page;
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:15px; width:754px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">인체 기증 승낙서</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:30px; width:1195px; height:744px; ">
- <line id="line18" class="line_1" style="x1:0px; y1:70px; x2:1195px; y2:70px; "/>
- <caption id="caption18" class="tit_2" style="left:5px; top:55px; width:150px; height:13px; ">목록</caption>
- <datagrid id="grd_list" nodeset="/root/main/donat/donatlist" autoresize="true" caption="등록번호^사후기증^등록일자^발급일자^접수일자^성명^종교^주민번호^주민번호^전화번호^핸드폰번호^우편번호^우편번호^우편번호seq^주소^혈액형^Rh^신장^체중^이메일주소^세례명^과거질병^표본제작동의^간염^결핵^성병^기타^기초^국가^재발급일자^재발급사유^비고^등록년도^사진" colwidth="80, 60, 0, 0, 0, 90, 92, 65, 65, 100, 100, 35, 35, 0, 330, 50, 30, 0, 0, 0, 80, 300, 84, 30, 30, 30, 60, 30, 30, 0, 0, 150, 0, 0" dataheight="23" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:75px; width:1195px; height:360px; text-align:center; ">
- <col disabled="true" ref="humbodydnorid" type="input" maxlength="8"/>
- <col checkvalue="1,0" disabled="true" ref="aftaprv" type="checkbox"/>
- <col ref="rgstdd"/>
- <col ref="restcertissdd"/>
- <col ref="acptdd"/>
- <col disabled="true" ref="hngnm" type="input" maxlength="50"/>
- <col disabled="true" ref="relign" type="combo" maxlength="2">
- <choices>
- <itemset nodeset="/root/init/cmbinfo/relign//P0157">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="rrgstno1" type="input" maxlength="6"/>
- <col disabled="true" ref="rrgstno2" type="input" maxlength="7"/>
- <col disabled="true" ref="cntctel" type="input" maxlength="50" style="text-align:left; "/>
- <col disabled="true" ref="mpphon" type="input" maxlength="50" style="text-align:left; "/>
- <col disabled="true" ref="zipcd1" type="input" maxlength="3"/>
- <col disabled="true" ref="zipcd2" type="input" maxlength="3"/>
- <col ref="zipcdseq"/>
- <col disabled="true" ref="cntcaddr" type="input" maxlength="200" style="text-align:left; "/>
- <col ref="btype" type="combo" maxlength="10">
- <choices>
- <itemset nodeset="/root/init/cmbinfo/btype/M0074">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="rh" type="input" maxlength="2"/>
- <col ref="bdht"/>
- <col ref="bdwt"/>
- <col ref="email"/>
- <col disabled="true" ref="baptnm" type="input" maxlength="50"/>
- <col disabled="true" ref="pastsickandophist" type="input" style="text-align:left; "/>
- <col disabled="true" ref="smplnmakeaprvyn" type="combo">
- <choices>
- <item>
- <label>일부분</label>
- <value>1</value>
- </item>
- <item>
- <label>전신</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col checkvalue="1,0" disabled="true" ref="hepatitis" type="checkbox"/>
- <col checkvalue="1,0" disabled="true" ref="tuberculosis" type="checkbox"/>
- <col checkvalue="1,0" disabled="true" ref="vd" type="checkbox"/>
- <col disabled="true" ref="gita" type="input" style="text-align:left; "/>
- <col checkvalue="1,0" disabled="true" ref="basicto" type="checkbox"/>
- <col checkvalue="1,0" disabled="true" ref="nationto" type="checkbox"/>
- <col disabled="true" ref="restcertreissdd" type="input"/>
- <col disabled="true" ref="restcertreissresn" type="input" style="text-align:left; "/>
- <col disabled="true" ref="rem" type="input" style="text-align:left; "/>
- <col ref="rgstyy"/>
- <col ref="picture"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- model.toggle("case1");
- btn_menu1.selected = true;
- btn_menu2.selected = false;
-
- fGetDetail(grd_list.row); // 상세정보 & 이미지
-
- ]]>
- </script>
- </datagrid>
- <group id="grp_sea" style="left:1px; top:5px; width:1194px; height:40px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:430px; top:10px; width:65px; height:17px; ">성명 :</caption>
- <caption id="caption1" class="search_name" style="left:10px; top:10px; width:65px; height:17px; ">구분 :</caption>
- <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_default" navindex="3" inputtype="date" style="left:205px; top:10px; width:95px; height:19px; "/>
- <caption id="caption5" style="left:300px; top:10px; width:20px; height:20px; ">~</caption>
- <input id="ipt_todd" ref="/root/send/srchtodd" class="input_default" navindex="4" inputtype="date" style="left:312px; top:10px; width:95px; height:19px; "/>
- <input id="ipt_srchhngnm" ref="/root/send/srchhngnm" class="input_search" navindex="5" maxlength="50" style="left:495px; top:10px; width:105px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fExeRefValKeyPress();
- ]]>
- </script>
- </input>
- <caption id="caption13" class="search_name" style="left:829px; top:10px; width:91px; height:17px; ">주민번호 :</caption>
- <input id="ipt_srchrrgst1" ref="/root/send/srchrrgst1" class="input_search" navindex="7" maxlength="6" format="999999" style="left:919px; top:10px; width:60px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fExeRrgstRefValKeyPress();
- ]]>
- </script>
- </input>
- <input id="ipt_srchrrgst2" ref="/root/send/srchrrgst2" class="input_search" navindex="8" maxlength="7" format="9999999" style="left:989px; top:10px; width:60px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fExeRrgstRefValKeyPress();
- ]]>
- </script>
- </input>
- <caption id="caption14" style="left:979px; top:10px; width:20px; height:20px; ">-</caption>
- <select1 id="combo5" ref="/root/send/srchflag" class="combo_default" navindex="2" appearance="minimal" style="left:75px; top:10px; width:120px; 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>
- </choices>
- <hint>
- <![CDATA[전체구분 조회시 우편물발송내역의 기증자조회]]>
- </hint>
- </select1>
- <button id="btn_seach" class="btn1_letter2" navindex="8" style="left:1095px; top:10px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearchList();
- ]]>
- </script>
- </button>
- <line id="line10" class="line_4" style="x1:1087px; y1:10px; x2:1087px; y2:29px; "/>
- <input id="ipt_humbodydnorid" ref="/root/send/humbodydnorid" class="input_search" navindex="6" maxlength="30" style="left:705px; top:10px; width:105px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fExeRrgstRefValKeyPress();
- ]]>
- </script>
- </input>
- <caption id="caption31" class="search_name" style="left:615px; top:10px; width:91px; height:17px; ">등록번호 :</caption>
- </group>
- <button id="btn_menu1" class="btn_sw" group="tab" selected="true" style="left:0px; top:466px; width:66px; height:22px; ">
- <caption>기증정보</caption>
- <toggle case="case1" ev:event="onclick"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.toggle("case1");
- btn_menu1.selected = true;
- btn_menu2.selected = false;
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_menu2" class="btn_sw" group="tab" selected="false" style="left:67px; top:466px; width:78px; height:22px; ">
- <caption>가족동의</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.toggle("case2");
- btn_menu1.selected = false;
- btn_menu2.selected = true;
- model.refresh();
- ]]>
- </script>
- <toggle case="case2" ev:event="onclick"/>
- </button>
- <line id="line16" class="line_1" style="x1:0px; y1:461px; x2:1195px; y2:460px; "/>
- <caption id="caption24" class="tit_2" style="left:5px; top:445px; width:120px; height:13px; ">상세정보</caption>
- <switch id="switch1" style="left:0px; top:488px; width:1195px; height:247px; ">
- <case id="case1" selected="true" style="left:0px; top:0px; width:1193px; height:245px; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:1015px; top:20px; width:165px; height:220px; "/>
- <input id="input7" ref="/root/main/info/donat/cntctel" class="input_default" navindex="26" maxlength="30" style="left:638px; top:74px; width:120px; height:19px; "/>
- <line id="line9" class="line_1" style="x1:5px; y1:20px; x2:1005px; y2:20px; "/>
- <button id="button1" class="icon_search" navindex="28" style="left:232px; top:102px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/main/info/donat/addr","")
- model.setValue("/root/main/info/donat/cntcaddr","");
- var cntcaddr = model.getValue("/root/main/info/donat/cntcaddr");
- zbcfOpenZipCodeList("combination", "", "/root/main/info/donat/zipcd1" , "/root/main/info/donat/zipcd2",
- "/root/main/info/donat/zipcdseq", "/root/main/info/donat/addr");
- model.setValue("/root/main/info/donat/cntcaddr", model.getValue("/root/main/info/donat/addr")+cntcaddr);
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="input8" ref="/root/main/info/donat/restcertreissresn" class="input_default" navindex="40" maxlength="120" style="left:374px; top:195px; width:631px; height:19px; "/>
- <caption id="caption41" class="tit_2" style="left:10px; top:5px; width:120px; height:13px; ">기증정보</caption>
- <input id="input43" ref="/root/main/info/donat/zipcd1" class="input_default" maxlength="3" style="left:128px; top:98px; width:42px; height:19px; "/>
- <input id="input44" ref="/root/main/info/donat/zipcd2" class="input_default" maxlength="3" style="left:188px; top:98px; width:41px; height:19px; "/>
- <input id="input11" ref="/root/main/info/donat/restcertissdd" class="input_default" disabled="true" navindex="17" inputtype="date" style="left:638px; top:26px; width:120px; height:19px; "/>
- <input id="input45" ref="/root/main/info/donat/cntcaddr" class="input_default" navindex="29" maxlength="150" style="left:251; top:98px; width:755px; height:19px; "/>
- <caption id="caption11" class="search_no_b" style="left:173px; top:53px; width:12px; height:17px; ">-</caption>
- <input id="input12" ref="/root/main/info/donat/rrgstno1" class="input_default" navindex="20" maxlength="6" format="999999" style="left:374px; top:50px; width:60px; height:19px; "/>
- <select1 id="combo1" ref="/root/main/info/donat/relign" class="combo_default" navindex="24" appearance="minimal" style="left:128px; top:74px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmbinfo/relign/P0157">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="input13" ref="/root/main/info/donat/rrgstno2" class="input_default" navindex="21" maxlength="7" format="9999999" style="left:452px; top:50px; width:60px; height:19px; "/>
- <input id="input14" ref="/root/main/info/donat/mpphon" class="input_default" navindex="27" maxlength="30" style="left:884px; top:74px; width:121px; height:19px; "/>
- <caption id="caption35" style="left:175px; top:99px; width:20px; height:20px; ">-</caption>
- <line id="line2" class="line_2" style="x1:5px; y1:95px; x2:1005px; y2:95px; "/>
- <caption id="caption15" style="left:437px; top:52px; width:12px; height:20px; text-align:center; ">-</caption>
- <input id="input16" ref="/root/main/info/donat/restcertreissdd" class="input_default" disabled="true" navindex="39" inputtype="date" style="left:128; top:195px; width:120px; height:19px; "/>
- <line id="line19" class="line_2" style="x1:5px; y1:71px; x2:1005px; y2:71px; "/>
- <input id="input39" ref="/root/main/info/donat/humbodydnorid" class="input_default" navindex="14" editable="false" maxlength="8" style="left:128; top:26px; width:120px; height:19px; "/>
- <line id="line3" class="line_2" style="x1:5px; y1:119px; x2:1005px; y2:119px; "/>
- <input id="input17" ref="/root/main/info/donat/baptnm" class="input_default" navindex="25" maxlength="50" style="left:374px; top:74px; width:138px; height:19px; "/>
- <line id="line4" class="line_2" style="x1:5px; y1:47px; x2:758px; y2:47px; "/>
- <input id="input18" ref="/root/main/info/donat/bdwt" class="input_default" navindex="23" maxlength="5" style="left:716px; top:50px; width:60px; height:19px; "/>
- <input id="input29" ref="/root/main/info/donat/pastsickandophist" class="input_default" navindex="37" maxlength="66" style="left:251; top:147px; width:754px; height:19px; "/>
- <line id="line5" class="line_2" style="x1:5px; y1:47px; x2:1005px; y2:47px; "/>
- <input id="input19" ref="/root/main/info/donat/bdht" class="input_default" navindex="22" maxlength="5" style="left:638px; top:50px; width:60px; height:19px; "/>
- <line id="line6" class="line_2" style="x1:5px; y1:169px; x2:1005px; y2:169px; "/>
- <input id="input5" ref="/root/main/info/donat/acptdd" class="input_default" navindex="15" inputtype="date" style="left:884px; top:1px; width:121px; height:19px; "/>
- <line id="line7" class="line_2" style="x1:5px; y1:143px; x2:1005px; y2:143px; "/>
- <caption id="caption27" style="left:701px; top:50px; width:12px; height:20px; text-align:center; ">/</caption>
- <caption id="caption34" class="cell_1" style="left:5; top:145px; width:243px; height:23px; vertical-align:middle; ">과거 질병 내역 및 수술여부</caption>
- <caption id="caption21" class="cell_1" visibility="hidden" style="left:170px; top:0px; width:120px; height:23px; vertical-align:middle; ">혈액형</caption>
- <caption id="caption3" class="cell_1" style="left:5; top:194px; width:120px; height:23px; vertical-align:middle; ">등록증 재발급일자</caption>
- <caption id="caption48" class="cell_1" style="left:5; top:25px; width:120px; height:23px; vertical-align:middle; ">등록번호</caption>
- <caption id="caption59" class="cell_1" style="left:5px; top:97px; width:120px; height:23px; vertical-align:middle; ">주소</caption>
- <caption id="caption9" class="cell_1" style="left:5; top:49px; width:120px; height:23px; vertical-align:middle; ">성명</caption>
- <caption id="caption19" class="cell_1" style="left:5px; top:73px; width:120px; height:23px; vertical-align:middle; ">종교</caption>
- <caption id="caption20" class="cell_1" style="left:251; top:73px; width:120px; height:23px; vertical-align:middle; ">세례명</caption>
- <caption id="caption54" class="cell_1" style="left:251; top:25px; width:120px; height:23px; vertical-align:middle; ">등록일자</caption>
- <caption id="caption23" class="cell_1" style="left:515px; top:49px; width:120px; height:23px; vertical-align:middle; ">신장/체중</caption>
- <caption id="caption17" class="cell_1" style="left:251; top:194px; width:120px; height:23px; vertical-align:middle; ">재발급사유</caption>
- <caption id="caption8" class="cell_1" style="left:251; top:49px; width:120px; height:23px; vertical-align:middle; ">주민번호</caption>
- <caption id="caption50" class="cell_1" style="left:515px; top:25px; width:120px; height:23px; vertical-align:middle; ">등록증 발급일자</caption>
- <caption id="caption10" class="cell_1" style="left:515px; top:73px; width:120px; height:23px; vertical-align:middle; ">전화번호</caption>
- <caption id="caption12" class="cell_1" style="left:761px; top:73px; width:120px; height:23px; vertical-align:middle; ">휴대폰번호</caption>
- <caption id="caption7" class="cell_1" style="left:761px; top:25px; width:120px; height:23px; vertical-align:middle; ">사후기증</caption>
- <caption id="caption16" class="cell_1" visibility="hidden" style="left:435px; top:5px; width:120px; height:23px; vertical-align:middle; ">이메일주소</caption>
- <line id="line13" class="line_3" style="x1:5px; y1:241px; x2:1005px; y2:241px; "/>
- <caption id="caption22" class="cell_1" style="left:545px; top:121px; width:120px; height:23px; vertical-align:middle; ">전염성질환여부</caption>
- <caption id="caption36" class="cell_1" style="left:388px; top:121px; width:130px; height:23px; vertical-align:middle; ">기초생활수급대상여부</caption>
- <select id="checkbox19" ref="/root/main/info/donat/hepatitis" navindex="33" overflow="visible" appearance="full" style="left:668px; top:122px; width:42px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>간염</label>
- <value>1</value>
- </item>
- </choices>
- </select>
- <select id="checkbox20" ref="/root/main/info/donat/tuberculosis" navindex="34" overflow="visible" appearance="full" style="left:713px; top:122px; width:42px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>결핵</label>
- <value>1</value>
- </item>
- </choices>
- </select>
- <select id="checkbox21" ref="/root/main/info/donat/vd" navindex="35" overflow="visible" appearance="full" style="left:758px; top:122px; width:42px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>성병</label>
- <value>1</value>
- </item>
- </choices>
- </select>
- <select id="checkbox23" ref="/root/main/info/donat/basicto" navindex="32" overflow="visible" appearance="full" style="left:521px; top:122px; width:20px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value>1</value>
- </item>
- </choices>
- </select>
- <select id="checkbox24" ref="/root/main/info/donat/nationto" navindex="31" overflow="visible" appearance="full" style="left:364px; top:122px; width:20px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value>1</value>
- </item>
- </choices>
- </select>
- <caption id="caption39" class="cell_1" style="left:251; top:121; width:110px; height:23px; vertical-align:middle; ">국가보훈대상여부</caption>
- <line id="line1" class="line_2" style="x1:5px; y1:192px; x2:1005px; y2:192px; "/>
- <select1 id="combo6" ref="/root/main/info/donat/rh" visibility="hidden" appearance="minimal" style="left:365px; top:5px; width:52px; height:19px; ">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>+</label>
- <value>+</value>
- </item>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- </choices>
- <hint>
- <![CDATA[RH]]>
- </hint>
- </select1>
- <caption id="caption26" class="cell_1" style="left:5; top:218px; width:120px; height:23px; vertical-align:middle; ">비고</caption>
- <line id="line8" class="line_2" style="x1:5px; y1:216px; x2:1005px; y2:216px; "/>
- <input id="input1" ref="/root/main/info/donat/rem" navindex="41" maxlength="100" style="left:128; top:220px; width:877px; height:19px; "/>
- <input id="input3" ref="/root/main/info/donat/gita" class="input_default" navindex="36" maxlength="20" style="left:839px; top:122px; width:166px; height:19px; "/>
- <input id="ipt_email" ref="/root/main/info/donat/email" class="input_default" visibility="hidden" maxlength="50" style="left:485px; top:5px; width:234px; height:19px; "/>
- <select1 id="cmb_emailsample" ref="/root/hidden/emailsample1" class="combo_default" visibility="hidden" appearance="minimal" style="left:645px; top:5px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmbinfo/emailaddr1/R0131">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // 콤보에 선택된 값을 가져온다
- var index = cmb_emailsample.focusIndex + 1;
- var mypos = ipt_email.currentText.search("@");
- if ( model.getValue("/root/init/cmbinfo/emailaddr1/R0131[" + index + "]/cdnm") == "직접입력" ) { //직접입력일경우
- if ( mypos > 0 ) {
- model.setValue("/root/main/info/donat/email", ipt_email.currentText.substring(0,mypos));
- }
- } else {
- if ( mypos > 0 ) {
- model.setValue("/root/main/info/donat/email", ipt_email.currentText.substring(0,mypos)+model.getValue("/root/init/cmbinfo/emailaddr1/R0131[" + index + "]/cdnm"));
- } else {
- model.setValue("/root/main/info/donat/email", ipt_email.currentText + model.getValue("/root/init/cmbinfo/emailaddr1/R0131[" + index + "]/cdnm"));
- }
- }
- ipt_email.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption29" class="cell_1" style="left:5px; top:121; width:120px; height:23px; vertical-align:middle; ">표본제작동의</caption>
- <select1 id="cmb_smplnmakeaprv" ref="/root/main/info/donat/smplnmakeaprvyn" navindex="30" appearance="minimal" style="left:128px; top:122px; width:120px; height:19px; ">
- <choices>
- <item>
- <label>미기재</label>
- <value/>
- </item>
- <item>
- <label>일부분</label>
- <value>1</value>
- </item>
- <item>
- <label>전신</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_btype" ref="/root/main/info/donat/btype" class="combo_default" visibility="hidden" appearance="minimal" style="left:300px; top:5px; width:62px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmbinfo/btype/M0074">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <hint>
- <![CDATA[혈액형]]>
- </hint>
- </select1>
- <input id="ipt_hngnm" ref="/root/main/info/donat/hngnm" class="input_default" navindex="19" maxbyte="50" style="left:128; top:50px; width:120px; height:19px; "/>
- <input id="ipt_rgstdd" ref="/root/main/info/donat/rgstdd" class="input_default" navindex="16" inputtype="date" style="left:374px; top:26px; width:138px; height:19px; "/>
- <caption id="caption30" style="left:808px; top:122px; width:30px; height:20px; ">기타</caption>
- <button id="btn_picinsert" class="btn2_letter2" style="left:1045px; top:190px; width:42px; height:19px; ">
- <caption>첨부</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fExeAddPicture();
- ]]>
- </script>
- </button>
- <button id="btn_picdelete" class="btn2_letter2" style="left:1110px; top:190px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fExeDeleteImage();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn3_letter8" style="left:1040px; top:215px; width:128px; height:22px; ">
- <caption>등록증 카드발급</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExePrintCard();
- ]]>
- </script>
- </button>
- <img id="img_hidden" visibility="hidden" style="left:1025px; top:29px; width:145px; height:155px; background-stretch:stretch; "/>
- <img id="img_src" ref="/root/main/info/donat/picture" style="left:1025px; top:29px; width:145px; height:155px; background-repeat:repeat; background-stretch:stretch; border-style:solid; "/>
- <select id="checkbox1" ref="/root/main/info/donat/aftaprv" navindex="18" overflow="visible" appearance="full" style="left:884px; top:27px; width:20px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value>1</value>
- </item>
- </choices>
- </select>
- <caption id="caption40" class="cell_1" style="left:5px; top:169px; width:243px; height:23px; vertical-align:middle; ">현재 질병 내역</caption>
- <input id="input4" ref="/root/main/info/donat/sickandophist" class="input_default" navindex="38" maxlength="66" style="left:251px; top:171px; width:754px; height:19px; "/>
- <input id="input48" ref="/root/main/info/donat/addr" class="input_default" visibility="hidden" editable="false" style="left:950px; top:109px; width:54px; height:19px; "/>
- </case>
- <case id="case2" style="left:0px; top:0px; width:1193px; height:245px; ">
- <input id="input20" ref="/root/main/info/famyaprv/aprvpsncntctel" class="input_default" navindex="52" maxlength="30" style="left:128px; top:98px; width:120px; height:19px; "/>
- <button id="button3" class="icon_search" navindex="50" style="left:232px; top:79px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- zbcfOpenZipCodeList("combination", "", "/root/main/info/famyaprv/aprvpsnzipcd1" , "/root/main/info/famyaprv/aprvpsnzipcd2",
- "/root/main/info/famyaprv/aprvpsnzipcdseq", "/root/main/info/famyaprv/aprvpsnaddr");
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line20" class="line_1" style="x1:5px; y1:20px; x2:970px; y2:20px; "/>
- <caption id="caption28" class="tit_2" style="left:10px; top:5px; width:120px; height:14px; ">가족동의</caption>
- <input id="input22" ref="/root/main/info/famyaprv/aprvpsnzipcd1" class="input_default" maxlength="3" style="left:128px; top:74px; width:42px; height:19px; "/>
- <input id="input24" ref="/root/main/info/famyaprv/aprvpsnzipcd2" class="input_default" maxlength="3" style="left:188px; top:74px; width:41px; height:19px; "/>
- <select1 id="combo4" ref="/root/main/info/famyaprv/aprvpsnrelign" class="combo_default" navindex="48" appearance="minimal" style="left:128px; top:50px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmbinfo/relign/P0157">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="input25" ref="/root/main/info/famyaprv/aprvpsnrrgstno1" class="input_default" navindex="46" maxlength="6" format="999999" style="left:819px; top:26px; width:65px; height:19px; "/>
- <input id="input26" ref="/root/main/info/famyaprv/aprvpsncntcaddr" class="input_default" navindex="51" maxlength="150" style="left:525px; top:74px; width:445px; height:19px; "/>
- <input id="input27" ref="/root/main/info/famyaprv/aprvpsnrrgstno2" class="input_default" navindex="47" maxlength="7" format="9999999" style="left:904px; top:26px; width:65px; height:19px; "/>
- <caption id="caption46" style="left:173px; top:75px; width:12px; height:20px; text-align:center; ">-</caption>
- <input id="input28" ref="/root/main/info/famyaprv/aprvpsnmpphon" class="input_default" navindex="53" maxlength="30" style="left:374px; top:98px; width:120px; height:19px; "/>
- <input id="input31" ref="/root/main/info/famyaprv/aprvpsnaddr" class="input_default" editable="false" style="left:251px; top:74px; width:273px; height:19px; "/>
- <caption id="caption49" style="left:890px; top:27px; width:10px; height:20px; ">-</caption>
- <line id="line28" class="line_2" style="x1:5px; y1:95px; x2:970px; y2:95px; "/>
- <input id="input33" ref="/root/main/info/famyaprv/aprvpsnbaptnm" class="input_default" navindex="49" maxlength="50" style="left:374px; top:50px; width:596px; height:19px; "/>
- <line id="line30" class="line_2" style="x1:5px; y1:71px; x2:970px; y2:71px; "/>
- <line id="line31" class="line_2" style="x1:5px; y1:47px; x2:758px; y2:47px; "/>
- <input id="input38" ref="/root/main/info/famyaprv/aprvdd" class="input_default" navindex="45" inputtype="date" style="left:605px; top:26px; width:100px; height:19px; "/>
- <line id="line32" class="line_2" style="x1:5px; y1:47px; x2:970px; y2:47px; "/>
- <line id="line33" class="line_3" style="x1:5px; y1:121px; x2:970px; y2:121px; "/>
- <caption id="caption25" visibility="hidden" style="left:128px; top:146px; width:621px; height:19px; vertical-align:middle; ">만 29세 미만은 법정 대리인의 동의와 주민등록등본이 필요합니다.</caption>
- <caption id="caption32" visibility="hidden" style="left:128px; top:170px; width:272px; height:19px; vertical-align:middle; ">운전면허증에 장기기증의사를 표시하겠습니까?</caption>
- <select1 id="radio2" ref="/root/main/info/famyaprv/orgndonatdispyn" navindex="57" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:405px; top:170px; width:211px; height:19px; border-style:none; ">
- <choices>
- <item>
- <label>예</label>
- <value>1</value>
- </item>
- <item>
- <label>아니요</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption61" class="cell_1" style="left:5px; top:49px; width:120px; height:23px; vertical-align:middle; ">종교</caption>
- <caption id="caption51" class="cell_1" style="left:5px; top:73px; width:120px; height:23px; vertical-align:middle; ">주소</caption>
- <caption id="caption52" class="cell_1" style="left:5px; top:25px; width:120px; height:23px; vertical-align:middle; ">동의자 성명</caption>
- <caption id="caption45" class="cell_1" style="left:251px; top:25px; width:120px; height:23px; vertical-align:middle; ">기증자와 관계</caption>
- <caption id="caption37" class="cell_1" style="left:5px; top:97ㅔㅌ; width:120px; height:23px; vertical-align:middle; ">전화번호</caption>
- <caption id="caption53" class="cell_1" style="left:497px; top:97px; width:105px; height:23px; vertical-align:middle; ">이메일주소</caption>
- <caption id="caption44" class="cell_1" style="left:251px; top:97px; width:120px; height:23px; vertical-align:middle; ">핸드폰번호</caption>
- <caption id="caption33" class="cell_1" style="left:251px; top:49px; width:120px; height:23px; vertical-align:middle; ">세례명</caption>
- <caption id="caption57" class="cell_1" style="left:710px; top:25px; width:105px; height:23px; vertical-align:middle; ">주민번호</caption>
- <caption id="caption38" class="cell_1" style="left:497px; top:25px; width:105px; height:23px; vertical-align:middle; ">동의 연월일</caption>
- <input id="ipt_aprvpsnemail" ref="/root/main/info/famyaprv/aprvpsnemail" class="input_default" navindex="54" maxlength="50" style="left:605px; top:98px; width:232px; height:19px; "/>
- <select1 id="cmb_aprvpsnemailsample" ref="/root/hidden/emailsample2" class="combo_default" navindex="55" appearance="minimal" style="left:838px; top:98px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmbinfo/emailaddr2/R0131">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // 콤보에 선택된 값을 가져온다
- var index = cmb_aprvpsnemailsample.focusIndex + 1;
- var mypos = ipt_aprvpsnemail.currentText.search("@");
- if ( model.getValue("/root/init/cmbinfo/emailaddr2/R0131[" + index + "]/cdnm") == "직접입력" ) { //직접입력일경우
- if ( mypos > 0 ) {
- model.setValue("/root/main/info/famyaprv/aprvpsnemail", ipt_aprvpsnemail.currentText.substring(0,mypos));
- }
- } else {
- if ( mypos > 0 ) {
- model.setValue("/root/main/info/famyaprv/aprvpsnemail", ipt_aprvpsnemail.currentText.substring(0,mypos)+model.getValue("/root/init/cmbinfo/emailaddr2/R0131[" + index + "]/cdnm"));
- } else {
- model.setValue("/root/main/info/famyaprv/aprvpsnemail", ipt_aprvpsnemail.currentText + model.getValue("/root/init/cmbinfo/emailaddr2/R0131[" + index + "]/cdnm"));
- }
- }
- ipt_aprvpsnemail.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_aprvpsnhngnm" ref="/root/main/info/famyaprv/aprvpsnhngnm" class="input_default" navindex="44" maxbyte="50" style="left:128px; top:26px; width:120px; height:19px; "/>
- <input id="input2" ref="/root/main/info/famyaprv/aprvpsnrela" class="input_default" navindex="54" maxlength="50" style="left:374px; top:26px; width:120px; height:19px; "/>
- </case>
- </switch>
- <button id="btn_excel" class="btn2_letter4" navindex="13" style="left:1126px; top:49px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeSaveToExcel();
- ]]>
- </script>
- </button>
- <button id="btn_newhumbodydnorid" class="btn2_letter2" navindex="13" style="left:1145px; top:466px; width:42px; height:19px; ">
- <caption>신규</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_list.row = 0; //그리드에서 선택된 row 값을 없앤다
- model.resetInstanceNode("/root/main/info/donat");//기증정보 값을 없앤다
- model.setValue("/root/main/info/donat/rgstdd", getCurrentDate() ); //등록일자에 오늘일자 sttting
- model.setValue("/root/main/info/donat/restcertissdd", getCurrentDate());// 등록증발급일자에 오늘일자 setting
- model.setValue("/root/main/info/donat/acptdd", getCurrentDate() ); //접수일자에 오늘일자 sttting
- model.resetInstanceNode("/root/main/info/famyaprv");//기족동의 값을 없앤다
-
-
- model.toggle("case1");
- btn_menu1.selected = true;
- btn_menu2.selected = false;
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter4" navindex="12" style="left:1059; top:49; width:64px; height:19px; ">
- <caption>라벨출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExePrintLabel();
- ]]>
- </script>
- </button>
- <button id="button5" class="btn4_letter2" style="left:310px; top:47; width:56px; height:22px; ">
- <caption>다음</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetTestInfoList(Number(model.getValue("/root/hidden/paval")) + 1);
- ]]>
- </script>
- </button>
- <button id="button6" class="btn3_letter2" style="left:62px; top:47; width:56px; height:22px; ">
- <caption>처음</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetTestInfoList(1);
- ]]>
- </script>
- </button>
- <button id="button7" class="btn4_letter2" style="left:369px; top:47; width:56px; height:22px; ">
- <caption>최종</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetTestInfoList(model.getValue("/root/main/donat/lastpage/lastpage"));
- ]]>
- </script>
- </button>
- <input id="ipt_paval" ref="/root/hidden/paval" class="input_search" style="left:180px; top:47; width:65px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetTestInfoList(model.getValue("/root/hidden/paval"));
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13 && ipt_paval.currentText != ipt_paval.value) {
- model.setValue("/root/hidden/paval", ipt_paval.currentText);
- ipt_paval.dispatch("xforms-value-changed");
- }
- else if(event.keyCode != 8 && (event.keyCode < 48 || event.keyCode > 57)) {
- event.defaultAction = "cancel";
- }
- ]]>
- </script>
- </input>
- <button id="btn_prntexcel" class="btn3_letter2" style="left:121px; top:47; width:56px; height:22px; ">
- <caption>이전</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetTestInfoList(Number(model.getValue("/root/hidden/paval")) - 1);
- ]]>
- </script>
- </button>
- <caption id="cap_lastPage" ref="/root/main/donat/lastpage/lastpage" style="left:255px; top:47; width:60px; height:20px; font-size:9pt; font-weight:bold; ">1</caption>
- <caption id="caption4" style="left:247px; top:47px; width:11px; height:20px; font-size:9pt; font-weight:bold; ">/</caption>
- </group>
- <button id="button9" class="btn4_letter2" navindex="9" style="left:1007px; top:10px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( fSetdata() ) {
- model.setValue("/root/send/srchflag", "2");
- model.setValue("/root/send/srchfromdd", model.getValue("/root/main/info/donat/rgstdd"));
- model.setValue("/root/send/srchtodd", model.getValue("/root/main/info/donat/rgstdd"));
-
- model.refresh();
- fSearchList();
- }
- ]]>
- </script>
- </button>
- <button id="button10" class="btn4_letter2" navindex="10" style="left:1064px; top:10px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( fDelete ()) {
- fSearchList();
- }
- ]]>
- </script>
- </button>
- <button id="button11" class="btn4_letter3" navindex="11" style="left:1123px; top:10px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetClear();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|