123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933 |
- <?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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <crtfctkind>
- <crtfctkindlist/>
- </crtfctkind>
- <crtfctkindtmp>
- <crtfctkindlist>
- <crtfctkind/>
- <issinstcd/>
- <frmrmert/>
- <trngflag/>
- <issresn/>
- <isscnt/>
- <amt/>
- <acptmthd/>
- <zipcd1/>
- <zipcd2/>
- <addr/>
- <emailid/>
- <emailaddr/>
- <etcemailaddr/>
- <telno/>
- <emplno/>
- </crtfctkindlist>
- </crtfctkindtmp>
- <tmplist>
- <issno/>
- </tmplist>
- </main>
- <send>
- <search>
- <emplno/>
- <fromdd/>
- <todd/>
- <emplnm/>
- <issinstcd/>
- <appflag/>
- <crtfctkind/>
- </search>
- <save>
- <crtfctkind_mst/>
- </save>
- <crtfctkindlist/>
- <yynum/>
- </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="TRRTH00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/hidden"/>
- <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/search" resultref="/root/main/tmplist"/>
- <submission id="TXRTH00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/crtfctkindlist" resultref="/root/temp"/>
- <submission id="TXRTH00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/crtfctkindlist" resultref="/root/temp"/>
- <submission id="TRRTH00605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/crtfctkindtmp/crtfctkindlist" resultref="/root/main/tmplist"/>
- <submission id="TRRTC00302" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/deptcond"/>
- </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");
-
- 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("R0131",grd_crtfctkindlist,"emailaddr");
- 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("R0305,R0131,R0305,R0062", "cmb_issinstcd_search,cmb_emailaddr,cmb_issinstcd,cmb_trngflag");
-
- addComboItem( "cmb_crtfctkind_search", "전체", "", "above");
- addComboItem( "cmb_issinstcd_search", "가톨릭중앙의료원", "001", "above");
- addComboItem( "cmb_issinstcd_search", "전체", "", "above");
- addComboItem( "cmb_issinstcd", "가톨릭중앙의료원", "001", "above");
-
- // 로그인 한 사람의 근무기관을 발급기관으로 기초 세팅하기로 함..
- var dutplceinstcd = getUserInfo("dutplceinstcd");
- model.setValue("/root/send/search/issinstcd", dutplceinstcd);
-
- // 테스트 데이터 : 10301118 (박혜원)
- ipt_emplno_search.value = '10602800';
-
- 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");
-
- // 출력권한("P")이 있는 사람(수련부) 권한세팅
- if(checkAuth("P") == true)
- {
- group2.visible = checkAuth("P");
- ipt_emplno_search.disabled = !checkAuth("P");
- btn_emplno.disabled = !checkAuth("P");
- }
- // 출력권한 없는(사용자) 사람 권한 세팅
- else if(checkAuth("P") == false)
- {
- group2.visible = !checkAuth("P");
- ipt_emplno_search.disabled = checkAuth("P");
- btn_emplno.disabled = checkAuth("P");
- }
- }
-
- // 행추가시 기본값을 세팅 해준다
- function fDefalutControlSetting(){
-
-
- rdo_appcnfm.select(1);
- rdo_issyn.select(1);
-
- // var dutplceinstcd = getUserInfo("dutplceinstcd");
- // model.setValue("/root/main/crtfctkindtmp/crtfctkindlist/issinstcd",dutplceinstcd);
- }
-
- function fUserControlSetting(check){
-
- cmb_crtfctkind.disabled = check;
- cmb_issinstcd.disabled = check;
- ipt_issresn.disabled = check;
- ipt_isscnt.disabled = check;
- ipt_amt.disabled = check;
- rdo_acptmthd.disabled = check;
- ipt_emailid.disabled = check;
- ipt_etcemailaddr.disabled = check;
- cmb_emailaddr.disabled = check;
- ipt_telno.disabled = check;
- }
- // 수령 방법의 값이 바뀔때 주소컨트롤의 disabled을 세팅
- function fAddrDisabled(check){
- ipt_zipcd1.disabled = check;
- ipt_zipcd2.disabled = check;
- ipt_addr.disabled = check;
- }
-
- // 연번호 생성후 출력
- function fYynumCreate(){
-
- var sIssdd = ipt_issdd.value.substr(0,4);
- model.setValue("/root/send/yynum", sIssdd + "-" + ipt_issnotmp.value);
-
- var sPrnNum = "RPRTH006" + cmb_crtfctkind.value;
- exeReportPreview(sPrnNum, "XMLSTR");
- }
-
- // DB에 발급 번호 생성
- function fIssnoCreate(){
-
- rdo_appcnfm.value = 'Y';
-
- rdo_issyn.value = 'Y';
-
- ipt_emplno.value = ipt_emplno_search.value;
-
- var curdate = getCurrentDate();
-
- ipt_issdd.value = curdate;
-
- misfGridRowStatusChange(grd_crtfctkindlist, "/root/main/crtfctkind" , "/root/main/crtfctkindtmp");
-
- grd_crtfctkindlist.refresh();
-
- misfSave("TXRTH00601");
- }
-
- // 사용자에 맞게 증명서를 선택한지 체크
- function fCheckCrtfctKind(){
-
-
- var sCrtfKind = cmb_crtfctkind.value;
-
- if(sCrtfKind == '01'){
-
- }
- else if(sCrtfKind == '02'){
-
- }
- else if(sCrtfKind == '03'){
-
- }
- else if(sCrtfKind == '04'){
-
- }
- else if(sCrtfKind == '05'){
-
- }
- else if(sCrtfKind == '06'){
-
- }
- else if(sCrtfKind == '07'){
- if(!checkAuth("P"))
- {
- var sCrtfLabel = cmb_crtfctkind.value;
- messageBox("전공의는 " + sCrtfLabel + "을 ", "E001 ");
- return;
- }
- else
- {
- fYynumCreate();
- }
- }
-
- }
- ]]>
- </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" style="left:0px; top:3; width:80px; height:22px; ">
- <caption>화면이동</caption>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:1139px; top:3px; width:56px; height:22px; ">
- <caption>신청</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("ipt_emplno_search")) return;
-
- 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;
- }
- }
-
- // 전공의들의 전공과 현 직위를 가지고 온다
- 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();
-
- 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");
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </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; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:61px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption19" class="search_name" style="left:455px; top:46px; width:96px; height:17px; ">발급 기관 :</caption>
- <line id="line12" class="line_1" style="x1:0px; y1:100px; x2:770; y2:100px; "/>
- <datagrid id="grd_crtfctkindlist" nodeset="/root/main/crtfctkind/crtfctkindlist" caption="발급번호^사번^성명^현상태^발급기관^전공과목^I/R^현직위^소속병원^근무병원^증명서종류^신청상태^신청일자^신청확인^확인일자^확인내용^발급일자^발급여부^신청년월^신청번호^통수^금액^발급사유^수령방법^전화번호^E-mail ID^E-mail 주소^기타 E-mail 주소^우편번호1^우편번호2^주소" colsep="^" colwidth="65, 70, 70, 70, 100, 75, 100, 100, 100, 120, 90, 70, 90, 80, 100, 100, 90, 75, 100, 80, 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:105px; width:770; height:635; ">
- <col ref="issno" style="text-align:right; padding-right:10; "/>
- <col ref="emplno"/>
- <col ref="name" style="text-align:center; "/>
- <col ref="preststatcd" style="text-align:center; "/>
- <col ref="issinstcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="frmrmert" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="trngflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="jobposnm" type="combo" style="text-align:center; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="orginstcd" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="dutplceinst" type="combo">
- <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="appflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/appflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="appdd" format="yyyy-mm-dd"/>
- <col ref="appcnfm" 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="cnfmdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="cnfmcnts"/>
- <col ref="issdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <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="appym" format="yyyy-mm" style="text-align:center; "/>
- <col ref="seqno" visibility="visible" style="text-align:right; "/>
- <col ref="isscnt" visibility="hidden"/>
- <col ref="amt" visibility="hidden"/>
- <col ref="issresn" visibility="hidden"/>
- <col ref="acptmthd" visibility="hidden"/>
- <col ref="telno" visibility="hidden"/>
- <col ref="emailid" visibility="hidden"/>
- <col ref="emailaddr" type="combo" visibility="hidden">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="etcemailaddr" visibility="hidden"/>
- <col ref="zipcd1" visibility="hidden"/>
- <col ref="zipcd2" visibility="hidden"/>
- <col ref="addr" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_crtfctkindlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- /*
- // model.resetInstanceNode("/root/main/crtfctkindtmp/crtfctkindlist");
-
- if(grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("issyn")) == 'Y'){
- messageBox("이미 발급된 신청서는 수정 ", "E001");
-
- // fUserControlSetting(true);
- }
-
- else {
- fUserControlSetting(false);
-
- if(rdo_acptmthd.value == "1")
- fAddrDisabled(true);
- else if(rdo_acptmthd.value == "2")
- fAddrDisabled(false);
- }
-
- model.resetInstanceNode("/root/main/crtfctkindtmp/crtfctkindlist");
- model.refresh();
- model.copyNode("/root/main/crtfctkindtmp/crtfctkindlist","/root/main/crtfctkind/crtfctkindlist[" + grd_crtfctkindlist.row + "]");
- ipt_issnotmp.value = ipt_issno.value;
- model.refresh();
- */
- ]]>
- </script>
- </datagrid>
- <caption id="caption20" class="search_name" style="left:819; top:19px; width:101px; height:17px; ">신청상태 :</caption>
- <caption id="caption21" class="search_name" style="left:455; top:20px; width:99px; height:17px; ">증명서종류 :</caption>
- <button id="btn_search" class="btn1_letter2" navindex="8" style="left:1125px; top:29px; 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);
-
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1110px; y1:18px; x2:1110px; y2:61px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="cmb_crtfctkind_search" ref="/root/send/search/crtfctkind" class="combo_s_essential" appearance="minimal" style="left:554; top:19; width:159; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/crtfctkindlist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_appflag_search" ref="/root/send/search/appflag" class="combo_s_essential" appearance="minimal" style="left:904; top:19; width:110; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/appflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_issinstcd_search" ref="/root/send/search/issinstcd" class="combo_s_essential" appearance="minimal" style="left:554; top:45px; width:159px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_fromdd_search" ref="/root/send/search/fromdd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:101px; top:44px; width:100px; height:19px; "/>
- <caption id="caption24" style="left:205px; top:46px; width:15px; height:20px; font-weight:bold; ">~</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:44px; width:100px; height:19px; "/>
- <caption id="caption25" class="search_name" style="left:15px; top:45px; width:99px; height:17px; ">신청일자 :</caption>
- <button id="btn_emplno" class="icon_search" disabled="true" style="left:169; top:20px; 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");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="cap_emplno_search" class="search_name" style="left:15px; top:20px; width:87px; height:17px; ">사 번 :</caption>
- <input id="ipt_emplnm_search" ref="/root/send/search/emplnm" class="input_search" disabled="true" style="left:188; top:19; width:132; height:19px; "/>
- <input id="ipt_emplno_search" ref="/root/send/search/emplno" class="input_search" disabled="true" style="left:101; top:19; width:65px; height:19px; "/>
- <group id="group2" visibility="hidden" style="left:770; top:360px; width:420; height:380px; ">
- <caption id="caption3" class="tit_2" style="left:5px; top:5px; width:144px; height:13px; ">관리자 메뉴</caption>
- <caption id="caption7" class="cell_1" style="left:5px; top:73; width:85px; height:23px; vertical-align:middle; ">신청확인</caption>
- <line id="line2" class="line_1" style="x1:5; y1:20px; x2:410; y2:20px; "/>
- <caption id="caption8" class="cell_1" style="left:5px; top:97; width:85px; height:23px; vertical-align:middle; ">확인일자</caption>
- <caption id="caption9" class="cell_1" style="left:5px; top:121; width:85px; height:23px; vertical-align:middle; ">확인내용</caption>
- <caption id="caption10" class="cell_1" style="left:5px; top:145; width:85px; height:23px; vertical-align:middle; ">발급일자</caption>
- <caption id="caption11" class="cell_1" visibility="visible" style="left:5px; top:169; width:85px; height:23px; vertical-align:middle; ">발급여부</caption>
- <caption id="caption14" class="cell_1" visibility="visible" style="left:5px; top:193; width:85px; height:23px; vertical-align:middle; ">발급번호</caption>
- <input id="ipt_cnfmdd" ref="/root/main/crtfctkindtmp/crtfctkindlist/cnfmdd" disabled="false" inputtype="date" style="left:92px; top:98; width:100px; height:19px; "/>
- <input id="ipt_cnfmcnts" ref="/root/main/crtfctkindtmp/crtfctkindlist/cnfmcnts" disabled="false" style="left:92px; top:122; width:100px; height:19px; "/>
- <input id="ipt_issdd" ref="/root/main/crtfctkindtmp/crtfctkindlist/issdd" inputtype="date" style="left:92px; top:146; width:100px; height:19px; "/>
- <select1 id="rdo_issyn" ref="/root/main/crtfctkindtmp/crtfctkindlist/issyn" disabled="false" visibility="visible" overflow="visible" appearance="full" cols="2" style="left:92px; top:170px; width:98px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>예</label>
- <value>Y</value>
- </item>
- <item>
- <label>아니요</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(rdo_issyn.value == 'Y')
- {
- ipt_issdd.disabled = false;
-
- var curdate = getCurrentDate();
-
- ipt_issdd.value = curdate;
-
- rdo_appcnfm.value = 'Y';
-
- rdo_appflag.value = '3';
- }
- else if(rdo_issyn.value == 'N')
- {
- ipt_issdd.disabled = true;
-
- ipt_issdd.value = "";
-
- if(rdo_appcnfm.value = 'Y')
- rdo_appflag.value = '2';
- else if(rdo_appcnfm.value = 'N')
- rdo_appflag.value = '1';
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_issno" ref="/root/main/crtfctkindtmp/crtfctkindlist/issno" visibility="visible" style="left:92px; top:194; width:100px; height:19px; "/>
- <select1 id="rdo_appcnfm" ref="/root/main/crtfctkindtmp/crtfctkindlist/appcnfm" overflow="visible" appearance="full" cols="2" style="left:92px; top:74; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>예</label>
- <value>Y</value>
- </item>
- <item>
- <label>아니요</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(rdo_appcnfm.value == 'Y')
- {
- ipt_cnfmdd.disabled = false;
- ipt_cnfmcnts.disabled = false;
-
- var curdate = getCurrentDate();
-
- ipt_cnfmdd.value = curdate;
-
- rdo_appflag.value = '2';
- }
- else if(rdo_appcnfm.value == 'N')
- {
- ipt_cnfmdd.disabled = true;
- ipt_cnfmcnts.disabled = true;
-
- ipt_cnfmdd.value = "";
-
- rdo_appflag.value = '1';
- }
- ]]>
- </script>
- </select1>
- <button id="button4" class="btn2_letter2" style="left:302; top:0px; width:42px; height:19px; ">
- <caption>발급</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(!isRequiredControls("cmb_crtfctkind"))return;
-
- var sIssno = grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("issno"));
-
- // 발급되지 않은 데이터
- if(sIssno == null || sIssno == "")
- {
- // 신청되어 있는 데이터를 발급할때
- if(grd_crtfctkindlist.rowStatus(grd_crtfctkindlist.row) == 0)
- {
- // DB에 발급번호 생성
- fIssnoCreate();
-
- // 사번, 신청년월, 신청번호로 발급번호 가지고 오기
- submit("TRRTH00605");
-
- // 연번호 생성후 출력
- fYynumCreate();
- }
-
- // 신청, 수정과 동시에 발급할때
- else if(grd_crtfctkindlist.rowStatus(grd_crtfctkindlist.row) == 1 || grd_crtfctkindlist.rowStatus(grd_crtfctkindlist.row) == 2)
- {
- // 신청 데이터를 DB에 등록
- btn_save.dispatch("DOMActivate");
-
- // DB에 발급번호 생성
- fIssnoCreate();
-
- // 사번, 신청년월, 신청번호로 발급번호 가지고 오기
- submit("TRRTH00605");
-
- // 연번호 생성후 출력
- fYynumCreate();
- }
- }
-
- // 발급된 데이터
- else
- {
- YynumCreate();
- }
- ]]>
- </script>
- </button>
- <input id="ipt_appdd" ref="/root/main/crtfctkindtmp/crtfctkindlist/appdd" inputtype="date" style="left:92px; top:50; width:100px; height:19px; "/>
- <button id="button3" class="btn2_letter8" style="left:193; top:0px; width:108px; height:19px; ">
- <caption>사용자데이터수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fUserControlSetting(false);
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter4" style="left:345; top:0px; width:42px; height:19px; ">
- <caption>발급취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 발급된 데이터는 발급취소 불능
- if(grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("issyn")) == 'N'){
- messageBox("발급 되지 않은 데이터를 ", "E005");
- return;
- }
- // 발급된 데이터를 미발급상태로
- else if(grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("issyn")) == 'Y'){
- messageBox("발급상태를 미발급으로 ", "I001");
- rdo_issyn.value = 'N';
- ipt_issdd.value = "";
- btn_save.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- <input id="ipt_issnotmp" ref="/root/main/tmplist/issno" style="left:300px; top:230px; width:100px; height:19px; "/>
- <caption id="caption12" class="cell_1" style="left:5px; top:49; width:85px; height:23px; vertical-align:middle; ">신청일자</caption>
- <caption id="caption13" class="cell_1" style="left:5px; top:25px; width:85px; height:23px; vertical-align:middle; ">신청상태</caption>
- <select1 id="rdo_appflag" ref="/root/main/crtfctkindtmp/crtfctkindlist/appflag" disabled="true" overflow="visible" appearance="full" cols="3" style="left:92; top:26; width:165px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>신청</label>
- <value>1</value>
- </item>
- <item>
- <label>확인</label>
- <value>2</value>
- </item>
- <item>
- <label>발급</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_name" ref="/root/main/crtfctkindtmp/crtfctkindlist/name" style="left:5px; top:285px; width:100px; height:19px; "/>
- <input id="ipt_preststatcd" ref="/root/main/crtfctkindtmp/crtfctkindlist/preststatcd" style="left:110px; top:285px; width:100px; height:19px; "/>
- <input id="ipt_jobposnm" ref="/root/main/crtfctkindtmp/crtfctkindlist/jobposnm" style="left:215px; top:285px; width:100px; height:19px; "/>
- <input id="ipt_orginstcd" ref="/root/main/crtfctkindtmp/crtfctkindlist/orginstcd" style="left:5px; top:310px; width:100px; height:19px; "/>
- <input id="ipt_dutplceinst" ref="/root/main/crtfctkindtmp/crtfctkindlist/dutplceinst" style="left:110px; top:310px; width:100px; height:19px; "/>
- <input id="ipt_seqno" ref="/root/main/crtfctkindtmp/crtfctkindlist/seqno" style="left:215px; top:260px; width:100px; height:19px; "/>
- <input id="ipt_emplno" ref="/root/main/crtfctkindtmp/crtfctkindlist/emplno" visibility="visible" style="left:5px; top:260px; width:100px; height:19px; "/>
- <input id="ipt_appym" ref="/root/main/crtfctkindtmp/crtfctkindlist/appym" style="left:110px; top:260px; width:100px; height:19px; "/>
- </group>
- <button id="button2" class="btn2_letter4" style="left:705; top:80px; 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
- {
- misfGridIUD(grd_crtfctkindlist, "D");
- // model.resetInstanceNode("/root/main/crtfctkindtmp/crtfctkindlist");
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <group id="group4" visibility="visible" style="left:770; top:75px; width:420; height:280px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:2px; width:420; height:275px; "/>
- <line id="line8" class="line_2" style="x1:5px; y1:197px; x2:415px; y2:197px; "/>
- <line id="line9" class="line_2" style="x1:5px; y1:221px; x2:415px; y2:221px; "/>
- <input id="ipt_amt" ref="/root/main//crtfctkindtmp/crtfctkindlist/amt" disabled="false" maxlength="9" format="999999999" style="left:283px; top:127px; width:105px; height:19px; "/>
- <input id="ipt_etcemailaddr" ref="/root/main/crtfctkindtmp/crtfctkindlist/etcemailaddr" disabled="false" style="left:279px; top:223px; width:131px; height:19px; "/>
- <button id="button1" class="btn2_letter3" style="left:360px; top:5px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(!isRequiredControls("ipt_emplno_search")) return;
-
- misfGridIUD(grd_crtfctkindlist, "A");
-
- // 전공의들의 전공과 현 직위를 가지고 온다
- submit("TRRTH00602");
-
- // 사용자 메뉴 초기화
- //model.resetInstanceNode("/root/main/crtfctkindtmp/crtfctkindlist");
-
- // 기본데이터를 세팅
- grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("acptmthd")) = 1;
- grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("appcnfm")) = 'N';
- grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("issyn")) = 'N';
- grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("issinstcd")) = getUserInfo("dutplceinstcd");
-
- model.copyNode("/root/main/crtfctkindtmp/crtfctkindlist","/root/main/crtfctkind/crtfctkindlist[" + grd_crtfctkindlist.row + "]");
-
- 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);
-
- grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("frmrmert")) = cmb_frmrmert.value;
- grd_crtfctkindlist.valueMatrix(grd_crtfctkindlist.row, grd_crtfctkindlist.colRef("trngflag")) = cmb_trngflag.value;
-
- misfSetReadOnlyCol(grd_crtfctkindlist,"issinstcd,frmrmert,trngflag,orginstcd,dutplceinst,crtfctkind,preststatcd,appcnfm,issyn,emailaddr,appflag,jobposnm",true);
-
- // fDefalutControlSetting();
- fUserControlSetting(false);
- model.setValue("/root/main/crtfctkindtmp/crtfctkindlist/issinstcd",getUserInfo("dutplceinstcd"));
-
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmb_frmrmert" ref="/root/main/crtfctkindtmp/crtfctkindlist/frmrmert" appearance="minimal" style="left:90px; top:80px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/deptcond">
- <label ref="depthngnm"/>
- <value ref="orddeptcd"/>
- </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:151px; 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);
- }
- ]]>
- </script>
- </select1>
- <line id="line10" class="line_2" style="x1:5px; y1:245px; x2:415px; y2:245px; "/>
- <input id="ipt_telno" ref="/root/main/crtfctkindtmp/crtfctkindlist/telno" disabled="false" style="left:92px; top:247px; width:123px; height:19px; "/>
- <caption id="caption30" class="cell_1" style="left:5px; top:126px; width:85px; height:23px; vertical-align:middle; ">통 수</caption>
- <line id="line23" class="line_2" style="x1:5px; y1:53px; x2:415px; y2:53px; "/>
- <caption id="caption31" class="cell_1" style="left:5px; top:150px; width:85px; height:23px; vertical-align:middle; ">수령 방법</caption>
- <caption id="caption1" class="cell_1" style="left:195px; top:126px; width:85px; height:23px; vertical-align:middle; ">금액</caption>
- <caption id="caption32" class="cell_1" style="left:5px; top:174px; 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:127px; width:100px; height:19px; "/>
- <input id="ipt_issresn" ref="/root/main/crtfctkindtmp/crtfctkindlist/issresn" disabled="false" style="left:92px; top:103px; width:317px; height:19px; "/>
- <line id="line195" class="line_3" style="x1:5px; y1:270px; x2:415px; y2:270px; "/>
- <caption id="caption2" class="cell_1" style="left:5px; top:78px; width:85px; height:23px; vertical-align:middle; ">전공</caption>
- <input id="ipt_emailid" ref="/root/main/crtfctkindtmp/crtfctkindlist/emailid" disabled="false" style="left:92px; top:223px; width:83px; height:19px; "/>
- <caption id="caption33" style="left:154px; top:176px; width:20px; height:20px; text-align:center; ">~</caption>
- <line id="line14" class="line_1" style="x1:5px; y1:25px; x2:415px; y2:25px; "/>
- <select1 id="cmb_trngflag" ref="/root/main/crtfctkindtmp/crtfctkindlist/trngflag" appearance="minimal" style="left:285px; top:80px; width:100px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption34" class="cell_1" style="left:5px; top:198px; width:85px; height:23px; vertical-align:middle; ">주소</caption>
- <caption id="caption4" style="left:392px; top:128px; width:20px; height:20px; font-weight:bold; ">원</caption>
- <caption id="caption35" class="cell_1" style="left:5px; top:222px; width:85px; height:23px; vertical-align:middle; ">E-Mail</caption>
- <caption id="caption5" class="cell_1" style="left:195px; top:78px; 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:223px; 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:175px; 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:31px; width:150px; 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:30px; width:85px; height:23px; vertical-align:middle; ">증명서종류</caption>
- <caption id="caption15" class="cell_1" style="left:5px; top:246px; 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:175px; 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:415px; y2:77px; "/>
- <line id="line4" class="line_2" style="x1:5px; y1:101px; x2:415px; y2:101px; "/>
- <caption id="caption28" class="cell_1" style="left:5px; top:54px; width:85px; height:23px; vertical-align:middle; ">발급기관</caption>
- <line id="line5" class="line_2" style="x1:5px; y1:125px; x2:415px; y2:125px; "/>
- <caption id="caption29" class="cell_1" style="left:5px; top:102px; width:85px; height:23px; vertical-align:middle; ">발급사유</caption>
- <line id="line6" class="line_2" style="x1:5px; y1:149px; x2:415px; y2:149px; "/>
- <input id="ipt_addr" ref="/root/main/crtfctkindtmp/crtfctkindlist/addr" disabled="false" style="left:92px; top:199px; 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:55px; width:150px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <line id="line7" class="line_2" style="x1:5px; y1:173px; x2:415px; y2:173px; "/>
- </group>
- <button id="button5" class="btn2_letter4" style="left:638; top:80px; 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
- {
- model.resetInstanceNode("/root/main/crtfctkindtmp/crtfctkindlist");
- model.copyNode("/root/main/crtfctkindtmp/crtfctkindlist","/root/main/crtfctkind/crtfctkindlist[" + grd_crtfctkindlist.row + "]");
- }
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|