SMRCS01100_지원자통합관리.xrw 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>SMRPD02800_접수및지원현황</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <volntprescondlist>
  12. </volntprescondlist>
  13. </list>
  14. </main>
  15. <send>
  16. <req>
  17. <yy/>
  18. <instcd/>
  19. <deptcd/>
  20. <deptnm/>
  21. <appfrmlrg/>
  22. <appfrmsml/>
  23. <emplno/>
  24. <name/>
  25. </req>
  26. <suppcost>
  27. <yy/>
  28. <instcd/>
  29. <appfrmno/>
  30. <suppcost_1/>
  31. <suppcost_2/>
  32. <suppcost_3/>
  33. <suppcost_4/>
  34. <suppcost_5/>
  35. <curncyunit/>
  36. </suppcost>
  37. </send>
  38. <init>
  39. <comcd>
  40. <R03251_temp>
  41. <R0326>
  42. <R0326>
  43. <R0326>
  44. <cdnm/>
  45. <cdid/>
  46. </R0326>
  47. </R0326>
  48. </R0326>
  49. </R03251_temp>
  50. </comcd>
  51. </init>
  52. </root>
  53. </instance>
  54. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  55. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  56. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  57. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  58. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  59. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  60. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  61. <script type="javascript" ev:event="xforms-ready">
  62. <![CDATA[
  63. fInitialize();
  64. fAppfrmsml();
  65. ]]>
  66. </script>
  67. <submission id="TRRPD02801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/list"/>
  68. <submission id="TXRPD02801" ref="/root/send/suppcost" resultref="/root/temp"/>
  69. <submission id="TRZBC00122" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  70. </model>
  71. <script type="javascript">
  72. <![CDATA[
  73. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  74. function fInitialize() {
  75. var today = getCurrentDate();
  76. var cur_yy = parseInt(today.substring(0, 4));
  77. model.setValue("/root/send/req/yy", cur_yy);
  78. misfComboComCdListMulti("Z0007,R0325", "cmb_instcd,cmb_appfrmlrg", null, "Y");
  79. }
  80. function fsearch() {
  81. if (ipt_yy.value == ""){
  82. messageBox("연도는","I003");
  83. return;
  84. }
  85. submit("TRRPD02801");
  86. }
  87. //콤보에 공통코드 Setting
  88. /*
  89. pcdgrupid : 공통코드군
  90. pcontrol_name : Data를 받을 Control
  91. */
  92. function rthfComboComCdList(pcdgrupid, pcontrol_name,pall) {
  93. var control_id = pcontrol_name.attribute("id");
  94. var comcd_node = "/root/send/comcdref";
  95. var comcd_rsltnode = "/root/init/comcd";
  96. var comcd_itemset = "/root/init/" + control_id;
  97. model.removeNodeset(comcd_node);
  98. model.removeNodeset(comcd_itemset);
  99. model.makeNode(comcd_node);
  100. model.makeNode(comcd_node + "/cdgrupid");
  101. model.makeNode(comcd_node + "/cdid");
  102. model.makeNode(comcd_node + "/cdnm");
  103. model.makeNode(comcd_node + "/refcond");
  104. model.makeNode(comcd_rsltnode);
  105. model.makeNode(comcd_itemset);
  106. pcontrol_name.choices.itemset.attribute("nodeset") = comcd_itemset+"/comcodelist";
  107. pcontrol_name.choices.itemset.label.attribute("ref") = "detldesc";
  108. pcontrol_name.choices.itemset.value.attribute("ref") = "cdid";
  109. pcontrol_name.refresh();
  110. model.setValue(comcd_node + "/cdgrupid", pcdgrupid);
  111. model.setValue(comcd_node + "/cdid","%");
  112. model.setValue(comcd_node + "/cdnm","%");
  113. model.removeChild("TRRPZ00301");
  114. model.createChild("xforms:submission", "id:TRRPZ00301;mediatype:application/x-www-form-urlencoded; method:post; ref:" + comcd_node + "; resultref:" + comcd_rsltnode + "; ");
  115. submit("TRRPZ00301");
  116. if(pall != null && pall == "Y")
  117. {
  118. /*
  119. model.makeValue(comcd_itemset+"/comcodelist[" +1+ "]/cdnm", "전체");
  120. model.makeValue(comcd_itemset+"/comcodelist[" +1+ "]/cdid", "");
  121. sourcenode = document.models(0).instances(0).selectSingleNode(comcd_rsltnode);
  122. tarnode = document.models(0).instances(0).selectSingleNode(comcd_itemset);
  123. var sourcenodelist = sourcenode.childNodes;
  124. while (childNode = sourcenodelist.nextNode())tarnode.appendChild(childNode);
  125. */
  126. model.makeValue(comcd_itemset+"/comcodelist[" +1+ "]/detldesc", "전체");
  127. model.makeValue(comcd_itemset+"/comcodelist[" +1+ "]/cdid", "");
  128. sourcenode = document.models(0).instances(0).selectSingleNode(comcd_rsltnode);
  129. tarnode = document.models(0).instances(0).selectSingleNode(comcd_itemset);
  130. cnt = 1;
  131. var sourcenodelist = sourcenode.childNodes;
  132. while (childNode = sourcenodelist.nextNode())
  133. {
  134. model.makeValue(comcd_itemset+"/comcodelist[" +(cnt + 1)+ "]/detldesc", childNode.getXPathString(comcd_rsltnode + "/comcodelist[" +cnt + "]/detldesc"));
  135. model.makeValue(comcd_itemset+"/comcodelist[" +(cnt + 1)+ "]/cdid", childNode.getXPathString(comcd_rsltnode + "/comcodelist[" +cnt + "]/cdid"));
  136. cnt++;
  137. }
  138. }
  139. else model.copyNode(comcd_itemset,comcd_rsltnode);
  140. model.refresh();
  141. //if(pcontrol_name.length == 1) pcontrol_name.selectedindex= 0;
  142. }
  143. function fAppfrmsml(){
  144. var supcdid = model.getValue("/root/send/req/appfrmlrg");
  145. var sortfield = "cdnm";
  146. var sortmethod = "asc";
  147. var minimum = "true";
  148. model.removenode("/root/init/comcd/R03251_temp/R0326/R0326");
  149. model.makeNode("/root/init/comcd/R03251_temp/R0326/R0326");
  150. zbcfGetSubCodeList("R0325", supcdid, "R0326", sortfield, sortmethod, minimum, "/root/init/comcd/R03251_temp/R0326/R0326");
  151. addGridComboItem("cmb_appfrmsml", "전체", "","above"); // 소분류 콤보박스에 '전체'를 추가
  152. model.refresh();
  153. }
  154. ]]>
  155. </script>
  156. </xhtml:head>
  157. <xhtml:body guideline="2,763;2,765;" style="margin-left:8; margin-right:8; ">
  158. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  159. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">지원자통합관리</caption>
  160. </group>
  161. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  162. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:61px; "/>
  163. <line id="line207" class="line_1" style="x1:0px; y1:95px; x2:1195px; y2:95px; "/>
  164. <caption id="caption9" class="tit_2" style="left:0px; top:80px; width:117px; height:14px; ">지원자List</caption>
  165. <button id="button3" class="btn2_letter4" style="left:1121px; top:74px; width:64px; height:19px; ">
  166. <caption>엑셀저장</caption>
  167. <script type="javascript" ev:event="DOMActivate">
  168. <![CDATA[
  169. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  170. if (fileName != "")
  171. {
  172. grd_volntprescondlist.saveExcel(fileName, "sheetname:sheet1;exportfalsecols:1;");
  173. }
  174. ]]>
  175. </script>
  176. </button>
  177. <datagrid id="grd_volntprescondlist" nodeset="/root/main/list/volntprescondlist" class="datagrid2" caption="학년^학기^교실^세부전공^주민번호^이름^비밀번호^접수상태^정원^접수인원^모집기관명^충원인원" colsep="^" colwidth="49, 73, 160, 150, 100, 75, 97, 71, 60, 60, 110, 58" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="24" rowsep="|" style="left:0px; top:100px; width:1194px; height:615px; font-weight:normal; text-align:center; ">
  178. <col ref="yy"/>
  179. <col ref="instcd"/>
  180. <col ref="appfrmno"/>
  181. <col ref="hosinseqbpno"/>
  182. <col ref="mpphoneno"/>
  183. <col ref="emailaddr"/>
  184. <col ref="acntflag"/>
  185. <col ref="banknm"/>
  186. <col ref="acntno"/>
  187. <col ref="seq" style="text-align:center; "/>
  188. <col ref="appfrmlrgdesc" style="text-align:left; "/>
  189. <col ref="appfrmsmldesc" style="text-align:left; "/>
  190. </datagrid>
  191. <select1 id="cmb_instcd" ref="/root/send/req/instcd" class="combo_default" navindex="1" appearance="minimal" style="left:90px; top:45px; width:155px; height:19px; ">
  192. <choices>
  193. <itemset>
  194. <label/>
  195. <value/>
  196. </itemset>
  197. </choices>
  198. <script type="javascript" ev:event="xforms-value-changed">
  199. <![CDATA[
  200. fsearch();
  201. ]]>
  202. </script>
  203. </select1>
  204. <button id="btn_deptcdhelp" class="icon_search" style="left:471px; top:46px; width:16px; height:16px; ">
  205. <caption/>
  206. <script type="javascript" ev:event="DOMActivate">
  207. <![CDATA[
  208. var precv_list = "deptcd" + "," + "deptnm";
  209. misfOpenPopUpList("02", ipt_deptcd, "", precv_list);
  210. fsearch();
  211. model.refresh();
  212. ]]>
  213. </script>
  214. </button>
  215. <caption id="caption1" class="search_name" style="left:15px; top:46px; width:85px; height:17px; ">기 관 :</caption>
  216. <select1 id="cmb_appfrmlrg" ref="/root/send/req/appfrmlrg" navindex="2" appearance="minimal" style="left:90px; top:20px; width:155px; height:19px; ">
  217. <choices>
  218. <itemset>
  219. <label/>
  220. <value/>
  221. </itemset>
  222. </choices>
  223. <script type="javascript" ev:event="xforms-value-changed">
  224. <![CDATA[
  225. fsearch();
  226. fAppfrmsml();
  227. ]]>
  228. </script>
  229. </select1>
  230. <caption id="caption2" class="search_name" style="left:655px; top:20px; width:101px; height:17px; ">모집구분 :</caption>
  231. <button id="btn_emplnohelp" class="icon_search" style="left:814px; top:46px; width:16px; height:16px; ">
  232. <caption/>
  233. <script type="javascript" ev:event="DOMActivate">
  234. <![CDATA[
  235. var precv_list = "emplno" + "," + "name";
  236. misfOpenPopUpList("01", ipt_emplno, "", precv_list);
  237. fsearch();
  238. model.refresh();
  239. ]]>
  240. </script>
  241. </button>
  242. <input id="ipt_emplnm" ref="/root/send/req/name" class="output_search" style="left:833px; top:45px; width:107px; height:19px; ">
  243. <script type="javascript" ev:event="onkeyup">
  244. <![CDATA[
  245. inputEnterKey("btn_search", "DOMActivate");
  246. ]]>
  247. </script>
  248. </input>
  249. <caption id="caption5" class="search_name" style="left:15px; top:20px; width:86px; height:17px; ">교 정 :</caption>
  250. <input id="ipt_deptnm" ref="/root/send/req/deptnm" class="output_search" style="left:490px; top:45px; width:107px; height:19px; ">
  251. <script type="javascript" ev:event="onkeyup">
  252. <![CDATA[
  253. inputEnterKey("btn_search", "DOMActivate");
  254. ]]>
  255. </script>
  256. </input>
  257. <input id="ipt_emplno" ref="/root/send/req/emplno" class="input_default" style="left:743px; top:45px; width:67px; height:19px; ">
  258. <script type="javascript" ev:event="onkeyup">
  259. <![CDATA[
  260. inputEnterKey("btn_search", "DOMActivate");
  261. ]]>
  262. </script>
  263. </input>
  264. <caption id="caption7" class="search_name" style="left:304px; top:45px; width:91px; height:17px; ">근무 부서 :</caption>
  265. <input id="ipt_deptcd" ref="/root/send/req/deptcd" class="input_default" style="left:400px; top:45px; width:67px; height:19px; ">
  266. <script type="javascript" ev:event="onkeyup">
  267. <![CDATA[
  268. inputEnterKey("btn_search", "DOMActivate");
  269. ]]>
  270. </script>
  271. </input>
  272. <line id="line3" class="line_4" style="x1:1110px; y1:18px; x2:1110px; y2:61px; border-color:#ffe4bb; border-left-style:solid; "/>
  273. <caption id="caption8" class="search_name" style="left:655px; top:45px; width:90px; height:17px; ">세부전공 :</caption>
  274. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:29px; width:56px; height:22px; text-align:left; ">
  275. <caption>조회</caption>
  276. <script type="javascript" ev:event="DOMActivate">
  277. <![CDATA[
  278. fsearch();
  279. ]]>
  280. </script>
  281. </button>
  282. <select1 id="cmb_appfrmsml" ref="/root/send/req/appfrmsml" disabled="false" navindex="3" appearance="minimal" style="left:743px; top:20px; width:135px; height:19px; ">
  283. <choices>
  284. <itemset nodeset="/root/init/comcd/R03251_temp/R0326/R0326/R0326">
  285. <label ref="cdnm"/>
  286. <value ref="cdid"/>
  287. </itemset>
  288. </choices>
  289. <script type="javascript" ev:event="xforms-value-changed">
  290. <![CDATA[
  291. fsearch();
  292. ]]>
  293. </script>
  294. </select1>
  295. <line id="line23" class="line_2" style="x1:730px; y1:720px; x2:1190px; y2:720px; "/>
  296. <select1 id="combo1" ref="/root/send/req/appfrmlrg" navindex="2" appearance="minimal" style="left:500px; top:20px; width:95px; height:19px; ">
  297. <choices>
  298. <itemset>
  299. <label/>
  300. <value/>
  301. </itemset>
  302. </choices>
  303. <script type="javascript" ev:event="xforms-value-changed">
  304. <![CDATA[
  305. fsearch();
  306. fAppfrmsml();
  307. ]]>
  308. </script>
  309. </select1>
  310. <select1 id="combo2" ref="/root/send/req/appfrmlrg" navindex="2" appearance="minimal" style="left:400px; top:20px; width:95px; height:19px; ">
  311. <choices>
  312. <itemset>
  313. <label/>
  314. <value/>
  315. </itemset>
  316. </choices>
  317. <script type="javascript" ev:event="xforms-value-changed">
  318. <![CDATA[
  319. fsearch();
  320. fAppfrmsml();
  321. ]]>
  322. </script>
  323. </select1>
  324. <caption id="caption3" class="search_name" style="left:305px; top:19px; width:93px; height:17px; ">년도/학기 :</caption>
  325. <caption id="caption4" class="search_name" style="left:940px; top:20px; width:101px; height:17px; ">접수상태 :</caption>
  326. <select1 id="radio1" appearance="full" overflow="visible" style="left:1025px; top:17px; width:60px; height:50px; border-style:none; ">
  327. <choices>
  328. <item>
  329. <label>전체</label>
  330. <value/>
  331. </item>
  332. <item>
  333. <label>접수</label>
  334. <value>Y</value>
  335. </item>
  336. <item>
  337. <label>미접수</label>
  338. <value>N</value>
  339. </item>
  340. </choices>
  341. </select1>
  342. </group>
  343. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  344. <line id="line7" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
  345. <button id="button1" class="btn6_letter2" style="left:0px; top:2px; width:92px; height:22px; ">
  346. <caption>출력</caption>
  347. <script type="javascript" ev:event="DOMActivate">
  348. <![CDATA[
  349. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  350. if (fileName != "")
  351. {
  352. grd_volntprescondlist.saveExcel(fileName, "sheetname:sheet1;exportfalsecols:1;");
  353. }
  354. ]]>
  355. </script>
  356. </button>
  357. </group>
  358. </xhtml:body>
  359. </xhtml:html>