123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413 |
- <?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>
- <RscmggbnLists>
- <rscmggbnlist>
- <depth/>
- <pcode/>
- <codecd/>
- <codenm/>
- <dispcd/>
- <dispnm/>
- <basecd/>
- <instcd/>
- <cdnm/>
- <emplno/>
- <usernm/>
- <goodflag/>
- <reqflagnm/>
- </rscmggbnlist>
- </RscmggbnLists>
- <RscmgubnLists>
- <TreeList>
- <depth/>
- <pcode/>
- <codecd/>
- <codenm>
- </codenm>
- <basecd/>
- <mainmngtdeptcd/>
- <mainmngtdeptnm/>
- <winacnt/>
- <winacntnm/>
- <amtacnt/>
- <amtacntnm/>
- <dispnm>
- </dispnm>
- </TreeList>
- </RscmgubnLists>
- <list>
- <rscmggbn>
- <rscmggbnlist/>
- </rscmggbn>
- <rscmreus>
- <rscmreuslist/>
- </rscmreus>
- <rscmsude>
- <rscmsudelist/>
- </rscmsude>
- <rscmregb>
- <rscmregblist/>
- </rscmregb>
- </list>
- <RscmggbnEmpLists>
- <rscmggbnemplist>
- <depth/>
- <pcode/>
- <codecd/>
- <codenm/>
- <basecd/>
- <dispnm/>
- </rscmggbnemplist>
- </RscmggbnEmpLists>
- <RscmggbnEmpData>
- <instcd/>
- <emplno/>
- <emplnm/>
- <goodflag/>
- <jobcls/>
- <depth/>
- <updateyn/>
- </RscmggbnEmpData>
- </main>
- <init>
- <reqcombo>
- <label>구매재고</label>
- <value>1</value>
- <label>약국</label>
- <value>2</value>
- <label>비품</label>
- <value>3</value>
- <label>장비</label>
- <value>4</value>
- <label>CSR</label>
- <value>5</value>
- <label>수리</label>
- <value>6</value>
- </reqcombo>
- <purcpgmgubn>
- <label>구매재고</label>
- <value>1</value>
- <label>약국</label>
- <value>2</value>
- <label>비품</label>
- <value>3</value>
- <label>장비</label>
- <value>4</value>
- <label>CSR</label>
- <value>5</value>
- <label>수리</label>
- <value>6</value>
- </purcpgmgubn>
- </init>
- <send>
- <rscmggbn>
- <instcd/>
- <emplno/>
- <emplnm/>
- </rscmggbn>
- <rscmregb>
- <instcd/>
- </rscmregb>
- <rscmreus>
- <instcd/>
- <reqflag/>
- </rscmreus>
- <rscmsude>
- <instcd/>
- <reqflag/>
- </rscmsude>
- <rscmregblist/>
- <rscmreuslist/>
- <rscmsudelist/>
- <reqdeptcd/>
- </send>
- <temp/>
- <WorkData>
- <HideData>
- <viewcls>E</viewcls>
- <instcd/>
- <deptcd/>
- <deptnm/>
- </HideData>
- <workinst>
- <defaultggbn>
- <depth>1</depth>
- <pcode>0000</pcode>
- <codecd>0000</codecd>
- <codenm>관리권한물품</codenm>
- <basecd/>
- <dispnm> 관리권한물품</dispnm>
- <checkyn>N</checkyn>
- </defaultggbn>
- <AppendLists>
- <rscmggbnemplist>
- <depth/>
- <pcode/>
- <codecd/>
- <codenm/>
- <basecd/>
- <dispnm/>
- <checkyn/>
- </rscmggbnemplist>
- </AppendLists>
- <CopyList>
- <rscmggbnemplist>
- <depth/>
- <pcode/>
- <codecd/>
- <codenm/>
- <basecd/>
- <dispnm/>
- <checkyn/>
- </rscmggbnemplist>
- </CopyList>
- </workinst>
- </WorkData>
- </root>
- </instance>
- <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/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" src="../../../mis/purcbaseweb/js/SMRSC01000.js"/>
- <submission id="TRRSC01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/rscmggbn" resultref="/root/main/list/rscmggbn/rscmggbnlist"/>
- <submission id="TXRSC01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/rscmggbnlist" resultref="/root/temp"/>
- <submission id="TRRSC01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/rscmregb" resultref="/root/main/list/rscmregb/rscmregblist"/>
- <submission id="TXRSC01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TRRSC01003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/rscmreus" resultref="/root/main/list/rscmreus/rscmreuslist"/>
- <submission id="TRRSC01004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/rscmsude" resultref="/root/main/list/rscmsude/rscmsudelist"/>
- <submission id="TRRSC01005" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/RscmggbnLists"/>
- <submission id="TRRSC01006" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/RscmggbnEmpLists"/>
- <submission id="TRRSC05104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/RscmgubnLists"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,882;2,72;2,110;2,645;">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:900px; height:12; ">사용자별 관리 물품 권한</caption>
- <group id="group2" style="left:0px; top:28px; width:900px; height:638px; ">
- <switch id="swh_select" style="left:0px; top:0px; width:900px; height:628px; ">
- <case id="cse_ggbn" selected="true">
- <group id="group3" style="left:0px; top:9px; width:315px; height:582px; vertical-align:top; ">
- <treeview id="trv_setcode" ref="/root/main/RscmgubnLists/TreeList" expanddepth="1" image="../../../com/commonweb/images/icon_folder_close.gif" itemsettype="depth" selectedimage="../../../com/commonweb/images/icon_folder_open.gif" style="left:5px; top:40px; width:306px; height:537px; ">
- <itemset nodeset="/root/main/RscmggbnLists/rscmggbnlist">
- <label ref="dispnm"/>
- <value ref="pcode"/>
- <depth ref="depth"/>
- </itemset>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- bbt_emp.selected="true";
- bbt_emp.dispatch("DOMActivate");
-
- fTreeClick(trv_setcode.focusIndex);
-
- ]]>
- </script>
- </treeview>
- <group id="group1" style="left:5px; top:0px; width:306px; height:35px; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:305px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <select1 id="rdo_viewcls" ref="/root/WorkData/HideData/viewcls" appearance="full" cols="2" overflow="visible" style="left:15px; top:10px; width:135px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>사원번호</label>
- <value>E</value>
- </item>
- <item>
- <label>물품구분</label>
- <value>G</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fRscmggbnTree();
- ]]>
- </script>
- </select1>
- <button id="button5" style="left:4px; top:5px; width:296px; height:25px; text-align:center; background-image:../../../com/commonweb/images/btn2_letter20.gif; background-repeat:repeat-x; background-stretch:stretch; ">
- <caption>트리 재구성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fRscmggbnTree();
- ]]>
- </script>
- </button>
- </group>
- </group>
- <group id="grp_sea" style="left:325px; top:10px; width:565px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:565px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_save" class="btn4_letter3" style="left:429px; top:7px; width:68px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fRscmggbnDataSubmit();
- ]]>
- </script>
- </button>
- <button id="bbt_append" class="btn4_letter2" style="left:365px; top:7px; width:56px; height:22px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAppendData();
- ]]>
- </script>
- </button>
- <button id="bbt_delete" class="btn4_letter2" style="left:505px; top:7px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDataSubmit("D");
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_disp" style="left:325px; top:50px; width:565px; height:540px; border-color:#c0c0c0; border-style:solid; ">
- <input id="cmb_emplno" ref="/root/main/RscmggbnEmpData/emplno" class="input_search" navindex="26" maxlength="10" appearance="input" style="left:99px; top:55px; width:98px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- //misfValidationCheck("01-1", "", "emplno,emplnm,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy1,dummy1" );
- var recv_list = "emplno,emplnm";
- misfValidationCheck("01-1","", recv_list);
- model.refresh();
-
- ]]>
- </script>
- </input>
- <!-- <select1 id="cmb_instcd" ref="/root/WorkData/HideData/instcd" navindex="1" class="combo_default" disabled="true" appearance="minimal" style="left:99px; top:9px; width:150px; height:19px; ">-->
- <select1 id="cmb_instcd" ref="/root/WorkData/HideData/instcd" class="combo_default" disabled="true" navindex="1" appearance="minimal" style="left:99px; top:9px; width:150px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //rszfReqFlagComboComCdList(getUserInfo("userid"),cmb_instcd ,"N",model.getValue(cmb_instcd.attribute("ref")));
- //fSetReqAuth();
- // btn_search.dispatch("DOMActivate");
- fRscmggbnTree();
- ]]>
- </script>
- </select1>
- <button id="bbt_emp" class="btn_sw" group="tab" selected="true" style="left:9px; top:79px; width:99px; height:22px; ">
- <caption>관리물품권한</caption>
- <toggle case="case1" ev:event="DOMActivate"/>
- </button>
- <button id="btn_winpsn" class="icon_search" style="left:203px; top:55px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "emplno,emplnm";
- // misfOpenPopUpList("01", cmb_emplno,"", recv_list) ;
- // misfOpenPopUpList("12", cmb_emplno,"", recv_list,model.getValue(cmb_instcd.attribute("ref"))+","+model.getValue(ipt_deptcd.attribute("ref"))+","+model.getValue(ipt_deptnm.attribute("ref")),"instcd,deptcd,deptnm") ; // 인사사용자조회
- misfOpenPopUpList("45", cmb_emplno,"",recv_list, model.getValue(cmb_instcd.attribute("ref"))+","+model.getValue(ipt_deptcd.attribute("ref"))+","+model.getValue(ipt_deptnm.attribute("ref")),"instcd,deptcd,deptnm" ); // 사용자 조회
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button7" class="btn_sw" group="tab" selected="true" style="left:108px; top:79px; width:99px; height:22px; ">
- <caption>관리물품선택</caption>
- <toggle case="case2" ev:event="DOMActivate"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fChoisClick();
- ]]>
- </script>
- </button>
- <input id="ipt_emplnm" ref="/root/main/RscmggbnEmpData/emplnm" class="output_fix" style="left:226px; top:55px; width:175px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "emplno,emplnm";
- misfValidationCheck("01-2","", recv_list);
- model.refresh();
- ]]>
- </script>
- </input>
- <switch id="trv_data" style="left:9px; top:99px; width:546px; height:433px; ">
- <case id="case1" style="left:0px; top:0px; width:546px; height:433px; ">
- <treeview id="trv_empdata" ref="/root/main/RscmggbnEmpLists/rscmggbnemplist" expanddepth="4" image="../../../com/commonweb/images/icon_folder_close.gif" itemsettype="depth" selectedimage="../../../com/commonweb/images/icon_folder_open.gif" style="left:0px; top:0px; width:544px; height:432px; ">
- <itemset nodeset="/root/main/RscmggbnEmpLists/rscmggbnemplist">
- <label ref="dispnm"/>
- <value ref="pcode"/>
- <depth ref="depth"/>
- </itemset>
- </treeview>
- </case>
- <case id="case2" selected="true">
- <treeview id="trv_gubn" expanddepth="1" hascheck="true" image="../../../com/commonweb/images/icon_folder_close.gif" itemsettype="depth" selectedimage="../../../com/commonweb/images/icon_folder_open.gif" style="left:0px; top:25px; width:544px; height:406px; ">
- <itemset nodeset="/root/main/RscmgubnLists/TreeList">
- <label ref="dispnm"/>
- <value ref="pcode"/>
- <depth ref="depth"/>
- </itemset>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //opt_index.value = trv_gubn.focusIndex;
-
- fGubnTreeClick(trv_gubn, trv_gubn.focusIndex);
-
- ]]>
- </script>
- </treeview>
- <button id="button20" class="btn2_letter2" style="left:480px; top:4px; width:42px; height:19px; ">
- <caption>선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fChoisData();
- ]]>
- </script>
- </button>
- </case>
- </switch>
- <caption id="caption15" class="cell_1" style="left:9px; top:9px; width:85px; height:19px; vertical-align:middle; ">기관코드</caption>
- <caption id="caption7" class="cell_1" style="left:9px; top:32px; width:85px; height:19px; vertical-align:middle; ">부서코드</caption>
- <caption id="caption1" class="cell_1" style="left:9px; top:55px; width:85px; height:19px; vertical-align:middle; ">사원번호</caption>
- <input id="ipt_deptcd" ref="/root/WorkData/HideData/deptcd" class="input_search" navindex="26" maxlength="10" appearance="input" style="left:99px; top:32px; width:98px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- //misfValidationCheck("01-1", "", "emplno,emplnm,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy1,dummy1" );
- misfValidationCheck("02", "", "deptcd,deptnm" );
- model.refresh();
-
- ]]>
- </script>
- </input>
- <button id="button1" class="icon_search" style="left:203px; top:32px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_deptcd, "", "deptcd,deptnm",model.getValue(cmb_instcd.attribute("ref")),"instcd" );
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_deptnm" ref="/root/WorkData/HideData/deptnm" class="output_fix" disabled="true" style="left:226px; top:32px; width:175px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "deptcd,deptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- </group>
- </case>
- </switch>
- </group>
- </xhtml:body>
- </xhtml:html>
|