SMRCS00100_일정관리.xrw 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>일정관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <apntplan>
  11. <apntplanlist/>
  12. </apntplan>
  13. <detlapntplan>
  14. <detlapntplanlist/>
  15. </detlapntplan>
  16. </main>
  17. <send>
  18. <apntplan>
  19. <apntgyy/>
  20. <apntinstcd/>
  21. <apntflag/>
  22. <apntsemst/>
  23. <apntdg/>
  24. <prfshipflag/>
  25. <apntjobpos/>
  26. <apntjobposnm/>
  27. </apntplan>
  28. <save>
  29. <apntplanlist/>
  30. <detlapntplanlist/>
  31. </save>
  32. <dtinfolist>
  33. <scrnginfono/>
  34. </dtinfolist>
  35. <detlapntplan>
  36. <apntinfono/>
  37. </detlapntplan>
  38. </send>
  39. <init>
  40. </init>
  41. </root>
  42. </instance>
  43. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  44. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  47. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  48. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  49. <script type="javascript" ev:event="xforms-ready">
  50. <![CDATA[
  51. fInitialize();
  52. ]]>
  53. </script>
  54. <submission id="TRRCS00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/apntplan" resultref="/root/main/apntplan"/>
  55. <submission id="TRRCS00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/detlapntplan" resultref="/root/main/detlapntplan"/>
  56. <submission id="TXRCS00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
  57. </model>
  58. <script type="javascript">
  59. <![CDATA[
  60. function fCheckApntList(){
  61. var fBool = true;
  62. if( grd_apntplanlist.rows - grd_apntplanlist.fixedRows <= 0 ) {
  63. fBool = false;
  64. messageBox("채용정보를 먼저 선택 하십시요!!!.", "I");
  65. }
  66. if (grd_apntplanlist.rowStatus(grd_apntplanlist.row) == "1" || grd_apntplanlist.rowStatus(grd_apntplanlist.row) == "3") {
  67. fBool = false;
  68. messageBox("저장후 처리 하십시요!!!.", "I");
  69. }
  70. return fBool;
  71. }
  72. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  73. function fInitialize() {
  74. misfGridInit(grd_apntplanlist);
  75. misfGridInit(grd_detlapntplanlist);
  76. misfMsterDetailSet(grd_apntplanlist,null, "TRRCS00101" ,"Y");
  77. misfMsterDetailSet(grd_detlapntplanlist,grd_apntplanlist, "TRRCS00102" ,"Y");
  78. misfComboInstCdListMulti("cmb_apntinstcd,grd_apntplanlist.apntinstcd",getCurrentDate(),"","N"); // 등록기관 셋팅
  79. misfComboComCdListMulti("R0379,R0353,R0380,R0058,R0379,R0353,R0380,R0058,R0381" ,
  80. "cmb_apntflag,cmb_apntsemst,cmb_apntdg,cmb_prfshipflag,grd_apntplanlist.apntflag,grd_apntplanlist.apntsemst,grd_apntplanlist.apntdg,grd_apntplanlist.prfshipflag,grd_detlapntplanlist.scrnflag");
  81. addComboItem( "cmb_apntflag", "[-- 전체 --]", "", "above");
  82. model.setValue(cmb_apntflag.attribute("ref"), "");
  83. addComboItem( "cmb_apntsemst", "[-- 전체 --]", "", "above");
  84. model.setValue(cmb_apntsemst.attribute("ref"), "");
  85. addComboItem( "cmb_apntdg", "[-- 전체 --]", "", "above");
  86. model.setValue(cmb_apntdg.attribute("ref"), "");
  87. addComboItem( "cmb_prfshipflag", "[-- 전체 --]", "", "above");
  88. model.setValue(cmb_prfshipflag.attribute("ref"), "");
  89. addComboItem( "cmb_apntinstcd", "[-- 전체 --]", "", "above");
  90. model.setValue(cmb_apntinstcd.attribute("ref"), "");
  91. var nowyy = new Date();
  92. ipt_apntyy.value = nowyy.getYear(); // 년도설정
  93. }
  94. ]]>
  95. </script>
  96. </xhtml:head>
  97. <xhtml:body guideline="2,763;2,765;" style="margin-left:8; margin-right:8; ">
  98. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  99. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">일정관리</caption>
  100. </group>
  101. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  102. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:40px; "/>
  103. <line id="line207" class="line_1" style="x1:0px; y1:75px; x2:1195px; y2:75px; "/>
  104. <caption id="caption9" class="tit_2" style="left:5px; top:60px; width:117px; height:14px; ">전체 일정</caption>
  105. <select1 id="cmb_apntsemst" ref="/root/send/apntplan/apntsemst" class="combo_search" navindex="1" appearance="minimal" style="left:575px; top:20px; width:75px; height:19px; ">
  106. <choices>
  107. <itemset>
  108. <label/>
  109. <value/>
  110. </itemset>
  111. </choices>
  112. <script type="javascript" ev:event="xforms-value-changed">
  113. <![CDATA[
  114. var instcd = cmb_instcd.value;
  115. if( getStringLength(ipt_apntyy.value) == "4" ) {
  116. model.removeNodeset(cmb_instcd.attribute("ref"));
  117. model.makeNode("/root/send/req/instcd");
  118. if(ipt_apntyy.value == getCurrentDate().substring(0, 4) ) {
  119. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","Y");
  120. }
  121. else {
  122. misfComboInstCdListMulti("cmb_instcd",ipt_apntyy.value+"1231","","Y");
  123. }
  124. cmb_instcd.value = instcd;
  125. cmb_instcd.refresh();
  126. }
  127. model.refresh();
  128. ]]>
  129. </script>
  130. </select1>
  131. <caption id="caption1" class="search_name" style="left:520px; top:20px; width:55px; height:17px; ">학기:</caption>
  132. <line id="line3" class="line_4" style="x1:1110px; y1:14px; x2:1110px; y2:47px; border-color:#ffe4bb; border-left-style:solid; "/>
  133. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:19px; width:56px; height:22px; text-align:left; ">
  134. <caption>조회</caption>
  135. <script type="javascript" ev:event="DOMActivate">
  136. <![CDATA[
  137. misfMsterDetailRetrieve();
  138. ]]>
  139. </script>
  140. </button>
  141. <caption id="caption4" class="search_name" style="left:5px; top:20px; width:61px; height:17px; ">년도:</caption>
  142. <input id="ipt_apntyy" ref="/root/send/apntplan/apntgyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:60px; top:20px; width:65px; height:19px; ">
  143. <script type="javascript" ev:event="onkeyup">
  144. <![CDATA[
  145. ]]>
  146. </script>
  147. </input>
  148. <caption id="caption2" class="search_name" style="left:935px; top:20px; width:58px; height:17px; ">직위:</caption>
  149. <datagrid id="grd_apntplanlist" nodeset="/root/main/apntplan/apntplanlist" caption="모집기관^구분^모집학기^모집차수^제목^모집인원^교직구분^모집직위^모집직위^시작일^종료일^비고^채용번호^채용년도^직위|모집기관^구분^모집학기^모집차수^제목^모집인원^교직구분^모집직위^모집직위^시작일^종료일^비고^채용번호^채용년도^직위" colsep="^" colwidth="112, 81, 62, 60, 184, 36, 100, 100, 20, 95, 94, 207, 44, 31, 31" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:80px; width:1193px; height:265px; ">
  150. <col ref="apntinstcd" type="combo">
  151. <choices>
  152. <itemset>
  153. <label/>
  154. <value/>
  155. </itemset>
  156. </choices>
  157. </col>
  158. <col ref="apntflag" type="combo">
  159. <choices>
  160. <itemset>
  161. <label/>
  162. <value/>
  163. </itemset>
  164. </choices>
  165. </col>
  166. <col ref="apntsemst" type="combo">
  167. <choices>
  168. <itemset>
  169. <label/>
  170. <value/>
  171. </itemset>
  172. </choices>
  173. </col>
  174. <col ref="apntdg" type="combo" style="text-align:center; ">
  175. <choices>
  176. <itemset>
  177. <label/>
  178. <value/>
  179. </itemset>
  180. </choices>
  181. </col>
  182. <col ref="apnttitle" type="input"/>
  183. <col type="output"/>
  184. <col ref="prfshipflag" type="combo">
  185. <choices>
  186. <itemset>
  187. <label/>
  188. <value/>
  189. </itemset>
  190. </choices>
  191. </col>
  192. <col ref="apntjobposnm" type="output"/>
  193. <col ref="jobposcd" type="inputbutton"/>
  194. <col ref="apntfromdd" type="inputdate"/>
  195. <col ref="apnttodd" type="inputdate"/>
  196. <col ref="cmt" type="input"/>
  197. <col ref="apntinfono" visibility="hidden"/>
  198. <col ref="apntgyy" visibility="hidden"/>
  199. <col ref="apntjobpos" visibility="hidden"/>
  200. <script type="javascript" ev:event="onrowchanged">
  201. <![CDATA[
  202. misfMsterDetailRetrieve();
  203. ]]>
  204. </script>
  205. <script type="javascript" ev:event="onbuttonclick">
  206. <![CDATA[
  207. if (grd_apntplanlist.col == grd_apntplanlist.colRef("jobposcd")) {
  208. misfOpenPopUpList("03", grd_apntplanlist,"R0062", "apntjobpos,apntjobposnm") ;
  209. model.refresh();
  210. }
  211. ]]>
  212. </script>
  213. </datagrid>
  214. <datagrid id="grd_detlapntplanlist" nodeset="/root/main/detlapntplan/detlapntplanlist" caption="일정구분^본부일정^본부일정^전형기간^전형기간^전형기간^전형기간^관련부서^세부일정내용^완료여부^채용번호^전형구분OLD^전형시작일OLD|일정구분^시작일^종료일^시작일^시작시간^종료일^종료시간^관련부서^세부일정내용^완료여부^채용번호^전형구분OLD^전형시작일OLD" colsep="^" colwidth="130, 100, 93, 100, 64, 100, 68, 190, 271, 32, 39, 34, 34" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:375px; width:1190px; height:349px; ">
  215. <col ref="scrnflag" type="combo">
  216. <choices>
  217. <itemset>
  218. <label/>
  219. <value/>
  220. </itemset>
  221. </choices>
  222. </col>
  223. <col ref="hdscrnfromdd" type="inputdate" format="yyyy-mm-dd"/>
  224. <col ref="hdscrntodd" type="inputdate" format="yyyy-mm-dd"/>
  225. <col ref="scrnfromdd" type="inputdate" format="yyyy-mm-dd"/>
  226. <col ref="scrnfromtm" type="input" format="hh:nn" style="text-align:center; "/>
  227. <col ref="scrntodd" type="inputdate"/>
  228. <col ref="scrntotm" type="input" format="hh:nn" style="text-align:center; "/>
  229. <col ref="scrndeptnm" type="input" maxlength="30"/>
  230. <col ref="scrndetlcmt" type="input" maxlength="100"/>
  231. <col checkvalue="Y,N" ref="scrnendyn" type="checkbox"/>
  232. <col ref="apntinfono" visibility="hidden"/>
  233. <col ref="oldscrnflag" visibility="hidden"/>
  234. <col ref="oldscrnfromdd" visibility="hidden"/>
  235. <script type="javascript" ev:event="xforms-value-changed">
  236. <![CDATA[
  237. SAVE_FLAG = 4;
  238. ]]>
  239. </script>
  240. </datagrid>
  241. <caption id="caption3" class="search_name" style="left:136px; top:20px; width:82px; height:17px; ">모집기관:</caption>
  242. <select1 id="cmb_apntinstcd" ref="/root/send/apntplan/apntinstcd" class="combo_search" appearance="minimal" style="left:218px; top:20px; width:120px; height:19px; ">
  243. <choices>
  244. <itemset>
  245. <label/>
  246. <value/>
  247. </itemset>
  248. </choices>
  249. </select1>
  250. <select1 id="cmb_prfshipflag" ref="/root/send/apntplan/prfshipflag" appearance="minimal" style="left:822px; top:20px; width:105px; height:19px; ">
  251. <choices>
  252. <itemset>
  253. <label/>
  254. <value/>
  255. </itemset>
  256. </choices>
  257. </select1>
  258. <line id="line1" class="line_1" style="x1:0px; y1:370px; x2:1195px; y2:370px; "/>
  259. <caption id="caption5" class="tit_2" style="left:5px; top:355px; width:117px; height:14px; ">세부 일정</caption>
  260. <button id="btn_excelgrdapntplanlist" class="btn2_letter4" style="left:1125px; top:55px; width:64px; height:19px; ">
  261. <caption>엑셀저장</caption>
  262. <script type="javascript" ev:event="DOMActivate">
  263. <![CDATA[
  264. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  265. if (fileName != "")
  266. {
  267. grd_apntplanlist.saveExcel(fileName);
  268. window.exec(fileName);
  269. }
  270. ]]>
  271. </script>
  272. </button>
  273. <button id="btn_delgrdapntplanlist" class="btn2_letter3" style="left:1070px; top:55px; width:53px; height:19px; ">
  274. <caption>행삭제</caption>
  275. <script type="javascript" ev:event="DOMActivate">
  276. <![CDATA[
  277. misfGridIUD(grd_apntplanlist, "D");
  278. ]]>
  279. </script>
  280. </button>
  281. <button id="btn_addgrdapntplanlist" class="btn2_letter3" style="left:1015px; top:55px; width:53px; height:19px; ">
  282. <caption>행추가</caption>
  283. <script type="javascript" ev:event="DOMActivate">
  284. <![CDATA[
  285. misfGridIUD(grd_apntplanlist, "A");
  286. ]]>
  287. </script>
  288. </button>
  289. <button id="btn_excelgrddetlapntplanlist" class="btn2_letter4" style="left:1125px; top:350px; width:64px; height:19px; ">
  290. <caption>엑셀저장</caption>
  291. <script type="javascript" ev:event="DOMActivate">
  292. <![CDATA[
  293. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  294. if (fileName != "")
  295. {
  296. grd_detlapntplanlist.saveExcel(fileName);
  297. window.exec(fileName);
  298. }
  299. ]]>
  300. </script>
  301. </button>
  302. <button id="button5" class="btn2_letter3" style="left:1070px; top:350px; width:53px; height:19px; ">
  303. <caption>행삭제</caption>
  304. <script type="javascript" ev:event="DOMActivate">
  305. <![CDATA[
  306. misfGridIUD(grd_detlapntplanlist, "D");
  307. ]]>
  308. </script>
  309. </button>
  310. <button id="btn_addgrddetlapntplanlist" class="btn2_letter3" style="left:1015px; top:350px; width:53px; height:19px; ">
  311. <caption>행추가</caption>
  312. <script type="javascript" ev:event="DOMActivate">
  313. <![CDATA[
  314. if(!fCheckApntList()) return; // 세부내용을 등록할 채용이 선택되어 있는지 확인
  315. misfGridIUD(grd_detlapntplanlist, "A");
  316. ]]>
  317. </script>
  318. </button>
  319. <caption id="caption7" class="search_name" style="left:740px; top:20px; width:83px; height:17px; ">교직구분:</caption>
  320. <select1 id="cmb_apntdg" ref="/root/send/apntplan/apntdg" class="combo_search" navindex="1" appearance="minimal" style="left:653px; top:20px; width:75px; height:19px; ">
  321. <choices>
  322. <itemset>
  323. <label/>
  324. <value/>
  325. </itemset>
  326. </choices>
  327. </select1>
  328. <input id="ipt_jobposnm" ref="/root/send/apntplan/apntjobposnm" class="input_default" navindex="80" style="left:995px; top:20px; width:88px; height:19px; ">
  329. <script type="javascript" ev:event="xforms-value-changed">
  330. <![CDATA[
  331. misfValidationCheck("03", "R0062", "apntjobpos,apntjobposnm" );
  332. model.refresh();
  333. ]]>
  334. </script>
  335. </input>
  336. <button id="btn_jobposcd" class="icon_search" style="left:1085px; top:22px; width:16px; height:16px; ">
  337. <caption/>
  338. <script type="javascript" ev:event="DOMActivate">
  339. <![CDATA[
  340. var recv_list = "apntjobpos,apntjobposnm";
  341. rpbfOpenComCdHelp(ipt_jobposcd,"R0062", recv_list);
  342. model.refresh();
  343. ]]>
  344. </script>
  345. </button>
  346. <input id="ipt_jobposcd" ref="/root/send/apntplan/apntjobpos" class="input_default" visibility="hidden" style="left:995px; top:20px; width:40px; height:19px; "/>
  347. <select1 id="cmb_apntflag" ref="/root/send/apntplan/apntflag" class="combo_search" appearance="minimal" style="left:415px; top:20px; width:90px; height:19px; ">
  348. <choices>
  349. <itemset>
  350. <label/>
  351. <value/>
  352. </itemset>
  353. </choices>
  354. </select1>
  355. <caption id="caption8" class="search_name" style="left:358px; top:20px; width:57px; height:17px; ">구분:</caption>
  356. </group>
  357. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  358. <line id="line7" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
  359. <button id="btn_save" class="btn4_letter2" style="left:1139px; top:2px; width:56px; height:22px; ">
  360. <caption>저장</caption>
  361. <script type="javascript" ev:event="DOMActivate">
  362. <![CDATA[
  363. misfSave("TXRCS00101"); //submmitID로 저장
  364. ]]>
  365. </script>
  366. </button>
  367. </group>
  368. </xhtml:body>
  369. </xhtml:html>