123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- <?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>부서(Unit)HELP</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <unit>
- <unitlist/>
- </unit>
- </main>
- <target/>
- <init>
- </init>
- <send>
- <unit>
- <instcd/>
- <deptcd/>
- </unit>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfGridInit(grd_instdeptresp);
- misfMsterDetailSet(grd_instdeptresp,null, "TRRPV98101" ,"N");
- grd_instdeptresp.fixedcellcheckbox(0,2) = true;
-
- try {
- model.setValue(ipt_deptcd.attribute("ref"),model.getValue("/root/target/defaultvalue/ipt_deptcd"));
- model.setValue(ipt_instcd.attribute("ref"),model.getValue("/root/target/defaultvalue/cmb_instcd"));
- // model.setValue(ipt_deptcd.attribute("ref"),"4020500000");
- // model.setValue(ipt_instcd.attribute("ref"),"001");
- } catch (ex) {
- }
-
-
- model.refresh();
-
- submit("TRRPV98101");
- ]]>
- </script>
- <submission id="TRRPV98101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/unit" resultref="/root/main/unit"/>
- </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="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/valuationmngtweb/js/RPV001.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="420" pageheight="570" guideline="1,156;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:10px; top:0px; width:390px; height:522px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:14px; width:175px; height:14px; ">부서 List</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:28px; x2:385px; y2:28px; "/>
- <datagrid id="grd_instdeptresp" nodeset="/root/main/unit/unitlist" caption="부서^" colsep="^" colwidth="317, 30, 100, 100, 100" dataheight="23" defaultrows="0" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:33px; width:385px; height:449px; ">
- <col ref="deptnm"/>
- <col checkvalue="Y,N" ref="check" type="checkbox"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="jobrespcd" visibility="hidden"/>
- <col ref="deptcd" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( grd_instdeptresp.isCell(event.target) && grd_instdeptresp.row >= grd_instdeptresp.fixedRows )
- {
- model.setValue(grd_instdeptresp.nodeset + "[" + (grd_instdeptresp.row - grd_instdeptresp.fixedRows + 1) + "]/check" , "Y");
- btn_confirm.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </datagrid>
- <input id="ipt_deptcd" ref="/root/send/unit/deptcd" class="input_default" visibility="hidden" style="left:200px; top:5px; width:50px; height:19px; "/>
- <input id="ipt_instcd" ref="/root/send/unit/instcd" class="input_default" visibility="hidden" style="left:260px; top:5px; width:50px; height:19px; "/>
- </group>
- <group id="group1" scroll="auto" style="left:10px; top:491px; width:385px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:265px; top:2px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_instdeptresp.rows - grd_instdeptresp.fixedRows == 0)
- {
- messageBox("적용할 내역이","I004");
- window.close();
- return;
- }
- var iParam = model.getValue(grd_instdeptresp.nodeset);
- var nodelist = instance1.selectNodes(grd_instdeptresp.nodeset + "[check='Y']");
-
- var rCVS = getNodeListCSV(nodelist);
-
- //alert(nodelist);
- //alert(rCVS);
- if ( checkOpener() ) {
-
- opener.javascript.setParameter("SMRPV98100_", rCVS);
-
- } else {
- var rtn = messageBox("상위화면을 찾을 수", "E001");
- }
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:322px; top:2px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|