123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>SMRCS99800_KRI정보관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <grid>
- <rpkdbsiflist/>
- <rpkdadpclist/>
- </grid>
- </main>
- <search>
- <emplno/>
- <emplnm/>
- <workgbn/>
- </search>
- <init>
- </init>
- <temp>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // user 권한체크
- fCheckAuth() ;
-
- fInit() ;
- model.refresh();
- ]]>
- </script>
- <submission id="TRRCS99801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/search" resultref="/root/main/grid"/>
- <submission id="TRRCS99802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/search" resultref="/root/main/grid"/>
- <submission id="TXRCS99801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/grid" resultref="/root/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript">
- <![CDATA[
- var FLAG = false;
- //========================================================================================
- //버튼에 대한 화면 권한 체크(R : 읽기, X : 입력/수정/삭제, P : 출력)
- //========================================================================================
- function fCheckAuth() {
- btn_search.disabled = !checkAuth("R") ;
- btn_save.disabled = !checkAuth("X") ;
- }
-
- function fInit() {
- model.removeNodeset(grd_rpkdbsiflist.nodeset);
- model.removeNodeset(grd_rpkdadpclist.nodeset);
- misfMsterDetailSet(grd_rpkdbsiflist,null, "TRRCS99801" ,"Y");
- misfMsterDetailSet(grd_rpkdadpclist,null, "TRRCS99801" ,"Y");
-
- misfComboComCdListMulti("R0282", "grd_rpkdbsiflist.ntnt_cd");
- // misfComboComCdListMulti("R0087", "grd_rpkdadpclist.acqs_dgr_dvs_cd");
- misfComboCopyItemSet(grd_rpkdbsiflist, "ntnt_cd", grd_rpkdadpclist, "dgr_acqs_ntn_cd");
-
- misfMsterDetailRetrieve();
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-right:8; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">KRI 정보관리</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:5px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <switch id="switch1" style="left:0px; top:65px; width:1195px; height:650px; ">
- <case id="case1">
- <button id="btn_bsifadd" class="btn2_letter3" style="left:1010px; top:5px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( ipt_emplno.value == '' ) {
- messageBox("추가할 사원을 선택해 주세요.","C999");
- model.setFocus("ipt_emplno") ;
- return;
- }
- misfGridIUD(grd_rpkdbsiflist, "A");
- grd_rpkdbsiflist.valueMatrix(grd_rpkdbsiflist.row,grd_rpkdbsiflist.colRef("rschr_reg_no")) = ipt_emplno.value;
- grd_rpkdbsiflist.valueMatrix(grd_rpkdbsiflist.row,grd_rpkdbsiflist.colRef("kor_nm")) = ipt_emplnm.value;
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_bsifdel" class="btn2_letter3" style="left:1065px; top:5px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( messageBox("","Q001") == "6" ) { // message Q001 = 삭제하시겠습니까? return = 6은 YES, 7은 NO
- misfGridIUD(grd_rpkdbsiflist, "D");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:1192px; y2:25px; "/>
- <button id="btn_bsifexcel" class="btn2_letter4" style="left:1125px; top:5px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSaveExcel(grd_rpkdbsiflist);
- ]]>
- </script>
- </button>
- <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; ">
- <col ref="rschr_reg_no" _key="true" style="text-align:center; "/>
- <col ref="kor_nm" type="input" _key="true" style="text-align:center; "/>
- <col ref="eng_nm" type="input"/>
- <col ref="chi_nm" type="input"/>
- <col ref="sex_dvs_cd" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>남</label>
- <value>M</value>
- </item>
- <item>
- <label>여</label>
- <value>F</value>
- </item>
- </choices>
- </col>
- <col editmode="inputsearch" ref="ntnt_cd" type="combo" style="text-align:left; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="frgn_reg_no" type="input"/>
- <col ref="clg_cd" type="input"/>
- <col ref="clg_cdnm" type="inputbutton"/>
- <col ref="sbjt_cd" type="input"/>
- <col ref="sbjt_cdnm" type="inputbutton"/>
- <col ref="dtl_spcl_nm" type="input"/>
- <col ref="posi_cd" type="input"/>
- <col ref="posi_nm" type="inputbutton"/>
- <col ref="ftf_first_aptm_date" type="inputdate" format="yyyy-mm-dd"/>
- <col ref="aptm_date" type="inputdate" format="yyyy-mm-dd"/>
- <col ref="hldof_yn" type="combo">
- <choices>
- <item>
- <label>재직</label>
- <value>1</value>
- </item>
- <item>
- <label>퇴직</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="retr_date" type="inputdate" format="yyyy-mm-dd"/>
- <col ref="ofc_telno" type="input"/>
- <col ref="hp_telno" type="input"/>
- <col ref="home_telno" type="input"/>
- <col ref="fax_no" type="input"/>
- <col ref="emal_addr" type="input"/>
- <col ref="home_page_addr" type="input"/>
- <col ref="home_zip_code" type="input"/>
- <col ref="home_addr1" type="input"/>
- <col ref="home_addr2" type="input"/>
- <col ref="birth_dt" type="inputdate" format="yyyy-mm-dd"/>
- <col ref="grd_id" type="input"/>
- <col ref="branch_id" type="input"/>
- <col ref="info_open_yn" type="combo">
- <choices>
- <item>
- <label>공개</label>
- <value>1</value>
- </item>
- <item>
- <label>인적사항만 비공개</label>
- <value>2</value>
- </item>
- <item>
- <label>비공개</label>
- <value>3</value>
- </item>
- </choices>
- </col>
- <col ref="oth_agc_info_offr_yn" type="combo">
- <choices>
- <item>
- <label>재단에 제공</label>
- <value>1</value>
- </item>
- <item>
- <label>국가기관에 제공</label>
- <value>2</value>
- </item>
- <item>
- <label>모든기관에 제공</label>
- <value>3</value>
- </item>
- </choices>
- </col>
- </datagrid>
- </case>
- <case id="case2" selected="true">
- <button id="btn_adpcadd" class="btn2_letter3" style="left:1010px; top:5px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( ipt_emplno.value == '' ) {
- messageBox("추가할 사원을 선택해 주세요.","C999");
- model.setFocus("ipt_emplno") ;
- return;
- }
- misfGridIUD(grd_rpkdadpclist, "A");
- grd_rpkdadpclist.valueMatrix(grd_rpkdadpclist.row,grd_rpkdadpclist.colRef("rschr_reg_no")) = ipt_emplno.value;
- grd_rpkdadpclist.valueMatrix(grd_rpkdadpclist.row,grd_rpkdadpclist.colRef("kor_nm")) = ipt_emplnm.value;
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_adpcdel" class="btn2_letter3" style="left:1065px; top:5px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( messageBox("","Q001") == "7" ) { // message Q001 = 삭제하시겠습니까?
- return;
- }
- misfGridIUD(grd_rpkdadpclist, "D");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_adpcexcel" class="btn2_letter4" style="left:1125px; top:5px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSaveExcel(grd_rpkdadpclist);
- ]]>
- </script>
- </button>
- <line id="line2" class="line_1" style="x1:0px; y1:25px; x2:1192px; y2:25px; "/>
- <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; ">
- <col ref="rschr_reg_no" _key="true" style="text-align:center; "/>
- <col ref="kor_nm" _key="true" style="text-align:center; "/>
- <col ref="acqs_dgr_dvs_cd" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="dgr_stt_ym" type="inputdate" format="yyyy-mm-dd"/>
- <col ref="dgr_acqs_ym" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col editmode="inputsearch" ref="dgr_acqs_ntn_cd" type="combo" style="text-align:left; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="dgr_acqs_agc_cd"/>
- <col ref="dgr_acqs_clg_nm"/>
- <col ref="dgr_acqs_sdjt_nm"/>
- <col ref="dgr_spcl_cd"/>
- <col ref="dgr_dtl_spcl_nm"/>
- <col ref="tutor_nm"/>
- <col ref="org_lang_dgr_ppr_nm"/>
- <col ref="diff_lang_dgr_ppr_nm"/>
- <col ref="dgr_ppr_xcpt_cntn"/>
- <col checkvalue="1,2" ref="last_dgr_slct_cd" type="checkbox"/>
- </datagrid>
- </case>
- </switch>
- <button id="btn_case_one" class="btn_sw" group="tab1" selected="true" style="left:0px; top:45px; width:111px; height:22px; ">
- <caption>기본정보</caption>
- <toggle case="case1" ev:event="onclick"/>
- </button>
- <button id="btn_case_two" class="btn_sw" group="tab1" style="left:111px; top:45px; width:100px; height:22px; ">
- <caption>학위취득현황</caption>
- <toggle case="case2" ev:event="onclick"/>
- </button>
- <line id="line13" class="line_4" style="x1:1095px; y1:9px; x2:1095px; y2:35px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1115px; top:11px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </button>
- <caption id="caption3" class="search_name" style="left:76px; top:13px; width:126px; height:17px; ">사 원 번 호 :</caption>
- <input id="ipt_emplnm" ref="/root/search/emplnm" class="input_search" navindex="6" style="left:336px; top:12px; width:99px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rpbfValidationCheck("EMPLNM", "emplno,emplnm");
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13) {
- ipt_emplnm.value = ipt_emplnm.currentText;
- rpbfValidationCheck("EMPLNM", "emplno,emplnm");
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_emplno" ref="/root/search/emplno" class="input_search" navindex="5" maxlength="8" style="left:210px; top:12px; width:99px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- rpbfValidationCheck("EMPLNO", "emplno,emplnm");
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13) {
- ipt_emplno.value = ipt_emplno.currentText;
- rpbfValidationCheck("EMPLNO", "emplno,emplnm");
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <button id="btn_help" class="icon_search" style="left:315px; top:14px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rpbfOpenPopUpList("SPRPB00101", ipt_emplno, "emplno,emplnm", "", "N");
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1137px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_rpkdbsiflist);
- var updtdata1 = getGridUpdateData(grd_rpkdadpclist);
- if (updtdata == "" && updtdata1 == "") {
- messageBox("변경된 데이터가","I004");
- return;
- }
- misfSave("TXRCS99801");
- ]]>
- </script>
- </button>
- <button id="button5" class="btn4_letter5" style="left:950px; top:3px; width:92px; height:22px; ">
- <caption>대상자생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/search/workgbn","I");
- submit("TXRCS99802");
- ]]>
- </script>
- </button>
- <button id="button6" class="btn4_letter4" style="left:1043px; top:3px; width:80px; height:22px; ">
- <caption>생성취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( messageBox(" 대상자생성취소시 전체 삭제가 됩니다. \n","Q001") == "6" ) { // message Q001 = 삭제하시겠습니까? return = 6은 YES, 7은 NO
- model.setValue("/root/search/workgbn","D");
- submit("TXRCS99802");
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|