SMAYA01100_교리진행조회.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>교리진행조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cond>
  11. <doctrinecd>D1</doctrinecd>
  12. <doctrinetrgtmanposcd/>
  13. <refattdncfromdd/>
  14. <refattdnctodd/>
  15. <sort>2</sort>
  16. <trgtmannm/>
  17. <lactrnm/>
  18. <educstatflagcd/>
  19. </cond>
  20. <doctrineprcslist>
  21. <doctrineprcslistinfo>
  22. <doctrinenm/>
  23. <doctrinetrgtmanposnm/>
  24. <trgtmannm/>
  25. <attdncdd/>
  26. <lactrnm/>
  27. <doctrineprogrs/>
  28. <statflagnm/>
  29. <statdd/>
  30. <trgtmanid/>
  31. <lactrid/>
  32. <doctrinecd/>
  33. <doctrinetrgtmanposcd/>
  34. <statflagcd/>
  35. </doctrineprcslistinfo>
  36. </doctrineprcslist>
  37. </main>
  38. <send>
  39. <reqdata/>
  40. </send>
  41. <init>
  42. <comcodelist>
  43. <doctrinecd_cmblist/>
  44. <doctrinetrgtmanposcd_cmblist>
  45. </doctrinetrgtmanposcd_cmblist>
  46. <statflagcd_cmblist/>
  47. <educstatflagcd_cmblist/>
  48. </comcodelist>
  49. </init>
  50. <hidden/>
  51. </root>
  52. </instance>
  53. <script type="javascript" ev:event="xforms-ready">
  54. <![CDATA[
  55. fInit();
  56. ]]>
  57. </script>
  58. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  59. <submission id="TRZBC00105" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  60. <submission id="TRAYA01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/doctrineprcslist"/>
  61. </model>
  62. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  63. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  64. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  65. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  66. <script type="javascript">
  67. <![CDATA[
  68. //화면 오픈시
  69. function fInit() {
  70. //그리드 초기화
  71. model.removeNodeset("/root/main/doctrineprcslist/doctrineprcslistinfo");
  72. //조회조건 콤보리스트 셋팅(교리명, 대상자소속)
  73. zbcfGetCodeList(new Array("A0211", "A0215", "A0213"), new Array("/root/init/comcodelist/doctrinecd_cmblist", "/root/init/comcodelist/educstatflagcd_cmblist", "/root/init/comcodelist/statflagcd_cmblist"), true);
  74. zbcfGetKindCodeList(
  75. new Array("A0008"), //업무규칙
  76. new Array( "A0212"), //코드군
  77. new Array("/root/init/comcodelist/doctrinetrgtmanposcd_cmblist"), //노드
  78. true, //minimum : true TRZBC00105
  79. new Array("dispseq"), //sorting 항목
  80. new Array("asc")
  81. );
  82. addComboItem("cmb_trgtmanposcd", "", "", "above");
  83. //조회기간 오늘 날짜로 세팅
  84. var CurrentDate = getCurrentDate();
  85. model.setValue("/root/main/cond/refattdncfromdd", CurrentDate.substr(0, 6) + "01");
  86. model.setValue("/root/main/cond/refattdnctodd", CurrentDate);
  87. cmb_trgtmanposcd.select(0);
  88. rdo_educstatflagcd.select(0);
  89. model.refresh();
  90. }
  91. //조회
  92. function fPrcsListRef() {
  93. if (ipt_trgtmannm.currentText.length > 0 && ipt_trgtmannm.currentText.length < 2) {
  94. messageBox("대상자명은 2글자 이상으로 해주십시요!","E999","");
  95. model.setFocus("ipt_trgtmannm");
  96. return;
  97. }
  98. if (ipt_lactrnm.currentText.length > 0 && ipt_lactrnm.currentText.length < 2) {
  99. messageBox("강사명은 2글자 이상으로 해주십시요!","E999","");
  100. model.setFocus("ipt_lactrnm");
  101. return;
  102. }
  103. model.removeNodeset("/root/send/reqdata");
  104. model.makeNode("/root/send/reqdata");
  105. model.copyNode("/root/send/reqdata","/root/main/cond");
  106. // reqGetDoctrinePrcsListInfo
  107. // getDoctrinePrcsListInfo
  108. submit("TRAYA01101");
  109. }
  110. // 출력
  111. function fPreview()
  112. {
  113. exeReportPreview("RPAYA01101", "XMLSTR");
  114. }
  115. //교육상태 콤보 선택시
  116. function fSelectEducStatFlag() {
  117. var educstatflagcd = model.getValue("/root/main/cond_memb/educstatflagcd");
  118. //alert(educstatflagcd);
  119. if (educstatflagcd == 'ES1') { //교육중
  120. cmb_statflagcd1.disabled = true;
  121. ipt_statfromdd.disabled = true;
  122. ipt_stattodd.disabled = true;
  123. cmb_statflagcd1.value = "";
  124. } else if (educstatflagcd == 'ES2') { //교육종결
  125. cmb_statflagcd1.disabled = false;
  126. ipt_statfromdd.disabled = false;
  127. ipt_stattodd.disabled = false;
  128. cmb_statflagcd1.select(0);
  129. }
  130. }
  131. ]]>
  132. </script>
  133. </xhtml:head>
  134. <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  135. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  136. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:207px; height:14px; ">교리진행조회</caption>
  137. </group>
  138. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  139. <group id="group1" style="left:0px; top:10px; width:1194px; height:65px; vertical-align:top; ">
  140. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:60px; "/>
  141. <button id="button6" class="btn1_letter2" style="left:1123px; top:20px; width:56px; height:22px; ">
  142. <caption>조회</caption>
  143. <script type="javascript" ev:event="DOMActivate">
  144. <![CDATA[
  145. fPrcsListRef();
  146. ]]>
  147. </script>
  148. </button>
  149. <line id="line13" class="line_4" style="x1:1107px; y1:10px; x2:1107px; y2:53px; "/>
  150. <input id="input7" ref="/root/main/cond/refattdnctodd" class="input_search" inputtype="date" style="left:984px; top:10px; width:100px; height:19px; "/>
  151. <caption id="caption34" class="search_name" style="left:15px; top:10px; width:89px; height:17px; ">교리명 :</caption>
  152. <caption id="caption36" class="search_name" style="left:295px; top:10px; width:104px; height:17px; ">대상자 소속 :</caption>
  153. <caption id="caption39" class="search_no_b" style="left:968px; top:10px; width:12px; height:17px; ">~</caption>
  154. <caption id="caption17" class="search_name" style="left:765px; top:10px; width:94px; height:17px; ">출석일자 :</caption>
  155. <input id="input5" ref="/root/main/cond/refattdncfromdd" class="input_search" inputtype="date" style="left:865px; top:10px; width:100px; height:19px; "/>
  156. <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; ">
  157. <choices>
  158. <itemset nodeset="/root/init/comcodelist/doctrinecd_cmblist/A0211">
  159. <label ref="cdnm"/>
  160. <value ref="cdid"/>
  161. </itemset>
  162. </choices>
  163. <script type="javascript" ev:event="xforms-value-changed">
  164. <![CDATA[
  165. fPrcsListRef();
  166. ]]>
  167. </script>
  168. </select1>
  169. <select1 id="cmb_trgtmanposcd" ref="/root/main/cond/doctrinetrgtmanposcd" class="combo_search" appearance="minimal" style="left:415px; top:10px; width:100px; height:19px; ">
  170. <choices>
  171. <itemset nodeset="/root/init/comcodelist/doctrinetrgtmanposcd_cmblist/A0008A0212">5
  172. <label ref="cdnm"/>
  173. <value ref="cdid"/>
  174. </itemset>
  175. </choices>
  176. </select1>
  177. <caption id="caption2" class="search_name" style="left:530px; top:35px; width:95px; height:17px; ">정렬기준 :</caption>
  178. <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; ">
  179. <choices>
  180. <item>
  181. <label>출결일자</label>
  182. <value>2</value>
  183. </item>
  184. <item>
  185. <label>대상자명</label>
  186. <value>1</value>
  187. </item>
  188. <item>
  189. <label>강사명</label>
  190. <value>3</value>
  191. </item>
  192. </choices>
  193. <script type="javascript" ev:event="xforms-value-changed">
  194. <![CDATA[
  195. fPrcsListRef();
  196. ]]>
  197. </script>
  198. </select1>
  199. <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; "/>
  200. <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; "/>
  201. <caption id="caption7" class="search_name" style="left:295px; top:35px; width:94px; height:17px; ">대상자명 :</caption>
  202. <caption id="caption8" class="search_name" style="left:530px; top:10px; width:94px; height:17px; ">강사명 :</caption>
  203. <caption id="caption53" class="search_name" style="left:15px; top:35px; width:89px; height:17px; ">교육상태 :</caption>
  204. <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; ">
  205. <choices>
  206. <itemset nodeset="/root/init/comcodelist/educstatflagcd_cmblist/A0215">
  207. <label ref="cdnm"/>
  208. <value ref="cdid"/>
  209. </itemset>
  210. </choices>
  211. <script type="javascript" ev:event="xforms-select">
  212. <![CDATA[
  213. fSelectEducStatFlag();
  214. ]]>
  215. </script>
  216. </select1>
  217. </group>
  218. <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; ">
  219. <col disabled="true" ref="doctrinenm" style="text-align:center; "/>
  220. <col disabled="true" ref="doctrinetrgtmanposnm" style="text-align:center; "/>
  221. <col ref="trgtmannm" style="text-align:center; "/>
  222. <col ref="attdncdd" format="yyyy-mm-dd" style="text-align:center; "/>
  223. <col ref="lactrnm" style="text-align:center; "/>
  224. <col ref="doctrineprogrs"/>
  225. <col disabled="true" ref="statflagnm" style="text-align:center; "/>
  226. <col ref="statdd" format="yyyy-mm-dd" style="text-align:center; "/>
  227. </datagrid>
  228. <caption id="caption1" class="tit_2" style="left:5px; top:81px; width:183px; height:13px; ">교리대상자 진행 리스트</caption>
  229. <line id="line1" class="line_1" style="x1:0px; y1:96px; x2:1194px; y2:96px; "/>
  230. <button id="btn_print" class="btn2_letter2" style="left:1130px; top:76px; width:42px; height:19px; ">
  231. <caption>출력</caption>
  232. <script type="javascript" ev:event="DOMActivate">
  233. <![CDATA[
  234. fPreview();
  235. ]]>
  236. </script>
  237. </button>
  238. </group>
  239. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  240. <line id="line37" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  241. </group>
  242. </xhtml:body>
  243. </xhtml:html>