123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMAYA03000.기타원목활동조회.xrw
- * 설 명 : 기타원목활동조회
- * 작 성 자 : 김다영
- * 작 성 일 : 2007.11.10
- * 수정이력 :
- * 기 타 :
- -->
- <?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>E</clsflag>
- <scrndispyn/>
- <clslevl/>
- </cmbcond>
- <cond>
- <reffromdd/>
- <reftodd/>
- <clsflag>E</clsflag>
- <clssupcd/>
- <conslrid/>
- <sort/>
- <clscd/>
- </cond>
- <remfthlist>
- <remfthlistinfo>
- <clssupnm/>
- <clsnm/>
- <conslrnm/>
- <fthactdd/>
- <acttims/>
- <acttmmnt/>
- <actspec/>
- <conslrid/>
- <clscd/>
- </remfthlistinfo>
- <totaltime>
- <tottm/>
- <totacttims/>
- </totaltime>
- </remfthlist>
- </main>
- <send>
- <reqdata/>
- </send>
- <init>
- <comcodelist>
- <clssuplist>
- <clssupinfo>
- <clssupcd/>
- <clssupnm>전체</clssupnm>
- </clssupinfo>
- </clssuplist>
- <schecnts_kindcmblist/>
- <conslrlist>
- <conslrlistinfo>
- <conslrid/>
- <conslrnm>전체</conslrnm>
- </conslrlistinfo>
- </conslrlist>
- </comcodelist>
- <jobrespcd/>
- </init>
- <hidden/>
- </root>
- </instance>
- <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"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- fGetComCdList();
- fGetJobrespcd();
- cmb_clssupcd.select(0);
-
- ]]>
- </script>
- <submission id="TRZBC00101" method="post"/>
- <submission id="TRAYA00101" ref="/root/send/reqdata" method="post" resultref="/root/init/comcodelist/conslrlist"/>
- <submission id="TRAYA03001" ref="/root/send/reqdata" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/remfthlist"/>
- <submission id="TRAYA03002" ref="/root/main/cmbcond" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/init/comcodelist/clssuplist"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /**========================================================================================================================================
- * 공통코드조회(항목구분)
- =========================================================================================================================================*/
- function fGetComCdList(){
- // 그리드초기화
- model.removeNodeset("/root/main/remfthlist/remfthinfo");
- // 오늘 날짜로 세팅
- var curDt = getCurrentDate();
- model.setValue(ipt_srchfromdd.attribute("ref") , curDt);
- model.setValue(ipt_srchtodd.attribute("ref") , curDt);
-
- model.removeNodeset(grd_remfthlist.nodeset);
-
-
- // 원목자 조회
- model.makeValue("/root/send/reqdata/joblncd", "B");
- submit("TRAYA00101", false);
- addComboItem("cmb_conslrid", "전체", "", "above");
-
- model.setValue("/root/main/cmbcond/clsflag", "E");
- model.setValue("/root/main/cmbcond/scrndispyn", "Y");
- model.setValue("/root/main/cmbcond/clslevl", "2");
- submit("TRAYA03002", false);
- addComboItem("cmb_clssupcd", "전체", "", "above");
-
- var code = getUserInfo('jobrespcd');
-
- //model.setValue(cmb_clssupcd.attribute("ref") ,"E");
- model.refresh();
- }
-
- /**========================================================================================================================================
- * 기타원목활동조회
- =========================================================================================================================================*/
- function fGetRemFthList(){
- model.removeNodeset("/root/send/reqdata");
- model.makeNode("/root/send/reqdata");
- model.copyNode("/root/send/reqdata", "/root/main/cond");
-
- submit("TRAYA03001");
-
- }
- /**========================================================================================================================================
- * 기타원목활동리스트 출력
- =========================================================================================================================================*/
- function fListPrnt(){
- exeReportPreview("RPAYA03001", "XMLSTR");
- }
- /**========================================================================================================================================
- * 기타원목활동리스트 초기화
- =========================================================================================================================================*/
- function fInitialize()
- {
- // 그리드초기화
- model.removeNodeset("/root/main/remfthlist/remfthinfo");
- model.resetInstanceNode("/root/main/remfthlist/totaltime/tottm");
-
- // 오늘 날짜로 세팅
- var curDt = getCurrentDate();
- model.setValue(ipt_srchfromdd.attribute("ref") , curDt);
- model.setValue(ipt_srchtodd.attribute("ref") , curDt);
-
- model.removeNodeset(grd_remfthlist.nodeset);
-
- cmb_conslrid.select(0);
- cmb_clssupcd.select(0);
-
- model.refresh();
-
- }
- /**========================================================================================================================================
- * 원목자 권한
- =========================================================================================================================================*/
- function fGetJobrespcd(){
-
- //사용자ID (입력자 또는 로그인한 사용자ID)
-
- var userid = getUserInfo("userid");
- model.setValue(cmb_conslrid.attribute("ref"), userid);
-
-
- model.refresh();
-
- var code = getUserInfo('jobrespcd');
- if(code == '1070' || code == '1020' || code =='1030'){
- cmb_conslrid.disabled = false;
- }else{
- cmb_conslrid.disabled = true;
- }
- }
-
- ]]>
- </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:147px; 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="btn_search0" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </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:50px; width:190px; height:14px; ">기타 원목활동내역</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:69px; "/>
- <group id="group4" style="left:0px; top:5px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <button id="button2" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetRemFthList();
- ]]>
- </script>
- </button>
- <caption id="caption22" class="search_no_b" style="left:195px; top:10px; width:12px; height:17px; ">~</caption>
- <caption id="caption23" class="search_name" style="left:605px; top:10px; width:80px; height:17px; ">원목자 :</caption>
- <select1 id="cmb_conslrid" ref="/root/main/cond/conslrid" class="combo_default" appearance="minimal" style="left:690px; top:10px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcodelist/conslrlist/conslrlistinfo">
- <label ref="conslrnm"/>
- <value ref="conslrid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption25" class="search_name" style="left:20px; top:10px; width:60px; height:17px; ">기간 :</caption>
- <caption id="caption26" class="search_name" style="left:355px; top:10px; width:86px; height:17px; ">항목구분 :</caption>
- <line id="line2" style="x1:1113px; y1:7px; x2:1113px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="ipt_srchfromdd" ref="/root/main/cond/reffromdd" navindex="13" class="input_default" inputtype="date" style="left:90px; top:10px; width:100px; height:19px; "/>
- <input id="ipt_srchtodd" ref="/root/main/cond/reftodd" navindex="13" class="input_default" inputtype="date" style="left:210px; top:10px; width:100px; height:19px; "/>
- <select1 id="cmb_clssupcd" ref="/root/main/cond/clssupcd" class="combo_default" appearance="minimal" showvalue="false" style="left:450px; top:10px; width:135px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcodelist/clssuplist/clssupinfo">
- <label ref="clssupnm"/>
- <value ref="clssupcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption1" class="search_name" style="left:840px; top:11px; width:91px; height:17px; ">정렬기준 :</caption>
- <select1 id="rdo_sort" ref="/root/main/cond/sort" overflow="visible" appearance="full" rows="1" cols="4" cellspacing="6" style="left:935px; top:11px; width:125px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>일자</label>
- <value>1</value>
- </item>
- <item>
- <label>항목구분</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fGetRemFthList();
- ]]>
- </script>
- </select1>
- </group>
- <datagrid id="grd_remfthlist" nodeset="/root/main/remfthlist/remfthlistinfo" autoresize="true" caption="활동일자^항목^하위항목^담당원목자^수행횟수^소요시간^비고^clscd" colwidth="119, 151, 115, 100, 83, 83, 507, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" colsep="^" style="left:0px; top:70px; width:1190px; height:660px; ">
- <col ref="fthactdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="clssupnm"/>
- <col ref="clsnm"/>
- <col ref="conslrnm" style="text-align:center; "/>
- <col ref="acttims" format="####" style="text-align:center; "/>
- <col ref="acttmmnt" style="text-align:center; "/>
- <col ref="actspec" autonext="true" allowuserresize="true"/>
- <col ref="clscd" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_remfthlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="btn_prntlst" class="btn2_letter2" style="left:1135px; top:44px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fListPrnt();
- ]]>
- </script>
- </button>
- <caption id="caption4" class="cell_1" style="left:937px; top:43px; width:70px; height:23px; text-align:center; vertical-align:middle; ">총소요시간</caption>
- <input id="input1" ref="/root/main/remfthlist/totaltime/tottm" disabled="true" style="left:1010px; top:45px; width:110px; height:19px; text-align:right; "/>
- <caption id="caption2" class="cell_1" style="left:807px; top:43px; width:70px; height:23px; text-align:center; vertical-align:middle; ">총수행횟수</caption>
- <input id="input2" ref="/root/main/remfthlist/totaltime/totacttims" disabled="true" style="left:880px; top:45px; width:50px; height:19px; text-align:right; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|