123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261 |
- <?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="">
- <send>
- <reqdata/>
- </send>
- <cond>
- <deptnm/>
- <deptcd>deptcd</deptcd>
- <deptdownyn/>
- <relicd/>
- <emplnm/>
- <ddflag/>
- <fromdd/>
- <todd/>
- <depth/>
- </cond>
- <main>
- <religinfo>
- <relist>
- <deptnm/>
- <deptposnm/>
- <emplnm/>
- <rrgstno/>
- <jobposnm/>
- <jobtitlnm/>
- <relinm/>
- <baptnm/>
- <baptdd/>
- <confdd/>
- <festdd/>
- <church/>
- <birthdd/>
- </relist>
- </religinfo>
- <tree>
- <item>
- <depth/>
- <deptcd/>
- <deptupcd/>
- <depthngnm/>
- <pathcd/>
- </item>
- </tree>
- </main>
- <hidden>
- <relign>
- <R0137/>
- </relign>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <!-- 공통코드 조회를 위한 submission -->
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRZBC00105" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <!-- 교직원종교현황조회 submission -->
- <submission id="TRAYA02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/religinfo"/>
- <submission id="TRAYA02502" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/main/tree"/>
- </model>
- <!-- 공통스크립트 import -->
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/common.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <!--교직원종교현황에서 사용하는 스크립트 import -->
- <script type="javascript" src="../../../ast/fthcnstweb/js/SMAYA02500.js"/>
- </xhtml:head>
- <xhtml:body guideline="2,754;1,1196;1,1195;1,1195;1,1195;2,755;1,1193;1,1197;1,1196;1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:771px; ">
- <treeview id="trv_deptlist" ref="/root/main/tree/item" expanddepth="2" image="../../../com/commonweb/images/icon_folder_close.gif" itemsettype="depth" selectedimage="../../../com/commonweb/images/icon_folder_open.gif" style="left:0px; top:30px; width:290px; height:710px; ">
- <itemset nodeset="/root/main/tree/item">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- <depth ref="depth"/>
- <upcode ref="deptupcd"/>
- </itemset>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
-
- var idx = trv_deptlist.focusIndex + 1; //현재 선택된 아이템의 인덱스
-
- var deptcd = model.getValue(xTreePath + "/item[" + idx + "]/deptcd"); //현재선택한부서코드
- var deptnm = model.getValue(xTreePath + "/item[" + idx + "]/deptnm"); //현재선택한부서명
- var deptupcd = model.getValue(xTreePath + "/item[" + (idx+1) + "]/deptupcd"); //현재선택한노드하위의상위부서코드
- var depth = model.getValue(xTreePath + "/item[" + idx + "]/depth"); //현재선택한부서의레벨
- var deptdownyn = '';
-
- //선택한 부서코드와 선택부서밑의부서의 상위부서코드를 비교하여 하위부서가 존재하는지 체크
- if(deptcd != deptupcd){
- deptdownyn = 'N';
- }else{
- deptdownyn = 'Y';
- }
-
- //부서리스트 트리 선택시 조건에 deptcd, deptupcd, deptnm, depth set한다.
- model.setValue(xCondPath + '/deptdownyn', deptdownyn);
- model.setValue(xCondPath + '/deptcd', deptcd);
- model.setValue(xCondPath + '/deptnm', deptnm);
- model.setValue(xCondPath + '/depth', depth);
-
- model.refresh();
- ]]>
- </script>
- </treeview>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:290px; y2:25px; "/>
- <caption id="caption2" class="tit_2" style="left:5px; top:10px; width:145px; height:13px; ">부서 리스트</caption>
- <group id="grp_sea" style="left:295px; top:3px; width:900px; height:72px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:898px; height:70px; "/>
- <line id="line13" class="line_4" style="x1:780px; y1:25px; x2:780px; y2:47px; "/>
- <caption id="caption3" class="search_name" style="left:10px; top:15px; width:105px; height:17px; ">부 서 :</caption>
- <caption id="caption1" class="search_name" style="left:255px; top:15px; width:110px; height:17px; ">교 직 원 명 :</caption>
- <input id="ipt_emplnm" ref="/root/cond/emplnm" class="input_search" style="left:375px; top:15px; width:135px; height:19px; "/>
- <!-- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == 13){
-
- fSearch();
- model.refresh();
- }
- ]]>
- </script>
- </input>-->
- <caption id="caption5" class="search_name" style="left:10px; top:40px; width:74px; height:17px; ">구 분 :</caption>
- <button id="btn_search" class="btn1_letter2" style="left:790px; top:25px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <input id="ipt_deptcd" ref="/root/cond/deptcd" class="output_fix" disabled="false" visibility="hidden" style="left:165px; top:5px; width:135px; height:19px; "/>
- <input id="input1" ref="/root/cond/deptdownyn" visibility="hidden" style="left:755px; top:45px; width:100px; height:19px; "/>
- <input id="ipt_fromdd" ref="/root/cond/fromdd" class="input_default" disabled="true" inputtype="date" style="left:420px; top:40px; width:90px; height:19px; "/>
- <caption id="caption9" class="search_no_b" style="left:515px; top:40px; width:12px; height:17px; ">~</caption>
- <input id="ipt_todd" ref="/root/cond/todd" class="input_default" disabled="true" inputtype="date" style="left:530px; top:40px; width:90px; height:19px; "/>
- <caption id="caption7" class="search_name" style="left:530px; top:15px; width:74px; height:17px; ">종 교 :</caption>
- <input id="ipt_deptnm" ref="/root/cond/deptnm" class="output_fix" disabled="true" style="left:90px; top:15px; width:135px; height:19px; "/>
- </group>
- <datagrid id="grd_religion" nodeset="/root/main/religinfo/relist" autoresize="true" caption="부서^부서위치^이름^주민번호^직위^직책^종교^세례명^세례일^견진일^영명축일^교회명^생일^입사일자^emplno" colsep="^" colwidth="99, 93, 68, 100, 85, 92, 71, 95, 85, 85, 75, 131, 85, 85, 90" dataheight="25" defaultrows="1" explorerbar="sortshowmove" extendlastcol="scroll" frozencols="6" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:295px; top:101px; width:900px; height:639px; ">
- <col ref="deptnm" style="text-align:left; "/>
- <col ref="deptposnm"/>
- <col ref="emplnm" style="text-align:center; "/>
- <col ref="rrgstno" style="text-align:center; "/>
- <col ref="jobposnm"/>
- <col ref="jobtitlnm"/>
- <col ref="relinm"/>
- <col ref="baptnm"/>
- <col ref="baptdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="confdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="festdd" style="text-align:center; "/>
- <col ref="church"/>
- <col ref="birthdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="entcodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="emplno" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_religion.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- //교직원정보관리팝업호출
- var curRow = grd_religion.row;
- //var emplno = model.getValue(xGridPath + '[' + curRow + ']/emplno');
- //setParameter('emplno', emplno);
- //modal("SMAYA04600",1,100,100);
- modal("SMAYA04600", 1,100, 100, "SMAYA04600", xGridPath + '[' + curRow + ']/emplno', "/root/main/cond/emplno");
- ]]>
- </script>
- </datagrid>
- <button id="bt_rgst" class="btn4_letter3" style="left:1127px; top:746px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInit();
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter2" style="left:1150px; top:75px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPrint();
- ]]>
- </script>
- </button>
- <button id="button11" class="btn2_letter4" style="left:1083px; top:75px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveExcel();
- ]]>
- </script>
- </button>
- </group>
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:181px; height:14px; ">교직원 종교현황조회</caption>
- </group>
- <line id="line2" class="line_1" style="x1:296px; y1:111px; x2:1193px; y2:110px; "/>
- <select1 id="cmb_relign" ref="/root/cond/relicd" class="combo_search" appearance="minimal" style="left:910px; top:31px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/relign/R0137">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.dispatch('btn_search');
- ]]>
- </script>
- </select1>
- <select1 id="rdo_ddflag" ref="/root/cond/ddflag" appearance="full" cellspacing="6" cols="5" rows="1" overflow="visible" style="left:385px; top:58px; width:315px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>해당없음</label>
- <value>none</value>
- </item>
- <item>
- <label>세례일</label>
- <value>bapt</value>
- </item>
- <item>
- <label>견진일</label>
- <value>conf</value>
- </item>
- <item>
- <label>영명축일</label>
- <value>fest</value>
- </item>
- <item>
- <label>생일</label>
- <value>birth</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- var ddflag = model.getValue(xCondPath + '/ddflag');
- fIsEnableDate(ddflag);
- model.dispatch('btn_search');
- ]]>
- </script>
- </select1>
- <caption id="caption4" class="tit_2" style="left:300px; top:90px; width:157px; height:13px; ">교직원 종교현황 리스트</caption>
- </xhtml:body>
- </xhtml:html>
|