123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMAYA03200_성사조회리스트.xrw
- * 설 명 : 성사조회리스트
- * 작 성 자 : 김다영
- * 작 성 일 : 2007.11.19
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <cmbcond>
- <clsflag>C</clsflag>
- <scrndispyn/>
- <clslevl/>
- <clssupcd/>
- <clscd/>
- </cmbcond>
- <divsvclist>
- <divsvcinfo>
- <clsflag/>
- <clsnm/>
- <trgtmannm/>
- <baptnm/>
- <brthdatedd/>
- <cdnm/>
- <unitnm/>
- <pastornm/>
- <divsvcdd/>
- <fromtm/>
- <totm/>
- <plcenm/>
- </divsvcinfo>
- </divsvclist>
- <cond>
- <clssupcd>A</clssupcd>
- <clssupnm/>
- <titlnm/>
- <clscd/>
- <clsnm/>
- <reffromdd/>
- <reftodd/>
- <pastornm/>
- <outerpastoryn/>
- <divsvctrgtmanposcd/>
- <trgtmannm/>
- <sort>1</sort>
- <clsflag>C</clsflag>
- <chk/>
- </cond>
- </main>
- <send>
- <reqdata/>
- </send>
- <init>
- <comcodelist>
- <divsvctrgtmanposcd_cmblist>
- <A0212>
- <cdid/>
- <cdnm/>
- </A0212>
- </divsvctrgtmanposcd_cmblist>
- <clslist>
- <clsinfo>
- <clscd/>
- <clsnm/>
- </clsinfo>
- </clslist>
- <chrgconslrlist>
- <chrgconslrlistinfo>
- <conslrnm/>
- <conslrid/>
- </chrgconslrlistinfo>
- </chrgconslrlist>
- </comcodelist>
- </init>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.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="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- cmb_pastornm.select(0);
- cmb_divsvctrgtmanposcd.select(0);
- cmb_divsvctrgtmanposcd.disabled = true;
- cmb_clscd.select(0);
- cmb_clscd.disabled = true;
- ]]>
- </script>
- <submission id="TRZBC00101" method="post"/>
- <submission id="TRAYA03201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" replace="instance" resultref="/root/main/divsvclist"/>
- <submission id="TRAYA02801" method="post" ref="/root/send/reqdata" resultref="/root/init/comcodelist/chrgconslrlist"/>
- <submission id="TRAYA00101" method="post"/>
- <submission id="TRAYA03002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cmbcond" replace="instance" resultref="/root/init/comcodelist/clssuplist"/>
- <submission id="TRAYA03202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cmbcond" resultref="/root/init/comcodelist/clslist"/>
- <submission id="TRZBC00105" mediatype="application/x-www-form-urlencoded" method="post"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /**========================================================================================================================================
- * 화면 오푼시
- =========================================================================================================================================*/
- function fInit() {
-
- //그리드 초기화
- model.removeNodeset("/root/main/divsvclist/divsvcinfo");
- grd_divsvclist.refresh();
-
- //현재월시작일자 ~ 현재일자로 세팅
- var CurrentDate = getCurrentDate();
- model.setValue("/root/main/cond/reffromdd", CurrentDate.substr(0, 6) + "01");
- model.setValue("/root/main/cond/reftodd", CurrentDate);
- model.refresh();
-
- //대상자 콤보리스트 조회
- zbcfGetCodeList(new Array("A0212"), new Array("/root/init/comcodelist/divsvctrgtmanposcd_cmblist"), true);
- model.refresh();
-
- //주례자 조회
- model.makeValue("/root/send/reqdata/joblncd", "A");
- submit("TRAYA02801", false);
- addComboItem("cmb_pastornm", "전체", "", "above");
-
- //조회구분, 화면표시여부,
- model.setValue("/root/main/cmbcond/clsflag", "C");
- model.setValue("/root/main/cmbcond/scrndispyn", "Y");
- model.setValue("/root/main/cmbcond/clslevl", "3");
- submit("TRAYA03202");
- addComboItem("cmb_clscd", "전체", "", "above");
- model.refresh();
- }
-
- /**========================================================================================================================================
- * 성사구분에 따른 콤보조회
- =========================================================================================================================================*/
- function fSrchDivSvcinfo(clssupcd){
- if(clssupcd == 'A'){
- cmb_clscd.disabled = true;
- model.setValue("/root/main/cmbcond/clssupcd",'A');
- model.refresh();
- }else if (clssupcd == 'B'){
- cmb_clscd.disabled = false ;
- model.setValue("/root/main/cmbcond/clssupcd",'B');
- model.refresh();
- }else if (clssupcd == 'C'){
- cmb_clscd.disabled = false ;
- model.setValue("/root/main/cmbcond/clssupcd",'C');
- model.refresh();
- }
- submit("TRAYA03202");
- addComboItem("cmb_clscd", "전체", "", "above");
- cmb_clscd.select(0);
- model.refresh();
- }
- /**========================================================================================================================================
- * 조회
- =========================================================================================================================================*/
- function fGetDivSvcList(){
- model.removeNodeset("/root/send/reqdata");
- model.makeNode("/root/send/reqdata");
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- submit("TRAYA03201");
- }
-
- /**========================================================================================================================================
- * 출력
- =========================================================================================================================================*/
- function fListPrnt(){
- exeReportPreview("RPAYA03201", "XMLSTR");
- }
-
- /**========================================================================================================================================
- * 외부주례자 체크여부
- =========================================================================================================================================*/
- function fCheck(){
- if (bool1.value == "true")
- {
- cmb_pastornm.disabled = true;
- addComboItem("cmb_pastornm", "전체", "", "above");
- cmb_pastornm.select(0);
- }else{
- cmb_pastornm.disabled = false;
-
- }
- model.refresh();
- }
- /**========================================================================================================================================
- * 그리드 초기화
- =========================================================================================================================================*/
-
- function fClear(){
- model.resetInstanceNode("/root/main/divsvclist/divsvcinfo");
- model.resetInstanceNode("/root/main/cond");
-
- fInit();
- rdo_divsvc.value = 'A';
- rdo_sort.value = '1';
- model.refresh();
-
- }
-
- /**========================================================================================================================================
- * 성사구분에 따른 대상사소속 리스트
- =========================================================================================================================================*/
- function fSrchDivSvcTrgtMan() {
- var divsvc = model.getValue("/root/main/cond/clssupcd");
- var bizid; //업무규칙
- if(divsvc == 'A'){
- bizid = ""
- } else if(divsvc == 'B') {
- bizid = "A0008";
- } else if (divsvc == 'C') {
- bizid = "A0009";
- }
-
- // 초기화
- model.removeNodeset("/root/init/comcodelist/divsvctrgtmanposcd_cmblist");
- model.makeNode("/root/init/comcodelist/divsvctrgtmanposcd_cmblist");
-
- zbcfGetKindCodeList(
- new Array(bizid), //업무규칙
- new Array("A0212"), //코드군
- new Array("/root/init/comcodelist/divsvctrgtmanposcd_cmblist"), //노드
- true, //minimum : true TRZBC00105
- new Array("cdid"), //sorting 항목
- new Array("cdnm")
- );
-
- if (divsvc == 'A') {
- model.makeNode("/root/init/comcodelist/divsvctrgtmanposcd_cmblist/A0212");
- cmb_divsvctrgtmanposcd.choices.itemset.attribute("nodeset") = "/root/init/comcodelist/divsvctrgtmanposcd_cmblist/A0212";
- cmb_divsvctrgtmanposcd.disabled = true;
- model.refresh();
- } else if (divsvc == 'B') {
- cmb_divsvctrgtmanposcd.choices.itemset.attribute("nodeset") = "/root/init/comcodelist/divsvctrgtmanposcd_cmblist/A0008A0212";
- cmb_divsvctrgtmanposcd.disabled = false;
- model.refresh();
- } else if (divsvc == 'C') {
- cmb_divsvctrgtmanposcd.choices.itemset.attribute("nodeset") = "/root/init/comcodelist/divsvctrgtmanposcd_cmblist/A0009A0212";
- cmb_divsvctrgtmanposcd.disabled = false;
- model.refresh();
- }
- addComboItem("cmb_divsvctrgtmanposcd", "전체", "", "above");
- cmb_divsvctrgtmanposcd.refresh();
- cmb_divsvctrgtmanposcd.select(0);
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:225px; height:14px; ">성사정보조회</caption>
- </group>
- <group id="group5" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
- <line id="line37" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- <button id="button38" class="btn4_letter3" style="left:1115px; top:4px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fClear();
- ]]>
- </script>
- </button>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <caption id="caption21" class="tit_2" style="left:0px; top:80px; width:209px; height:14px; ">성사정보조회 리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:100px; x2:1194px; y2:99px; "/>
- <datagrid id="grd_divsvclist" nodeset="/root/main/divsvclist/divsvcinfo" caption="성사/축복식명^대상(자)명^세례명^생년월일^대상자소속^부서명^주례자^성사일자^시작시간^종료시간^장소^장소^장소^장소^장소명^장소^담당자" colsep="^" colwidth="102, 106, 96, 82, 106, 137, 124, 95, 83, 83, 107" dataheight="25" explorerbar="sortshowmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:103px; width:1195px; height:640px; ">
- <![CDATA[>]]>
- <col ref="clsnm" style="text-align:center; "/>
- <col ref="trgtmannm" style="text-align:center; "/>
- <col ref="baptnm" style="text-align:center; "/>
- <col ref="brthdatedd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="cdnm" style="text-align:center; "/>
- <col ref="unitnm" style="text-align:left; "/>
- <col ref="pastornm" style="text-align:center; "/>
- <col ref="fromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="fromtm" format="hh:nn" style="text-align:center; "/>
- <col ref="totm" format="hh:nn" style="text-align:center; "/>
- <col ref="plcenm" style="text-align:left; "/>
- </datagrid>
- <group id="group4" style="left:0px; top:5px; width:1194px; height:63px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:60px; "/>
- <caption id="caption25" class="search_name" style="left:20px; top:10px; width:110px; height:17px; ">성 사 구 분 :</caption>
- <caption id="caption26" class="search_name" style="left:415px; top:10px; width:98px; height:17px; ">성 사 일 :</caption>
- <button id="btn_srch" class="btn1_letter2" style="left:1123px; top:20px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetDivSvcList();
- ]]>
- </script>
- </button>
- <select1 id="rdo_divsvc" ref="/root/main/cond/clssupcd" appearance="full" cellspacing="6" cols="4" rows="1" overflow="visible" style="left:130px; top:10px; width:165px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>성사</label>
- <value>B</value>
- </item>
- <item>
- <label>축복식</label>
- <value>C</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
-
- var clssupcd = model.getValue('/root/main/cond/clssupcd');
- fSrchDivSvcinfo (clssupcd);
- fSrchDivSvcTrgtMan();
- ]]>
- </script>
- </select1>
- <input id="ipt_reffromdd" ref="/root/main/cond/reffromdd" class="input_default" navindex="13" inputtype="date" style="left:515px; top:10px; width:100px; height:19px; "/>
- <input id="ipt_reftodd" ref="/root/main/cond/reftodd" class="input_default" navindex="13" inputtype="date" style="left:635px; top:10px; width:100px; height:19px; "/>
- <caption id="caption9" class="search_no_b" style="left:620px; top:10px; width:12px; height:17px; ">~</caption>
- <caption id="caption1" class="search_name" style="left:20px; top:35px; width:105px; height:17px; ">대상자소속 :</caption>
- <line id="line2" class="line_4" style="x1:1105px; y1:10px; x2:1105px; y2:53px; "/>
- <caption id="caption2" class="search_name" style="left:755px; top:35px; width:101px; height:17px; ">정렬기준 :</caption>
- <select1 id="rdo_sort" ref="/root/main/cond/sort" appearance="full" cellspacing="6" cols="4" rows="1" overflow="visible" style="left:845px; top:35px; width:230px; height:17px; 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>
- <item>
- <label>주례자</label>
- <value>4</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fGetDivSvcList();
- ]]>
- </script>
- </select1>
- <input id="ipt_trgtmannm" ref="/root/main/cond/trgtmannm" imemode="hangul" style="left:515px; top:35px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
-
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- ]]>
- </script>
- </input>
- <select1 id="cmb_clscd" ref="/root/main/cond/clscd" class="combo_default" appearance="minimal" style="left:300px; top:10px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcodelist/clslist/clsinfo">
- <label ref="clsnm"/>
- <value ref="clscd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_pastornm" ref="/root/main/cond/pastornm" class="combo_default" appearance="minimal" style="left:845px; top:10px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcodelist/chrgconslrlist/chrgconslrlistinfo">
- <label ref="conslrnm"/>
- <value ref="conslrid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption12" class="search_name" style="left:755px; top:10px; width:99px; height:17px; ">주 례 자 :</caption>
- <caption id="caption3" class="search_name" style="left:415px; top:35px; width:99px; height:17px; ">대상자명 :</caption>
- <select1 id="cmb_divsvctrgtmanposcd" ref="/root/main/cond/divsvctrgtmanposcd" class="combo_search" appearance="minimal" showvalue="false" style="left:130px; top:35px; width:130px; height:19px; ">
- <choices>
- <itemset>
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <bool id="bool1" checkvalue="Y" ref="/root/main/cond/outerpastoryn" style="left:990px; top:10px; width:25px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCheck();
- ]]>
- </script>
- </bool>
- <caption id="chk_outerpastoryn" style="left:1015px; top:10px; width:62px; height:20px; ">외부주례자</caption>
- </group>
- <button id="button10" class="btn2_letter2" style="left:1130px; top:74px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fListPrnt();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|