123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet ype="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>불출확정 집계 부서관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <deptinfo>
- <deptlist/>
- </deptinfo>
- </main>
- <send>
- <search>
- <instcd/>
- <reqdeptcd/>
- <reqdeptnm/>
- </search>
- <save>
- <deptlist/>
- </save>
- </send>
- <init>
- </init>
- <hidden/>
- <temp>
- </temp>
- <popdata>
- <srchdd/>
- </popdata>
- <popreq>
- <count/>
- </popreq>
- <popsubdata/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- misfGridInit(grd_deptlist);
- misfGetAndSetUserInfo(); //접속자기본정보
-
- misfComboComCdListMulti("Z0007","cmb_instcd");
- model.setValue("/root/send/search/instcd", getUserInfo("dutplceinstcd")); //기관 설정
- model.refresh();
- ]]>
- </script>
- <submission id="TRRSD02701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/deptinfo/deptlist"/>
- <submission id="TXRSD02701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/deptlist" 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="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.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/stringHelper.js"/>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:243px; height:15px; ">불출확정 집계 부서 관리</caption>
- </group>
- <group id="group1" style="left:0px; top:12; width:1195px; height:27px; ">
- <line id="line17" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25px; "/>
- <button id="btn_save" class="btn4_letter2" navindex="8" style="left:1138px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/save/deptlist",grd_deptlist.getUpdateData());
- if(submit("TXRSD02701")){
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
- <group id="grp_search" style="left:0px; top:9px; width:1195px; height:36px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" navindex="7" style="left:1121px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRRSD02701")
- ]]>
- </script>
- </button>
- <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_default" disabled="true" navindex="1" appearance="minimal" style="left:117px; top:10px; width:136px; height:19px; text-align:center; ">
- <choices>
- <itemset nodeset="/root/main/init">
- <label ref="cnstnm"/>
- <value ref="cnstcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_instcd" class="search_name" style="left:33px; top:10px; width:86px; height:17px; ">기관코드:</caption>
- <caption id="caption20" class="search_name" style="left:661px; top:10px; width:81px; height:17px; vertical-align:middle; ">부서:</caption>
- <line id="line30" class="line_4" style="x1:1100px; y1:5px; x2:1100px; y2:32px; "/>
- <button id="btn_delivedeptcd" class="icon_search" navindex="3" style="left:853px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var vOrigDeptcd = ipt_reqdeptcd.value; //popup을 열기전 부서 저장
-
- var recv_list = "reqdeptcd,reqdeptnm";
- misfOpenPopUpList("02", ipt_reqdeptcd,"", recv_list) ;
-
- // model.setValue("/root/cond/delivedeptcd", model.getValue("/root/cond/reqdeptcd"));
- // model.setValue("/root/cond/delivedeptnm", model.getValue("/root/cond/reqdeptnm"));
-
- ipt_reqdeptcd.refresh();
- opt_reqdeptnm.refresh();
- // ipt_delivedeptcd.refresh();
- // opt_delivedeptnm.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_reqdeptcd" ref="/root/send/search/reqdeptcd" class="input_default" navindex="2" style="left:746px; top:10px; width:105px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfValidationCheck("02", "", "reqdeptcd,reqdeptnm" );
-
- // model.setValue("/root/cond/delivedeptcd", model.getValue("/root/cond/reqdeptcd"));
- // model.setValue("/root/cond/delivedeptnm", model.getValue("/root/cond/reqdeptnm"));
-
- if(grd_deptlist.rows > grd_deptlist.fixedRows) {
- misfGridInit(grd_deptlist);
- }
- ipt_reqdeptcd.refresh();
- opt_reqdeptnm.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("ipt_reqdeptcd", "xforms-value-changed");
- ]]>
- </script>
- </input>
- <output id="opt_reqdeptnm" ref="/root/send/search/reqdeptnm" class="output_fix" appearance="output" style="left:871px; top:10px; width:156px; height:19px; "/>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:73px; x2:1195px; y2:73px; "/>
- <caption id="caption1" class="tit_2" style="left:0px; top:53px; width:180px; height:13px; ">집계 부서 리스트</caption>
- <button id="btn_rowinsert" class="btn2_letter3" navindex="20" style="left:1084px; top:52px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_deptlist, "A");
- ]]>
- </script>
- </button>
- <datagrid id="grd_deptlist" nodeset="/root/main/deptinfo/deptlist" class="datagrid2" caption="기관코드^부서코드^부서명^상위부서코드^상위부서명^비고" colsep="^" colwidth="50, 100, 150, 100, 150, 500," mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:78px; width:1195px; height:612px; ">
- <col ref="instcd" visibility="hidden"/>
- <col disabled="true" ref="deptcd" type="inputbutton" style="text-align:center; "/>
- <col disabled="true" ref="deptnm" style="text-align:center; "/>
- <col ref="supdeptcd" type="input"/>
- <col ref="supdeptnm" type="inputbutton"/>
- <col ref="cmt" type="input"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if(grd_deptlist.colAttribute(grd_deptlist.col,"ref") == "supdeptnm"){
- misfOpenPopUpList("02", grd_deptlist,"", "supdeptcd,supdeptnm") ;
- }else if(grd_deptlist.colAttribute(grd_deptlist.col,"ref") == "deptcd"){
- misfOpenPopUpList("02", grd_deptlist,"", "deptcd,deptnm") ;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- //Grid 에서 엔터 입력시 다음행 수정
- misfNextRow(grd_deptlist);
- ]]>
- </script>
- </datagrid>
- <button id="btn_choidel" class="btn2_letter3" navindex="21" style="left:1138px; top:52px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_deptlist, "D");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|