123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>동호회 신청</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <clubcodelist/>
- <item>
- <instnm/>
- <cmntcd/>
- <cmntnm/>
- <engnm/>
- <estbdd/>
- <membcnt/>
- <estbgoal/>
- <gthrngprid/>
- <psnworkaprvdd/>
- <clubclosdd/>
- <cmninstcd/>
- <mainact/>
- <spclmentfact/>
- <gnrlworkbrthdate/>
- <gnrlworkmpphonno/>
- <reglmbrqual/>
- <reglmbrannconvnt/>
- <reglmbrcnt/>
- <reglmbrcmt/>
- <asctmbrqual/>
- <asctmbrannconvnt/>
- <asctmbrcnt/>
- <asctmbrcmt/>
- <psnworkaprvid/>
- <prsdempno/>
- <prsdmppnm/>
- <prsdinstcd/>
- <prsdinstnm/>
- <prsddeptcd/>
- <prsddeptnm/>
- <prsdjobrespcd/>
- <prsdjobrespnm/>
- <prsdnjobgradcd/>
- <prsdjobgrad/>
- <prsdbrthdd/>
- <prsdmpphonno/>
- <gnrlworkempno/>
- <gnrlworknm/>
- <gnrlinstcd/>
- <gnrlinstnm/>
- <gnrldeptcd/>
- <gnrldeptnm/>
- <gnrljobrespcd/>
- <gnrljobrespnm/>
- <gnrlnjobgradcd/>
- <gnrlworkjobgrad/>
- <gnrlworkbrthdate/>
- <gnrlworkmpphonno/>
- <prsdjobposcd/>
- <prsdjobposnm/>
- <gnrljobposnm/>
- <gnrljobposcd/>
- <workgbn/>
- <prsddutplceinst/>
- <prsddutplceinstnm/>
- <gnrldutplceinst/>
- <gnrldutplceinstnm/>
- <psnworkaprvyn/>
- </item>
- <clubempl>
- <clubempllist>
- <emplno/>
- <name/>
- <rregno/>
- <deptcd/>
- <deptnm/>
- <dutdeptcd/>
- <dutdeptnm/>
- <teamnm/>
- <unitnm/>
- <grupjoblnnm/>
- <joblnnm/>
- <jobkindnm/>
- <jobposnm/>
- <jobrespnm/>
- </clubempllist>
- </clubempl>
- <clubempldata>
- </clubempldata>
- <countlist>
- <cmntcd/>
- <cmninstcd/>
- </countlist>
- </main>
- <send>
- <instcd_s/>
- <cmntnm_s/>
- <estbddstart_s/>
- <estbddend_s/>
- <prsdempno_s/>
- <prsdempnm_s/>
- <clubcodelist/>
- <emplno/>
- <workgbn/>
- </send>
- <temp>
- </temp>
- <init>
- <radio1>
- <label>예</label>
- <value>Y</value>
- <label>아니오</label>
- <value>N</value>
- </radio1>
- </init>
- </root>
- </instance>
- <script type="javascript">
- <![CDATA[
- var GVN_TARGET_NODE = "/root/main/clubempldata";
- var GVN_SOURCE_NODE = "/root/main/clubempl";
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- misfGridInit(grd_clubcodelist);
- misfGridInit(grd_clubempllist);
- misfGridInit(grd_countlist);
- misfMsterDetailSet(grd_clubcodelist,null,"TRRPA00401","Y");
- btn_save.disabled = !(checkAuth("X"));
- //misfMsterDetailSet(grd_clubempllist,grd_clubcodelist, "TRRPA00401","N" );
- // 공통코드 바인딩 silver
- misfComboInstCdListMulti("cmb_instcd_s",getCurrentDate(),"","Y");
- misfComboInstCdListMulti('cmb_instcd_i',getCurrentDate(),"","Y");
- //misfComboComCdList('Z0007', cmb_instcd_s);
- //misfComboComCdList('Z0007', cmb_instcd_i);
- var instcd = getUserInfo("dutplceinstcd");
- cmb_instcd_s.value=instcd;
- //var instcd = getUserInfo("dutplceinstcd");
- //var deptcd = getUserInfo("dutplcecd");
- //var deptnm = getUserInfo("dutplcenm");
- //var posinstcd = getUserInfo("instcd");
- //var userid =getUserInfo("userid");
- //var usernm=getUserInfo("usernm");
-
- ]]>
- </script>
- <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/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/pubwelfmngtweb/js/RPS001.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
- fEnableInsertButton();
- model.removeNodeset("/root/main/clubcodelist");
- model.removeNodeset("/root/main/countlist");
- model.removeNodeset("/root/main/clubempl/clubempllist");
- model.resetInstanceNode("/root/send");
- model.resetInstanceNode("/root/main/item");
- model.refresh();
- var instcd = getUserInfo("dutplceinstcd");
- cmb_instcd_i.value=instcd;
- }
-
- function fEnableInsertButton() {
- btn_insert.disabled = false;
- btn_update.disabled = true;
- cmb_instcd_i.disabled =false;
- ipt_cmntcd.disabled =false;
- ipt_psnworkaprvdd.disabled=true;
- }
- function fEnableUpdateButton() {
- btn_insert.disabled = true;
- btn_update.disabled = false;
- }
- function fChangeGridValue(cur_row) {
- model.setValue("/root/main/clubcodelist[" + cur_row + "]/instnm",cmb_instcd_i.label); //기관명
- model.setValue("/root/main/clubcodelist[" + cur_row + "]/workgbn","rpamclub"); //기관명
- if(rdo_psnworkaprvyn.value ==""){
- model.setValue("/root/main/clubcodelist[" + cur_row + "]/psnworkaprvyn","N");
- }else{
- model.setValue("/root/main/clubcodelist[" + cur_row + "]/psnworkaprvyn",rdo_psnworkaprvyn.value);
- }
- if(ipt_reglmbrannconvnt.value==""){
- model.setValue("/root/main/clubcodelist[" + cur_row + "]/reglmbrannconvnt","0");
- }
- if(ipt_asctmbrannconvnt.value==""){
- model.setValue("/root/main/clubcodelist[" + cur_row + "]/asctmbrannconvnt","0");
- }
- }
-
- ]]>
- </script>
- <submission id="TRRPA00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/clubcodelist"/>
- <submission id="TXRPA00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TRRPA00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/countlist"/>
- </model>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-right:8; ">
- <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="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
- <line id="line7" class="line_2" style="x1:0px; y1:686px; x2:1195px; y2:686px; "/>
- <line id="line204" class="line_2" style="x1:0px; y1:494px; x2:1195px; y2:494px; "/>
- <line id="line5" class="line_2" style="x1:0px; y1:638px; x2:1195px; y2:638px; "/>
- <line id="line3" class="line_2" style="x1:0px; y1:590px; x2:1195px; y2:590px; "/>
- <line id="line2" class="line_3" style="x1:0px; y1:734px; x2:1195px; y2:734px; "/>
- <line id="line1" class="line_2" style="x1:0px; y1:566px; x2:1195px; y2:566px; "/>
- <line id="line206" class="line_2" style="x1:0px; y1:542px; x2:1195px; y2:542px; "/>
- <line id="line205" class="line_2" style="x1:0px; y1:518px; x2:1195px; y2:518px; "/>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:19px; width:85px; height:17px; ">기 관 :</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:16px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_clubcodelist);
- ipt_workgbn.value="rpamclub";
- if ( updtdata != "" ) {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
- if (ret != 6) { // not OK
- return;
- }
- }
-
- var null_check1 = "";
- var null_check2 ="";
- null_check1 = model.getValue("/root/send/estbddstart_s");
- null_check2 =model.getValue("/root/send/estbddend_s");
- if(null_check1 !="" && null_check2 =="") {
- messageBox("기간종료일자는","I003");
- return;
- } else if(null_check1 =="" && null_check2 !="") {
- messageBox("기간시작일자는","I003");
- return;
- }
- submit("TRRPA00401");
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
- <caption id="caption278" class="tit_2" style="left:5px; top:54px; width:162px; height:13px; ">동호회 현황</caption>
- <line id="line207" class="line_1" style="x1:0px; y1:69px; x2:1195px; y2:69px; "/>
- <caption id="caption11" class="cell_1" style="left:0px; top:568px; width:82px; height:23px; vertical-align:middle; ">설립일자</caption>
- <caption id="cap_cmntcd" class="cell_1" style="left:0px; top:496px; width:82px; height:23px; vertical-align:middle; ">동호회코드</caption>
- <caption id="caption283" class="tit_2" style="left:5px; top:451px; width:118px; height:13px; ">등록 및 수정사항</caption>
- <caption id="caption9" class="cell_1" style="left:0px; top:544px; width:82px; height:23px; vertical-align:middle; ">영문명</caption>
- <caption id="caption12" class="cell_1" style="left:281px; top:472px; width:82px; height:23px; vertical-align:middle; ">회장</caption>
- <line id="line203" class="line_1" style="x1:0px; y1:466px; x2:1195px; y2:466px; "/>
- <input id="ipt_cmntcd" ref="/root/main/item/cmntcd" class="input_essential" imemode="disabled" maxlength="3" style="left:84px; top:497px; width:195px; height:19px; "/>
- <caption id="caption5" class="search_name" style="left:737px; top:19px; width:85px; height:17px; ">회 장 :</caption>
- <caption id="caption4" class="cell_1" style="left:281px; top:496px; width:82px; height:23px; vertical-align:middle; ">총무</caption>
- <caption id="caption1" class="cell_1" style="left:281px; top:520px; width:82px; height:23px; vertical-align:middle; ">정회원자격</caption>
- <caption id="caption15" class="search_name" style="left:419px; top:19px; width:86px; height:17px; ">설립일자 :</caption>
- <caption id="caption3" class="search_n_b" style="left:607px; top:21px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <input id="ipt_cmntnm" ref="/root/main/item/cmntnm" class="input_essential" maxlength="15" style="left:84px; top:520px; width:195px; height:19px; "/>
- <input id="ipt_engnm" ref="/root/main/item/engnm" class="input_default" imemode="disabled" maxlength="45" style="left:84px; top:545px; width:195px; height:19px; "/>
- <input id="ipt_estbdd" ref="/root/main/item/estbdd" class="input_s_essential" inputtype="date" style="left:84px; top:569px; width:195px; height:19px; "/>
- <caption id="caption10" class="cell_1" style="left:0px; top:592px; width:82px; height:47px; vertical-align:middle; ">설립목적</caption>
- <caption id="caption13" class="cell_1" style="left:0px; top:640px; width:82px; height:47px; vertical-align:middle; ">주요활동</caption>
- <caption id="caption14" class="cell_1" style="left:0px; top:688px; width:82px; height:47px; vertical-align:middle; ">특기사항</caption>
- <input id="ipt_emplno" ref="/root/main/item/prsdempno" class="input_default" style="left:365px; top:472px; width:55px; height:19px; "/>
- <button id="btn_emplsearch" class="icon_search" style="left:424px; top:473px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 사원번호 Help 화면 Open
- if (grd_clubempllist.rowStatus(grd_clubempllist.row) != "1") {
- misfGridIUD(grd_clubempllist, "A");
- model.copyNode(GVN_TARGET_NODE + "/clubempllist" ,GVN_SOURCE_NODE + "/clubempllist[" + (grd_clubempllist.row - grd_clubempllist.fixedRows + 1) + "]" );
-
- }
- var recv_list = "prsdempno,prsdmppnm,prsdinstcd,prsdinstnm,prsddutplceinst,prsddutplceinstnm,prsddeptcd,prsddeptnm,";
- recv_list=recv_list +"prsdjobrespcd,prsdjobrespnm,prsdjobposcd,prsdjobposnm,prsdnjobgradcd,prsdjobgrad,prsdbrthdd,prsdmpphonno";
- //var pEmplNo=ipt_emplno.value;
- rpbfOpenPopUpList("SMRPA01000", ipt_emplno,recv_list,"","N");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_prsdmppnm" ref="/root/main/item/prsdmppnm" class="input_default" disabled="true" style="left:443px; top:472px; width:102px; height:19px; "/>
- <input id="ipt_prsdinstcd" ref="/root/main/item/prsdinstcd" visibility="hidden"/>
- <input id="ipt_prsdinstnm" ref="/root/main/item/prsdinstnm" visibility="hidden"/>
- <input id="ipt_prsddutplceinst" ref="/root/main/item/prsddutplceinst" visibility="hidden"/>
- <input id="ipt_prsddutplceinstnm" ref="/root/main/item/prsddutplceinstnm" visibility="hidden"/>
- <input id="ipt_prsddeptcd" ref="/root/main/item/prsddeptcd" visibility="hidden"/>
- <input id="ipt_prsddeptnm" ref="/root/main/item/prsddeptnm" class="input_default" disabled="true" style="left:609px; top:473px; width:87px; height:19px; "/>
- <input id="ipt_prsdjobrespcd" ref="/root/main/item/prsdjobrespcd" visibility="hidden"/>
- <input id="ipt_prsdjobrespnm" ref="/root/main/item/prsdjobrespnm" visibility="hidden"/>
- <input id="ipt_prsdjobposcd" ref="/root/main/item/prsdjobposcd" visibility="hidden"/>
- <input id="ipt_prsdjobposnm" ref="/root/main/item/prsdjobposnm" visibility="hidden"/>
- <input id="ipt_prsdnjobgradcd" ref="/root/main/item/prsdnjobgradcd" visibility="hidden"/>
- <input id="ipt_prsdjobgrad" ref="/root/main/item/prsdjobgrad" class="input_default" disabled="true" style="left:755px; top:473px; width:88px; height:19px; "/>
- <input id="ipt_prsdbrthdd" ref="/root/main/item/prsdbrthdd" class="input_default" inputtype="date" style="left:907px; top:473px; width:86px; height:19px; "/>
- <input id="ipt_prsdmpphonno" ref="/root/main/item/prsdmpphonno" class="input_default" style="left:1071px; top:473px; width:123px; height:19px; "/>
- <input id="ipt_gnrlemplno" ref="/root/main/item/gnrlworkempno" class="input_default" style="left:365px; top:497px; width:55px; height:19px; "/>
- <button id="button4" class="icon_search" style="left:424px; top:498px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /* 사원번호 Help 화면 Open
- misfOpenPopUpList(화면종류Code, OPEN하는 Control, 공통코드, 리턴받을 Instance명)
-
- if (grd_clubempllist.rowStatus(grd_clubempllist.row) != "1") {
- misfGridIUD(grd_clubempllist, "A");
- model.copyNode(GVN_TARGET_NODE + "/clubempllist" ,GVN_SOURCE_NODE + "/clubempllist[" + (grd_clubempllist.row - grd_clubempllist.fixedRows + 1) + "]" );
- rpbfGvnoffcordEditYNSet(grd_clubempllist.nodeset, GVN_TARGET_NODE + "/clubempllist");
- }
-
-
- var recv_list = "gnrlworkempno,gnrlworknm,gnrlinstcd,gnrlinstnm,gnrldutplceinst,gnrldutplceinstnm,gnrldeptcd,gnrldeptnm,gnrljobrespcd,gnrljobrespnm,";
- recv_list=recv_list +"gnrljobposcd,gnrljobposnm,gnrlnjobgradcd,gnrlworkjobgrad,gnrlworkbrthdate,gnrlworkmpphonno";
- rpbfOpenPopUpList("SMRPA01000", ipt_gnrlemplno, recv_list,"","N");
- model.refresh();
- */
-
- // 사원번호 Help 화면 Open
- if (grd_clubempllist.rowStatus(grd_clubempllist.row) != "1") {
- misfGridIUD(grd_clubempllist, "A");
- model.copyNode(GVN_TARGET_NODE + "/clubempllist" ,GVN_SOURCE_NODE + "/clubempllist[" + (grd_clubempllist.row - grd_clubempllist.fixedRows + 1) + "]" );
- }
- var recv_list = "gnrlworkempno,gnrlworknm,gnrlinstcd,gnrlinstnm,gnrldutplceinst,gnrldutplceinstnm,gnrldeptcd,gnrldeptnm,gnrljobrespcd,gnrljobrespnm,";
- recv_list=recv_list +"gnrljobposcd,gnrljobposnm,gnrlnjobgradcd,gnrlworkjobgrad,gnrlworkbrthdate,gnrlworkmpphonno";
- //var pEmplNo=ipt_emplno.value;
- rpbfOpenPopUpList("SMRPA01000", ipt_gnrlemplno,recv_list,"","N");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_gnrlworknm" ref="/root/main/item/gnrlworknm" class="input_default" disabled="true" style="left:443px; top:497px; width:102px; height:19px; "/>
- <input id="ipt_gnrlinstcd" ref="/root/main/item/gnrlinstcd" visibility="hidden"/>
- <input id="ipt_gnrlinstnm" ref="/root/main/item/gnrlinstnm" visibility="hidden"/>
- <input id="ipt_gnrldutplceinst" ref="/root/main/item/gnrldutplceinst" visibility="hidden"/>
- <input id="ipt_gnrldutplceinstnm" ref="/root/main/item/gnrldutplceinstnm" visibility="hidden"/>
- <input id="ipt_gnrldeptcd" ref="/root/main/item/gnrldeptcd" visibility="hidden"/>
- <input id="ipt_gnrlgnrldeptnm" ref="/root/main/item/gnrldeptnm" class="input_default" disabled="true" style="left:609px; top:497px; width:87px; height:19px; "/>
- <input id="ipt_gnrljobrespcd" ref="/root/main/item/gnrljobrespcd" visibility="hidden"/>
- <input id="ipt_gnrljobrespnm" ref="/root/main/item/gnrljobrespnm" visibility="hidden"/>
- <input id="ipt_gnrljobposcd" ref="/root/main/item/gnrljobposcd" visibility="hidden"/>
- <input id="ipt_gnrljobposnm" ref="/root/main/item/gnrljobposnm" visibility="hidden"/>
- <input id="ipt_gnrlnjobgradcd" ref="/root/main/item/gnrlnjobgradcd" visibility="hidden"/>
- <input id="ipt_gnrlworkjobgrad" ref="/root/main/item/gnrlworkjobgrad" disabled="true" style="left:755px; top:497px; width:88px; height:19px; "/>
- <input id="ipt_gnrlworkbrthdate" ref="/root/main/item/gnrlworkbrthdate" class="input_default" inputtype="date" style="left:907px; top:497px; width:86px; height:19px; "/>
- <input id="ipt_gnrlworkmpphonno" ref="/root/main/item/gnrlworkmpphonno" class="input_default" style="left:1071px; top:497px; width:123px; height:19px; "/>
- <caption id="caption16" class="cell_1" style="left:547px; top:520px; width:60px; height:23px; vertical-align:middle; ">월회비</caption>
- <caption id="caption18" class="cell_1" style="left:698px; top:472px; width:55px; height:23px; vertical-align:middle; ">직급</caption>
- <caption id="caption19" class="cell_1" style="left:845px; top:472px; width:60px; height:23px; vertical-align:middle; ">생년월일</caption>
- <caption id="caption20" class="cell_1" style="left:995px; top:472px; width:74px; height:23px; vertical-align:middle; ">연락처(HP)</caption>
- <caption id="caption21" class="cell_1" style="left:995px; top:496px; width:74px; height:23px; vertical-align:middle; ">연락처(HP)</caption>
- <caption id="caption22" class="cell_1" style="left:547px; top:472px; width:60px; height:23px; vertical-align:middle; ">소속부서</caption>
- <caption id="caption23" class="cell_1" style="left:698px; top:496px; width:55px; height:23px; vertical-align:middle; ">직급</caption>
- <caption id="caption24" class="cell_1" style="left:845px; top:496px; width:60px; height:23px; vertical-align:middle; ">생년월일</caption>
- <caption id="caption25" class="cell_1" style="left:547px; top:496px; width:60px; height:23px; vertical-align:middle; ">소속부서</caption>
- <caption id="caption26" class="cell_1" style="left:698px; top:520px; width:55px; height:23px; vertical-align:middle; ">회원수</caption>
- <caption id="caption27" class="cell_1" style="left:845px; top:520px; width:60px; height:23px; vertical-align:middle; ">비고</caption>
- <input id="ipt_reglmbrqual" ref="/root/main/item/reglmbrqual" class="input_default" maxlength="20" style="left:365px; top:521px; width:180px; height:19px; "/>
- <input id="ipt_reglmbrannconvnt" ref="/root/main/item/reglmbrannconvnt" class="input_default" maxlength="9" format="#,###" style="left:609px; top:521px; width:87px; height:19px; text-align:right; "/>
- <input id="ipt_reglmbrcnt" ref="/root/main/item/reglmbrcnt" class="input_default" disabled="true" maxlength="5" format="#,###" style="left:755px; top:521px; width:88px; height:19px; text-align:right; "/>
- <input id="ipt_reglmbrcmt" ref="/root/main/item/reglmbrcmt" class="input_default" maxlength="100" style="left:907px; top:521px; width:287px; height:19px; "/>
- <input id="ipt_asctmbrcnt" ref="/root/main/item/asctmbrcnt" class="input_default" disabled="true" maxlength="5" format="#,###" style="left:755px; top:545px; width:88px; height:19px; text-align:right; "/>
- <input id="ipt_asctmbrcmt" ref="/root/main/item/asctmbrcmt" class="input_default" maxlength="100" style="left:907px; top:546px; width:287px; height:19px; "/>
- <caption id="caption29" class="cell_1" style="left:547px; top:544px; width:60px; height:23px; vertical-align:middle; ">월회비</caption>
- <input id="ipt_asctmbrqual" ref="/root/main/item/asctmbrqual" class="input_default" maxlength="20" style="left:365px; top:545px; width:180px; height:19px; "/>
- <input id="ipt_asctmbrannconvnt" ref="/root/main/item/asctmbrannconvnt" class="input_default" maxlength="9" format="#,###" style="left:609px; top:545px; width:87px; height:19px; text-align:right; "/>
- <caption id="caption31" class="cell_1" style="left:698px; top:544px; width:55px; height:23px; vertical-align:middle; ">회원수</caption>
- <caption id="caption32" class="cell_1" style="left:845px; top:544px; width:60px; height:23px; vertical-align:middle; ">비고</caption>
- <textarea id="estbgoal" ref="/root/main/item/estbgoal" maxlength="100" style="left:84px; top:594px; width:1110px; height:43px; "/>
- <textarea id="ipt_mainact" ref="/root/main/item/mainact" maxlength="150" style="left:84px; top:642px; width:1110px; height:43px; "/>
- <textarea id="ipt_spclmentfact" ref="/root/main/item/spclmentfact" maxlength="150" style="left:84px; top:690px; width:1110px; height:43px; "/>
- <caption id="caption33" class="cell_1" style="left:281px; top:544px; width:82px; height:23px; vertical-align:middle; ">준회원자격</caption>
- <caption id="caption34" class="cell_1" style="left:281px; top:568px; width:82px; height:23px; vertical-align:middle; ">모임주기</caption>
- <caption id="caption35" style="left:365px; top:569px; width:26px; height:20px; text-align:center; vertical-align:bottom; ">연간</caption>
- <caption id="caption36" style="left:455px; top:569px; width:42px; height:20px; text-align:center; vertical-align:bottom; ">회 모임</caption>
- <caption id="caption37" class="search_name" style="left:216px; top:19px; width:92px; height:17px; ">동호회명 :</caption>
- <caption id="cap_cmninstcd" class="cell_1" style="left:0px; top:472px; width:82px; height:23px; vertical-align:middle; ">기관명</caption>
- <caption id="caption39" class="cell_1" style="left:547px; top:568px; width:60px; height:23px; vertical-align:middle; ">모집정원</caption>
- <input id="ipt_membcnt" ref="/root/main/item/membcnt" class="input_default" maxlength="5" format="#,###" style="left:609px; top:570px; width:57px; height:19px; text-align:right; "/>
- <caption id="caption40" style="left:670px; top:568px; width:25px; height:20px; text-align:center; vertical-align:bottom; ">명</caption>
- <caption id="cap_cmntnm" class="cell_1" style="left:0px; top:520px; width:82px; height:23px; vertical-align:middle; ">동호회명</caption>
- <input id="ipt_gthrngprid" ref="/root/main/item/gthrngprid" class="input_default" maxlength="5" format="#,###" style="left:395px; top:572px; width:56px; height:19px; text-align:right; "/>
- <datagrid id="grd_clubcodelist" nodeset="/root/main/clubcodelist" caption="기관명^동호회코드^동호회명^설립일자^모집정원^설립목적^회장성명^연락처^모임주기^승인여부^승인일자^폐쇄일자^기관코드^주요활동^특기사항^회장사원번호^회장직급^회장생년월일^총무명^총무사원번호^총무직급^총무생년월일^총무핸드폰^정회원자격^정회원연회비^정회원회원수^정회원비고^준회원자격^준회원연회비^준회원회원수^준회원비고^승인자ID^회장소속^회장소속코드^총무소속^총무소속코드" colsep="^" colwidth="139, 77, 139, 87, 81, 204, 102, 105, 72, 73, 89, 95, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 47, 47, 43, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 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:74px; width:1195px; height:367px; ">
- <col ref="instnm" type="output"/>
- <col ref="cmntcd" style="text-align:center; "/>
- <col ref="cmntnm"/>
- <col ref="estbdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="membcnt" style="text-align:right; "/>
- <col ref="estbgoal"/>
- <col ref="prsdmppnm" style="text-align:center; "/>
- <col ref="prsdmpphonno" style="text-align:center; "/>
- <col ref="gthrngprid" style="text-align:right; "/>
- <col checkvalue="Y,N" disabled="true" ref="psnworkaprvyn" type="checkbox"/>
- <col ref="psnworkaprvdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="engnm" visibility="hidden"/>
- <col ref="workgbn" visibility="hidden"/>
- <col ref="clubclosdd" visibility="hidden"/>
- <col ref="cmninstcd" visibility="hidden"/>
- <col ref="mainact" visibility="hidden"/>
- <col ref="spclmentfact" visibility="hidden"/>
- <col ref="prsdempno" visibility="hidden"/>
- <col ref="prsdnjobgradcd" visibility="hidden"/>
- <col ref="prsdempno" visibility="hidden"/>
- <col ref="prsdinstcd" visibility="hidden"/>
- <col ref="prsdinstnm" visibility="hidden"/>
- <col ref="prsddeptcd" visibility="hidden"/>
- <col ref="prsddeptnm" visibility="hidden"/>
- <col ref="prsdjobrespcd" visibility="hidden"/>
- <col ref="prsdjobrespnm" visibility="hidden"/>
- <col ref="prsdbrthdd" visibility="hidden"/>
- <col ref="gnrlworkempno" visibility="hidden"/>
- <col ref="gnrlworknm" visibility="hidden"/>
- <col ref="gnrlinstcd" visibility="hidden"/>
- <col ref="gnrlinstnm" visibility="hidden"/>
- <col ref="gnrldeptcd" visibility="hidden"/>
- <col ref="gnrldeptnm" visibility="hidden"/>
- <col ref="gnrljobrespcd" visibility="hidden"/>
- <col ref="gnrljobrespnm" visibility="hidden"/>
- <col ref="gnrlnjobgradcd" visibility="hidden"/>
- <col ref="gnrlworkjobgrad" visibility="hidden"/>
- <col ref="gnrlworkbrthdate" visibility="hidden"/>
- <col ref="gnrlworkmpphonno" visibility="hidden"/>
- <col ref="reglmbrqual" visibility="hidden"/>
- <col ref="reglmbrannconvnt" visibility="hidden"/>
- <col ref="reglmbrcnt" visibility="hidden"/>
- <col ref="reglmbrcmt" visibility="hidden"/>
- <col ref="asctmbrqual" visibility="hidden"/>
- <col ref="asctmbrannconvnt" visibility="hidden"/>
- <col ref="asctmbrcnt" visibility="hidden"/>
- <col ref="asctmbrcmt" visibility="hidden"/>
- <col ref="psnworkaprvid" visibility="hidden"/>
- <col ref="prsdjobposcd" visibility="hidden"/>
- <col ref="prsdjobposnm" visibility="hidden"/>
- <col ref="gnrljobposcd" visibility="hidden"/>
- <col ref="gnrljobposnm" visibility="hidden"/>
- <col ref="psnworkaprvdd" visibility="hidden"/>
- <col ref="prsddutplceinst" visibility="hidden"/>
- <col ref="prsddutplceinstnm" visibility="hidden"/>
- <col ref="gnrldutplceinst" visibility="hidden"/>
- <col ref="gnrldutplceinstnm" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- var cur_row = grd_clubcodelist.row;
- if ( cur_row > 0 ) {
- fEnableUpdateButton();
- model.copyNode("/root/main/item","/root/main/clubcodelist["+cur_row+"]");
- model.refresh();
- }
- cmb_instcd_i.disabled =true;
- ipt_cmntcd.disabled =true;
- if(model.getValue("/root/main/clubcodelist["+cur_row+"]/psnworkaprvyn")=='Y'){
- // ipt_psnworkaprvdd.disabled=false;
- }else{
- // ipt_psnworkaprvdd.disabled=true;
- rdo_psnworkaprvyn.value="N";
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_clubcodelist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_clubempllist" nodeset="/root/main/clubempl/clubempllist" visibility="hidden" caption="사번^성명^주민번호^소속부서^부서명^근무부서^근무부서명^팀^유닛^직군^직열^직종^직위^직책" colsep="^" colwidth="68, 58, 100, 100, 91, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:390px; top:525px; width:465px; height:83px; ">
- <col class="text_center" ref="emplno"/>
- <col class="text_center" ref="emplnm"/>
- <col class="text_center" ref="posinstcd" visibility="hidden"/>
- <col class="text_center" ref="posinstnm"/>
- <col class="text_center" ref="dutplceinst" visibility="hidden"/>
- <col class="text_center" ref="dutplceinstnm"/>
- <col class="text_center" ref="posdeptcd" visibility="hidden"/>
- <col class="text_center" ref="posdeptnm"/>
- <col class="text_center" ref="jobrespcd" visibility="hidden"/>
- <col class="text_center" ref="jobrespnm"/>
- <col class="text_center" ref="jobposcd" visibility="hidden"/>
- <col class="text_center" ref="jobposnm"/>
- <col ref="njobgradcd" visibility="hidden"/>
- <col class="text_center" ref="njobgradnm"/>
- <col class="text_center" ref="brthdd" visibility="hidden"/>
- <col class="text_center" ref="mpphonno" visibility="hidden"/>
- </datagrid>
- <select1 id="cmb_instcd_s" ref="/root/send/instcd_s" class="combo_default" appearance="minimal" style="left:100px; top:18px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/init">
- <label ref="cnstnm"/>
- <value ref="cnstcd"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_cmntnm_s" ref="/root/send/cmntnm_s" class="input_default" style="left:301px; top:18px; width:102px; height:19px; "/>
- <input id="ipt_estbddstart_s" ref="/root/send/estbddstart_s" class="input_s_essential" inputtype="date" style="left:504px; top:18px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var instcd = cmb_instcd_s.value;
- if( getStringLength(ipt_estbddstart_s.value) == "8" ) {
- model.removeNodeset(cmb_instcd_s.attribute("ref"));
- model.makeNode("/root/send/instcd_s");
- misfComboInstCdListMulti("cmb_instcd_s",ipt_estbddstart_s.value,"","Y");
- cmb_instcd_s.value = instcd;
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_estbddend_s" ref="/root/send/estbddend_s" class="input_s_essential" inputtype="date" style="left:622px; top:18px; width:100px; height:19px; "/>
- <input id="ipt_psnworkaprvdd" ref="/root/main/item/psnworkaprvdd" class="input_default" disabled="true" inputtype="date" style="left:907px; top:570px; width:86px; height:19px; "/>
- <input id="clubclosdd" ref="/root/main/item/clubclosdd" class="input_default" inputtype="date" style="left:1071px; top:570px; width:123px; height:19px; "/>
- <caption id="caption7" class="cell_1" style="left:698px; top:568px; width:55px; height:23px; vertical-align:middle; ">승인여부</caption>
- <caption id="caption17" class="cell_1" style="left:845px; top:568px; width:60px; height:23px; vertical-align:middle; ">승인일자</caption>
- <caption id="caption44" class="cell_1" style="left:995px; top:568px; width:74px; height:23px; vertical-align:middle; ">폐쇄일자</caption>
- <input id="ipt_psnworkaprvid" ref="/root/main/item/psnworkaprvid" visibility="hidden"/>
- <select1 id="cmb_instcd_i" ref="/root/main/item/cmninstcd" class="combo_s_essential" appearance="minimal" style="left:84px; top:472px; width:195px; height:19px; ">
- <choices>
- <itemset>
- <label ref="cnstnm"/>
- <value ref="cnstcd"/>
- </itemset>
- </choices>
- </select1>
- <datagrid id="grd_countlist" nodeset="/root/main/countlist" visibility="hidden" caption="기관코드^단체코드" colsep="^" colwidth="100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:885px; top:515px; width:230px; height:105px; ">
- <col ref="cmntcd"/>
- <col ref="cmninstcd"/>
- </datagrid>
- <input id="ipt_workgbn" ref="/root/send/workgbn" visibility="hidden"/>
- <select1 id="rdo_psnworkaprvyn" ref="/root/main/item/psnworkaprvyn" class="radio_search" disabled="true" appearance="full" cols="2" overflow="visible" style="left:755px; top:571px; width:88px; height:16px; text-align:center; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/radio1">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var rgstaprvVal=rdo_psnworkaprvyn.value;
- if(rgstaprvVal=="Y"){
- ipt_psnworkaprvdd.disabled=false;
- ipt_psnworkaprvdd.value=mis_to_day();
- }else{
- ipt_psnworkaprvdd.disabled=true;
- ipt_psnworkaprvdd.value="";
- }
- ]]>
- </script>
- </select1>
- <button id="btn_empl" class="icon_search" style="left:907px; top:20px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "prsdempno_s,prsdempnm_s";
- misfOpenPopUpList("01", ipt_prsdempno_s,"",recv_list);
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt-prsdempnm_s" ref="/root/send/prsdempnm_s" class="input_search" navindex="3" style="left:928px; top:18px; width:125px; height:19px; "/>
- <input id="ipt_prsdempno_s" ref="/root/send/prsdempno_s" class="input_search" navindex="2" style="left:822px; top:18px; width:80px; height:19px; "/>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="btn_move" class="btn3_letter4" visibility="hidden" style="left:0px; top:3; width:80px; height:22px; ">
- <caption>화면이동</caption>
- </button>
- <line id="line11" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- <button id="btn_clear" class="btn4_letter3" style="left:1011px; top:2px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_clubcodelist);
- if (updtdata != "" ) {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 초기화 작업을","Q003");
- if (ret != 6) { // not OK
- return;
- }
- }
- fInitialize();
- ]]>
- </script>
- </button>
- <button id="btn_delete" class="btn4_letter2" style="left:1081px; top:2px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_clubcodelist,"D");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:1139px; top:2px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_clubcodelist);
- if (updtdata == "" ) {
- messageBox("변경된 데이터가","I004");
- return;
- }
-
- var null_check1 = "";
- var null_chech2 = "";
-
- for(var i=1;i<=grd_clubcodelist.rows-1;i++)
- {
- null_check1 = model.getValue(grd_clubcodelist.attribute("nodeset")+"["+i+"]/cmninstcd");
- null_check2 = model.getValue(grd_clubcodelist.attribute("nodeset")+"["+i+"]/cmntcd");
- if(null_check1 =="") {
- messageBox("기관코드는","I003");
- return;
- } else if(null_check2 == "") {
- messageBox(" 단체코드는","I003");
- return;
- }
- }
-
- misGetDouList("TRRPA00402");
- if(grd_countlist.rows-1 > 0 ){
- for(var i=1;i<=grd_countlist.rows-1;i++)
- {
- dou_check1 = model.getValue(grd_countlist.attribute("nodeset")+"["+i+"]/cmninstcd");
- dou_check2 = model.getValue(grd_countlist.attribute("nodeset")+"["+i+"]/cmntcd");
- }
- messageBox(" 단체코드["+dou_check2+"]가 ","E006");
- misfGridInit(grd_countlist);
- return;
- }else{
-
- misfSave("TXRPA00401");
- }
-
- ]]>
- </script>
- </button>
- </group>
- <button id="btn_update" class="btn2_letter2" navindex="13" style="left:1097px; top:483px; width:42px; height:19px; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!isRequiredControls("cmb_instcd_i", "ipt_cmntcd", "ipt_cmntnm"))return;
- var cur_row = grd_clubcodelist.row; // 행 번호 가져오기
- if (cur_row > 0) {
- // 그리드에 추가
- model.copyNode("/root/main/clubcodelist["+cur_row+"]","/root/main/item");
- //messageBox(cmb_inst_i.label.elementName);
- //alert(cmb_inst_i.label);
- // 그리드의 레이블을 변경한다.
- fChangeGridValue(cur_row);
- //grd_educlist.cellStyle("background-image", cur_row, 1) = "../../../com/commonweb/images/icon_u.gif";
- grd_clubcodelist.addStatus(cur_row,"update"); // 행을 업데이트 상태로 변경
- model.refresh();
-
- }
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter3" navindex="14" style="left:1142px; top:483px; width:53px; height:19px; ">
- <caption>지우기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fEnableInsertButton();
- model.resetInstanceNode("/root/main/item");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_insert" class="btn2_letter2" navindex="12" style="left:1052px; top:483px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- function fdoubleCheck(){
-
- var double_check_instcd="";
- var double_check_cmntcd="";
-
- for(var i =1 ; i < grd_clubcodelist.rows; i++)
- {
- double_check_instcd=model.getValue(grd_clubcodelist.attribute("nodeset")+"["+i+"]/cmninstcd");
- double_check_cmntcd=model.getValue(grd_clubcodelist.attribute("nodeset")+"["+i+"]/cmntcd");
- if( double_check_instcd == cmb_instcd_i.value
- && double_check_cmntcd== ipt_cmntcd.value){
- messageBox(" 단체코드가 ","E006");
- return false;
- }
- }
- return true;
- }
- if (!fdoubleCheck()) return;
- if(!isRequiredControls("cmb_instcd_i", "ipt_cmntcd", "ipt_cmntnm"))return;
- //if (!fnullCheck()) return;
- grd_clubcodelist.addrow(); // 입력할 행 추가.
- var cur_row = grd_clubcodelist.row; // 추가된 행 번호 가져오기
- // 그리드에 추가
- model.copyNode("/root/main/clubcodelist["+cur_row+"]","/root/main/item");
-
- fChangeGridValue(cur_row); // 그리드의 레이블을 변경한다.
- fEnableUpdateButton();
- model.refresh();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|