123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * Name : SPCMS00800_교직원조회및추가
- * Summary : 교직원 조회 및 추가
- * Programmer : 차재훈
- * Date Written : 2008.07.28
- * History : 2008.07.28
- * Remark :
- -->
- <?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>교직원 조회 및 추가</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <innrgrupinfo>
- <innrgruplist>
- <innrgrupnm/>
- <innrgrupid/>
- </innrgruplist>
- </innrgrupinfo>
- <list>
- <userlist>
- <chk/>
- <instnm/>
- <deptnm/>
- <usernm/>
- <userid/>
- <jobposcd/>
- <jobrespcd/>
- <jobkindcd/>
- <prfshipflagcd/>
- <grupjoblncd/>
- <userkindcd/>
- <dutinstnm/>
- <dutdeptnm/>
- <dutdeptcd/>
- <psnworksupdeptnm/>
- <posinstnm/>
- <posdeptnm/>
- <mpphonno/>
- <email/>
- </userlist>
- </list>
- </main>
- <send>
- <innrgrupid/>
- <publyn/>
- <innrgruplist/>
- <usernm/>
- <userid/>
- <deptnm/>
- <insttype/>
- <searchjobrespcd/>
- <searchjobkindcd/>
- <searchprfshipflagcd/>
- <searchdryn/>
- </send>
- <temp>
- <searchtype/>
- <searchstring/>
- <totalcount>0</totalcount>
- <chckcount>0</chckcount>
- <userlist>
- <innrclntnm/>
- <userid/>
- <email/>
- <mpphontel/>
- <innrgrupid/>
- <innrclntflag/>
- </userlist>
- <publkey>
- <fwdpublyn/>
- <fwdinnrgrupid/>
- </publkey>
- <insttype/>
- <searchjobrespcd/>
- <searchjobkindcd/>
- <searchprfshipflagcd/>
- </temp>
- <init>
- <R0058list>
- <cdid/>
- <cdnm/>
- </R0058list>
- <R0059list>
- <cdid/>
- <cdnm/>
- </R0059list>
- <R0061list>
- <cdid/>
- <cdnm/>
- </R0061list>
- <R0062list>
- <cdid/>
- <cdnm/>
- </R0062list>
- <R0063list>
- <cdid/>
- <cdnm/>
- </R0063list>
- <Z0016list>
- <cdid/>
- <cdnm/>
- </Z0016list>
- </init>
- </root>
- </instance>
- <submission id="TRCMS00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
- <submission id="TRCCN00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/innrgrupinfo/innrgruplist"/>
- <submission id="TXCMS00502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../crm/crmweb/js/CCZ001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var rePublyn = model.getValue("/root/temp/publkey/fwdpublyn")
- var reInnrgrupid = model.getValue("/root/temp/publkey/fwdinnrgrupid")
-
- zbcfGetCodeList( new Array("R0058", "R0059", "R0061", "R0062", "R0063", "Z0016"), new Array("/root/init/R0058list", "/root/init/R0059list", "/root/init/R0061list", "/root/init/R0062list", "/root/init/R0063list", "/root/init/Z0016list"), true );
-
- //검색조건 직원명 선택
- cmb_searchtype.select(0);
- cmb_insttype.select(0);
- // 직원 조회 그리드의 col을 초기화 시켜준다.
- model.removenodeset("/root/main/list/userlist");
- model.removenodeset("/root/main/innrgrupinfo/innrgruplist");
- if ( rePublyn == "" || rePublyn == null ) {
- // 초기화면 개인주소록으로 설정
- rdo_publyn.value = "N";
- } else {
- model.setValue("/root/send/publyn" , rePublyn);
- model.setValue("/root/send/innrgrupid" , reInnrgrupid);
- }
- submit("TRCCN00501");
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- //----------------------------------------//
- // 그리드 전체 행 선택 함수 //
- //----------------------------------------//
- function fGridAllRow(grid) {
- var rows = grid.rows;
- var fRow = grid.fixedRows;
- var chk = grid.valueMatrix(1,grid.colRef("chk"));
- if(chk == "N"){
- for(var i=fRow; i<rows; i++){
- grid.valueMatrix(i,grid.colRef("chk"))="Y";
- }
- }else{
- for(var i=fRow; i<rows; i++){
- grid.valueMatrix(i,grid.colRef("chk"))="N";
- }
- }
- model.refresh();
- }
-
- //===================//
- // 체크된 행을 저장 //
- //===================//
- function fGridRowAddRow(sndGrid, rcvGrid){
- var sRows = sndGrid.rows;
- var sfRow = sndGrid.fixedRows;
- var cntRows = sndGrid.rows-1;
- var rRows = rcvGrid.rows;
- var innrgrupid = model.getValue("/root/send/innrgrupid");
- var innrclntflag = "2"; //교직원
- var gridupdate = "";
-
- for(var i=sfRow; i<sRows; i++){
- if(sndGrid.valueMatrix(i,sndGrid.colRef("chk")) == "Y" ){
- rcvGrid.addRow();
- rcvGrid.valueMatrix(rRows, rcvGrid.colRef("innrgrupid")) = innrgrupid;
- rcvGrid.valueMatrix(rRows, rcvGrid.colRef("innrclntflag")) = innrclntflag;
- rcvGrid.valueMatrix(rRows, rcvGrid.colRef("innrclntnm")) = sndGrid.valueMatrix(i,sndGrid.colRef("usernm"));
- rcvGrid.valueMatrix(rRows, rcvGrid.colRef("userid")) = sndGrid.valueMatrix(i,sndGrid.colRef("userid"));
- rcvGrid.valueMatrix(rRows, rcvGrid.colRef("email")) = sndGrid.valueMatrix(i,sndGrid.colRef("email"));
- rcvGrid.valueMatrix(rRows, rcvGrid.colRef("mpphontel")) = sndGrid.valueMatrix(i,sndGrid.colRef("mpphonno"));
- rRows++;
- }//if
- }//for
- model.refresh();
- if(rRows < 2){
- messageBox("선택된 목록이","I004");
- model.setFocus("grd_emplist");
- return;
- }else{
- gridupdate = rcvGrid.getUpdateData();
- model.setValue("/root/send/innrgruplist", gridupdate);
- submit("TXCMS00502");//목록 추가
-
- //부모창 새로고침
- opener.javaScript.fGetRefreshTree(innrgrupid);
-
- //초기화
- model.removenodeset("/root/main/list/userlist");
- model.resetInstanceNode("/root/temp/userlist");
- model.setValue("/root/temp/searchstring", "");
- model.refresh();
- //window.close();
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="770" pageheight="460" guideline="2,440;1,750;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption9" class="tit_2" style="left:0px; top:97px; width:95px; height:13px; ">직원 조회</caption>
- <group id="grp_johe" style="left:0px; top:16px; width:750px; height:65px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:750px; height:65px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:21px; top:9px; width:89px; height:17px; ">검색조건 :</caption>
- <select1 id="cmb_searchtype" ref="/root/temp/searchtype" navindex="1" appearance="full" cellspacing="5" cols="3" style="left:110px; top:9px; width:175px; height:19px; ">
- <choices>
- <item>
- <label>직원명</label>
- <value>1</value>
- </item>
- <item>
- <label>직원ID</label>
- <value>3</value>
- </item>
- <item>
- <label>부서명</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_searchitem" ref="/root/temp/searchstring" class="input_s_essential" navindex="2" style="left:290px; top:8px; width:130px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption4" class="search_name" style="left:446px; top:9px; width:87px; height:17px; ">검색범위 :</caption>
- <select1 id="cmb_insttype" ref="/root/temp/insttype" class="combo_search" navindex="3" appearance="minimal" style="left:533px; top:8px; width:110px; height:19px; ">
- <choices>
- <item>
- <label>근무지 기관 내</label>
- <value>dutplceinstcd</value>
- </item>
- <item>
- <label>전체 기관</label>
- <value>totalinstcd</value>
- </item>
- </choices>
- </select1>
- <caption id="caption7" style="left:65px; top:35px; width:45px; height:20px; font-weight:bold; ">직 책 :</caption>
- <select1 id="combo1" ref="/root/temp/searchjobrespcd" class="combo_search" navindex="4" appearance="minimal" style="left:113px; top:36px; width:125px; height:19px; ">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>팀장</label>
- <value>1070</value>
- </item>
- <item>
- <label>UM</label>
- <value>1901</value>
- </item>
- <item>
- <label>JM</label>
- <value>1907</value>
- </item>
- <item>
- <label>임상과장</label>
- <value>0360</value>
- </item>
- <item>
- <label>임상분과장</label>
- <value>1897</value>
- </item>
- </choices>
- </select1>
- <caption id="caption8" style="left:285px; top:35px; width:45px; height:20px; font-weight:bold; ">의 사 :</caption>
- <select1 id="combo2" ref="/root/temp/searchjobkindcd" class="combo_search" navindex="5" appearance="minimal" style="left:333px; top:36px; width:110px; height:19px; ">
- <choices>
- <item>
- <label>의사</label>
- <value>0330</value>
- </item>
- <item>
- <label>치과의사</label>
- <value>0332</value>
- </item>
- <item>
- <label>의사 전체</label>
- <value>all</value>
- </item>
- <item>
- <label/>
- <value/>
- </item>
- </choices>
- </select1>
- <caption id="caption1" style="left:485px; top:35px; width:45px; height:20px; font-weight:bold; ">교 직 :</caption>
- <select1 id="combo3" ref="/root/temp/searchprfshipflagcd" class="combo_search" navindex="6" appearance="minimal" style="left:533px; top:36px; width:110px; height:19px; ">
- <choices>
- <item>
- <label>전임교원</label>
- <value>11</value>
- </item>
- <item>
- <label>비전임교원</label>
- <value>21</value>
- </item>
- <item>
- <label>직원</label>
- <value>41</value>
- </item>
- <item>
- <label>전공의</label>
- <value>31</value>
- </item>
- <item>
- <label>파견직</label>
- <value>71</value>
- </item>
- <item>
- <label/>
- <value/>
- </item>
- </choices>
- </select1>
- <line id="line13" style="x1:660px; y1:13px; x2:660px; y2:50px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter2" navindex="7" style="left:675px; top:20px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var s_string = model.getValue("/root/temp/searchstring");
- var s_insttype = model.getValue("/root/temp/insttype");
- var s_jobrespcd = model.getValue("/root/temp/searchjobrespcd");
- var s_jobkindcd = model.getValue("/root/temp/searchjobkindcd");
- var s_prfshipflagcd = model.getValue("/root/temp/searchprfshipflagcd");
-
- if ((s_string == "" ) && (s_jobrespcd == "" ) && (s_jobkindcd == "" ) && (s_prfshipflagcd == "" )){
- messageBox("검색조건을 적어도 1개 이상 선택하거나", "C001");
- model.setFocus("ipt_searchitem");
- return false;
- }
-
- if ((s_string == "" ) && (s_insttype == "totalinstcd")){
- if ((s_jobrespcd != "") && (s_jobkindcd == "" ) && (s_prfshipflagcd == "" )){
- messageBox("직책만을 검색하시려면 검색범위를 근무지 기관 내로 한정하세요.", "C099");
- model.setFocus("cmb_insttype");
- return false;
- } else if ((s_jobkindcd != "") && (s_jobrespcd == "" ) && (s_prfshipflagcd == "" )){
- messageBox("의사인 교직원만 검색하시려면 검색범위를 근무지 기관 내로 한정하세요.", "C099");
- model.setFocus("cmb_insttype");
- return false;
- } else if ((s_prfshipflagcd != "") && (s_jobrespcd == "" ) && (s_jobkindcd == "" )){
- messageBox("교직 구분만으로 검색하시려면 검색범위를 근무지 기관 내로 한정하세요.", "C099");
- model.setFocus("cmb_insttype");
- return false;
- }
- }
-
- if (model.getValue("/root/temp/searchtype")=="1"){//직원명조회
- model.setValue("/root/send/usernm", s_string);
- model.setValue("/root/send/userid", "");
- model.setValue("/root/send/deptnm", "");
- } else if (model.getValue("/root/temp/searchtype")=="3"){//직원ID 조회
- model.setValue("/root/send/userid", s_string);
- model.setValue("/root/send/usernm", "");
- model.setValue("/root/send/deptnm", "");
- } else if (model.getValue("/root/temp/searchtype")=="2"){//부서명 조회
- model.setValue("/root/send/deptnm", s_string);
- model.setValue("/root/send/userid", "");
- model.setValue("/root/send/usernm", "");
- } else {
- model.setValue("/root/send/usernm", "");
- model.setValue("/root/send/userid", "");
- model.setValue("/root/send/deptnm", "");
- }
-
- model.setValue("/root/send/insttype", s_insttype);
- model.setValue("/root/send/searchjobrespcd", s_jobrespcd);
- model.setValue("/root/send/searchjobkindcd", s_jobkindcd);
- model.setValue("/root/send/searchprfshipflagcd", s_prfshipflagcd);
-
- if (s_jobkindcd == "all") {
- model.setValue("root/send/searchdryn","Y")
- model.setValue("/root/send/searchjobkindcd", "");
- }
-
- submit("TRCMS00801");
-
- model.setValue("/root/send/insttype", "");
- model.setValue("/root/send/searchjobrespcd", "");
- model.setValue("/root/send/searchjobkindcd", "");
- model.setValue("/root/send/searchprfshipflagcd", "");
- model.setValue("/root/send/usernm", "");
- model.setValue("/root/send/userid", "");
- model.setValue("/root/send/deptnm", "");
- model.setValue("/root/send/searchdryn", "");
-
- var rows = grd_emplist.rows-1;
- model.setValue("/root/temp/totalcount", rows);
- if(rows >=1){
- grd_emplist.valueMatrix(1,grd_emplist.colRef("chk"))="N";
- }
-
- model.refresh();
-
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_body" style="left:0px; top:115px; width:750px; height:280px; ">
- <line id="line2" class="line_1" style="x1:0px; y1:0px; x2:750px; y2:0px; "/>
- <datagrid id="grd_emplist" nodeset="/root/main/list/userlist" caption="^근무지기관명^근무지부서명^직원명^직위^직책^직종^교직구분^직군^사용자유형^근무기관명^근무부서명^근무부서코드^인사상위부서^소속기관명^소속부서명^직원ID^휴대폰^이메일" colwidth="30, 120, 130, 100, 95, 95, 95, 95, 95, 100, 120, 130, 0, 130, 120, 130, 80, 110, 150" dataheight="23" ellipsis="true" explorerbar="sortshowmove" frozencols="4" mergecellsfixedrows="bycolrec" rowheader="select" rowheight="23" tooltip="true" style="left:0px; top:5px; width:750px; height:250px; margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col ref="instnm" style="text-align:center; "/>
- <col ref="deptnm" style="text-align:center; "/>
- <col ref="usernm" style="text-align:center; "/>
- <col disabled="true" ref="jobposcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/R0062list/R0062">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="jobrespcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/R0063list/R0063">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="jobkindcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/R0061list/R0061">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="prfshipflagcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/R0058list/R0058">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="grupjoblncd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/R0059list/R0059">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="userkindcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/Z0016list/Z0016">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="dutinstnm" style="text-align:center; "/>
- <col ref="dutdeptnm" style="text-align:center; "/>
- <col ref="dutdeptcd" visibility="hidden" style="text-align:center; "/>
- <col ref="psnworksupdeptnm" style="text-align:center; "/>
- <col ref="posinstnm" style="text-align:center; "/>
- <col ref="posdeptnm" style="text-align:center; "/>
- <col ref="userid" style="text-align:center; "/>
- <col ref="mpphonno" style="text-align:center; "/>
- <col ref="email" style="text-align:center; "/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var grid = grd_emplist;
- var rows = grd_emplist.rows -1;
- var count = 0;
- for(i=1; i<=rows; i++){
- if(grid.valueMatrix(i,grid.colRef("chk"))=="Y"){
- count = count + 1;
- }
- }
- model.setValue("/root/temp/chckcount", count);
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if ((grd_emplist.row > 0) && grd_emplist.isCell(event.target) && (grd_emplist.col != 1) ){
- if(model.getValue("/root/send/innrgrupid")==""){
- messageBox("선택된 그룹이","I004");
- model.setFocus("cmb_innrgroup");
- return;
- }
- model.removeNodeset("/root/temp/userlist");
- model.refresh();
-
- grd_emplist.valueMatrix(grd_emplist.row, grd_emplist.colRef("chk")) = "Y";
- fGridRowAddRow(grd_emplist, grd_emplistsave);
- //window.close();
- model.setFocus("cmb_searchtype");
- } else {
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if ((grd_emplist.row > 0) && grd_emplist.isCell(event.target) && (grd_emplist.col != 1) ){
- var chk = grd_emplist.valueMatrix(grd_emplist.row, grd_emplist.colRef("chk"));
- if(chk == "Y"){
- grd_emplist.valueMatrix(grd_emplist.row, grd_emplist.colRef("chk"))="N";
- }else{
- grd_emplist.valueMatrix(grd_emplist.row, grd_emplist.colRef("chk"))="Y";
- }
- model.refresh();
- } else {
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption3" style="left:505px; top:257px; width:230px; height:20px; text-align:right; ">
- <![CDATA[< 명 / 총 명 >]]>
- </caption>
- <caption id="caption5" ref="/root/temp/totalcount" style="left:674px; top:257px; width:35px; height:19px; text-align:right; "/>
- <caption id="caption6" ref="/root/temp/chckcount" style="left:591px; top:257px; width:35px; height:19px; text-align:right; "/>
- <button id="btn_allchk" class="btn2_letter2" navindex="8" style="left:2px; top:8px; width:42px; height:19px; text-align:center; ">
- <caption>All</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGridAllRow(grd_emplist);
- ]]>
- </script>
- </button>
- <datagrid id="grd_emplistsave" nodeset="/root/temp/userlist" visibility="hidden" caption="직원명^직원ID^e-mail^phone^innrgrupid^innrclntflag" colwidth="123, 123, 100, 100, 84, 85" dataheight="23" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" style="left:0px; top:135px; width:695px; height:110px; margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
- <col ref="innrclntnm"/>
- <col ref="userid"/>
- <col ref="email"/>
- <col ref="mpphontel"/>
- <col ref="innrgrupid"/>
- <col ref="innrclntflag"/>
- </datagrid>
- </group>
- <group id="grp_btn" style="left:0px; top:401px; width:750px; height:35px; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:750px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption10" class="search_name" style="left:25px; top:9px; width:104px; height:17px; ">주소록 위치 :</caption>
- <select1 id="rdo_publyn" ref="/root/send/publyn" class="s" navindex="9" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:136px; top:9px; width:119px; height:16px; background-color:transparent; border-style:none; ">
- <choices>
- <item>
- <label>개인</label>
- <value>N</value>
- </item>
- <item>
- <label>부서</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- submit("TRCCN00501");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_innrgroup" ref="/root/send/innrgrupid" navindex="10" appearance="minimal" style="left:280px; top:8px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/innrgrupinfo/innrgruplist">
- <label ref="innrgrupnm"/>
- <value ref="innrgrupid"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_save" class="btn4_letter2" navindex="11" style="left:618px; top:7px; width:56px; height:22px; ">
- <caption>등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ((grd_emplist.row > 0) && (grd_emplist.col > 0)){
- if(model.getValue("/root/send/innrgrupid")==""){
- messageBox("선택된 그룹이","I004");
- model.setFocus("cmb_innrgroup");
- return;
- }
- model.removeNodeset("/root/temp/userlist");
- model.refresh();
- fGridRowAddRow(grd_emplist, grd_emplistsave);
- //window.close();
- } else if (grd_emplist.col == 0) {
- messageBox("열 앞부분을 선택하지 말고 내용이나 체크 표시를 ","C002");
- } else {
- messageBox("등록할 직원을 선택하지 않았거나 선택할 직원이 없습니다. 조회하신 후 목록을 ","C002");
- model.SetFocus("grd_emplist");
- }
- ]]>
- </script>
- </button>
- <button id="btn_close" class="btn4_letter2" navindex="12" style="left:676px; top:7px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|