123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736 |
- <?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>
- <search>
- <actfromdd/>
- <todd1/>
- <bizflag/>
- <flagcd/>
- <rgstteamflag/>
- </search>
- <grdlist>
- <itemlist>
- <biznm/>
- <flagnm/>
- <fromdd/>
- <todd/>
- <attntrqty/>
- <educfestivnm/>
- <servtmrcogflag/>
- <dayeductm/>
- <plcenm/>
- <chrgpsnnm/>
- <educfestivrem/>
- <educfestivseqno/>
- <rgstteamflag/>
- <confflagcd/>
- <educfestivcd/>
- <benfflagcd/>
- <bizflag/>
- <flagcd/>
- <grupid/>
- <conflagnm/>
- <status/>
- </itemlist>
- </grdlist>
- <cond>
- <condinfo>
- <flagnm/>
- <fromdd/>
- <todd/>
- <attntrqty/>
- <educfestivnm/>
- <dayeductm/>
- <servtmrcogflag/>
- <plcenm/>
- <chrgpsnnm/>
- <educfestivrem/>
- <educfestivseqno/>
- <rgstteamflag/>
- <confflagcd/>
- <educfestivcd/>
- <benfflagcd/>
- <bizflag/>
- <flagcd/>
- <grupid/>
- <conflagnm/>
- <status/>
- </condinfo>
- </cond>
- </main>
- <init>
- <A0513list/>
- <A0505list/>
- <A0362list/>
- <A0019list/>
- <A0525list/>
- <A0513list1/>
- <all>
- <cdid>00</cdid>
- <cdnm>전체</cdnm>
- </all>
- <A0505listbottom/>
- <A0362listbottom/>
- <A0019listbottom/>
- <A0655list/>
- <A0364list/>
- </init>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRAAA00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/grdlist"/>
- <submission id="TXAAA00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root"/>
- <submission id="TRZBC00105" mediatype="application/x-www-form-urlencoded" method="post"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.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="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- </xhtml:head>
- <script type="javascript">
- <![CDATA[
- //1. 화명 오픈시 초기화
- function fInit()
- {
- model.removeNodeset("/root/main/grdlist/itemlist");
-
- //날짜 초기화
- var Ndate = getNewDate();
- var Idate = Ndate.getDateFormat("YYYYMM")+"01";
- model.setValue("/root/main/search/actfromdd", Idate);
-
- var sDate = getNewDate(); //달의 마지막날 가져오기
- var lastDate = sDate.getFullYear();
- lastDate = lastDate.toString() + (( sDate.getMonth() + 1 > 9 ) ? sDate.getMonth() + 1 : "0" + (sDate.getMonth() + 1));
- lastDate = lastDate.toString() + sDate.getMonthDay();
- model.setValue("/root/main/search/todd1", lastDate);
-
- model.setValue("/root/main/cond/condinfo/servtmrcogflag","N");
-
- //하단테이블 날짜 초기화
- model.setValue("/root/main/cond/condinfo/fromdd", getCurrentDate());
- model.setValue("/root/main/cond/condinfo/todd", getCurrentDate());
-
- //구분코드 초기화
- model.setValue("/root/main/search/bizflag", "0");
- if(model.getValue("/root/main/search/bizflag") == "0") { //업무구분코드가 전체일때 구분코드 ""
- model.setValue("/root/main/search/flagcd","");
- cmb_flagcd.disabled = true;
- }
- model.setValue("/root/main/search/rgstteamflag", "0");
-
- // status 상태 설정
- model.setValue("/root/main/cond/condinfo/status",'i'); //default 'i'
-
- //공통코드 조회한다
- addComboItem("rdo_bizflag", "전체", "0", "above");
- addComboItem("cmb_rgstteamflag", "전체", "0", "above");
- zbcfGetCodeList(new Array("A0513", "A0525", "A0655"), new Array("/root/init/A0513list", "/root/init/A0525list","/root/init/A0655list"), true);
- zbcfGetCodeList(new Array("A0505","A0362", "A0364"), new Array("/root/init/A0505list", "/root/init/A0362list", "/root/init/A0364list"), true);//input박스는 한개 instance만 교체
- //유형코드 조회(Cache 방식)
- zbcfGetKindCodeList(
- new Array("A0019"), //업무규칙
- new Array("A0364"), //코드군
- new Array("/root/init/A0019list"), //노드
- true, //minimum : true TRZBC00105
- new Array("dispseq"), //sorting 항목
- new Array("asc")
- );
-
- //하단의 콤보 인스턴스 생성.전체가 제외된 인스턴스가 필요하므로 별도의 노드를 만든다
- copyNodesetType("/root/init/A0505listbottom","/root/init/A0505list","replace",model,model);
- copyNodesetType("/root/init/A0362listbottom","/root/init/A0362list","replace",model,model);
- copyNodesetType("/root/init/A0019listbottom","/root/init/A0019list","replace",model,model);
-
- //조건부 콤보에 전체를 추가한다.
- copyNodesetType("/root/init/A0505list/A0505","/root/init/all","before",model,model);
- copyNodesetType("/root/init/A0362list/A0362","/root/init/all","before",model,model);
- copyNodesetType("/root/init/A0019list/A0019A0364","/root/init/all","before",model,model);
-
- //메뉴파라미터값에 따른 활동부서 비활성처리
- //SMAAA00800_param : 호스피스 : 2 원목실 : 3
- var SMAAA00800_param = getScreenMenuParameter(); //1
-
- if(SMAAA00800_param=='2') {
- model.setValue("/root/main/search/rgstteamflag", SMAAA00800_param);
- cmb_rgstteamflag.disabled = true;
- }
- if(SMAAA00800_param=='3') {
- model.setValue("/root/main/search/rgstteamflag", SMAAA00800_param);
- cmb_rgstteamflag.disabled = true;
- }
- model.refresh();
- }
-
- // 2. 조회
- function fSearch()
- {
- //메뉴파라미터값이 있을때 rgstTeamFlag 처리
- //value값이 없는 경우, '1'로 처리
- if (model.getValue("/root/main/search/actfromdd") == "" ) {
- messageBox("시작일자는 ","I003");
- model.setFocus("ipt_actfromdd");
- return false;
- }
- if (model.getValue("/root/main/search/actfromdd").length != 8 ) {
- messageBox("올바른 시작일자 항목을","C001");
- model.setFocus("ipt_actfromdd");
- return false;
- }
- if (model.getValue("/root/main/search/todd1") == "" ) {
- messageBox("종료일자는 ","I003");
- model.setFocus("ipt_todd1");
- return false;
- }
- if (model.getValue("/root/main/search/todd1").length != 8 ) {
- messageBox("올바른 시작일자 항목을","C001");
- model.setFocus("ipt_todd1");
- return false;
- }
- if (model.getValue("/root/main/search/actfromdd") > model.getValue("/root/main/search/todd1")) {
- messageBox("올바른 조회기간을","C001");
- model.setFocus("ipt_actfromdd");
- return false;
- }
- model.makeNode("/root/main/grdlist/itemlist"); //fInit()에서 removeNodeset을 했기에 makeNode로 생성
- model.removeNodeset("/root/send/reqdata"); //보낼data node 삭제
- model.makeNode("/root/send/reqdata"); //보낼data node 생성
- model.copyNode("/root/send/reqdata", "/root/main/search"); //copyNode
- submit("TRAAA00801"); //submit
- }
-
- //3. 회의교육행사 리스트 선택시 등록부분에 셋팅
- function fGetItemListInfo() {
- var idxRow = grd_itemlist.row; //- 위치
- var idxCol = grd_itemlist.col; //|
- var SMAAA00800_param = getScreenMenuParameter(); //메뉴파라미터 값
-
- if(idxRow <1 || idxCol<1) return; //그리드 data외 return
- model.copyNode("/root/main/cond/condinfo", "/root/main/grdlist/itemlist["+ idxRow +"]"); //- data copyNode
- model.setValue("/root/main/cond/condinfo/status",'u'); // 수정 status 설정
-
- opt_flagnm1.visible=true; //3. 구분visible
- cmb_flagcd1.visible=false;
- rdo_bizflag1.disabled = true; //구분 수정불가
- opt_flagnm1.disabled = true;
- cmb_flagcd1.visible=false; //구분cmb숨김
- if(model.getValue("/root/main/grdlist/itemlist["+ idxRow +"]/bizflag") =='3') {
- ipt_dayeductm.disabled = true;
- } else {
- ipt_dayeductm.disabled = false;
- }
-
- if((SMAAA00800_param == '1' && model.getValue("/root/main/cond/condinfo/rgstteamflag") =='1')
- ||SMAAA00800_param == '' ) {
- btn_del.disabled = false;
- btn_save.disabled = false;
- } else if(SMAAA00800_param == '2' && model.getValue("/root/main/cond/condinfo/rgstteamflag") =='2') {
- btn_del.disabled = false;
- btn_save.disabled = false;
- } else if(SMAAA00800_param == '3' && model.getValue("/root/main/cond/condinfo/rgstteamflag") =='3') {
- btn_del.disabled = false;
- btn_save.disabled = false;
- ipt_dayeductm.disabled = true;
- } else {
- btn_del.disabled = true;
- btn_save.disabled = true;
- }
-
- if(model.getValue("/root/main/cond/condinfo/bizflag")==2 || model.getValue("/root/main/cond/condinfo/bizflag")==3) {
- ipt_attntrqty.disabled=true;
- }
- if(model.getValue("/root/main/cond/condinfo/bizflag")==1) {
- ipt_attntrqty.disabled=false;
- }
-
- //node 복사
- model.makeNode("/root/temp/main/cond");
- model.copyNode("/root/temp/main/cond","/root/main/cond");
-
- //그리드bizflag (회의, 교육행사, 단체수혜) 조건시 처리
- if(model.getValue("/root/main/grdlist/itemlist["+ idxRow +"]/bizflag") == "1") {
- model.setValue("/root/main/cond/condinfo/bizflag", "1"); //회의
- model.setValue("/root/main/cond/condinfo/flagnm", model.getValue("/root/main/grdlist/itemlist["+ idxRow +"]/flagnm"));//flagnm setValue
- }
- if(model.getValue("/root/main/grdlist/itemlist["+ idxRow +"]/bizflag") == "2") {
- model.setValue("/root/main/cond/condinfo/bizflag", "2");
- model.setValue("/root/main/cond/condinfo/flagnm", model.getValue("/root/main/grdlist/itemlist["+ idxRow +"]/flagnm"));
- }
- if(model.getValue("/root/main/grdlist/itemlist["+ idxRow +"]/bizflag") == "3") {
- model.setValue("/root/main/cond/condinfo/bizflag", "3");
- model.setValue("/root/main/cond/condinfo/flagnm", model.getValue("/root/main/grdlist/itemlist["+ idxRow +"]/flagnm"));
- }
-
- rdo_bizflag1.refresh();
- opt_flagnm1.refresh();
- }
-
- //4. 회의/교육행사 등록시 필수 저장여부 체크
- function fDefaultCheck() {
- if(model.getValue("/root/main/cond/condinfo/bizflag") =="") {
- messageBox("업무구분을 ","C002");
- model.setFocus("rdo_bizflag1");
- return false;
- }
- if(model.getValue("/root/main/cond/condinfo/flagcd") =="") {
- messageBox("구분코드을 ","C002");
- model.setFocus("cmb_flagcd1");
- return false;
- }
- if(model.getValue("/root/main/cond/condinfo/fromdd") =="" || model.getValue("/root/main/cond/condinfo/fromdd").length != 8) {
- messageBox("시작일자는 ","I003");
- model.setFocus("ipt_fromdd");
- return false;
- }
- if(model.getValue("/root/main/cond/condinfo/todd") =="" || model.getValue("/root/main/cond/condinfo/todd").length != 8 ) {
- messageBox("종료일자는 ","I003");
- model.setFocus("ipt_todd");
- return false;
- }
- if(model.getValue("/root/main/cond/condinfo/fromdd") > model.getValue("/root/main/cond/condinfo/todd")) {
- messageBox("올바른 조회기간을","C001");
- model.setFocus("ipt_fromdd");
- return false;
- }
- if(model.getValue("/root/main/cond/condinfo/bizflag") =="2") {
- if(model.getValue("/root/main/cond/condinfo/dayeductm") =="" ) {
- messageBox("1일교육시간은 ","I003");
- model.setFocus("ipt_dayeductm");
- return false;
- }
- if(model.getValue("/root/main/cond/condinfo/dayeductm") <= 0) {
- messageBox("1일교육시간은 0시간을 넣을 수","I004");
- model.setFocus("ipt_dayeductm");
- return false;
- }
- if(model.getValue("/root/main/cond/condinfo/servtmrcogflag") =="")
- {
- messageBox("봉사시간인정여부는 ","I003");
- model.setFocus("rdo_servtmrcogflag");
- return false;
- }
- }
- if(model.getValue("/root/main/cond/condinfo/educfestivnm") =="") {
- messageBox("교육행사명은 ","I003");
- model.setFocus("cmb_flagcd1");
- return false;
- }
- return true;
- }
-
-
- //5. 회의/교육행사 등록 부분의 초기화버튼 클릭시
- function fRgstReset() {
- rdo_bizflag1.disabled=false; //구분(rdo, cmb) 처리
- cmb_flagcd1.disabled=false;
- cmb_flagcd1.visible=true;
- opt_flagnm1.visible=false;
-
- model.resetInstanceNode("/root/main/cond/condinfo"); //4. resetInstanceNode
- model.setValue("/root/main/cond/condinfo/status",'i');
- model.setValue("/root/main/cond/condinfo/servtmrcogflag","N"); //하단 table 봉사시간인정여부 "N"
-
- //하단테이블 날짜 초기화
- model.setValue("/root/main/cond/condinfo/fromdd", getCurrentDate());
- model.setValue("/root/main/cond/condinfo/todd", getCurrentDate());
- model.refresh();
- }
-
- //6. 회의/교육행사 등록 저장버튼 클릭시
- function fSaveFestivRgst() {
- var status = model.getValue("/root/main/cond/condinfo/status"); //'i', 'u'
-
- model.removeNodeset("/root/send/savedata");
- model.makeNode("/root/send/savedata");
- model.copyNode("/root/send/savedata", "/root/main/cond");
-
-
-
- if (status == 'i') { //저장
- //호스피스/원목실에서 저장할때의 처리
- var SMAAA00800_param = getScreenMenuParameter(); //1
- if(SMAAA00800_param=='2') {
- model.setValue("/root/send/savedata/condinfo/rgstteamflag", SMAAA00800_param);
- }
- if(SMAAA00800_param=='3') {
- model.setValue("/root/send/savedata/condinfo/rgstteamflag", SMAAA00800_param);
- }
-
- if ( isNull(model.getValue("/root/send/savedata/condinfo/rgstteamflag"))
- || model.getValue("/root/send/savedata/condinfo/rgstteamflag") =="0"){
- model.setValue("/root/send/savedata/condinfo/rgstteamflag","1");
- }
-
- if (submit("TXAAA00801", false) == true) {
- messageBox("자료 저장이", "I002");
- fRgstReset();
- }
- } else if (status == 'u') { //수정
- //변경여부체크
- if (instance1.selectSingleNode("/root/temp/main/cond").xml == instance1.selectSingleNode("/root/main/cond").xml) {
- messageBox("변경된 데이터가 ","I004");
- return;
- } else {
- model.copyNode("/root/send/savedata", "/root/main/cond");
-
- submit("TXAAA00801");
- fRgstReset();
- }
- }
- fSearch();
- model.refresh();
- }
-
- //7. 회의/교육행사 삭제
- function fDelFestivRgst() {
- if (model.getValue("/root/main/cond/condinfo/educfestivseqno") =="") {
- messageBox("삭제할 데이터가 ","I004");
- return;
- } else {
- var btn = messageBox("선택한 회의/교육행사 등록을 ","Q001");
- if(btn == "6"){
- model.removeNodeset("/root/send/savedata");
- model.makeNode("/root/send/savedata");
- model.setValue("/root/main/cond/condinfo/status", "d");
- model.copyNode("/root/send/savedata", "/root/main/cond");
-
-
- if(model.getValue("/root/main/cond/condinfo/attntrqty") == "0" || rdo_bizflag1.value=="1")
- {
- submit("TXAAA00801");
- }
- else
- {
- messageBox("해당 행사는 출결정보가 존재합니다. 삭제할 수 없습니다 ","I");
- }
-
- fSearch();
- fRgstReset();
- model.refresh();
- } else if (btn == "7") {
- return;
- }
- }
- }
-
- //8. 부모창으로 값넘기기
- function fSendParam()
- {
- if(checkOpener())
- {
- var row=grd_itemlist.row; // 클릭한 행 저장
-
- if(model.getValue("/root/properties/uid/opener") =='')
- {
- return;
- }
-
- if(row<1) return;
- if(row>=1)
- { // 조회된 결과가 있을 때
-
- model.makeValue("/root/main/grdlist/itemlist"+"["+row+"]/flag","Y");
- // 클릭한 행의 falg값에 Y셋팅
- model.copyNode(opener.root.main.reqpopup.reqpopuplist,"/root/main/grdlist/itemlist["+row+"]");
- // 교육행사 출결관리 화면에 셋팅한 flag 'Y'를 보내줌
- model.refresh();
- window.close();
- }
- else
- {
- messageBox("상위화면이 변경되어 데이터를 가져올 수","I004");
- model.makeValue("/root/main/grdlist/itemlist"+"["+row+"]/flag","N");
- model.copyNode(opener.root.main.reqpopup.reqpopuplist,"/root/main/grdlist/itemlist["+row+"]");
- opener.model.refresh();
-
-
- }
- }
- }
- ]]>
- </script>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:126px; height:14px; ">회의/교육행사관리</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <line id="line12" class="line_1" style="x1:0px; y1:77px; x2:1194px; y2:77px; "/>
- <caption id="caption32" class="tit_2" style="left:5px; top:60px; width:141px; height:13px; ">회의/교육행사리스트</caption>
- <group id="group1" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <caption id="cap_actfromdd" class="search_name" style="left:15px; top:8px; width:112px; height:17px; ">조회기간 :</caption>
- <caption id="cap_todd1" class="search_name" style="left:15px; top:8px; width:112px; height:17px; ">조회기간 :</caption>
- <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1123px; top:8px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <caption id="caption5" class="search_no_b" style="left:200px; top:7px; width:12px; height:17px; ">~</caption>
- <input id="ipt_todd1" ref="/root/main/search/todd1" class="input_s_essential" inputtype="date" style="left:216px; top:7px; width:90px; height:19px; "/>
- <input id="ipt_actfromdd" ref="/root/main/search/actfromdd" class="input_s_essential" inputtype="date" style="left:106px; top:7px; width:90px; height:19px; "/>
- <select1 id="rdo_bizflag" ref="/root/main/search/bizflag" appearance="full" cols="4" overflow="visible" style="left:510px; top:9px; width:215px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/A0513list/A0513">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (model.getValue("/root/main/search/bizflag") == "0"){//전체선택시
- cmb_flagcd.disabled = true;
- model.setValue("/root/main/search/flagcd","");
- }
- if (model.getValue("/root/main/search/bizflag") == "1"){//회의선택시
- cmb_flagcd.disabled = false;
- cmb_flagcd.choices.itemset.attribute("nodeset") = "/root/init/A0655list/A0655";
- model.setValue("/root/main/search/flagcd","00");
- }
- if (model.getValue("/root/main/search/bizflag") == "2"){//교육행사선택시
- cmb_flagcd.disabled = false;
- cmb_flagcd.choices.itemset.attribute("nodeset") = "/root/init/A0362list/A0362";
- model.setValue("/root/main/search/flagcd","00");
- }
- if (model.getValue("/root/main/search/bizflag") == "3"){//단체수혜선택시
- cmb_flagcd.disabled = false;
- cmb_flagcd.choices.itemset.attribute("nodeset") = "/root/init/A0364list/A0364";
- model.setValue("/root/main/search/flagcd","00");
- }
- cmb_flagcd.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_flagcd" ref="/root/main/search/flagcd" class="combo_search" appearance="minimal" style="left:740px; top:9px; width:100px; height:19px; ">
- <choices>
- <itemset>
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:361px; top:8px; width:145px; height:17px; ">회의/교육행사구분 :</caption>
- <caption id="caption11" class="search_name" style="left:884px; top:8px; width:65px; height:17px; ">구분 :</caption>
- </group>
- <datagrid id="grd_itemlist" nodeset="/root/main/grdlist/itemlist" allowuserresize="true" autoresize="true" caption="구분^구분^기간^기간^참석자수^교육행사명^인정여부^1일교육시간^장소^담당자^내용^caption1^caption2^caption3^caption4^caption5" colsep="^" colwidth="80, 80, 85, 85, 80, 230, 61, 90, 170, 80, 85, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:82px; width:1194px; height:515px; ">
- <col ref="biznm" style="text-align:center; "/>
- <col ref="flagnm" style="text-align:center; "/>
- <col ref="fromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="todd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="attntrqty" style="text-align:right; "/>
- <col ref="educfestivnm"/>
- <col ref="servtmrcogflag" style="text-align:center; "/>
- <col ref="dayeductm" style="text-align:right; "/>
- <col ref="plcenm"/>
- <col ref="chrgpsnnm"/>
- <col ref="educfestivrem"/>
- <col ref="educfestivseqno" visibility="hidden"/>
- <col ref="rgstteamflag" visibility="hidden"/>
- <col ref="confflagcd" visibility="hidden"/>
- <col ref="educfestivcd" visibility="hidden"/>
- <col ref="benfflagcd" visibility="hidden"/>
- <col ref="bizflag" visibility="hidden"/>
- <col ref="flagcd" visibility="hidden"/>
- <col ref="grupid" visibility="hidden"/>
- <col ref="conflagnm" visibility="hidden"/>
- <col ref="status" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fSendParam();
- //model.close();
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fGetItemListInfo();
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <caption id="caption2" class="tit_2" style="left:0px; top:608px; width:134px; height:13px; ">회의/교육행사 등록</caption>
- <line id="line1" class="line_1" style="x1:2px; y1:624px; x2:1194px; y2:624px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:651px; x2:1194px; y2:651px; "/>
- <button id="btn_del" class="btn5_letter2" style="left:1096px; top:604px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelFestivRgst();
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_listsearch" class="btn5_letter3" style="left:1140px; top:604px; width:53px; height:19px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fRgstReset();
- ]]>
- </script>
- </button>
- <select1 id="rdo_bizflag1" ref="/root/main/cond/condinfo/bizflag" appearance="full" cols="3" overflow="visible" style="left:84px; top:630px; width:185px; 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>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //회의/교육행사등록 구분콤보박스 셋팅
- if (model.getValue("/root/main/cond/condinfo/bizflag") == "1"){//회의선택시
- ipt_attntrqty.disabled = false;
- ipt_dayeductm.disabled= false;
-
- cmb_flagcd1.choices.itemset.attribute("nodeset") = "/root/init/A0655list/A0655";
-
- model.setValue("/root/main/cond/condinfo/dayeductm", "");
- model.setValue("/root/main/cond/condinfo/educfestivnm", "");
- model.setValue("/root/main/cond/condinfo/plcenm", "");
- model.setValue("/root/main/cond/condinfo/attntrqty", "");
- model.setValue("/root/main/cond/condinfo/chrgpsnnm", "");
- model.setValue("/root/main/cond/condinfo/educfestivrem", "");
-
- model.setValue("/root/main/cond/condinfo/flagcd","01");
- model.setValue("/root/main/cond/condinfo/servtmrcogflag","N");
- model.refresh();
- }
- if (model.getValue("/root/main/cond/condinfo/bizflag") == "2"){//교육행사선택시
- ipt_attntrqty.disabled = true;
- ipt_dayeductm.disabled= false;
- cmb_flagcd1.choices.itemset.attribute("nodeset") = "/root/init/A0362listbottom/A0362";
- model.setValue("/root/main/cond/condinfo/dayeductm", "");
- model.setValue("/root/main/cond/condinfo/educfestivnm", "");
- model.setValue("/root/main/cond/condinfo/plcenm", "");
- model.setValue("/root/main/cond/condinfo/attntrqty", "");
- model.setValue("/root/main/cond/condinfo/chrgpsnnm", "");
- model.setValue("/root/main/cond/condinfo/educfestivrem", "");
-
- model.setValue("/root/main/cond/condinfo/flagcd","01");
- model.setValue("/root/main/cond/condinfo/servtmrcogflag","N");
- model.refresh();
- }
- if (model.getValue("/root/main/cond/condinfo/bizflag") == "3"){//단체수혜선택시
- ipt_attntrqty.disabled = true;
- ipt_dayeductm.disabled= true;
- model.setValue("/root/main/cond/condinfo/dayeductm", "");
- model.setValue("/root/main/cond/condinfo/educfestivnm", "");
- model.setValue("/root/main/cond/condinfo/plcenm", "");
- model.setValue("/root/main/cond/condinfo/attntrqty", "");
- model.setValue("/root/main/cond/condinfo/chrgpsnnm", "");
- model.setValue("/root/main/cond/condinfo/educfestivrem", "");
-
- cmb_flagcd1.choices.itemset.attribute("nodeset") = "/root/init/A0364list/A0364";
- model.setValue("/root/main/cond/condinfo/flagcd","02");
- model.setValue("/root/main/cond/condinfo/servtmrcogflag","N");
- model.refresh();
- }
- cmb_flagcd1.refresh();
- ]]>
- </script>
- </select1>
- <button id="btn_save" class="btn5_letter2" style="left:1052px; top:604px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( !fDefaultCheck()) return; //필수 저장여부 체크
- fSaveFestivRgst();
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line3" class="line_2" style="x1:0px; y1:675px; x2:1194px; y2:675px; "/>
- <caption id="caption15" class="cell_1" style="left:2px; top:677px; width:80px; height:63px; vertical-align:middle; ">내용</caption>
- <input id="ipt_plcenm" ref="/root/main/cond/condinfo/plcenm" class="input" navindex="4" maxlength="20" max="10" style="left:462px; top:654px; width:203px; height:19px; border-style:solid; "/>
- <input id="ipt_attntrqty" ref="/root/main/cond/condinfo/attntrqty" class="input" navindex="5" maxlength="5" format="9999" max="10" style="left:752px; top:654px; width:72px; height:19px; border-style:solid; "/>
- <input id="ipt_educfestivnm" ref="/root/main/cond/condinfo/educfestivnm" class="input" navindex="3" maxlength="100" max="100" style="left:84px; top:654px; width:294px; height:19px; border-style:solid; "/>
- <textarea id="ipt_educfestivrem" ref="/root/main/cond/condinfo/educfestivrem" navindex="7" maxlength="100" style="left:84px; top:678px; width:1107px; height:60px; "/>
- <caption id="caption12" style="left:826px; top:654px; width:18px; height:20px; ">명</caption>
- <input id="ipt_chrgpsnnm" ref="/root/main/cond/condinfo/chrgpsnnm" navindex="6" maxlength="6" style="left:907px; top:654px; width:63px; height:19px; "/>
- <input id="ipt_dayeductm" ref="/root/main/cond/condinfo/dayeductm" navindex="1" maxlength="2" format="99" style="left:752px; top:630px; width:72px; height:19px; "/>
- <input id="ipt_fromdd" ref="/root/main/cond/condinfo/fromdd" inputtype="date" style="left:462px; top:630px; width:91px; height:19px; "/>
- <input id="ipt_todd" ref="/root/main/cond/condinfo/todd" inputtype="date" style="left:571px; top:630px; width:91px; height:19px; "/>
- <caption id="caption1" style="left:557px; top:632px; width:15px; height:20px; ">~</caption>
- <select1 id="rdo_servtmrcogflag" ref="/root/main/cond/condinfo/servtmrcogflag" navindex="2" appearance="full" cols="2" overflow="visible" style="left:972px; top:630px; width:79px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_rgstteamflag" ref="/root/main/search/rgstteamflag" appearance="minimal" style="left:950px; top:17px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/A0525list/A0525">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="opt_flagnm1" ref="/root/main/cond/condinfo/flagnm" style="left:275px; top:630px; width:98px; height:19px; "/>
- <select1 id="cmb_flagcd1" ref="/root/main/cond/condinfo/flagcd" appearance="minimal" style="left:270px; top:630px; width:108px; height:19px; ">
- <choices>
- <itemset>
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption10" class="cell_1" style="left:851px; top:629px; width:119px; height:23px; vertical-align:middle; ">봉사시간 인정여부</caption>
- <caption id="caption3" class="cell_1" style="left:2px; top:629px; width:80px; height:23px; vertical-align:middle; ">구분</caption>
- <caption id="caption4" class="cell_1" style="left:380px; top:629px; width:80px; height:23px; vertical-align:middle; ">교육행사기간</caption>
- <caption id="caption8" class="cell_1" style="left:668px; top:629px; width:82px; height:23px; vertical-align:middle; ">1일교육시간</caption>
- <caption id="caption13" class="cell_1" style="left:380px; top:653px; width:80px; height:23px; vertical-align:middle; ">장소</caption>
- <caption id="caption14" class="cell_1" style="left:668px; top:653px; width:82px; height:23px; vertical-align:middle; ">참석자</caption>
- <caption id="caption16" class="cell_1" style="left:851px; top:653px; width:54px; height:23px; vertical-align:middle; ">담당자</caption>
- <caption id="caption9" class="cell_1" style="left:2px; top:653px; width:80px; height:23px; vertical-align:middle; ">교육행사명</caption>
- <line id="line2" class="line_3" style="x1:0px; y1:739px; x2:1189px; y2:739px; "/>
- <select1 id="combo1" ref="/root/main/cond/condinfo/rgstteamflag" appearance="minimal" style="left:1055px; top:654px; width:135px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/A0525list/A0525[cdid!='']">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption17" class="cell_1" style="left:975px; top:653px; width:75px; height:23px; vertical-align:middle; ">구분</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|