123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199 |
- <?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>기관부서직책HELP</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <instdeptresp>
- <instdeptresplist/>
- </instdeptresp>
- </list>
- </main>
- <target/>
- <init>
- </init>
- <send>
- <instdeptresp>
- <instdeptresp>1</instdeptresp>
- <instcd/>
- <deptcd/>
- <deptnm/>
- <inputinstcd/>
- <inputdeptcd/>
- <jobrespcd/>
- <valuyy/>
- </instdeptresp>
- <jobresp>
- <valuyy/>
- </jobresp>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- misfGridInit(grd_instdeptresp);
- misfMsterDetailSet(grd_instdeptresp,null, "TRRPV99301" ,"N");
- rpvfComboInstCdList("cmb_instcd");
- addGridComboItemAll("cmb_instcd","","","above");
-
- grd_instdeptresp.fixedcellcheckbox(0,4) = true;
-
- var curdate = getCurrentDate();
- model.setValue("/root/send/jobresp/valuyy" , curdate.substr(0, 4));
- model.setValue("/root/send/instdeptresp/valuyy" , curdate.substr(0, 4));
-
- try {
- model.setValue(ipt_inputinstcd.attribute("ref"),model.getValue("/root/target/defaultvalue/cmb_instcd"));
- model.setValue(ipt_inputdeptcd.attribute("ref"),model.getValue("/root/target/defaultvalue/ipt_inputinstcd"));
- } catch (ex) {
- }
-
- // 평가구분
- submit("TRRPV04002");
- addGridComboItem("cmb_jobrespcd", "- 전체-", "%", "above");
- cmb_jobrespcd.value = "%";
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRRPV99301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/instdeptresp" resultref="/root/main/list/instdeptresp"/>
- <submission id="TRRPV04002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/jobresp" resultref="/root/init/valuflag"/>
- </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="750" 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:705px; height:522px; ">
- <group id="group2" style="left:0px; top:5px; width:705px; height:35px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:1px; top:0px; width:704px; height:35px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:644px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </button>
- <select1 id="cmb_instcd" ref="/root/send/instdeptresp/instcd" class="combo_s_essential" appearance="minimal" style="left:63px; top:8px; width:132px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" style="left:198px; top:8px; width:63px; height:17px; ">부서 :</caption>
- <input id="ipt_deptnm" ref="/root/send/instdeptresp/deptnm" class="input_default" style="left:258px; top:8px; width:99px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "deptcd,deptnm";
- var instcd = cmb_instcd.value;
- misfValidationCheck("02", "", "deptcd,deptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="cap_instcd" class="search_name" style="left:2px; top:9px; width:61px; height:17px; vertical-align:middle; ">기관 :</caption>
- <input id="ipt_deptcd" ref="/root/send/instdeptresp/deptcd" class="input_default" visibility="hidden" style="left:258px; top:8px; width:82px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var recv_list = "deptcd,deptnm";
- var instcd = cmb_instcd.value;
- misfValidationCheck("02", "", "deptcd,deptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="btn_deptcd" class="icon_search" style="left:358px; top:9px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "deptcd,deptnm";
- var instcd = cmb_instcd.value;
- rpvfOpenDeptCdHelp(ipt_deptnm,recv_list, instcd, "instcd");
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmb_jobrespcd" ref="/root/send/instdeptresp/jobrespcd" class="combo_s_essential" appearance="minimal" style="left:526px; top:9px; width:114px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/valuflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:465px; top:10px; width:61px; height:17px; vertical-align:middle; ">직책 :</caption>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:49px; width:175px; height:13px; ">기관부서직책 리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:63px; x2:700px; y2:63px; "/>
- <datagrid id="grd_instdeptresp" nodeset="/root/main/list/instdeptresp/instdeptresplist" caption="기관^부서^직책^" colsep="^" colwidth="149, 258, 158, 21, 100, 100, 100" dataheight="23" defaultrows="0" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:68px; width:700px; height:449px; ">
- <col ref="instnm"/>
- <col ref="deptnm"/>
- <col ref="jobrespnm"/>
- <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_inputdeptcd" ref="/root/send/instdeptresp/inputdeptcd" class="input_default" visibility="hidden" style="left:200px; top:40px; width:50px; height:19px; "/>
- <input id="ipt_inputinstcd" ref="/root/send/instdeptresp/inputinstcd" class="input_default" visibility="hidden" style="left:260px; top:40px; width:50px; height:19px; "/>
- </group>
- <group id="group1" scroll="auto" style="left:10px; top:521px; width:705px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:590px; 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);
- if ( checkOpener() ) {
- opener.javascript.setParameter("SMRPV99300_", rCVS);
-
- } else {
- var rtn = messageBox("상위화면을 찾을 수", "E001");
- }
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:647px; top:2px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:640; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|