SMRCS00600_교원충원등록및조회.xrw 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414
  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>SMRCS00300_교원충원등록</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <lnscityprescond>
  12. <yy/>
  13. <instcd/>
  14. <appfrmno/>
  15. <seq/>
  16. <appfrmlrgdesc/>
  17. <appfrmsmldesc/>
  18. <instnm/>
  19. <deptnm/>
  20. <jobposnm/>
  21. <emplno/>
  22. <emplnm/>
  23. <nati/>
  24. <desctitl/>
  25. <aprvtermfrom/>
  26. <aprvtermto/>
  27. <dayno/>
  28. <dg/>
  29. <suppcost_1/>
  30. <suppcost_2/>
  31. <suppcost_3/>
  32. <suppcost_4/>
  33. <suppcost_5/>
  34. <curncyunit/>
  35. <cmt/>
  36. <hosinseqbpno/>
  37. <mpphoneno/>
  38. <emailaddr/>
  39. <acntflag/>
  40. <banknm/>
  41. <acntno/>
  42. <subtorddrnm/>
  43. </lnscityprescond>
  44. </list>
  45. <indinfo>
  46. <deptnm/>
  47. <jobposnm/>
  48. <emplnm/>
  49. <hosinseqbpno/>
  50. <mpphoneno/>
  51. <emailaddr/>
  52. <acntflag/>
  53. <banknm/>
  54. <acntno/>
  55. </indinfo>
  56. </main>
  57. <send>
  58. <req>
  59. <yy/>
  60. <instcd/>
  61. <deptcd/>
  62. <deptnm/>
  63. <appfrmlrg/>
  64. <appfrmsml/>
  65. <emplno/>
  66. <name/>
  67. <instnm/>
  68. </req>
  69. <suppcost>
  70. <yy/>
  71. <instcd/>
  72. <appfrmno/>
  73. <suppcost_1/>
  74. <suppcost_2/>
  75. <suppcost_3/>
  76. <suppcost_4/>
  77. <suppcost_5/>
  78. <curncyunit/>
  79. </suppcost>
  80. </send>
  81. <init>
  82. <comcd>
  83. <R03251_temp>
  84. <R0326>
  85. <R0326>
  86. <R0326>
  87. <cdnm/>
  88. <cdid/>
  89. </R0326>
  90. </R0326>
  91. </R0326>
  92. </R03251_temp>
  93. </comcd>
  94. </init>
  95. </root>
  96. </instance>
  97. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  98. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  99. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  100. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  101. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  102. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  103. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  104. <script type="javascript" ev:event="xforms-ready">
  105. <![CDATA[
  106. fInitialize();
  107. ]]>
  108. </script>
  109. <submission id="TRRPD02801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/list"/>
  110. <submission id="TXRPD02801" ref="/root/send/suppcost" resultref="/root/temp"/>
  111. <submission id="TRZBC00122" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  112. </model>
  113. <script type="javascript">
  114. <![CDATA[
  115. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  116. function fInitialize() {
  117. var today = getCurrentDate();
  118. var cur_yy = parseInt(today.substring(0, 4));
  119. model.setValue("/root/send/req/yy", cur_yy);
  120. misfComboComCdListMulti("Z0007", "cmb_instcd", null, "Y");
  121. }
  122. function fsearch() {
  123. if (ipt_yy.value == ""){
  124. messageBox("연도는","I003");
  125. return;
  126. }
  127. submit("TRRPD02801");
  128. }
  129. //콤보에 공통코드 Setting
  130. /*
  131. pcdgrupid : 공통코드군
  132. pcontrol_name : Data를 받을 Control
  133. */
  134. function rthfComboComCdList(pcdgrupid, pcontrol_name,pall) {
  135. var control_id = pcontrol_name.attribute("id");
  136. var comcd_node = "/root/send/comcdref";
  137. var comcd_rsltnode = "/root/init/comcd";
  138. var comcd_itemset = "/root/init/" + control_id;
  139. model.removeNodeset(comcd_node);
  140. model.removeNodeset(comcd_itemset);
  141. model.makeNode(comcd_node);
  142. model.makeNode(comcd_node + "/cdgrupid");
  143. model.makeNode(comcd_node + "/cdid");
  144. model.makeNode(comcd_node + "/cdnm");
  145. model.makeNode(comcd_node + "/refcond");
  146. model.makeNode(comcd_rsltnode);
  147. model.makeNode(comcd_itemset);
  148. pcontrol_name.choices.itemset.attribute("nodeset") = comcd_itemset+"/comcodelist";
  149. pcontrol_name.choices.itemset.label.attribute("ref") = "detldesc";
  150. pcontrol_name.choices.itemset.value.attribute("ref") = "cdid";
  151. pcontrol_name.refresh();
  152. model.setValue(comcd_node + "/cdgrupid", pcdgrupid);
  153. model.setValue(comcd_node + "/cdid","%");
  154. model.setValue(comcd_node + "/cdnm","%");
  155. model.removeChild("TRRPZ00301");
  156. model.createChild("xforms:submission", "id:TRRPZ00301;mediatype:application/x-www-form-urlencoded; method:post; ref:" + comcd_node + "; resultref:" + comcd_rsltnode + "; ");
  157. submit("TRRPZ00301");
  158. if(pall != null && pall == "Y")
  159. {
  160. /*
  161. model.makeValue(comcd_itemset+"/comcodelist[" +1+ "]/cdnm", "전체");
  162. model.makeValue(comcd_itemset+"/comcodelist[" +1+ "]/cdid", "");
  163. sourcenode = document.models(0).instances(0).selectSingleNode(comcd_rsltnode);
  164. tarnode = document.models(0).instances(0).selectSingleNode(comcd_itemset);
  165. var sourcenodelist = sourcenode.childNodes;
  166. while (childNode = sourcenodelist.nextNode())tarnode.appendChild(childNode);
  167. */
  168. model.makeValue(comcd_itemset+"/comcodelist[" +1+ "]/detldesc", "전체");
  169. model.makeValue(comcd_itemset+"/comcodelist[" +1+ "]/cdid", "");
  170. sourcenode = document.models(0).instances(0).selectSingleNode(comcd_rsltnode);
  171. tarnode = document.models(0).instances(0).selectSingleNode(comcd_itemset);
  172. cnt = 1;
  173. var sourcenodelist = sourcenode.childNodes;
  174. while (childNode = sourcenodelist.nextNode())
  175. {
  176. model.makeValue(comcd_itemset+"/comcodelist[" +(cnt + 1)+ "]/detldesc", childNode.getXPathString(comcd_rsltnode + "/comcodelist[" +cnt + "]/detldesc"));
  177. model.makeValue(comcd_itemset+"/comcodelist[" +(cnt + 1)+ "]/cdid", childNode.getXPathString(comcd_rsltnode + "/comcodelist[" +cnt + "]/cdid"));
  178. cnt++;
  179. }
  180. }
  181. else model.copyNode(comcd_itemset,comcd_rsltnode);
  182. model.refresh();
  183. //if(pcontrol_name.length == 1) pcontrol_name.selectedindex= 0;
  184. }
  185. ]]>
  186. </script>
  187. </xhtml:head>
  188. <xhtml:body guideline="2,763;2,765;" style="margin-left:8; margin-right:8; ">
  189. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  190. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">교원 충원 등록 및 조회</caption>
  191. </group>
  192. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  193. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:40px; "/>
  194. <line id="line207" class="line_1" style="x1:0px; y1:80px; x2:1195px; y2:80px; "/>
  195. <caption id="caption9" class="tit_2" style="left:0px; top:65px; width:117px; height:13px; ">교원 충원 등록</caption>
  196. <button id="button3" class="btn2_letter4" style="left:1128px; top:60px; width:64px; height:19px; ">
  197. <caption>엑셀저장</caption>
  198. <script type="javascript" ev:event="DOMActivate">
  199. <![CDATA[
  200. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  201. if (fileName != "")
  202. {
  203. grd_lnscityprescond.saveExcel(fileName, "sheetname:sheet1;exportfalsecols:1;");
  204. }
  205. ]]>
  206. </script>
  207. </button>
  208. <select1 id="cmb_instcd" ref="/root/send/req/instcd" class="combo_default" navindex="1" appearance="minimal" style="left:685px; top:20px; width:100px; height:19px; ">
  209. <choices>
  210. <itemset>
  211. <label/>
  212. <value/>
  213. </itemset>
  214. </choices>
  215. <script type="javascript" ev:event="xforms-value-changed">
  216. <![CDATA[
  217. fsearch();
  218. ]]>
  219. </script>
  220. </select1>
  221. <button id="btn_deptcdhelp" class="icon_search" style="left:212px; top:20px; width:16px; height:16px; ">
  222. <caption/>
  223. <script type="javascript" ev:event="DOMActivate">
  224. <![CDATA[
  225. var precv_list = "deptcd" + "," + "deptnm";
  226. misfOpenPopUpList("02", ipt_deptcd, "", precv_list);
  227. fsearch();
  228. model.refresh();
  229. ]]>
  230. </script>
  231. </button>
  232. <caption id="caption1" class="search_name" style="left:595px; top:20px; width:85px; height:17px; ">학 기 :</caption>
  233. <input id="ipt_deptnm" ref="/root/send/req/deptnm" class="output_search" style="left:231px; top:20px; width:120px; height:19px; ">
  234. <script type="javascript" ev:event="onkeyup">
  235. <![CDATA[
  236. inputEnterKey("btn_search", "DOMActivate");
  237. ]]>
  238. </script>
  239. </input>
  240. <caption id="caption7" class="search_name" style="left:35px; top:20px; width:91px; height:17px; ">교 실 :</caption>
  241. <input id="ipt_deptcd" ref="/root/send/req/deptcd" class="input_default" style="left:131px; top:20px; width:78px; height:19px; ">
  242. <script type="javascript" ev:event="onkeyup">
  243. <![CDATA[
  244. inputEnterKey("btn_search", "DOMActivate");
  245. ]]>
  246. </script>
  247. </input>
  248. <line id="line3" class="line_4" style="x1:1110px; y1:14px; x2:1110px; y2:47px; border-color:#ffe4bb; border-left-style:solid; "/>
  249. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:19px; width:56px; height:22px; text-align:left; ">
  250. <caption>조회</caption>
  251. <script type="javascript" ev:event="DOMActivate">
  252. <![CDATA[
  253. fsearch();
  254. ]]>
  255. </script>
  256. </button>
  257. <caption id="caption4" class="search_name" style="left:390px; top:20px; width:86px; height:17px; ">년 도 :</caption>
  258. <input id="ipt_yy" ref="/root/send/req/yy" class="input_s_essential" style="left:480px; top:20px; width:70px; height:19px; ">
  259. <script type="javascript" ev:event="onkeyup">
  260. <![CDATA[
  261. inputEnterKey("btn_search", "DOMActivate");
  262. ]]>
  263. </script>
  264. </input>
  265. <datagrid id="grd_lnscityprescond" nodeset="/root/main/list/lnscityprescond" class="datagrid1" caption="년도^학기^교실명^기관명^정원^현재인원^현재인원^익년도교사인력운영계획^익년도교사인력운영계획^충원(공채전임교원)신청^세부전공^충원사유^신청여부|년도^학기^교실명^기관명^정원^전임교원^임상교수^전임교원^임상교수^충원(공채전임교원)신청^세부전공^충원사유^신청여부" colsep="^" colwidth="80, 98, 153, 187, 69, 60, 60, 70, 70, 100, 120, 79, 70" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="24" rowsep="|" style="left:0px; top:85px; width:1193px; height:625px; font-weight:normal; text-align:center; ">
  266. <col ref="yy"/>
  267. <col ref="instcd"/>
  268. <col ref="appfrmno" type="combo"/>
  269. <col ref="hosinseqbpno" type="combo"/>
  270. <col ref="mpphoneno"/>
  271. <col ref="emailaddr"/>
  272. <col/>
  273. <col ref="acntflag" type="input"/>
  274. <col type="input"/>
  275. <col type="input"/>
  276. <col ref="banknm" type="combo"/>
  277. <col ref="acntno" type="input"/>
  278. <col ref="appfrmlrgdesc" style="text-align:left; "/>
  279. <script type="javascript" ev:event="ondblclick">
  280. <![CDATA[
  281. var rownum = (grd_lnscityprescond.row - grd_lnscityprescond.fixedRows)+1;
  282. model.setValue("/root/main/indinfo/deptnm" , model.getValue("/root/main/list/lnscityprescond[" + rownum + "]/deptnm"));
  283. model.setValue("/root/main/indinfo/jobposnm" , model.getValue("/root/main/list/lnscityprescond[" + rownum + "]/jobposnm"));
  284. model.setValue("/root/main/indinfo/emplnm" , model.getValue("/root/main/list/lnscityprescond[" + rownum + "]/emplnm"));
  285. model.setValue("/root/main/indinfo/hosinseqbpno" , model.getValue("/root/main/list/lnscityprescond[" + rownum + "]/hosinseqbpno"));
  286. model.setValue("/root/main/indinfo/mpphoneno" , model.getValue("/root/main/list/lnscityprescond[" + rownum + "]/mpphoneno"));
  287. model.setValue("/root/main/indinfo/emailaddr" , model.getValue("/root/main/list/lnscityprescond[" + rownum + "]/emailaddr"));
  288. model.setValue("/root/main/indinfo/acntflag" , model.getValue("/root/main/list/lnscityprescond[" + rownum + "]/acntflag"));
  289. model.setValue("/root/main/indinfo/banknm" , model.getValue("/root/main/list/lnscityprescond[" + rownum + "]/banknm"));
  290. model.setValue("/root/main/indinfo/acntno" , model.getValue("/root/main/list/lnscityprescond[" + rownum + "]/acntno"));
  291. model.setValue("/root/send/suppcost/yy" , model.getValue("/root/main/list/lnscityprescond["+ rownum +"]/yy"));
  292. model.setValue("/root/send/suppcost/instcd" , model.getValue("/root/main/list/lnscityprescond["+ rownum +"]/instcd"));
  293. model.setValue("/root/send/suppcost/appfrmno" , model.getValue("/root/main/list/lnscityprescond["+ rownum +"]/appfrmno"));
  294. model.setValue("/root/send/suppcost/suppcost_1" , model.getValue("/root/main/list/lnscityprescond["+ rownum +"]/suppcost_1"));
  295. model.setValue("/root/send/suppcost/suppcost_2" , model.getValue("/root/main/list/lnscityprescond["+ rownum +"]/suppcost_2"));
  296. model.setValue("/root/send/suppcost/suppcost_3" , model.getValue("/root/main/list/lnscityprescond["+ rownum +"]/suppcost_3"));
  297. model.setValue("/root/send/suppcost/suppcost_4" , model.getValue("/root/main/list/lnscityprescond["+ rownum +"]/suppcost_4"));
  298. model.setValue("/root/send/suppcost/suppcost_5" , model.getValue("/root/main/list/lnscityprescond["+ rownum +"]/suppcost_5"));
  299. model.setValue("/root/send/suppcost/curncyunit" , model.getValue("/root/main/list/lnscityprescond["+ rownum +"]/curncyunit"));
  300. model.refresh();
  301. ]]>
  302. </script>
  303. </datagrid>
  304. <caption id="caption2" class="search_name" style="left:820px; top:20px; width:85px; height:17px; ">상 태 :</caption>
  305. <select1 id="radio1" appearance="full" cellspacing="15" cols="3" overflow="visible" style="left:905px; top:21px; width:180px; height:20px; border-style:none; ">
  306. <choices>
  307. <item>
  308. <label>전체</label>
  309. <value/>
  310. </item>
  311. <item>
  312. <label>신청</label>
  313. <value/>
  314. </item>
  315. <item>
  316. <label>승인</label>
  317. <value/>
  318. </item>
  319. </choices>
  320. </select1>
  321. <button id="btn_update" class="btn2_letter3" navindex="13" style="left:1015px; top:60px; width:53px; height:19px; ">
  322. <caption>행추가</caption>
  323. <script type="javascript" ev:event="DOMActivate">
  324. <![CDATA[
  325. var retMes = messageBox("수정 하시겠습니까?", "Q999");
  326. if ( retMes != 6) {
  327. return;
  328. }
  329. misfSave("TXRPD02801");
  330. fsearch();
  331. ]]>
  332. </script>
  333. </button>
  334. <button id="button1" class="btn2_letter3" navindex="13" style="left:1070px; top:60px; width:53px; height:19px; ">
  335. <caption>행삭제</caption>
  336. <script type="javascript" ev:event="DOMActivate">
  337. <![CDATA[
  338. ]]>
  339. </script>
  340. </button>
  341. <button id="button4" class="btn5_letter2" navindex="13" style="left:965px; top:60px; width:42px; height:19px; ">
  342. <caption>수정</caption>
  343. <script type="javascript" ev:event="DOMActivate">
  344. <![CDATA[
  345. var retMes = messageBox("수정 하시겠습니까?", "Q999");
  346. if ( retMes != 6) {
  347. return;
  348. }
  349. misfSave("TXRPD02801");
  350. fsearch();
  351. ]]>
  352. </script>
  353. </button>
  354. </group>
  355. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  356. <line id="line7" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
  357. <button id="button2" class="btn4_letter4" style="left:1112px; top:2px; width:80px; height:22px; text-align:left; ">
  358. <caption>확정취소</caption>
  359. <script type="javascript" ev:event="DOMActivate">
  360. <![CDATA[
  361. fsearch();
  362. ]]>
  363. </script>
  364. </button>
  365. <button id="button5" class="btn4_letter2" style="left:1055px; top:2px; width:56px; height:22px; text-align:left; ">
  366. <caption>확정</caption>
  367. <script type="javascript" ev:event="DOMActivate">
  368. <![CDATA[
  369. fsearch();
  370. ]]>
  371. </script>
  372. </button>
  373. <button id="button6" class="btn4_letter2" style="left:990px; top:2px; width:56px; height:22px; text-align:left; ">
  374. <caption>저장</caption>
  375. <script type="javascript" ev:event="DOMActivate">
  376. <![CDATA[
  377. fsearch();
  378. ]]>
  379. </script>
  380. </button>
  381. <button id="button7" class="btn3_letter3" style="left:920px; top:2px; width:68px; height:22px; text-align:left; ">
  382. <caption>신청서</caption>
  383. <script type="javascript" ev:event="DOMActivate">
  384. <![CDATA[
  385. fsearch();
  386. ]]>
  387. </script>
  388. </button>
  389. </group>
  390. </xhtml:body>
  391. </xhtml:html>