123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>재증명신청</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <crtfctkind>
- <crtfctkindlist/>
- <crtfctkindlist_1/>
- </crtfctkind>
- <crtfctkindtmp>
- <crtfctkindlist>
- <crtfctkind/>
- <issinstcd/>
- <frmrmert/>
- <trngflag/>
- <issresn/>
- <isscnt/>
- <amt/>
- <acptmthd>1</acptmthd>
- <zipcd1/>
- <zipcd2/>
- <addr/>
- <emailid/>
- <emailaddr/>
- <etcemailaddr/>
- <telno/>
- <emplno/>
- </crtfctkindlist>
- </crtfctkindtmp>
- <tmplist/>
- <statuslist>
- <cheflag/>
- </statuslist>
- </main>
- <send>
- <search>
- <emplno/>
- <num/>
- <flag/>
- </search>
- <save>
- <crtfctkind_mst/>
- </save>
- <crtfctkindlist/>
- <req>
- <emplno/>
- </req>
- </send>
- <init>
- <appflag>
- <label>신청</label>
- <value>1</value>
- <label>확인</label>
- <value>2</value>
- <label>출력</label>
- <value>3</value>
- </appflag>
- <deptcond/>
- </init>
- <hidden>
- <crtfctkind_search>
- <cdnm/>
- <cdid/>
- </crtfctkind_search>
- </hidden>
- <temp>
- </temp>
- </root>
- </instance>
- <submission id="TRRTH00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/crtfctkind/crtfctkindlist"/>
- <submission id="TRRTH00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/hidden"/>
- <submission id="TRRTH00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/tmplist"/>
- <submission id="TXRTH00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/crtfctkindlist" resultref="/root/temp"/>
- <submission id="TRRTC00302" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/deptcond"/>
- <submission id="TRRTH00606" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/statuslist"/>
- <submission id="TRRTH00611" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/crtfctkind/crtfctkindlist_1"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- // fCheckAuth();
-
- misfGridInit(grd_crtfctkindlist);
-
- misfMsterDetailSet(grd_crtfctkindlist, null, "TRRTH00601", "Y");
-
- // submit("TRRTC00302");
-
- model.setValue("/root/send/search/flag", "S");
- submit("TRRTH00604");
-
- model.setValue("/root/send/search/flag", "");
- var node = instance1.selectSingleNode("/root/hidden/crtfctkind_search").length;
-
- for(var i=1 ; i<=node ; i++)
- {
- model.makeValue("/root/main/crtfctkindlist[" + i + "]/cdnm", model.getValue("/root/hidden/crtfctkind_search[" + i + "]/cdnm"));
- model.makeValue("/root/main/crtfctkindlist[" + i + "]/cdid", model.getValue("/root/hidden/crtfctkind_search[" + i + "]/cdid"));
- }
- // misfComboComCdListMulti 보다 먼저 사용해야함 아니면 노드가 사라짐
- misfGridComboComCdList("Z0007",grd_crtfctkindlist,"dutplceinst");
- misfGridComboComCdList("Z0007",grd_crtfctkindlist,"orginstcd");
- misfGridComboComCdList("R0305",grd_crtfctkindlist,"issinstcd");
- misfGridComboComCdList("R0234",grd_crtfctkindlist,"frmrmert");
- misfGridComboComCdList("R0062",grd_crtfctkindlist,"trngflag");
- misfGridComboComCdList("R0062",grd_crtfctkindlist,"jobposnm");
-
- rszfComboComCdListMultiS("grd_crtfctkindlist.issinstcd","전체","", "above" );
- rszfComboComCdListMultiS("grd_crtfctkindlist.issinstcd","가톨릭중앙의료원","001", "above" );
-
- misfComboComCdListMulti("R0131,R0305,R0062,R0234", "cmb_emailaddr,cmb_issinstcd,cmb_trngflag,cmb_frmrmert");
- addComboItem( "cmb_issinstcd", "가톨릭중앙의료원", "001", "above");
-
- // 로그인 한 사람의 근무기관을 발급기관으로 기초 세팅하기로 함..
- //var dutplceinstcd = getUserInfo("dutplceinstcd");
- //model.setValue("/root/send/search/issinstcd", dutplceinstcd);
-
- var userid = getUserInfo("userid");
- model.setValue("/root/send/search/emplno", userid);
-
- model.setValue("/root/send/req/emplno", model.getValue("/root/send/search/emplno"));
- submit("TRRTH00611");
- rdo_acptmthd.select(0);
-
- btn_search.dispatch("DOMActivate");
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- //========================================================================================
- //버튼에 대한 화면 권한 체크(R : 읽기, X : 입력/수정/삭제, P : 출력)
- //========================================================================================
- function fCheckAuth() {
-
- btn_search.disabled =!checkAuth("R");
- btn_save.disabled = !checkAuth("X");
- }
-
- // 수령 방법의 값이 바뀔때 주소컨트롤의 disabled을 세팅
- function fAddrDisabled(check){
- ipt_zipcd1.disabled = check;
- ipt_zipcd2.disabled = check;
- ipt_addr.disabled = check;
- btn_domizipcd.disabled = check;
- }
-
-
- // 사용자에 맞게 증명서를 선택한지 체크
- function fCheckCrtfctKind(){
-
- var sCrtfKind = cmb_crtfctkind.value;
- model.setValue("/root/send/req/emplno", model.getValue("/root/main/crtfctkindtmp/crtfctkindlist/emplno"));
-
- // 수료(예정)증명서
- if(sCrtfKind == '01'){
- model.setValue("/root/send/search/num", "1");
- submit("TRRTH00606");
-
- if(ipt_cheflag.value == 'Y')
- return false;
- else
- {
- model.setValue("/root/send/search/num", "7");
- submit("TRRTH00606");
-
- if(ipt_cheflag.value == 'Y')
- return false;
- else
- return true;
- }
- }
- // 인턴 수료 증명서, 레지던트 수료 증명서,
- // 인턴 수료 예정 증명서, 레지던트 수료 예정 증명서
- else if((sCrtfKind == '17') ||
- (sCrtfKind == '18') ||
- (sCrtfKind == '19') ||
- (sCrtfKind == '20')){
- model.setValue("/root/send/search/num", "1_2");
- submit("TRRTH00606");
-
- if(ipt_cheflag.value == 'Y')
- return false;
- else
- return true;
- }
- // 수련중단 증면서, 수련중단 증명서(영문)
- else if(sCrtfKind == '02' || sCrtfKind == '12'){
- model.setValue("/root/send/search/num", "2_1");
- submit("TRRTH00606");
-
- if(ipt_cheflag.value == 'Y')
- return false;
- else
- {
- model.setValue("/root/send/search/num", "2_2");
- submit("TRRTH00606");
-
- if(ipt_cheflag.value == 'Y')
- return false;
- else
- return true;
- }
- }
- // 수련과정이수(예정)증명서
- else if(sCrtfKind == '03'){
- model.setValue("/root/send/search/num", "3");
- submit("TRRTH00606");
-
- if(ipt_cheflag.value == 'Y')
- return false;
- else
- {
- model.setValue("/root/send/search/num", "5_1");
- submit("TRRTH00606");
-
- if(ipt_cheflag.value == 'Y')
- return false;
- else
- return true;
- }
- }
-
- // 인턴 근무 평가표
- else if(sCrtfKind == '04' || sCrtfKind == '13'){
- model.setValue("/root/send/search/num", "4_1");
- submit("TRRTH00606");
-
- if(ipt_cheflag.value == 'Y')
- return false;
- else
- {
- model.setValue("/root/send/search/num", "4_2");
- submit("TRRTH00606");
-
- if(ipt_cheflag.value == 'Y')
- return false;
- else
- return true;
- }
- }
- // 레지던트 근무평가표
- else if(sCrtfKind == '05' || sCrtfKind == '14'){
- model.setValue("/root/send/search/num", "5_1");
- submit("TRRTH00606");
-
- if(ipt_cheflag.value == 'Y')
- return false;
- else
- {
- model.setValue("/root/send/search/num", "5_2");
- submit("TRRTH00606");
-
- if(ipt_cheflag.value == 'Y')
- return false;
- else
- return true;
- }
-
- }
- // 재직증명서
- else if(sCrtfKind == '06' || sCrtfKind == '15'){
- model.setValue("/root/send/search/num", "6");
- submit("TRRTH00606");
-
- if(ipt_cheflag.value == 'Y')
- return false;
- else
- return true;
- }
- // 수료증명서(영문)-인턴
- else if(sCrtfKind == '07'){
- model.setValue("/root/send/search/num", "8");
- submit("TRRTH00606");
-
- if(ipt_cheflag.value == 'Y')
- return false;
- else
- return true;
- }
- // 수료증명서(영문)-레지던트
- else if(sCrtfKind == '08'){
- model.setValue("/root/send/search/num", "9");
- submit("TRRTH00606");
-
- if(ipt_cheflag.value == 'Y')
- return false;
- else
- return true;
- }
- // 수료증명서(영문)-인턴&레지던트
- else if(sCrtfKind == '09'){
- model.setValue("/root/send/search/num", "9");
- submit("TRRTH00606");
-
- if(ipt_cheflag.value == 'Y')
- return false;
- else
- return true;
- }
- // 수료(예정)증명서(영문)-인턴
- else if(sCrtfKind == '10'){
- model.setValue("/root/send/search/num", "10");
- submit("TRRTH00606");
-
- if(ipt_cheflag.value == 'Y')
- return false;
- else
- return true;
- }
- // 수료(예정)증명서(영문)-레지던트
- else if(sCrtfKind == '11'){
- model.setValue("/root/send/search/num", "11");
- submit("TRRTH00606");
-
- if(ipt_cheflag.value == 'Y')
- return false;
- else
- return true;
- }
- // 근무(레지던트,인턴) 예정 증명서
- else if(sCrtfKind == '16'){
- return !checkAuth("P");
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">재증명신청</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="button16" class="btn3_letter4" visibility="hidden" style="left:0px; top:3; width:80px; height:22px; ">
- <caption>화면이동</caption>
- </button>
- <line id="line1" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- </group>
- <group id="group3" scroll="auto" style="left:0; top:38; width:1195px; height:744px; ">
- <line id="line12" class="line_1" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
- <datagrid id="grd_crtfctkindlist" nodeset="/root/main/crtfctkind/crtfctkindlist" caption="사번^신청년월^신청번호^신청일자^발급기관^전공과목^I/R^현직위^소속병원^근무병원^증명서종류^신청상태^통수^금액^확인내용^발급사유^수령방법^전화번호^E-mail^우편번호1^우편번호2^주소^caption1^caption2^caption3" colsep="^" colwidth="100, 100, 100, 100, 130, 100, 90, 100, 120, 130, 130, 75, 50, 79, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:30; width:1195px; height:710; ">
- <col ref="emplno" visibility="hidden"/>
- <col ref="appym" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <col ref="appdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="issinstcd" type="combo" visibility="visible" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="frmrmert" type="combo" visibility="visible" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="trngflag" type="combo" visibility="visible" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="jobposnm" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="orginstcd" type="combo" visibility="hidden">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="dutplceinst" type="combo" visibility="hidden">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="crtfctkind" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/hidden/crtfctkind_search">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="appflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/appflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="isscnt" visibility="visible" style="text-align:right; padding-right:10; "/>
- <col ref="amt" visibility="hidden" format="#,###" style="text-align:right; padding-right:10; "/>
- <col ref="cnfmcnts"/>
- <col ref="issresn" visibility="hidden"/>
- <col ref="acptmthd" type="combo" visibility="visible" style="text-align:center; ">
- <choices>
- <item>
- <label>직접수령</label>
- <value>1</value>
- </item>
- <item>
- <label>우편수령</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="telno" visibility="hidden"/>
- <col ref="email" visibility="hidden"/>
- <col ref="zipcd1" visibility="hidden"/>
- <col ref="zipcd2" visibility="hidden"/>
- <col ref="addr" visibility="hidden"/>
- <col ref="emailid" visibility="hidden"/>
- <col ref="emailaddr" visibility="hidden"/>
- <col ref="etcemailaddr" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_crtfctkindlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- grd_crtfctkindlist.rebuildStyle();
-
- grd_crtfctkindlist.rowstyle(grd_crtfctkindlist.row, "data", "background-color") = "#ffeebb";
-
- btn_save2.visible = false;
- btn_save.visible = true;
- model.resetInstanceNode("/root/main/crtfctkindtmp/crtfctkindlist");
- rdo_acptmthd.select(0);
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <button id="button2" class="btn2_letter4" style="left:1128px; top:3; width:64px; height:19px; ">
- <caption>신청취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group4.visible = false;
-
- if(messageBox("신청하신 데이터가 삭제 됩니다. ","Q003") != 6)
- return;
- if(grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("issyn")) == 'Y'){
- messageBox("이미 발급된 신청서는 취소 ", "E001");
-
- }
- else if(grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("appflag")) > 1){
- messageBox("신청상태가 신청인 데이터만 취소 ", "I006");
- }
- else
- {
- misfGridIUD(grd_crtfctkindlist, "D");
- misfSave("TXRTH00601");
- // model.resetInstanceNode("/root/main/crtfctkindtmp/crtfctkindlist");
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter4" style="left:1060px; top:3; width:64px; height:19px; ">
- <caption>신청수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group4.visible = false;
- if(grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("issyn")) == 'Y'){
- messageBox("이미 발급된 신청서는 수정 ", "E001");
-
- }
- else if(grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("appflag")) > 1){
- messageBox("신청상태가 신청인 데이터만 수정 ", "I006");
- }
- else
- {
- group3.disabled = true;
- group4.visible = true;
- model.resetInstanceNode("/root/main/crtfctkindtmp/crtfctkindlist");
- model.copyNode("/root/main/crtfctkindtmp/crtfctkindlist","/root/main/crtfctkind/crtfctkindlist[" + grd_crtfctkindlist.row + "]");
-
- if(rdo_acptmthd.value == "1")
- {
- fAddrDisabled(true);
- ipt_zipcd1.value = '';
- ipt_zipcd2.value = '';
- ipt_addr.value = '';
- }
- else if(rdo_acptmthd.value == "2")
- {
- fAddrDisabled(false);
- }
-
- btn_save2.visible = true;
- btn_save.visible = false;
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="cap_search" class="tit_2" style="left:5px; top:5; width:200px; height:13px; ">총 0건이 등록되어있습니다.</caption>
- <caption id="cap_emplno_search" class="search_name" visibility="hidden" style="left:464px; top:5; width:87px; height:17px; ">사 번 :</caption>
- <input id="ipt_emplno_search" ref="/root/send/search/emplno" class="input_search" disabled="false" visibility="hidden" style="left:550px; top:5; width:65px; height:19px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="8" visibility="hidden" style="left:920px; top:3; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfMsterDetailRetrieve();
-
- misfSetReadOnlyCol(grd_crtfctkindlist,"issinstcd,frmrmert,trngflag,orginstcd,dutplceinst,crtfctkind,preststatcd,appcnfm,issyn,emailaddr,appflag,jobposnm",true);
-
- grd_crtfctkindlist.rebuildStyle();
-
- //var sNodeLength = instance1.selectSingleNode("/root/main/crtfctkind/crtfctkindlist").length;
- var sNodeLength = grd_crtfctkindlist.rows - grd_crtfctkindlist.fixedRows;
-
- for(var i=1 ; i <= sNodeLength ; i++)
- {
-
- var sAppflag = grd_crtfctkindlist.valueMatrix(i, grd_crtfctkindlist.colRef("appflag"));
-
- if(sAppflag == "3")
- {
- grd_crtfctkindlist.rowstyle(i, "data", "background-color") = "#ffff00";
- }
- }
-
- var sSearchData = grd_crtfctkindlist.rows - grd_crtfctkindlist.fixedRows;
-
- cap_search.value = "총 " + sSearchData + "건이 등록되어있습니다.";
-
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_cheflag" ref="/root/main/statuslist/cheflag" visibility="hidden" style="left:265px; top:5; width:55px; height:19px; "/>
- <input id="ipt_num" ref="/root/send/search/num" visibility="hidden" style="left:210px; top:5; width:45px; height:19px; "/>
- <button id="button1" class="btn2_letter2" style="left:1015; top:3; width:64px; height:19px; ">
- <caption>신청</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group3.disabled = true;
- group4.visible = false;
-
- model.resetInstanceNode("/root/main/crtfctkindtmp/crtfctkindlist");
- model.setValue("/root/main/crtfctkindtmp/crtfctkindlist/issinstcd",getUserInfo("dutplceinstcd"));
- rdo_acptmthd.select(0);
- // fAddrDisabled(true);
- group4.visible = true;
-
- ipt_telno.value = grd_crtfctkindlist_1.valueMatrix(1, grd_crtfctkindlist_1.colRef("mpphonno"));
- ipt_emailid.value = grd_crtfctkindlist_1.valueMatrix(1, grd_crtfctkindlist_1.colRef("emailid"));
- cmb_emailaddr.value = grd_crtfctkindlist_1.valueMatrix(1, grd_crtfctkindlist_1.colRef("emailaddr"));
- ipt_etcemailaddr.value = grd_crtfctkindlist_1.valueMatrix(1, grd_crtfctkindlist_1.colRef("etcemailaddr"));
-
- model.refresh();
- ]]>
- </script>
- </button>
- <datagrid id="grd_crtfctkindlist_1" nodeset="/root/main/crtfctkind/crtfctkindlist_1" visibility="hidden" caption="caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:15px; top:285px; width:720px; height:150px; ">
- <col ref="residnczipcd1"/>
- <col ref="residnczipcd2"/>
- <col ref="residncaddr"/>
- <col ref="mpphonno"/>
- <col ref="emailid"/>
- <col ref="emailaddr"/>
- <col ref="etcemailaddr"/>
- <col ref="dutplceinst"/>
- </datagrid>
- </group>
- <group id="group4" visibility="hidden" style="left:730px; top:150px; width:415; height:275px; ">
- <shape id="roundrect1" visibility="visible" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:415; height:275px; "/>
- <line id="line9" class="line_2" style="x1:5px; y1:241px; x2:415px; y2:241px; "/>
- <input id="ipt_amt" ref="/root/main//crtfctkindtmp/crtfctkindlist/amt" disabled="false" visibility="hidden" maxlength="9" format="999999999" style="left:280px; top:80px; width:105px; height:19px; "/>
- <input id="ipt_etcemailaddr" ref="/root/main/crtfctkindtmp/crtfctkindlist/etcemailaddr" disabled="false" style="left:279px; top:224; width:131px; height:19px; "/>
- <select1 id="cmb_frmrmert" ref="/root/main/crtfctkindtmp/crtfctkindlist/frmrmert" visibility="hidden" appearance="minimal" style="left:305px; top:126px; width:100px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_acptmthd" ref="/root/main//crtfctkindtmp/crtfctkindlist/acptmthd" disabled="false" appearance="full" cols="2" overflow="visible" style="left:92px; top:127; width:110px; height:20px; text-align:center; vertical-align:middle; border-style:none; ">
- <choices>
- <item>
- <label>1.직접</label>
- <value>1</value>
- </item>
- <item>
- <label>2.우편</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(rdo_acptmthd.value == "1")
- {
- fAddrDisabled(true);
- ipt_zipcd1.value = '';
- ipt_zipcd2.value = '';
- ipt_addr.value = '';
- }
- else if(rdo_acptmthd.value == "2")
- {
- fAddrDisabled(false);
-
- /*
- ipt_zipcd1.value = grd_crtfctkindlist_1.valueMatrix(1, grd_crtfctkindlist_1.colRef("residnczipcd1"));
- ipt_zipcd2.value = grd_crtfctkindlist_1.valueMatrix(1, grd_crtfctkindlist_1.colRef("residnczipcd2"));
- ipt_addr.value = grd_crtfctkindlist_1.valueMatrix(1, grd_crtfctkindlist_1.colRef("residncaddr"));
- */
- model.refresh();
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_telno" ref="/root/main/crtfctkindtmp/crtfctkindlist/telno" disabled="false" style="left:92px; top:199; width:123px; height:19px; "/>
- <caption id="caption30" class="cell_1" style="left:5; top:78; width:85px; height:23px; vertical-align:middle; ">통 수</caption>
- <line id="line23" class="line_2" style="x1:5px; y1:53px; x2:410; y2:53px; "/>
- <caption id="caption31" class="cell_1" style="left:5px; top:126; width:85px; height:23px; vertical-align:middle; ">수령 방법</caption>
- <caption id="caption1" class="cell_1" visibility="hidden" style="left:192px; top:79px; width:85px; height:23px; vertical-align:middle; ">금액</caption>
- <caption id="caption32" class="cell_1" style="left:5px; top:150; width:85px; height:23px; vertical-align:middle; ">우편 번호</caption>
- <input id="ipt_isscnt" ref="/root/main/crtfctkindtmp/crtfctkindlist/isscnt" disabled="false" maxlength="2" format="99" style="left:92; top:80px; width:100px; height:19px; "/>
- <input id="ipt_issresn" ref="/root/main/crtfctkindtmp/crtfctkindlist/issresn" disabled="false" style="left:92px; top:104; width:317px; height:19px; "/>
- <line id="line195" class="line_3" style="x1:5px; y1:245; x2:410; y2:245; "/>
- <caption id="caption2" class="cell_1" visibility="hidden" style="left:220px; top:125px; width:85px; height:23px; vertical-align:middle; ">전공</caption>
- <input id="ipt_emailid" ref="/root/main/crtfctkindtmp/crtfctkindlist/emailid" disabled="false" style="left:92px; top:224; width:83px; height:19px; "/>
- <caption id="caption33" style="left:154px; top:152; width:20px; height:20px; text-align:center; ">~</caption>
- <line id="line14" class="line_1" style="x1:5px; y1:25px; x2:410; y2:25px; "/>
- <select1 id="cmb_trngflag" ref="/root/main/crtfctkindtmp/crtfctkindlist/trngflag" visibility="hidden" appearance="minimal" style="left:315px; top:151px; width:100px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption34" class="cell_1" style="left:5px; top:174; width:85px; height:23px; vertical-align:middle; ">주소</caption>
- <caption id="caption4" visibility="hidden" style="left:387px; top:80px; width:20px; height:20px; font-weight:bold; ">원</caption>
- <caption id="caption35" class="cell_1" style="left:5px; top:222; width:85px; height:23px; vertical-align:middle; ">E-Mail</caption>
- <caption id="caption5" class="cell_1" visibility="hidden" style="left:225px; top:150px; width:85px; height:23px; vertical-align:middle; ">현직위</caption>
- <select1 id="cmb_emailaddr" ref="/root/main/crtfctkindtmp/crtfctkindlist/emailaddr" disabled="false" appearance="minimal" style="left:178px; top:224; width:100px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_zipcd1" ref="/root/main/crtfctkindtmp/crtfctkindlist/zipcd1" disabled="false" maxlength="3" format="999" style="left:92px; top:151; width:60px; height:19px; "/>
- <select1 id="cmb_crtfctkind" ref="/root/main/crtfctkindtmp/crtfctkindlist/crtfctkind" class="combo_essential" disabled="false" appearance="minimal" style="left:92px; top:55px; width:200; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/crtfctkind_search">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_crtfctkind" class="cell_1" style="left:5; top:54; width:85px; height:23px; vertical-align:middle; ">증명서종류</caption>
- <caption id="caption15" class="cell_1" style="left:5px; top:198; width:85px; height:23px; vertical-align:middle; ">전화번호</caption>
- <input id="ipt_zipcd2" ref="/root/main/crtfctkindtmp/crtfctkindlist/zipcd2" disabled="false" maxlength="3" format="999" style="left:175px; top:151; width:60px; height:19px; "/>
- <caption id="caption16" class="tit_2" style="left:5px; top:10px; width:144px; height:13px; ">증명서 신청 메뉴</caption>
- <line id="line3" class="line_2" style="x1:5px; y1:77px; x2:410; y2:77px; "/>
- <line id="line4" class="line_2" style="x1:5px; y1:101px; x2:410; y2:101px; "/>
- <caption id="caption28" class="cell_1" style="left:5px; top:30; width:85px; height:23px; vertical-align:middle; ">발급기관</caption>
- <line id="line5" class="line_2" style="x1:5px; y1:125px; x2:410; y2:125px; "/>
- <caption id="caption29" class="cell_1" style="left:5px; top:102; width:85px; height:23px; vertical-align:middle; ">발급사유</caption>
- <input id="ipt_addr" ref="/root/main/crtfctkindtmp/crtfctkindlist/addr" disabled="false" style="left:92px; top:175; width:318px; height:19px; "/>
- <select1 id="cmb_issinstcd" ref="/root/main/crtfctkindtmp/crtfctkindlist/issinstcd" class="combo_essential" disabled="false" appearance="minimal" style="left:92px; top:31; width:200; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_emplno" ref="/root/main/crtfctkindtmp/crtfctkindlist/emplno" visibility="hidden" style="left:125px; top:5px; width:80; height:19px; "/>
- <input id="ipt_appflag" ref="/root/main/crtfctkindtmp/crtfctkindlist/appflag" visibility="hidden" style="left:225px; top:5px; width:80; height:19px; "/>
- <input id="ipt_cnfmcnts" ref="/root/main/crtfctkindtmp/crtfctkindlist/cnfmcnts" visibility="hidden" style="left:325px; top:5px; width:80; height:19px; "/>
- <button id="btn_save2" class="btn4_letter2" visibility="hidden" style="left:295; top:250px; width:56px; height:22px; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(!isRequiredControls("cmb_crtfctkind"))return;
-
- if(cmb_issinstcd.value == "" || cmb_issinstcd.value == null)
- {
- var sFlag = messageBox("발급기관을 현 소속기관으로 하겠습니다.","Q003");
- if(sFlag == 6)
- {
- model.setValue("/root/main/crtfctkindtmp/crtfctkindlist/issinstcd",getUserInfo("dutplceinstcd"));
- }
- else if(sFlag == 7)
- {
- messageBox("발급기관을 ","C002");
- return;
- }
- }
-
- if(fCheckCrtfctKind())
- {
- var sCrtfLabel = cmb_crtfctkind.label;
- messageBox(sCrtfLabel + "을 신청","E001");
- return;
- }
-
- // model.copyNode("/root/main/crtfctkind/crtfctkindlist[" + grd_crtfctkindlist.row + "]", "/root/main/crtfctkindtmp/crtfctkindlist");
- misfGridRowStatusChange(grd_crtfctkindlist, "/root/main/crtfctkind" , "/root/main/crtfctkindtmp");
-
- grd_crtfctkindlist.refresh();
-
- misfSave("TXRTH00601");
- model.resetInstanceNode("/root/main/crtfctkindtmp/crtfctkindlist");
- // btn_search.dispatch("DOMActivate");
- btn_save2.visible = false;
- btn_save.visible = true;
- group4.visible = false;
- model.resetInstanceNode("/root/main/crtfctkindtmp/crtfctkindlist");
- btn_search.dispatch("DOMActivate");
- group3.disabled = false;
-
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:295px; top:250px; width:56px; height:22px; ">
- <caption>등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_emplno_search")) return;
-
- if(!isRequiredControls("cmb_crtfctkind"))return;
-
- // 전공의들의 전공과 현 직위를 가지고 온다
- model.setValue("/root/send/req/emplno", model.getValue("/root/send/search/emplno"));
- model.makeValue("/root/send/req/crtfctkind", cmb_crtfctkind.value);
-
- submit("TRRTH00602");
-
- var sFrmemert = model.getValue("/root/main/tmplist/frmrmert");
- var sTrngflag = model.getValue("/root/main/tmplist/trngflag");
-
- model.setValue("/root/main/crtfctkindtmp/crtfctkindlist/frmrmert", sFrmemert);
- model.setValue("/root/main/crtfctkindtmp/crtfctkindlist/trngflag", sTrngflag);
- model.setValue("/root/main/crtfctkindtmp/crtfctkindlist/emplno", ipt_emplno_search.value);
-
- cmb_frmrmert.refresh();
- cmb_trngflag.refresh();
- ipt_emplno.refresh();
-
- if(fCheckCrtfctKind())
- {
- var sCrtfLabel = cmb_crtfctkind.label;
- messageBox(sCrtfLabel + "을 신청","E001");
- return;
- }
- misfGridIUD(grd_crtfctkindlist, "A");
-
- model.copyNode("/root/main/crtfctkind/crtfctkindlist[" + grd_crtfctkindlist.row + "]", "/root/main/crtfctkindtmp/crtfctkindlist");
- // ipt_emplno.value = ipt_emplno_search.value;
- // misfGridRowStatusChange(grd_crtfctkindlist, "/root/main/crtfctkind" , "/root/main/crtfctkindtmp");
-
- grd_crtfctkindlist.refresh();
- misfSave("TXRTH00601");
- group4.visible = false;
- model.resetInstanceNode("/root/main/crtfctkindtmp/crtfctkindlist");
- btn_search.dispatch("DOMActivate");
- group3.disabled = false;
- ]]>
- </script>
- </button>
- <line id="line2" class="line_2" style="x1:5; y1:149; x2:410; y2:149; "/>
- <line id="line6" class="line_2" style="x1:5; y1:173; x2:410; y2:173; "/>
- <line id="line7" class="line_2" style="x1:5; y1:197; x2:410; y2:197; "/>
- <line id="line8" class="line_2" style="x1:5; y1:221; x2:410; y2:221; "/>
- <button id="btn_domizipcd" class="icon_search" disabled="true" style="left:240px; top:153; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /* 우편번호 Help화면 Popup */
- var sZipcd1 = ipt_zipcd1.value;
- var sZipcd2 = ipt_zipcd2.value;
- var recv_list = "zipcd1,zipcd2,addr";
-
- rpbfOpenZipCdHelp(ipt_zipcd1, recv_list);
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" visibility="visible" style="left:355px; top:250px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group4.visible = false;
- group3.disabled = false;
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|