123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937 |
- <?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/>
- <zipcd1/>
- <zipcd2/>
- <addr/>
- <emailid/>
- <emailaddr/>
- <etcemailaddr/>
- <telno/>
- <emplno/>
- <emplnm/>
- </crtfctkindlist>
- </crtfctkindtmp>
- <tmplist/>
- <statuslist>
- <cheflag/>
- </statuslist>
- </main>
- <send>
- <search>
- <emplno/>
- <fromdd/>
- <todd/>
- <crtfctkind/>
- <issinstcd/>
- <appflag/>
- <emplnm/>
- <flag/>
- </search>
- <save>
- <crtfctkind_mst/>
- </save>
- <crtfctkindlist/>
- <req>
- <emplno/>
- <num/>
- </req>
- </send>
- <init>
- <appflag>
- <label>전체</label>
- <value/>
- <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/req" 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");
-
- var curdate = getCurrentDate();
- var cvtdate = curdate.toDate("YYYYMMDD");
-
- model.setValue(ipt_fromdd_search.attribute("ref") , cvtdate.getAddDate(-10,"D").getDateFormat("YYYYMMDD"));
- ipt_todd_search.value = curdate;
-
- // submit("TRRTC00302");
-
- model.setValue("/root/send/search/flag", "S");
- submit("TRRTH00604");
-
- 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,R0305,R0062,R0234", "cmb_emailaddr,cmb_issinstcd_search,cmb_issinstcd,cmb_trngflag,cmb_frmrmert");
-
- addComboItem( "cmb_crtfctkind_search", "전체", "", "above");
- addComboItem( "cmb_issinstcd_search", "가톨릭중앙의료원", "001", "above");
-
- addComboItem( "cmb_issinstcd_search", "전체", "", "above");
- addComboItem( "cmb_issinstcd", "가톨릭중앙의료원", "001", "above");
-
-
- // 테스트 데이터 : 10301118 (박혜원)
- // ipt_emplno_search.value = '10602800';
-
- rdo_acptmthd.select(0);
- cmb_issinstcd_search.value = getUserInfo("dutplceinstcd");
- // 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/req/num", "1");
- submit("TRRTH00606");
-
- if(ipt_cheflag.value == 'Y')
- return false;
- else
- {
- model.setValue("/root/send/req/num", "7");
- submit("TRRTH00606");
-
- if(ipt_cheflag.value == 'Y')
- return false;
- else
- return true;
- }
- }
-
- // 수련중단 증면서, 수련중단 증명서(영문)
- else if(sCrtfKind == '02' || sCrtfKind == '12'){
- model.setValue("/root/send/req/num", "2_1");
- submit("TRRTH00606");
-
- if(ipt_cheflag.value == 'Y')
- return false;
- else
- {
- model.setValue("/root/send/req/num", "2_2");
- submit("TRRTH00606");
-
- if(ipt_cheflag.value == 'Y')
- return false;
- else
- return true;
- }
- }
- // 수련과정이수(예정)증명서
- else if(sCrtfKind == '03'){
- model.setValue("/root/send/req/num", "3");
- submit("TRRTH00606");
-
- if(ipt_cheflag.value == 'Y')
- return false;
- else
- {
- model.setValue("/root/send/req/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/req/num", "4_1");
- submit("TRRTH00606");
-
- if(ipt_cheflag.value == 'Y')
- return false;
- else
- {
- model.setValue("/root/send/req/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/req/num", "5_1");
- submit("TRRTH00606");
-
- if(ipt_cheflag.value == 'Y')
- return false;
- else
- {
- model.setValue("/root/send/req/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/req/num", "6");
- submit("TRRTH00606");
-
- if(ipt_cheflag.value == 'Y')
- return false;
- else
- return true;
- }
- // 수료증명서(영문)-인턴
- else if(sCrtfKind == '07'){
- model.setValue("/root/send/req/num", "8");
- submit("TRRTH00606");
-
- if(ipt_cheflag.value == 'Y')
- return false;
- else
- return true;
- }
- // 수료증명서(영문)-레지던트
- else if(sCrtfKind == '08'){
- model.setValue("/root/send/req/num", "9");
- submit("TRRTH00606");
-
- if(ipt_cheflag.value == 'Y')
- return false;
- else
- return true;
- }
- // 수료증명서(영문)-인턴&레지던트
- else if(sCrtfKind == '09'){
- model.setValue("/root/send/req/num", "9");
- submit("TRRTH00606");
-
- if(ipt_cheflag.value == 'Y')
- return false;
- else
- return true;
- }
- // 수료(예정)증명서(영문)-인턴
- else if(sCrtfKind == '10'){
- model.setValue("/root/send/req/num", "10");
- submit("TRRTH00606");
-
- if(ipt_cheflag.value == 'Y')
- return false;
- else
- return true;
- }
- // 수료(예정)증명서(영문)-레지던트
- else if(sCrtfKind == '11'){
- model.setValue("/root/send/req/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 guideline="2,794;2,792;">
- <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:90; x2:1195px; y2:90; "/>
- <datagrid id="grd_crtfctkindlist" nodeset="/root/main/crtfctkind/crtfctkindlist" caption="사번^이름^신청년월^신청번호^신청일자^발급기관^전공과목^I/R^현직위^소속병원^근무병원^증명서종류^신청확인^신청상태^발급여부^통수^금액^확인내용^발급사유^수령방법^전화번호^E-mail^우편번호^우편번호^주소^caption1^caption2^caption3" colsep="^" colwidth="100, 100, 100, 100, 100, 130, 100, 90, 100, 120, 130, 130, 100, 75, 100, 50, 79, 100, 100, 100, 100, 100, 50, 50, 300, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="noscroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:95px; width:1195px; height:645px; ">
- <col ref="emplno" visibility="visible"/>
- <col ref="emplnm"/>
- <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">
- <choices>
- <itemset nodeset="/root/hidden/crtfctkind_search">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="appcnfm" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <item>
- <label>예</label>
- <value>Y</value>
- </item>
- <item>
- <label>아니오</label>
- <value>N</value>
- </item>
- </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="issyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>발급</label>
- <value>Y</value>
- </item>
- <item>
- <label>미발급</label>
- <value>N</value>
- </item>
- </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="visible"/>
- <col ref="email" visibility="visible"/>
- <col ref="zipcd1" visibility="visible"/>
- <col ref="zipcd2" visibility="visible"/>
- <col ref="addr" type="input" visibility="visible"/>
- <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:1130px; top:68; 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:1062px; top:68; width:64px; height:19px; ">
- <caption>신청수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- 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:72; width:200px; height:13px; ">총 0건이 등록되어있습니다.</caption>
- <input id="ipt_cheflag" ref="/root/main/statuslist/cheflag" visibility="hidden" style="left:345px; top:65px; width:55px; height:19px; "/>
- <input id="ipt_num" ref="/root/send/req/num" visibility="hidden" style="left:290px; top:65px; width:45px; height:19px; "/>
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:61px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" navindex="8" style="left:1125px; top:19px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(ipt_fromdd_search.value == "")
- {
- if(ipt_todd_search.value != "")
- {
- messageBox("신청일자가 ","E016");
- return;
- }
- }
- else if(ipt_todd_search.value == "")
- {
- if(ipt_fromdd_search.value != "")
- {
- messageBox("신청일자가 ","E016");
- return;
- }
- }
- misfMsterDetailRetrieve();
-
- misfSetReadOnlyCol(grd_crtfctkindlist,"issinstcd,frmrmert,trngflag,orginstcd,dutplceinst,crtfctkind,preststatcd,appflag,appcnfm,issyn,emailappflag,jobposnm",true);
-
- var sSearchData = grd_crtfctkindlist.rows - grd_crtfctkindlist.fixedRows;
-
- cap_search.value = "총 " + sSearchData + "건이 등록되어있습니다.";
-
- model.refresh();
-
- ]]>
- </script>
- </button>
- <select1 id="cmb_appflag_search" ref="/root/send/search/appflag" class="combo_s_essential" appearance="minimal" style="left:904px; top:9px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/appflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_crtfctkind_search" ref="/root/send/search/crtfctkind" class="combo_s_essential" appearance="minimal" style="left:554px; top:9px; width:159px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/crtfctkindlist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption20" class="search_name" style="left:819px; top:9px; width:101px; height:17px; ">신청상태 :</caption>
- <line id="line13" class="line_4" style="x1:1110px; y1:8px; x2:1110px; y2:51px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption21" class="search_name" style="left:455px; top:10px; width:99px; height:17px; ">증명서종류 :</caption>
- <select1 id="cmb_issinstcd_search" ref="/root/send/search/issinstcd" class="combo_s_essential" appearance="minimal" style="left:554px; top:35px; width:159px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_emplno_search" class="search_name" style="left:15px; top:10px; width:87px; height:17px; ">사 번 :</caption>
- <input id="ipt_todd_search" ref="/root/send/search/todd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:220px; top:34px; width:100px; height:19px; "/>
- <button id="btn_emplno" class="icon_search" style="left:169px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "emplno,emplnm";
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno_search, recv_list,"","N");
- ipt_emplno.value = "";
- ipt_emplnm.value = "";
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_fromdd_search" ref="/root/send/search/fromdd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:101px; top:34px; width:100px; height:19px; "/>
- <caption id="caption7" style="left:205px; top:36px; width:15px; height:20px; font-weight:bold; ">~</caption>
- <input id="ipt_emplno_search" ref="/root/send/search/emplno" class="input_search" style="left:101px; top:9px; width:65px; height:19px; "/>
- <caption id="caption8" class="search_name" style="left:15px; top:35px; width:99px; height:17px; ">신청일자 :</caption>
- <input id="ipt_emplnm_search" ref="/root/send/search/emplnm" class="input_search" disabled="true" style="left:188px; top:9px; width:132px; height:19px; "/>
- <caption id="caption19" class="search_name" style="left:455px; top:36px; width:96px; height:17px; ">발급 기관 :</caption>
- <button id="button1" class="btn2_letter2" style="left:1015px; top:68; width:42px; height:19px; ">
- <caption>신청</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group3.disabled = true;
- group4.visible = false;
-
- model.resetInstanceNode("/root/main/crtfctkindtmp/crtfctkindlist");
- rdo_acptmthd.select(0);
- // fAddrDisabled(true);
- group4.visible = true;
- 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:5px; top:455px; 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:770px; top:235px; width:415px; height:305px; ">
- <shape id="roundrect1" visibility="visible" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:415px; height:300px; "/>
- <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:105px; width:105px; height:19px; "/>
- <input id="ipt_etcemailaddr" ref="/root/main/crtfctkindtmp/crtfctkindlist/etcemailaddr" disabled="false" style="left:279px; top:249px; width:131px; height:19px; "/>
- <select1 id="cmb_frmrmert" ref="/root/main/crtfctkindtmp/crtfctkindlist/frmrmert" visibility="hidden" appearance="minimal" style="left:305px; top:151px; width:100px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_acptmthd" ref="/root/main//crtfctkindtmp/crtfctkindlist/acptmthd" disabled="false" overflow="visible" appearance="full" cols="2" style="left:92px; top:152px; 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"));
- ipt_telno.value = grd_crtfctkindlist_1.valueMatrix(1, grd_crtfctkindlist_1.colRef("cntctel"));
- 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>
- </select1>
- <input id="ipt_telno" ref="/root/main/crtfctkindtmp/crtfctkindlist/telno" disabled="false" style="left:92px; top:224px; width:123px; height:19px; "/>
- <caption id="caption30" class="cell_1" style="left:5px; top:103px; width:85px; height:23px; vertical-align:middle; ">통 수</caption>
- <line id="line23" class="line_2" style="x1:5px; y1:78px; x2:410px; y2:78px; "/>
- <caption id="caption31" class="cell_1" style="left:5px; top:151px; width:85px; height:23px; vertical-align:middle; ">수령 방법</caption>
- <caption id="caption1" class="cell_1" visibility="hidden" style="left:192px; top:104px; width:85px; height:23px; vertical-align:middle; ">금액</caption>
- <caption id="caption32" class="cell_1" style="left:5px; top:175px; 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:92px; top:105px; width:100px; height:19px; "/>
- <input id="ipt_issresn" ref="/root/main/crtfctkindtmp/crtfctkindlist/issresn" disabled="false" style="left:92px; top:129px; width:317px; height:19px; "/>
- <line id="line195" class="line_3" style="x1:5px; y1:270px; x2:410px; y2:270px; "/>
- <caption id="caption2" class="cell_1" visibility="hidden" style="left:220px; top:150px; width:85px; height:23px; vertical-align:middle; ">전공</caption>
- <input id="ipt_emailid" ref="/root/main/crtfctkindtmp/crtfctkindlist/emailid" disabled="false" style="left:92px; top:249px; width:83px; height:19px; "/>
- <caption id="caption33" style="left:154px; top:177px; 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:176px; width:100px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption34" class="cell_1" style="left:5px; top:199px; 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:247px; width:85px; height:23px; vertical-align:middle; ">E-Mail</caption>
- <caption id="caption5" class="cell_1" visibility="hidden" style="left:225px; top:175px; 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:249px; 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:176px; 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:80px; width:200px; 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:5px; top:79px; width:85px; height:23px; vertical-align:middle; ">증명서종류</caption>
- <caption id="caption15" class="cell_1" style="left:5px; top:223px; 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:176px; 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:102px; x2:410px; y2:102px; "/>
- <line id="line4" class="line_2" style="x1:5px; y1:126px; x2:410px; y2:126px; "/>
- <caption id="caption28" class="cell_1" style="left:5px; top:55px; width:85px; height:23px; vertical-align:middle; ">발급기관</caption>
- <line id="line5" class="line_2" style="x1:5px; y1:150px; x2:410px; y2:150px; "/>
- <caption id="caption29" class="cell_1" style="left:5px; top:127px; width:85px; height:23px; vertical-align:middle; ">발급사유</caption>
- <input id="ipt_addr" ref="/root/main/crtfctkindtmp/crtfctkindlist/addr" disabled="false" style="left:92px; top:200px; 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:56px; width:200px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <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:275; 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");
- group4.visible = false;
- btn_save2.visible = false;
- btn_save.visible = true;
- group3.disabled = false;
-
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:295px; top:275px; width:56px; height:22px; ">
- <caption>등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_emplno")) return;
-
- if(!isRequiredControls("cmb_crtfctkind"))return;
-
- // 전공의들의 전공과 현 직위를 가지고 온다
- model.setValue("/root/send/req/emplno", model.getValue("/root/main/crtfctkindtmp/crtfctkindlist/emplno"));
- 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:5px; y1:174px; x2:410px; y2:174px; "/>
- <line id="line6" class="line_2" style="x1:5px; y1:198px; x2:410px; y2:198px; "/>
- <line id="line7" class="line_2" style="x1:5px; y1:222px; x2:410px; y2:222px; "/>
- <line id="line8" class="line_2" style="x1:5px; y1:246px; x2:410px; y2:246px; "/>
- <button id="btn_domizipcd" class="icon_search" disabled="true" style="left:240px; top:178px; 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:275px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group4.visible = false;
- group3.disabled = false;
- ]]>
- </script>
- </button>
- <caption id="cap_emplno" class="cell_1" style="left:5px; top:31; width:85px; height:23px; vertical-align:middle; ">사 번</caption>
- <line id="line10" class="line_2" style="x1:5; y1:54; x2:410; y2:54; "/>
- <input id="ipt_emplnm" ref="/root/main/crtfctkindtmp/crtfctkindlist/emplnm" class="input_search" disabled="true" style="left:179; top:32px; width:132px; height:19px; "/>
- <button id="button3" class="icon_search" style="left:160px; top:33; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "emplno,emplnm";
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N");
- // ipt_emplno_search.value = "";
- // ipt_emplnm_search.value = "";
- ipt_emplno.dispatch("xforms-value-changed");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_emplno" ref="/root/main/crtfctkindtmp/crtfctkindlist/emplno" class="input_search" style="left:92; top:32; width:65px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_emplno.value.length== 0)
- ipt_emplno.value = "";
- else{
- var recv_list = "emplno,emplnm" ;
- rpbfValidationCheck("EMPLNO", recv_list);
-
- model.setValue("/root/send/req/emplno", model.getValue("/root/main/crtfctkindtmp/crtfctkindlist/emplno"));
- submit("TRRTH00611");
-
- cmb_issinstcd.value = grd_crtfctkindlist_1.valueMatrix(1, grd_crtfctkindlist_1.colRef("dutplceinst"));
- 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"));
- cmb_issinstcd.refresh();
- }
- model.refresh();
- ]]>
- </script>
- </input>
- </group>
- </xhtml:body>
- </xhtml:html>
|