123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234 |
- <?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>SMRTH00300_교원조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <preshipinfolist/>
- </main>
- <send>
- <emplnm/>
- <emplno/>
- <drlicnsno/>
- <preststatcd/>
- <posinstcd/>
- <dutplceinstcd/>
- <dutdeptcd/>
- <reqint>
- <blankrowyn>Y</blankrowyn>
- </reqint>
- <preshipinfolist/>
- </send>
- <init/>
- <hidden>
- </hidden>
- <temp>
- </temp>
- </root>
- </instance>
- <submission id="TRRTH00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/preshipinfolist"/>
- <submission id="TXRTH00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TRRTS00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqint" resultref="/root/main/tisorddeptcdlist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //사용자 권한
- fCheckAuth();
-
- submit("TRRTS00602");
-
- // 그리드 초기화
- misfGridInit(grd_preshiplist);
-
- misfMsterDetailSet(grd_preshiplist, null, "TRRTH00301", "Y");
-
- //소속기관리스트
- rszfGetLabelControlComboList("R0314", "cmb_posinstcd", "detldesc");
- //근무기관리스트
- rszfGetLabelControlComboList("R0314", "cmb_dutplceinstcd", "detldesc");
- //소속기관리스트(그리드)
- //rszfGetLabelControlComboList("R0314", "grd_preshiplist.posinstcd", "detldesc");
- //소속기관리스트(그리드)
- //rszfGetLabelControlComboList("R0314", "grd_preshiplist.dutplceinstcd", "detldesc");
-
- //현상태리스트
- misfComboComCdList("R0146", cmb_preststatcd,'Y');
- //현상태리스트(그리드)
- //misfGridComboComCdList("R0146", grd_preshiplist, "preststatcd");
- //교직구분리스트
- //misfGridComboComCdList("R0058", grd_preshiplist, "prfshipflag");
- //직위리스트
- //misfGridComboComCdList("R0062", grd_preshiplist, "jobposcd");
- //직종리스트
- //misfGridComboComCdList("R0061", grd_preshiplist, "jobkindcd");
- //직책리스트
- //misfGridComboComCdList("R0063", grd_preshiplist, "jobrespcd");
-
- model.refresh();
-
- //그리드의 타이틀을 누르면 sort되는 기능
- grd_preshiplist.explorerbar = "sort";
- grd_preshiplist.selectionMode = "byrow"
-
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fCheckAuth() {
- btn_search.disabled = !checkAuth("R") ;
- btn_save.disabled = !checkAuth("X") ;
- }
-
- ]]>
- </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; ">교원 조회</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
- <datagrid id="grd_preshiplist" nodeset="/root/main/preshipinfolist" caption="이 름^사원번호^소속기관^근무기관^근무부서^교직구분^직위^직종^직책^최초임용일^현상태^현상태임용일" colsep="^" colwidth="80, 80, 125, 125, 150, 150, 100, 100, 100, 100" dataheight="23" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:100px; width:1195px; height:633px; ">
- <col ref="emplnm" style="text-align:center; "/>
- <col ref="emplno" style="text-align:center; "/>
- <col ref="posinstcd" type="output" style="text-align:center; "/>
- <col ref="dutplceinstcd" style="text-align:center; "/>
- <col ref="dutdeptcd" style="text-align:center; "/>
- <col ref="prfshipflag" style="text-align:center; "/>
- <col ref="jobposcd" style="text-align:center; "/>
- <col ref="jobkindcd" style="text-align:center; "/>
- <col ref="jobrespcd" style="text-align:center; "/>
- <col ref="fstappntdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="preststatcd" style="text-align:center; "/>
- <col ref="preststatupdtdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_preshiplist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="caption22" class="tit_2" style="left:10px; top:82px; width:95px; height:13px; ">교원정보</caption>
- <group id="group6" style="left:0px; top:10px; width:1195px; height:63px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:63px; "/>
- <caption id="cap_posinstcd" class="search_name" style="left:15px; top:35; width:86px; height:17px; ">소속기관 :</caption>
- <select1 id="cmb_posinstcd" ref="/root/send/posinstcd" class="combo_s_essential" appearance="minimal" style="left:100px; top:36; width:110; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_dutplceinstcd" class="search_name" style="left:235px; top:35px; width:86px; height:17px; ">근무기관 :</caption>
- <select1 id="cmb_dutplceinstcd" ref="/root/send/dutplceinstcd" class="combo_s_essential" appearance="minimal" style="left:320px; top:36px; width:110; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_dutdeptcd" class="search_name" style="left:455px; top:35px; width:86px; height:17px; ">근무부서 :</caption>
- <select1 id="cmb_dutdeptcd" ref="/root/send/dutdeptcd" class="combo_s_essential" appearance="minimal" style="left:540px; top:36px; width:110; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/tisorddeptcdlist">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_preststatcd" class="search_name" style="left:455px; top:9px; width:83px; height:17px; ">현 상 태 :</caption>
- <select1 id="cmb_preststatcd" ref="/root/send/preststatcd" class="combo_s_essential" appearance="minimal" style="left:540px; top:10px; width:110px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_search" class="btn1_letter2" navindex="8" style="left:1125px; top:19px; width:56px; height:22px; text-align:left; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(isRequiredControls("cmb_posinstcd")){
- misfMsterDetailRetrieve();
- }
- ]]>
- </script>
- </button>
- <line id="line3" class="line_4" style="x1:1110px; y1:8px; x2:1110px; y2:51px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="cap_emplno" class="search_name" style="left:235px; top:9px; width:86px; height:17px; ">사원번호 :</caption>
- <input id="ipt_emplno" ref="/root/send/emplno" class="input_default" style="left:320px; top:10px; width:110px; height:19px; "/>
- <caption id="cap_name" class="search_name" style="left:15px; top:9px; width:85px; height:17px; ">이 름 :</caption>
- <input id="ipt_name" ref="/root/send/emplnm" class="input_default" style="left:100px; top:10px; width:110; height:19px; "/>
- </group>
- <line id="line19" class="line_1" style="x1:0px; y1:96px; x2:1195px; y2:96px; "/>
- <button id="btn_excellinput" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter10.gif" style="left:1116px; top:75px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter10.gif; ">
- <caption>엑셀입력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("open", ",", false, "", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName.length > 0 ) {
-
- grd_preshiplist.loadExcel(fileName, 1, true);
- grd_preshiplist.deleteRow(1);
- grd_preshiplist.refresh();
-
- var sCnt = grd_preshiplist.rows;
- grd_preshiplist.clearStatus();
- grd_preshiplist.rowStatus(1) = 0;
- for ( var i = 1; i < sCnt; i++) {
- grd_preshiplist.rowStatus(i) = 1;
- }
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="btn_excellsave" class="btn2_letter4" style="left:1045px; top:75px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "") {
- grd_preshiplist.saveExcel(fileName, "", false, true);
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <line id="line11" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- <button id="btn_save" class="btn5_letter2" disable.background-image="../../../com/commonweb/images/dis_btn5_letter2.gif" style="left:1139px; top:3; width:56px; height:22px; background-image:../../../com/commonweb/images/btn5_letter2.gif; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var retMes = messageBox("저장 하시겠습니까?", "Q999");
- if ( retMes != 6) {
- return;
- }
-
- var updtdata = getGridUpdateData(grd_preshiplist);
- if (updtdata == "") {
- messageBox("변경된 데이터가","I004");
- return;
- }
-
- misfSave("TXRTH00301");
- ]]>
- </script>
- <caption/>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|