123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>
- <list>
- <idxflag>
- <idxflaglist/>
- </idxflag>
- </list>
- </main>
- <send>
- <idxflag>
- <valuyy/>
- <valuclscd>01</valuclscd>
- <valumdlcd>001</valumdlcd>
- <valuclsdetlcd>004</valuclsdetlcd>
- <instcd/>
- <deptcd/>
- <deptnm/>
- <useyn>Y</useyn>
- <fromdd>20000101</fromdd>
- <todd>99991231</todd>
- </idxflag>
- <preidxflag>
- </preidxflag>
- <save>
- <idxflaglist/>
- </save>
- <findinspmthd/>
- </send>
- <init/>
- <hidden/>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- /* Grid 초기화 */
- misfGridInit(grd_IdxFlag);
-
- /* Submit의 ref에 참조 될 Node들은 꼭 Instance에 생성 해야 함.*/
- /* Grid의 Mater, Detail관계 설정
- misfMsterDetailSet(관계설정할 Grid, Mater가 될 Grid, submit ID, 저장여부) */
- misfMsterDetailSet(grd_IdxFlag,null, "TRRPV03201" ,"Y");
- var curdate = getCurrentDate();
- model.setValue(ipt_valuyy.attribute("ref") , curdate.substr(0, 4));
- rpvfComboInstCdList("cmb_instcd");
- addGridComboItemAll("cmb_instcd","","","above");
-
- cmb_instcd.refresh();
-
- //btn_search.dispatch("DOMActivate");
-
- //cmb_instcd.value = "";
-
-
-
- ]]>
- </script>
- <submission id="TRRPV03201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/idxflag" resultref="/root/main/list/idxflag"/>
- <submission id="TXRPV03201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
- </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/stringHelper.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"/>
- <script type="javascript">
- <![CDATA[
- function fGetInspMthdFind(pinspmthd)
- {
- for(var row = grd_IdxFlag.fixedRows ; row < grd_IdxFlag.rows; row++)
- {
- if(grd_IdxFlag.valueMatrix(row , grd_IdxFlag.colRef("inspmthd")).indexOf(pinspmthd) != -1 || grd_IdxFlag.valueMatrix(row , grd_IdxFlag.colRef("rsltidx")).indexOf(pinspmthd) != -1 ||
- grd_IdxFlag.valueMatrix(row , grd_IdxFlag.colRef("idxflagnm")).indexOf(pinspmthd) != -1)
- {
- grd_IdxFlag.rowHeight(row)= 23;
- //grd_IdxFlag.cellstyle("background-color", row, 1, row, 6) = "#ffff99";
- }
- else
- {
- grd_IdxFlag.rowHeight(row)= 0;
- //grd_IdxFlag.cellstyle("background-color", row, 1, row, 6) = "#ffffff";
- }
- }
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="900" pageheight="790" guideline="1,155;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:865px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:700px; height:14px; ">기본업무지표조회</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:38px; width:865px; height:704px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:10px; width:865px; height:35px; "/>
- <line id="line13" class="line_4" style="x1:799px; y1:19px; x2:799px; y2:41px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:802px; top:18px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( !isRequiredControls("ipt_valuyy") ) {
- return false;
- }
- btn_findclear.dispatch("DOMActivate");
- misfMsterDetailRetrieve();
- ]]>
- </script>
- </button>
- <line id="line2" class="line_1" style="x1:0px; y1:69px; x2:860px; y2:69px; "/>
- <select1 id="cmb_instcd" ref="/root/send/idxflag/instcd" class="combo_s_essential" appearance="minimal" style="left:223px; top:18px; width:192px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ipt_deptcd.value = "";
- ipt_deptnm.value = "";
-
- ipt_deptcd.refresh();
- ipt_deptnm.refresh();
- // btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <caption id="cap_instcd" class="search_name" style="left:162px; top:19px; width:61px; height:17px; vertical-align:middle; ">기관 :</caption>
- <button id="btn_deptcd" class="icon_search" style="left:610px; top:20px; 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>
- <caption id="caption3" class="search_name" style="left:417px; top:19px; width:63px; height:17px; ">부서 :</caption>
- <input id="ipt_deptnm" ref="/root/send/idxflag/deptnm" class="input_default" style="left:482px; top:19px; width:125px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var pre_deptcd = model.getValue(ipt_deptcd.attribute("ref"))
- misfValidationCheck("02", "", "deptcd,deptnm" );
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_deptcd" ref="/root/send/idxflag/deptcd" class="input_default" visibility="hidden" style="left:482px; top:19px; width:99px; height:19px; "/>
- <datagrid id="grd_IdxFlag" nodeset="/root/main/list/idxflag/idxflaglist" caption="^기관^부서^지표구분^성과지표^측정방법^사용" colsep="^" colwidth="20, 100, 100, 117, 302, 166, 35, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:75px; width:860px; height:625px; ">
- <col checkvalue="Y,N" ref="check" type="checkbox"/>
- <col ref="instnm"/>
- <col ref="deptnm"/>
- <col ref="idxflagnm"/>
- <col ref="rsltidx" maxlength="900"/>
- <col ref="inspmthd" maxlength="900"/>
- <col ref="useyn" visibility="hidden"/>
- <col ref="idxcd" visibility="hidden"/>
- <col ref="prtseqno" visibility="hidden"/>
- <col ref="idxflag" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="deptcd" visibility="hidden"/>
- <col ref="valuyy" visibility="hidden"/>
- <col ref="valuclscd" visibility="hidden"/>
- <col ref="valumdlcd" visibility="hidden"/>
- <col ref="valuclsdetlcd" visibility="hidden"/>
- </datagrid>
- <caption id="caption1" class="tit_2" style="left:0px; top:54px; width:230px; height:14px; vertical-align:middle; ">기본업무지표(F-KPI) POOL List</caption>
- <caption id="cap_valuyy" class="search_name" style="left:1px; top:19px; width:100px; height:17px; vertical-align:middle; ">기준년도 :</caption>
- <input id="ipt_valuyy" ref="/root/send/idxflag/valuyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:86px; top:18px; width:70px; height:19px; "/>
- <input id="ipt_inspmthd" ref="/root/send/findinspmthd" style="left:314px; top:48px; width:218px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_inspmthdfind", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_inspmthdfind" class="btn2_letter2" style="left:533px; top:48px; width:42px; height:19px; ">
- <caption>검색</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetInspMthdFind(model.getValue(ipt_inspmthd.attribute("ref")));
- ]]>
- </script>
- </button>
- <button id="btn_findclear" class="btn2_letter4" style="left:576px; top:48px; width:64px; height:19px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- for(var row = grd_IdxFlag.fixedRows ; row < grd_IdxFlag.rows; row++)
- {
- grd_IdxFlag.rowHeight(row)= 23;
- }
- model.setValue(ipt_inspmthd.attribute("ref"),"");
- ipt_inspmthd.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption2" style="left:235px; top:49px; width:85px; height:20px; ">KeyWord 검색</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:865px; height:27px; ">
- <line id="line11" class="line_6" style="x1:0; y1:25; x2:793; y2:25; "/>
- <button id="btn_init" class="btn4_letter3" style="left:797px; top:2px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.reload() ;
- ]]>
- </script>
- </button>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:743px; width:865px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:750px; top:3px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //misfPopUpListReturn(grd_rpvdskpicodelist);
- if(grd_IdxFlag.rows - grd_IdxFlag.fixedRows == 0)
- {
- messageBox("적용할 내역이","I004");
- window.close();
- return;
- }
- var iParam = model.getValue(grd_IdxFlag.nodeset);
- var nodelist = instance1.selectNodes(grd_IdxFlag.nodeset+ "[check='Y']");
-
- var rCVS = getNodeListCSV(nodelist);
- if ( checkOpener() ) {
- opener.javascript.setParameter("SMRPV03202_", rCVS);
-
- } else {
- var rtn = messageBox("상위화면을 찾을 수", "E001");
- }
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:807px; top:3px; 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:580; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|