SMRCS99800_KRI정보관리.xrw 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  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>SMRCS99800_KRI정보관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <grid>
  11. <rpkdbsiflist/>
  12. <rpkdadpclist/>
  13. </grid>
  14. </main>
  15. <search>
  16. <emplno/>
  17. <emplnm/>
  18. <workgbn/>
  19. </search>
  20. <init>
  21. </init>
  22. <temp>
  23. </temp>
  24. </root>
  25. </instance>
  26. <script type="javascript" ev:event="xforms-ready">
  27. <![CDATA[
  28. // user 권한체크
  29. fCheckAuth() ;
  30. fInit() ;
  31. model.refresh();
  32. ]]>
  33. </script>
  34. <submission id="TRRCS99801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/search" resultref="/root/main/grid"/>
  35. <submission id="TRRCS99802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/search" resultref="/root/main/grid"/>
  36. <submission id="TXRCS99801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/grid" resultref="/root/temp"/>
  37. </model>
  38. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  39. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  40. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  41. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  42. <script type="javascript">
  43. <![CDATA[
  44. var FLAG = false;
  45. //========================================================================================
  46. //버튼에 대한 화면 권한 체크(R : 읽기, X : 입력/수정/삭제, P : 출력)
  47. //========================================================================================
  48. function fCheckAuth() {
  49. btn_search.disabled = !checkAuth("R") ;
  50. btn_save.disabled = !checkAuth("X") ;
  51. }
  52. function fInit() {
  53. model.removeNodeset(grd_rpkdbsiflist.nodeset);
  54. model.removeNodeset(grd_rpkdadpclist.nodeset);
  55. misfMsterDetailSet(grd_rpkdbsiflist,null, "TRRCS99801" ,"Y");
  56. misfMsterDetailSet(grd_rpkdadpclist,null, "TRRCS99801" ,"Y");
  57. misfComboComCdListMulti("R0282", "grd_rpkdbsiflist.ntnt_cd");
  58. // misfComboComCdListMulti("R0087", "grd_rpkdadpclist.acqs_dgr_dvs_cd");
  59. misfComboCopyItemSet(grd_rpkdbsiflist, "ntnt_cd", grd_rpkdadpclist, "dgr_acqs_ntn_cd");
  60. misfMsterDetailRetrieve();
  61. model.refresh();
  62. }
  63. ]]>
  64. </script>
  65. </xhtml:head>
  66. <xhtml:body style="margin-left:8; margin-right:8; ">
  67. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  68. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">KRI 정보관리</caption>
  69. </group>
  70. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  71. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:5px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  72. <switch id="switch1" style="left:0px; top:65px; width:1195px; height:650px; ">
  73. <case id="case1">
  74. <button id="btn_bsifadd" class="btn2_letter3" style="left:1010px; top:5px; width:53px; height:19px; ">
  75. <caption>행추가</caption>
  76. <script type="javascript" ev:event="DOMActivate">
  77. <![CDATA[
  78. if( ipt_emplno.value == '' ) {
  79. messageBox("추가할 사원을 선택해 주세요.","C999");
  80. model.setFocus("ipt_emplno") ;
  81. return;
  82. }
  83. misfGridIUD(grd_rpkdbsiflist, "A");
  84. grd_rpkdbsiflist.valueMatrix(grd_rpkdbsiflist.row,grd_rpkdbsiflist.colRef("rschr_reg_no")) = ipt_emplno.value;
  85. grd_rpkdbsiflist.valueMatrix(grd_rpkdbsiflist.row,grd_rpkdbsiflist.colRef("kor_nm")) = ipt_emplnm.value;
  86. model.refresh();
  87. ]]>
  88. </script>
  89. </button>
  90. <button id="btn_bsifdel" class="btn2_letter3" style="left:1065px; top:5px; width:53px; height:19px; ">
  91. <caption>행삭제</caption>
  92. <script type="javascript" ev:event="DOMActivate">
  93. <![CDATA[
  94. if( messageBox("","Q001") == "6" ) { // message Q001 = 삭제하시겠습니까? return = 6은 YES, 7은 NO
  95. misfGridIUD(grd_rpkdbsiflist, "D");
  96. model.refresh();
  97. }
  98. ]]>
  99. </script>
  100. </button>
  101. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:1192px; y2:25px; "/>
  102. <button id="btn_bsifexcel" class="btn2_letter4" style="left:1125px; top:5px; width:64px; height:19px; ">
  103. <caption>엑셀저장</caption>
  104. <script type="javascript" ev:event="DOMActivate">
  105. <![CDATA[
  106. misfSaveExcel(grd_rpkdbsiflist);
  107. ]]>
  108. </script>
  109. </button>
  110. <datagrid id="grd_rpkdbsiflist" nodeset="/root/main/grid/rpkdbsiflist" caption="연구자등록번호^한글성명^영문성명^한문성명^성별^국적^외국인등록번호^단과대학코드^단과대학명^학과코드^학과명^세부전공명^직급코드^직급명^전임최초임용일자^임용일자^재직여부^퇴직일자^사무실전화번호^핸드폰번호^집전화번호^팩스번호^이메일주소^홈페이지주소^자택우편번호^자택주소1^자택주소2^생년월일^대학원ID^분교/캠퍼스ID^정보공개여부^타기관정보제공여부" colsep="^" colwidth="100, 80, 100, 80, 50, 90, 100, 90, 100, 100, 100, 100, 100, 100, 110, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 120, 120" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:30px; width:1190px; height:610px; ">
  111. <col ref="rschr_reg_no" _key="true" style="text-align:center; "/>
  112. <col ref="kor_nm" type="input" _key="true" style="text-align:center; "/>
  113. <col ref="eng_nm" type="input"/>
  114. <col ref="chi_nm" type="input"/>
  115. <col ref="sex_dvs_cd" type="combo" style="text-align:center; ">
  116. <choices>
  117. <item>
  118. <label>남</label>
  119. <value>M</value>
  120. </item>
  121. <item>
  122. <label>여</label>
  123. <value>F</value>
  124. </item>
  125. </choices>
  126. </col>
  127. <col editmode="inputsearch" ref="ntnt_cd" type="combo" style="text-align:left; ">
  128. <choices>
  129. <itemset>
  130. <label/>
  131. <value/>
  132. </itemset>
  133. </choices>
  134. </col>
  135. <col ref="frgn_reg_no" type="input"/>
  136. <col ref="clg_cd" type="input"/>
  137. <col ref="clg_cdnm" type="inputbutton"/>
  138. <col ref="sbjt_cd" type="input"/>
  139. <col ref="sbjt_cdnm" type="inputbutton"/>
  140. <col ref="dtl_spcl_nm" type="input"/>
  141. <col ref="posi_cd" type="input"/>
  142. <col ref="posi_nm" type="inputbutton"/>
  143. <col ref="ftf_first_aptm_date" type="inputdate" format="yyyy-mm-dd"/>
  144. <col ref="aptm_date" type="inputdate" format="yyyy-mm-dd"/>
  145. <col ref="hldof_yn" type="combo">
  146. <choices>
  147. <item>
  148. <label>재직</label>
  149. <value>1</value>
  150. </item>
  151. <item>
  152. <label>퇴직</label>
  153. <value>2</value>
  154. </item>
  155. </choices>
  156. </col>
  157. <col ref="retr_date" type="inputdate" format="yyyy-mm-dd"/>
  158. <col ref="ofc_telno" type="input"/>
  159. <col ref="hp_telno" type="input"/>
  160. <col ref="home_telno" type="input"/>
  161. <col ref="fax_no" type="input"/>
  162. <col ref="emal_addr" type="input"/>
  163. <col ref="home_page_addr" type="input"/>
  164. <col ref="home_zip_code" type="input"/>
  165. <col ref="home_addr1" type="input"/>
  166. <col ref="home_addr2" type="input"/>
  167. <col ref="birth_dt" type="inputdate" format="yyyy-mm-dd"/>
  168. <col ref="grd_id" type="input"/>
  169. <col ref="branch_id" type="input"/>
  170. <col ref="info_open_yn" type="combo">
  171. <choices>
  172. <item>
  173. <label>공개</label>
  174. <value>1</value>
  175. </item>
  176. <item>
  177. <label>인적사항만 비공개</label>
  178. <value>2</value>
  179. </item>
  180. <item>
  181. <label>비공개</label>
  182. <value>3</value>
  183. </item>
  184. </choices>
  185. </col>
  186. <col ref="oth_agc_info_offr_yn" type="combo">
  187. <choices>
  188. <item>
  189. <label>재단에 제공</label>
  190. <value>1</value>
  191. </item>
  192. <item>
  193. <label>국가기관에 제공</label>
  194. <value>2</value>
  195. </item>
  196. <item>
  197. <label>모든기관에 제공</label>
  198. <value>3</value>
  199. </item>
  200. </choices>
  201. </col>
  202. </datagrid>
  203. </case>
  204. <case id="case2" selected="true">
  205. <button id="btn_adpcadd" class="btn2_letter3" style="left:1010px; top:5px; width:53px; height:19px; ">
  206. <caption>행추가</caption>
  207. <script type="javascript" ev:event="DOMActivate">
  208. <![CDATA[
  209. if( ipt_emplno.value == '' ) {
  210. messageBox("추가할 사원을 선택해 주세요.","C999");
  211. model.setFocus("ipt_emplno") ;
  212. return;
  213. }
  214. misfGridIUD(grd_rpkdadpclist, "A");
  215. grd_rpkdadpclist.valueMatrix(grd_rpkdadpclist.row,grd_rpkdadpclist.colRef("rschr_reg_no")) = ipt_emplno.value;
  216. grd_rpkdadpclist.valueMatrix(grd_rpkdadpclist.row,grd_rpkdadpclist.colRef("kor_nm")) = ipt_emplnm.value;
  217. model.refresh();
  218. ]]>
  219. </script>
  220. </button>
  221. <button id="btn_adpcdel" class="btn2_letter3" style="left:1065px; top:5px; width:53px; height:19px; ">
  222. <caption>행삭제</caption>
  223. <script type="javascript" ev:event="DOMActivate">
  224. <![CDATA[
  225. if( messageBox("","Q001") == "7" ) { // message Q001 = 삭제하시겠습니까?
  226. return;
  227. }
  228. misfGridIUD(grd_rpkdadpclist, "D");
  229. model.refresh();
  230. ]]>
  231. </script>
  232. </button>
  233. <button id="btn_adpcexcel" class="btn2_letter4" style="left:1125px; top:5px; width:64px; height:19px; ">
  234. <caption>엑셀저장</caption>
  235. <script type="javascript" ev:event="DOMActivate">
  236. <![CDATA[
  237. misfSaveExcel(grd_rpkdadpclist);
  238. ]]>
  239. </script>
  240. </button>
  241. <line id="line2" class="line_1" style="x1:0px; y1:25px; x2:1192px; y2:25px; "/>
  242. <datagrid id="grd_rpkdadpclist" nodeset="/root/main/grid/rpkdadpclist" caption="연구자등록번호^성명^취득학위구분^학위시작년월^학위취득년월^학위취득국가^학위취득기관코드^학위취득단과대학명^학위취득학과명^학위전공코드^학위세부전공명^지도교수성명^원어학위논문명^타언어학위논문명^학위논문초록내용^최종학위선택" colsep="^" colwidth="100, 58, 100, 98, 100, 100, 105, 125, 100, 100, 100, 90, 180, 180, 110, 85" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:30px; width:1190px; height:610px; ">
  243. <col ref="rschr_reg_no" _key="true" style="text-align:center; "/>
  244. <col ref="kor_nm" _key="true" style="text-align:center; "/>
  245. <col ref="acqs_dgr_dvs_cd" type="combo">
  246. <choices>
  247. <itemset>
  248. <label/>
  249. <value/>
  250. </itemset>
  251. </choices>
  252. </col>
  253. <col ref="dgr_stt_ym" type="inputdate" format="yyyy-mm-dd"/>
  254. <col ref="dgr_acqs_ym" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  255. <col editmode="inputsearch" ref="dgr_acqs_ntn_cd" type="combo" style="text-align:left; ">
  256. <choices>
  257. <itemset>
  258. <label/>
  259. <value/>
  260. </itemset>
  261. </choices>
  262. </col>
  263. <col ref="dgr_acqs_agc_cd"/>
  264. <col ref="dgr_acqs_clg_nm"/>
  265. <col ref="dgr_acqs_sdjt_nm"/>
  266. <col ref="dgr_spcl_cd"/>
  267. <col ref="dgr_dtl_spcl_nm"/>
  268. <col ref="tutor_nm"/>
  269. <col ref="org_lang_dgr_ppr_nm"/>
  270. <col ref="diff_lang_dgr_ppr_nm"/>
  271. <col ref="dgr_ppr_xcpt_cntn"/>
  272. <col checkvalue="1,2" ref="last_dgr_slct_cd" type="checkbox"/>
  273. </datagrid>
  274. </case>
  275. </switch>
  276. <button id="btn_case_one" class="btn_sw" group="tab1" selected="true" style="left:0px; top:45px; width:111px; height:22px; ">
  277. <caption>기본정보</caption>
  278. <toggle case="case1" ev:event="onclick"/>
  279. </button>
  280. <button id="btn_case_two" class="btn_sw" group="tab1" style="left:111px; top:45px; width:100px; height:22px; ">
  281. <caption>학위취득현황</caption>
  282. <toggle case="case2" ev:event="onclick"/>
  283. </button>
  284. <line id="line13" class="line_4" style="x1:1095px; y1:9px; x2:1095px; y2:35px; "/>
  285. <button id="btn_search" class="btn1_letter2" style="left:1115px; top:11px; width:56px; height:22px; ">
  286. <caption>조회</caption>
  287. <script type="javascript" ev:event="DOMActivate">
  288. <![CDATA[
  289. misfMsterDetailRetrieve();
  290. ]]>
  291. </script>
  292. </button>
  293. <caption id="caption3" class="search_name" style="left:76px; top:13px; width:126px; height:17px; ">사 원 번 호 :</caption>
  294. <input id="ipt_emplnm" ref="/root/search/emplnm" class="input_search" navindex="6" style="left:336px; top:12px; width:99px; height:19px; ">
  295. <script type="javascript" ev:event="xforms-value-changed">
  296. <![CDATA[
  297. rpbfValidationCheck("EMPLNM", "emplno,emplnm");
  298. model.refresh();
  299. ]]>
  300. </script>
  301. <script type="javascript" ev:event="onkeypress">
  302. <![CDATA[
  303. if(event.keyCode == 13) {
  304. ipt_emplnm.value = ipt_emplnm.currentText;
  305. rpbfValidationCheck("EMPLNM", "emplno,emplnm");
  306. model.refresh();
  307. }
  308. ]]>
  309. </script>
  310. </input>
  311. <input id="ipt_emplno" ref="/root/search/emplno" class="input_search" navindex="5" maxlength="8" style="left:210px; top:12px; width:99px; height:19px; ">
  312. <script type="javascript" ev:event="xforms-value-changed">
  313. <![CDATA[
  314. rpbfValidationCheck("EMPLNO", "emplno,emplnm");
  315. model.refresh();
  316. ]]>
  317. </script>
  318. <script type="javascript" ev:event="onkeypress">
  319. <![CDATA[
  320. if(event.keyCode == 13) {
  321. ipt_emplno.value = ipt_emplno.currentText;
  322. rpbfValidationCheck("EMPLNO", "emplno,emplnm");
  323. model.refresh();
  324. }
  325. ]]>
  326. </script>
  327. </input>
  328. <button id="btn_help" class="icon_search" style="left:315px; top:14px; width:16px; height:16px; ">
  329. <caption/>
  330. <script type="javascript" ev:event="DOMActivate">
  331. <![CDATA[
  332. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, "emplno,emplnm", "", "N");
  333. model.refresh();
  334. ]]>
  335. </script>
  336. </button>
  337. </group>
  338. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  339. <button id="btn_save" class="btn4_letter2" style="left:1137px; top:3px; width:56px; height:22px; ">
  340. <caption>저장</caption>
  341. <script type="javascript" ev:event="DOMActivate">
  342. <![CDATA[
  343. var updtdata = getGridUpdateData(grd_rpkdbsiflist);
  344. var updtdata1 = getGridUpdateData(grd_rpkdadpclist);
  345. if (updtdata == "" && updtdata1 == "") {
  346. messageBox("변경된 데이터가","I004");
  347. return;
  348. }
  349. misfSave("TXRCS99801");
  350. ]]>
  351. </script>
  352. </button>
  353. <button id="button5" class="btn4_letter5" style="left:950px; top:3px; width:92px; height:22px; ">
  354. <caption>대상자생성</caption>
  355. <script type="javascript" ev:event="DOMActivate">
  356. <![CDATA[
  357. model.setValue("/root/search/workgbn","I");
  358. submit("TXRCS99802");
  359. ]]>
  360. </script>
  361. </button>
  362. <button id="button6" class="btn4_letter4" style="left:1043px; top:3px; width:80px; height:22px; ">
  363. <caption>생성취소</caption>
  364. <script type="javascript" ev:event="DOMActivate">
  365. <![CDATA[
  366. if( messageBox(" 대상자생성취소시 전체 삭제가 됩니다. \n","Q001") == "6" ) { // message Q001 = 삭제하시겠습니까? return = 6은 YES, 7은 NO
  367. model.setValue("/root/search/workgbn","D");
  368. submit("TXRCS99802");
  369. }
  370. ]]>
  371. </script>
  372. </button>
  373. </group>
  374. </xhtml:body>
  375. </xhtml:html>