SMRPV05100_조직몰입도POOL등록.xrw 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>조직몰입도POOL등록</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <orgimrsn>
  11. <orgimrsnlist/>
  12. </orgimrsn>
  13. </main>
  14. <send>
  15. <orgimrsn>
  16. <valuyy/>
  17. <valuclscd>01</valuclscd>
  18. <valumdlcd>001</valumdlcd>
  19. <valuclsdetlcd>003</valuclsdetlcd>
  20. <numberflag>05100</numberflag>
  21. </orgimrsn>
  22. <save>
  23. <orgimrsnlist/>
  24. </save>
  25. </send>
  26. <init/>
  27. <hiddeen/>
  28. <temp/>
  29. </root>
  30. </instance>
  31. <script type="javascript" ev:event="xforms-ready">
  32. <![CDATA[
  33. /* Grid 초기화 */
  34. misfGridInit(grd_orgimrsnlist);
  35. /* Submit의 ref에 참조 될 Node들은 꼭 Instance에 생성 해야 함.*/
  36. /* Grid의 Mater, Detail관계 설정
  37. misfMsterDetailSet(관계설정할 Grid, Mater가 될 Grid, submit ID, 저장여부) */
  38. misfMsterDetailSet(grd_orgimrsnlist,null, "TRRPV05101" ,"Y");
  39. var curdate = getCurrentDate();
  40. model.setValue(ipt_valuyy.attribute("ref") , curdate.substr(0, 4));
  41. rpvfComboValuCdList(model.getValue(ipt_valuyy.attribute("ref")) , "ORGIMRSNFLAG,PRTSEQNO", "grd_orgimrsnlist.orgimrsnflag,grd_orgimrsnlist.prtseqno");
  42. model.refresh();
  43. ]]>
  44. </script>
  45. <submission id="TRRPV05101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/orgimrsn" resultref="/root/main/orgimrsn"/>
  46. <submission id="TXRPV05101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
  47. <submission id="TXRPV09002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/orgimrsn" resultref="/root/temp"/>
  48. <script type="javascript" ev:event="xforms-model-destruct">
  49. <![CDATA[
  50. if (getGridUpdateData(grd_orgimrsnlist) != "" ) {
  51. var save_val = messageBox("변경된 자료가 존재 합니다. ", "Q002");
  52. if (save_val == "6") {
  53. btn_save.dispatch("DOMActivate");
  54. }
  55. }
  56. ]]>
  57. </script>
  58. </model>
  59. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  60. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  61. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  62. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  63. <script type="javascript" src="../../../mis/valuationmngtweb/js/RPV001.js"/>
  64. </xhtml:head>
  65. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  66. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  67. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">조직 몰입도 POOL 등록</caption>
  68. </group>
  69. <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744; ">
  70. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0; top:10; width:1195; height:35px; "/>
  71. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:16px; width:56px; height:22px; ">
  72. <caption>조회</caption>
  73. <script type="javascript" ev:event="DOMActivate">
  74. <![CDATA[
  75. if ( !isRequiredControls("ipt_valuyy") ) {
  76. return false;
  77. }
  78. misfMsterDetailRetrieve();
  79. ]]>
  80. </script>
  81. </button>
  82. <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
  83. <button id="btn_addgrdorgimrsnlist" class="btn2_letter3" style="left:1082px; top:48px; width:53px; height:19px; ">
  84. <caption>행추가</caption>
  85. <script type="javascript" ev:event="DOMActivate">
  86. <![CDATA[
  87. if ( !isRequiredControls("ipt_valuyy" ) ) {
  88. return false;
  89. }
  90. misfGridIUD(grd_orgimrsnlist, "A");
  91. model.setValue(grd_orgimrsnlist.attribute("nodeset")+"["+(grd_orgimrsnlist.row - grd_orgimrsnlist.fixedRows + 1)+"]/valuyy", model.getValue(ipt_valuyy.attribute("ref")));
  92. model.setValue(grd_orgimrsnlist.attribute("nodeset")+"["+(grd_orgimrsnlist.row - grd_orgimrsnlist.fixedRows + 1)+"]/useyn", "Y");
  93. model.setValue(grd_orgimrsnlist.attribute("nodeset")+"["+(grd_orgimrsnlist.row - grd_orgimrsnlist.fixedRows + 1)+"]/valuclscd", model.getValue("/root/send/orgimrsn/valuclscd"));
  94. model.setValue(grd_orgimrsnlist.attribute("nodeset")+"["+(grd_orgimrsnlist.row - grd_orgimrsnlist.fixedRows + 1)+"]/valumdlcd", model.getValue("/root/send/orgimrsn/valumdlcd"));
  95. model.setValue(grd_orgimrsnlist.attribute("nodeset")+"["+(grd_orgimrsnlist.row - grd_orgimrsnlist.fixedRows + 1)+"]/valuclsdetlcd", model.getValue("/root/send/orgimrsn/valuclsdetlcd"));
  96. ]]>
  97. </script>
  98. </button>
  99. <button id="btn_delgrdorgimrsnlist" class="btn2_letter3" style="left:1137px; top:48px; width:53px; height:19px; ">
  100. <caption>행삭제</caption>
  101. <script type="javascript" ev:event="DOMActivate">
  102. <![CDATA[
  103. misfGridIUD(grd_orgimrsnlist, "D");
  104. ]]>
  105. </script>
  106. </button>
  107. <input id="ipt_valuyy" ref="/root/send/orgimrsn/valuyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:80px; top:17px; width:80px; height:19px; ">
  108. <script type="javascript" ev:event="xforms-value-changed">
  109. <![CDATA[
  110. btn_search.dispatch("DOMActivate");
  111. ]]>
  112. </script>
  113. </input>
  114. <caption id="caption8" class="search_name" style="left:15px; top:18px; width:60px; height:17px; vertical-align:middle; ">년도 :</caption>
  115. <datagrid id="grd_orgimrsnlist" nodeset="/root/main/orgimrsn/orgimrsnlist" caption="조직몰입도구분^조직몰입도내용^역문항여부^사용여부^설문순서^설문항목번호^평가년도^평가분류코드^평가중분류코드^평가분류세부코드|조직몰입도구분^조직몰입도내용^역문항여부^사용여부^설문순서^설문항목번호^평가년도^평가분류코드^평가중분류코드^평가분류세부코드" colsep="^" colwidth="138, 830, 43, 34, 61, 47, 64, 48, 45, 72" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:74px; width:1195px; height:666px; ">
  116. <col class="gridcombo" disabled="true" ref="orgimrsnflag" type="combo" _key="true">
  117. <choices>
  118. <itemset>
  119. <label/>
  120. <value/>
  121. </itemset>
  122. </choices>
  123. </col>
  124. <col ref="orgimrsncnts" type="input"/>
  125. <col checkvalue="Y,N" ref="revrsitemyn" type="checkbox"/>
  126. <col checkvalue="Y,N" ref="useyn" type="checkbox"/>
  127. <col class="gridcombo" ref="prtseqno" type="combo">
  128. <choices>
  129. <itemset>
  130. <label/>
  131. <value/>
  132. </itemset>
  133. </choices>
  134. </col>
  135. <col ref="orgimrsncd"/>
  136. <col ref="valuyy" visibility="hidden"/>
  137. <col ref="valuclscd" visibility="hidden"/>
  138. <col ref="valumdlcd" visibility="hidden"/>
  139. <col ref="valuclsdetlcd" visibility="hidden"/>
  140. </datagrid>
  141. <caption id="caption1" class="tit_2" style="left:0px; top:54px; width:230px; height:14px; vertical-align:middle; ">조직 몰입도 POOL List</caption>
  142. <line id="line2" class="line_1" style="x1:0px; y1:69px; x2:1195px; y2:69px; "/>
  143. </group>
  144. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  145. <line id="line6" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
  146. <button id="btn_init" class="btn4_letter3" style="left:1064px; top:3px; width:68px; height:22px; ">
  147. <caption>초기화</caption>
  148. <script type="javascript" ev:event="DOMActivate">
  149. <![CDATA[
  150. window.reload() ;
  151. ]]>
  152. </script>
  153. </button>
  154. <button id="btn_save" class="btn4_letter2" style="left:1134px; top:3px; width:56px; height:22px; ">
  155. <caption>저장</caption>
  156. <script type="javascript" ev:event="DOMActivate">
  157. <![CDATA[
  158. if(!checkKeyColumn("grd_orgimrsnlist")) return;
  159. misfSave("TXRPV05101");
  160. ]]>
  161. </script>
  162. </button>
  163. <button id="btn_copy" class="btn4_letter5" style="left:970px; top:3px; width:92px; height:22px; ">
  164. <caption>전년도복사</caption>
  165. <script type="javascript" ev:event="DOMActivate">
  166. <![CDATA[
  167. if(!isRequiredControls("ipt_valuyy")) return;
  168. if( messageBox( ipt_valuyy.value +"년도의 Data가 모두 삭제되며\n" + (ipt_valuyy.value - 1) +"년도의 Data를 가져오게됩니다.\n","Q003") != 6 ) return;
  169. submit("TXRPV09002");
  170. btn_search.dispatch("DOMActivate");
  171. ]]>
  172. </script>
  173. </button>
  174. </group>
  175. </xhtml:body>
  176. </xhtml:html>