SMRPV03202_기본업무지표(F-KPI)조회.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>기본업무지표등록</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <idxflag>
  12. <idxflaglist/>
  13. </idxflag>
  14. </list>
  15. </main>
  16. <send>
  17. <idxflag>
  18. <valuyy/>
  19. <valuclscd>01</valuclscd>
  20. <valumdlcd>001</valumdlcd>
  21. <valuclsdetlcd>004</valuclsdetlcd>
  22. <instcd/>
  23. <deptcd/>
  24. <deptnm/>
  25. <useyn>Y</useyn>
  26. <fromdd>20000101</fromdd>
  27. <todd>99991231</todd>
  28. </idxflag>
  29. <preidxflag>
  30. </preidxflag>
  31. <save>
  32. <idxflaglist/>
  33. </save>
  34. <findinspmthd/>
  35. </send>
  36. <init/>
  37. <hidden/>
  38. <temp/>
  39. </root>
  40. </instance>
  41. <script type="javascript" ev:event="xforms-ready">
  42. <![CDATA[
  43. /* Grid 초기화 */
  44. misfGridInit(grd_IdxFlag);
  45. /* Submit의 ref에 참조 될 Node들은 꼭 Instance에 생성 해야 함.*/
  46. /* Grid의 Mater, Detail관계 설정
  47. misfMsterDetailSet(관계설정할 Grid, Mater가 될 Grid, submit ID, 저장여부) */
  48. misfMsterDetailSet(grd_IdxFlag,null, "TRRPV03201" ,"Y");
  49. var curdate = getCurrentDate();
  50. model.setValue(ipt_valuyy.attribute("ref") , curdate.substr(0, 4));
  51. rpvfComboInstCdList("cmb_instcd");
  52. addGridComboItemAll("cmb_instcd","","","above");
  53. cmb_instcd.refresh();
  54. //btn_search.dispatch("DOMActivate");
  55. //cmb_instcd.value = "";
  56. ]]>
  57. </script>
  58. <submission id="TRRPV03201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/idxflag" resultref="/root/main/list/idxflag"/>
  59. <submission id="TXRPV03201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
  60. </model>
  61. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  62. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  63. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  64. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  65. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  66. <script type="javascript" src="../../../mis/valuationmngtweb/js/RPV001.js"/>
  67. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  68. <script type="javascript">
  69. <![CDATA[
  70. function fGetInspMthdFind(pinspmthd)
  71. {
  72. for(var row = grd_IdxFlag.fixedRows ; row < grd_IdxFlag.rows; row++)
  73. {
  74. if(grd_IdxFlag.valueMatrix(row , grd_IdxFlag.colRef("inspmthd")).indexOf(pinspmthd) != -1 || grd_IdxFlag.valueMatrix(row , grd_IdxFlag.colRef("rsltidx")).indexOf(pinspmthd) != -1 ||
  75. grd_IdxFlag.valueMatrix(row , grd_IdxFlag.colRef("idxflagnm")).indexOf(pinspmthd) != -1)
  76. {
  77. grd_IdxFlag.rowHeight(row)= 23;
  78. //grd_IdxFlag.cellstyle("background-color", row, 1, row, 6) = "#ffff99";
  79. }
  80. else
  81. {
  82. grd_IdxFlag.rowHeight(row)= 0;
  83. //grd_IdxFlag.cellstyle("background-color", row, 1, row, 6) = "#ffffff";
  84. }
  85. }
  86. model.refresh();
  87. }
  88. ]]>
  89. </script>
  90. </xhtml:head>
  91. <xhtml:body pagewidth="900" pageheight="790" guideline="1,155;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  92. <group id="group1" style="left:0px; top:0px; width:865px; height:13px; ">
  93. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:700px; height:14px; ">기본업무지표조회</caption>
  94. </group>
  95. <group id="group2" scroll="auto" style="left:0px; top:38px; width:865px; height:704px; ">
  96. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:10px; width:865px; height:35px; "/>
  97. <line id="line13" class="line_4" style="x1:799px; y1:19px; x2:799px; y2:41px; "/>
  98. <button id="btn_search" class="btn1_letter2" style="left:802px; top:18px; width:56px; height:22px; ">
  99. <caption>조회</caption>
  100. <script type="javascript" ev:event="DOMActivate">
  101. <![CDATA[
  102. if ( !isRequiredControls("ipt_valuyy") ) {
  103. return false;
  104. }
  105. btn_findclear.dispatch("DOMActivate");
  106. misfMsterDetailRetrieve();
  107. ]]>
  108. </script>
  109. </button>
  110. <line id="line2" class="line_1" style="x1:0px; y1:69px; x2:860px; y2:69px; "/>
  111. <select1 id="cmb_instcd" ref="/root/send/idxflag/instcd" class="combo_s_essential" appearance="minimal" style="left:223px; top:18px; width:192px; height:19px; ">
  112. <choices>
  113. <itemset>
  114. <label/>
  115. <value/>
  116. </itemset>
  117. </choices>
  118. <script type="javascript" ev:event="xforms-value-changed">
  119. <![CDATA[
  120. ipt_deptcd.value = "";
  121. ipt_deptnm.value = "";
  122. ipt_deptcd.refresh();
  123. ipt_deptnm.refresh();
  124. // btn_search.dispatch("DOMActivate");
  125. ]]>
  126. </script>
  127. </select1>
  128. <caption id="cap_instcd" class="search_name" style="left:162px; top:19px; width:61px; height:17px; vertical-align:middle; ">기관 :</caption>
  129. <button id="btn_deptcd" class="icon_search" style="left:610px; top:20px; width:16px; height:16px; ">
  130. <caption/>
  131. <script type="javascript" ev:event="DOMActivate">
  132. <![CDATA[
  133. var recv_list = "deptcd,deptnm";
  134. var instcd = cmb_instcd.value;
  135. rpvfOpenDeptCdHelp(ipt_deptnm,recv_list, instcd, "instcd");
  136. model.refresh();
  137. ]]>
  138. </script>
  139. </button>
  140. <caption id="caption3" class="search_name" style="left:417px; top:19px; width:63px; height:17px; ">부서 :</caption>
  141. <input id="ipt_deptnm" ref="/root/send/idxflag/deptnm" class="input_default" style="left:482px; top:19px; width:125px; height:19px; ">
  142. <script type="javascript" ev:event="xforms-value-changed">
  143. <![CDATA[
  144. var pre_deptcd = model.getValue(ipt_deptcd.attribute("ref"))
  145. misfValidationCheck("02", "", "deptcd,deptnm" );
  146. model.refresh();
  147. ]]>
  148. </script>
  149. </input>
  150. <input id="ipt_deptcd" ref="/root/send/idxflag/deptcd" class="input_default" visibility="hidden" style="left:482px; top:19px; width:99px; height:19px; "/>
  151. <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; ">
  152. <col checkvalue="Y,N" ref="check" type="checkbox"/>
  153. <col ref="instnm"/>
  154. <col ref="deptnm"/>
  155. <col ref="idxflagnm"/>
  156. <col ref="rsltidx" maxlength="900"/>
  157. <col ref="inspmthd" maxlength="900"/>
  158. <col ref="useyn" visibility="hidden"/>
  159. <col ref="idxcd" visibility="hidden"/>
  160. <col ref="prtseqno" visibility="hidden"/>
  161. <col ref="idxflag" visibility="hidden"/>
  162. <col ref="instcd" visibility="hidden"/>
  163. <col ref="deptcd" visibility="hidden"/>
  164. <col ref="valuyy" visibility="hidden"/>
  165. <col ref="valuclscd" visibility="hidden"/>
  166. <col ref="valumdlcd" visibility="hidden"/>
  167. <col ref="valuclsdetlcd" visibility="hidden"/>
  168. </datagrid>
  169. <caption id="caption1" class="tit_2" style="left:0px; top:54px; width:230px; height:14px; vertical-align:middle; ">기본업무지표(F-KPI) POOL List</caption>
  170. <caption id="cap_valuyy" class="search_name" style="left:1px; top:19px; width:100px; height:17px; vertical-align:middle; ">기준년도 :</caption>
  171. <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; "/>
  172. <input id="ipt_inspmthd" ref="/root/send/findinspmthd" style="left:314px; top:48px; width:218px; height:19px; ">
  173. <script type="javascript" ev:event="onkeyup">
  174. <![CDATA[
  175. inputEnterKey("btn_inspmthdfind", "DOMActivate");
  176. ]]>
  177. </script>
  178. </input>
  179. <button id="btn_inspmthdfind" class="btn2_letter2" style="left:533px; top:48px; width:42px; height:19px; ">
  180. <caption>검색</caption>
  181. <script type="javascript" ev:event="DOMActivate">
  182. <![CDATA[
  183. fGetInspMthdFind(model.getValue(ipt_inspmthd.attribute("ref")));
  184. ]]>
  185. </script>
  186. </button>
  187. <button id="btn_findclear" class="btn2_letter4" style="left:576px; top:48px; width:64px; height:19px; ">
  188. <caption>초기화</caption>
  189. <script type="javascript" ev:event="DOMActivate">
  190. <![CDATA[
  191. for(var row = grd_IdxFlag.fixedRows ; row < grd_IdxFlag.rows; row++)
  192. {
  193. grd_IdxFlag.rowHeight(row)= 23;
  194. }
  195. model.setValue(ipt_inspmthd.attribute("ref"),"");
  196. ipt_inspmthd.refresh();
  197. ]]>
  198. </script>
  199. </button>
  200. <caption id="caption2" style="left:235px; top:49px; width:85px; height:20px; ">KeyWord 검색</caption>
  201. </group>
  202. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:865px; height:27px; ">
  203. <line id="line11" class="line_6" style="x1:0; y1:25; x2:793; y2:25; "/>
  204. <button id="btn_init" class="btn4_letter3" style="left:797px; top:2px; width:68px; height:22px; ">
  205. <caption>초기화</caption>
  206. <script type="javascript" ev:event="DOMActivate">
  207. <![CDATA[
  208. window.reload() ;
  209. ]]>
  210. </script>
  211. </button>
  212. </group>
  213. <group id="group3" scroll="auto" style="left:0px; top:743px; width:865px; height:27px; ">
  214. <button id="btn_confirm" class="btn4_letter2" style="left:750px; top:3px; width:56px; height:22px; ">
  215. <caption>확인</caption>
  216. <script type="javascript" ev:event="DOMActivate">
  217. <![CDATA[
  218. //misfPopUpListReturn(grd_rpvdskpicodelist);
  219. if(grd_IdxFlag.rows - grd_IdxFlag.fixedRows == 0)
  220. {
  221. messageBox("적용할 내역이","I004");
  222. window.close();
  223. return;
  224. }
  225. var iParam = model.getValue(grd_IdxFlag.nodeset);
  226. var nodelist = instance1.selectNodes(grd_IdxFlag.nodeset+ "[check='Y']");
  227. var rCVS = getNodeListCSV(nodelist);
  228. if ( checkOpener() ) {
  229. opener.javascript.setParameter("SMRPV03202_", rCVS);
  230. } else {
  231. var rtn = messageBox("상위화면을 찾을 수", "E001");
  232. }
  233. window.close();
  234. ]]>
  235. </script>
  236. </button>
  237. <button id="btn_cancel" class="btn4_letter2" style="left:807px; top:3px; width:56px; height:22px; ">
  238. <caption>취소</caption>
  239. <script type="javascript" ev:event="DOMActivate">
  240. <![CDATA[
  241. window.close();
  242. ]]>
  243. </script>
  244. </button>
  245. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:580; y2:0px; "/>
  246. </group>
  247. </xhtml:body>
  248. </xhtml:html>