123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140 |
- <?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>조직도</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <indxlist>
- <item>
- <depth/>
- <deptcd/>
- <psnworksupdeptcd/>
- <depthngnm/>
- <pathcd/>
- </item>
- </indxlist>
- <empllist>
- <emplno/>
- <emplnm/>
- <jobrespnm/>
- <depthngnm/>
- </empllist>
- </main>
- <send>
- <instcd/>
- <deptcd/>
- <jobrespcd/>
- <psnworksupdeptcd/>
- <deptgbn/>
- </send>
- <init/>
- </root>
- </instance>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfComboInstCdListMulti("cmb_instcd", getCurrentDate(),"","N","Y");
-
- misfGridInit(grd_empllist);
- var instcd = getUserInfo("dutplceinstcd");
- cmb_instcd.value=instcd;
- submit("TRRPC00401");
- model.refresh();
- ]]>
- </script>
- <submission id="TRRPC00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/indxlist"/>
- <submission id="TRRPC00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/empllist"/>
- </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/dateHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="900" pageheight="800" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:900; height:13px; ">
- <caption id="caption6selctedmode" class="tit_1" style="left:0px; top:0px; width:98px; height:14px; ">조직도</caption>
- </group>
- <group id="group2" style="left:0px; top:12px; width:900px; height:754px; vertical-align:top; ">
- <line id="line11" class="line_2" style="x1:0px; y1:70px; x2:250px; y2:70px; "/>
- <line id="line12" class="line_1" style="x1:0px; y1:68px; x2:355; y2:68px; "/>
- <treeview id="trv_dgindx" ref="/root/main/indxlist/item" expanddepth="0" itemsettype="depth" style="left:0px; top:73px; width:355px; height:671px; padding-left:20; border-color:#c0c0c0; border-style:solid; ">
- <itemset nodeset="/root/main/indxlist/item">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- <depth ref="depth"/>
- <upcode ref="psnworksupdeptcd"/>
- </itemset>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //var deptindex=trv_dgindx.label.lastIndexOf("부");
-
- //ipt_jobrespcd.value=jobrespcd;
- misfGridInit(grd_empllist);
- var iIndx = trv_dgindx.focusIndex + 1;
- var iIndx2 = trv_dgindx.focusIndex + 2;
- var psnworksupdeptcd = model.getValue("/root/main/indxlist/item[" + iIndx + "]/psnworksupdeptcd");
- var deptcd = model.getValue("/root/main/indxlist/item[" + iIndx + "]/deptcd");
- var depth = model.getValue("/root/main/indxlist/item[" + iIndx + "]/depth");
- var nextdeptcd = model.getValue("/root/main/indxlist/item[" + iIndx2 + "]/psnworksupdeptcd");
- if(deptcd != nextdeptcd){
- model.setValue("/root/send/deptgbn","L");
- }else{
- model.setValue("/root/send/deptgbn","B");
- }
- if(parseFloat(depth) >=2){
- ipt_deptcd.value=deptcd;
- ipt_psnworksupdeptcd.value=psnworksupdeptcd;
- if(ipt_deptcd.value != ""){
- submit("TRRPC00402");
- model.refresh();
- }
- }
- ]]>
- </script>
- </treeview>
- <group id="group4" style="left:0px; top:10px; width:880px; height:35px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:880px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line3" class="line_4" style="x1:804px; y1:7px; x2:804px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter2" navindex="4" style="left:819px; top:7px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridInit(grd_empllist);
- submit("TRRPC00401");
- ]]>
- </script>
- </button>
- <caption id="caption4" class="search_name" style="left:15px; top:9px; width:85px; height:17px; ">기 관 :</caption>
- <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_default" appearance="minimal" style="left:100; top:8; width:200px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/init">
- <label ref="cnstnm"/>
- <value ref="cnstcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfGridInit(grd_empllist);
- submit("TRRPC00401");
- ]]>
- </script>
- </select1>
- <input id="ipt_deptcd" ref="/root/send/deptcd" visibility="hidden" style="left:325px; top:8px; width:90px; height:19px; "/>
- <input id="ipt_jobrespcd" ref="/root/send/jobrespcd" visibility="hidden" style="left:330px; top:8px; width:90px; height:19px; "/>
- <input id="ipt_psnworksupdeptcd" ref="/root/send/psnworksupdeptcd" visibility="hidden" style="left:335px; top:8px; width:90px; height:19px; "/>
- </group>
- <datagrid id="grd_empllist" nodeset="/root/main/empllist" caption="사원번호^성명^부서^직책^직위" colsep="^" colwidth="74, 72, 125, 108, 109" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:360px; top:73px; width:530px; height:671px; text-align:center; ">
- <col ref="emplno" style="text-align:center; "/>
- <col ref="emplnm" style="text-align:center; "/>
- <col ref="depthngnm" style="text-align:center; "/>
- <col ref="jobrespnm" style="text-align:center; "/>
- <col ref="jobposnm" style="text-align:center; "/>
- </datagrid>
- <line id="line1" class="line_1" style="x1:360px; y1:68px; x2:890px; y2:68px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|