123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259 |
- <?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>
- <cond>
- <doctrinecd>D1</doctrinecd>
- <doctrinetrgtmanposcd/>
- <refattdncfromdd/>
- <refattdnctodd/>
- <sort>2</sort>
- <trgtmannm/>
- <lactrnm/>
- <educstatflagcd/>
- </cond>
- <doctrineprcslist>
- <doctrineprcslistinfo>
- <doctrinenm/>
- <doctrinetrgtmanposnm/>
- <trgtmannm/>
- <attdncdd/>
- <lactrnm/>
- <doctrineprogrs/>
- <statflagnm/>
- <statdd/>
- <trgtmanid/>
- <lactrid/>
- <doctrinecd/>
- <doctrinetrgtmanposcd/>
- <statflagcd/>
- </doctrineprcslistinfo>
- </doctrineprcslist>
- </main>
- <send>
- <reqdata/>
- </send>
- <init>
- <comcodelist>
- <doctrinecd_cmblist/>
- <doctrinetrgtmanposcd_cmblist>
- </doctrinetrgtmanposcd_cmblist>
- <statflagcd_cmblist/>
- <educstatflagcd_cmblist/>
- </comcodelist>
- </init>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <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="TRAYA01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/doctrineprcslist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript">
- <![CDATA[
- //화면 오픈시
- function fInit() {
- //그리드 초기화
- model.removeNodeset("/root/main/doctrineprcslist/doctrineprcslistinfo");
-
- //조회조건 콤보리스트 셋팅(교리명, 대상자소속)
- zbcfGetCodeList(new Array("A0211", "A0215", "A0213"), new Array("/root/init/comcodelist/doctrinecd_cmblist", "/root/init/comcodelist/educstatflagcd_cmblist", "/root/init/comcodelist/statflagcd_cmblist"), true);
-
- zbcfGetKindCodeList(
- new Array("A0008"), //업무규칙
- new Array( "A0212"), //코드군
- new Array("/root/init/comcodelist/doctrinetrgtmanposcd_cmblist"), //노드
- true, //minimum : true TRZBC00105
- new Array("dispseq"), //sorting 항목
- new Array("asc")
- );
- addComboItem("cmb_trgtmanposcd", "", "", "above");
-
- //조회기간 오늘 날짜로 세팅
- var CurrentDate = getCurrentDate();
- model.setValue("/root/main/cond/refattdncfromdd", CurrentDate.substr(0, 6) + "01");
- model.setValue("/root/main/cond/refattdnctodd", CurrentDate);
-
- cmb_trgtmanposcd.select(0);
- rdo_educstatflagcd.select(0);
-
- model.refresh();
- }
-
- //조회
- function fPrcsListRef() {
-
- if (ipt_trgtmannm.currentText.length > 0 && ipt_trgtmannm.currentText.length < 2) {
- messageBox("대상자명은 2글자 이상으로 해주십시요!","E999","");
- model.setFocus("ipt_trgtmannm");
- return;
- }
-
- if (ipt_lactrnm.currentText.length > 0 && ipt_lactrnm.currentText.length < 2) {
- messageBox("강사명은 2글자 이상으로 해주십시요!","E999","");
- model.setFocus("ipt_lactrnm");
- return;
- }
-
- model.removeNodeset("/root/send/reqdata");
- model.makeNode("/root/send/reqdata");
- model.copyNode("/root/send/reqdata","/root/main/cond");
- // reqGetDoctrinePrcsListInfo
- // getDoctrinePrcsListInfo
- submit("TRAYA01101");
- }
-
- // 출력
- function fPreview()
- {
- exeReportPreview("RPAYA01101", "XMLSTR");
- }
-
- //교육상태 콤보 선택시
- function fSelectEducStatFlag() {
- var educstatflagcd = model.getValue("/root/main/cond_memb/educstatflagcd");
- //alert(educstatflagcd);
- if (educstatflagcd == 'ES1') { //교육중
- cmb_statflagcd1.disabled = true;
- ipt_statfromdd.disabled = true;
- ipt_stattodd.disabled = true;
- cmb_statflagcd1.value = "";
- } else if (educstatflagcd == 'ES2') { //교육종결
- cmb_statflagcd1.disabled = false;
- ipt_statfromdd.disabled = false;
- ipt_stattodd.disabled = false;
-
- cmb_statflagcd1.select(0);
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1194;" 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:207px; height:14px; ">교리진행조회</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="group1" style="left:0px; top:10px; width:1194px; height:65px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:60px; "/>
- <button id="button6" class="btn1_letter2" style="left:1123px; top:20px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPrcsListRef();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1107px; y1:10px; x2:1107px; y2:53px; "/>
- <input id="input7" ref="/root/main/cond/refattdnctodd" class="input_search" inputtype="date" style="left:984px; top:10px; width:100px; height:19px; "/>
- <caption id="caption34" class="search_name" style="left:15px; top:10px; width:89px; height:17px; ">교리명 :</caption>
- <caption id="caption36" class="search_name" style="left:295px; top:10px; width:104px; height:17px; ">대상자 소속 :</caption>
- <caption id="caption39" class="search_no_b" style="left:968px; top:10px; width:12px; height:17px; ">~</caption>
- <caption id="caption17" class="search_name" style="left:765px; top:10px; width:94px; height:17px; ">출석일자 :</caption>
- <input id="input5" ref="/root/main/cond/refattdncfromdd" class="input_search" inputtype="date" style="left:865px; top:10px; width:100px; height:19px; "/>
- <select1 id="rdo_doctrinenm" ref="/root/main/cond/doctrinecd" class="radio_search" overflow="visible" appearance="full" cellspacing="5" cols="2" rows="1" style="left:115px; top:10px; width:165px; height:15px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/comcodelist/doctrinecd_cmblist/A0211">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fPrcsListRef();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_trgtmanposcd" ref="/root/main/cond/doctrinetrgtmanposcd" class="combo_search" appearance="minimal" style="left:415px; top:10px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcodelist/doctrinetrgtmanposcd_cmblist/A0008A0212">5
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:530px; top:35px; width:95px; height:17px; ">정렬기준 :</caption>
- <select1 id="radio1" ref="/root/main/cond/sort" overflow="visible" appearance="full" cellspacing="6" cols="3" rows="1" style="left:630px; top:35px; width:240px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>출결일자</label>
- <value>2</value>
- </item>
- <item>
- <label>대상자명</label>
- <value>1</value>
- </item>
- <item>
- <label>강사명</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fPrcsListRef();
- ]]>
- </script>
- </select1>
- <input id="ipt_lactrnm" ref="/root/main/cond/lactrnm" class="input_default" imemode="hangul" appearance="input" style="left:630px; top:10px; width:100px; height:19px; "/>
- <input id="ipt_trgtmannm" ref="/root/main/cond/trgtmannm" class="input_default" imemode="hangul" appearance="input" style="left:395px; top:35px; width:100px; height:19px; "/>
- <caption id="caption7" class="search_name" style="left:295px; top:35px; width:94px; height:17px; ">대상자명 :</caption>
- <caption id="caption8" class="search_name" style="left:530px; top:10px; width:94px; height:17px; ">강사명 :</caption>
- <caption id="caption53" class="search_name" style="left:15px; top:35px; width:89px; height:17px; ">교육상태 :</caption>
- <select1 id="rdo_educstatflagcd" ref="/root/main/cond/educstatflagcd" class="radio_search" overflow="visible" appearance="full" cellspacing="15" cols="2" rows="1" style="left:115px; top:35px; width:155px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/comcodelist/educstatflagcd_cmblist/A0215">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSelectEducStatFlag();
- ]]>
- </script>
- </select1>
- </group>
- <datagrid id="grd_doctrineprcslist" nodeset="/root/main/doctrineprcslist/doctrineprcslistinfo" autoresize="true" caption="교리명^대상자 소속^대상자명^출결일자^강사명^교리진도^상태구분^상태일자" colsep="^" colwidth="120, 120, 120, 120, 150, 321, 100, 120" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:100px; width:1194px; height:642px; ">
- <col disabled="true" ref="doctrinenm" style="text-align:center; "/>
- <col disabled="true" ref="doctrinetrgtmanposnm" style="text-align:center; "/>
- <col ref="trgtmannm" style="text-align:center; "/>
- <col ref="attdncdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="lactrnm" style="text-align:center; "/>
- <col ref="doctrineprogrs"/>
- <col disabled="true" ref="statflagnm" style="text-align:center; "/>
- <col ref="statdd" format="yyyy-mm-dd" style="text-align:center; "/>
- </datagrid>
- <caption id="caption1" class="tit_2" style="left:5px; top:81px; width:183px; height:13px; ">교리대상자 진행 리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:96px; x2:1194px; y2:96px; "/>
- <button id="btn_print" class="btn2_letter2" style="left:1130px; top:76px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPreview();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <line id="line37" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|