SMRPV99300_기관부서직책HELP.xrw 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  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>기관부서직책HELP</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <instdeptresp>
  12. <instdeptresplist/>
  13. </instdeptresp>
  14. </list>
  15. </main>
  16. <target/>
  17. <init>
  18. </init>
  19. <send>
  20. <instdeptresp>
  21. <instdeptresp>1</instdeptresp>
  22. <instcd/>
  23. <deptcd/>
  24. <deptnm/>
  25. <inputinstcd/>
  26. <inputdeptcd/>
  27. <jobrespcd/>
  28. <valuyy/>
  29. </instdeptresp>
  30. <jobresp>
  31. <valuyy/>
  32. </jobresp>
  33. </send>
  34. </root>
  35. </instance>
  36. <script type="javascript" ev:event="xforms-ready">
  37. <![CDATA[
  38. misfGridInit(grd_instdeptresp);
  39. misfMsterDetailSet(grd_instdeptresp,null, "TRRPV99301" ,"N");
  40. rpvfComboInstCdList("cmb_instcd");
  41. addGridComboItemAll("cmb_instcd","","","above");
  42. grd_instdeptresp.fixedcellcheckbox(0,4) = true;
  43. var curdate = getCurrentDate();
  44. model.setValue("/root/send/jobresp/valuyy" , curdate.substr(0, 4));
  45. model.setValue("/root/send/instdeptresp/valuyy" , curdate.substr(0, 4));
  46. try {
  47. model.setValue(ipt_inputinstcd.attribute("ref"),model.getValue("/root/target/defaultvalue/cmb_instcd"));
  48. model.setValue(ipt_inputdeptcd.attribute("ref"),model.getValue("/root/target/defaultvalue/ipt_inputinstcd"));
  49. } catch (ex) {
  50. }
  51. // 평가구분
  52. submit("TRRPV04002");
  53. addGridComboItem("cmb_jobrespcd", "- 전체-", "%", "above");
  54. cmb_jobrespcd.value = "%";
  55. model.refresh();
  56. ]]>
  57. </script>
  58. <submission id="TRRPV99301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/instdeptresp" resultref="/root/main/list/instdeptresp"/>
  59. <submission id="TRRPV04002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/jobresp" resultref="/root/init/valuflag"/>
  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/tfHelper.js"/>
  64. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  65. <script type="javascript" src="../../../mis/valuationmngtweb/js/RPV001.js"/>
  66. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  67. </xhtml:head>
  68. <xhtml:body pagewidth="750" pageheight="570" guideline="1,156;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  69. <group id="group3" scroll="auto" style="left:10px; top:0px; width:705px; height:522px; ">
  70. <group id="group2" style="left:0px; top:5px; width:705px; height:35px; ">
  71. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:1px; top:0px; width:704px; height:35px; "/>
  72. <button id="btn_search" class="btn1_letter2" style="left:644px; top:7px; width:56px; height:22px; ">
  73. <caption>조회</caption>
  74. <script type="javascript" ev:event="DOMActivate">
  75. <![CDATA[
  76. misfMsterDetailRetrieve();
  77. ]]>
  78. </script>
  79. </button>
  80. <select1 id="cmb_instcd" ref="/root/send/instdeptresp/instcd" class="combo_s_essential" appearance="minimal" style="left:63px; top:8px; width:132px; height:19px; ">
  81. <choices>
  82. <itemset>
  83. <label/>
  84. <value/>
  85. </itemset>
  86. </choices>
  87. </select1>
  88. <caption id="caption3" class="search_name" style="left:198px; top:8px; width:63px; height:17px; ">부서 :</caption>
  89. <input id="ipt_deptnm" ref="/root/send/instdeptresp/deptnm" class="input_default" style="left:258px; top:8px; width:99px; height:19px; ">
  90. <script type="javascript" ev:event="xforms-value-changed">
  91. <![CDATA[
  92. var recv_list = "deptcd,deptnm";
  93. var instcd = cmb_instcd.value;
  94. misfValidationCheck("02", "", "deptcd,deptnm" );
  95. model.refresh();
  96. ]]>
  97. </script>
  98. </input>
  99. <caption id="cap_instcd" class="search_name" style="left:2px; top:9px; width:61px; height:17px; vertical-align:middle; ">기관 :</caption>
  100. <input id="ipt_deptcd" ref="/root/send/instdeptresp/deptcd" class="input_default" visibility="hidden" style="left:258px; top:8px; width:82px; height:19px; ">
  101. <script type="javascript" ev:event="xforms-value-changed">
  102. <![CDATA[
  103. var recv_list = "deptcd,deptnm";
  104. var instcd = cmb_instcd.value;
  105. misfValidationCheck("02", "", "deptcd,deptnm" );
  106. model.refresh();
  107. ]]>
  108. </script>
  109. </input>
  110. <button id="btn_deptcd" class="icon_search" style="left:358px; top:9px; width:16px; height:16px; ">
  111. <caption/>
  112. <script type="javascript" ev:event="DOMActivate">
  113. <![CDATA[
  114. var recv_list = "deptcd,deptnm";
  115. var instcd = cmb_instcd.value;
  116. rpvfOpenDeptCdHelp(ipt_deptnm,recv_list, instcd, "instcd");
  117. model.refresh();
  118. ]]>
  119. </script>
  120. </button>
  121. <select1 id="cmb_jobrespcd" ref="/root/send/instdeptresp/jobrespcd" class="combo_s_essential" appearance="minimal" style="left:526px; top:9px; width:114px; height:19px; ">
  122. <choices>
  123. <itemset nodeset="/root/init/valuflag">
  124. <label ref="label"/>
  125. <value ref="value"/>
  126. </itemset>
  127. </choices>
  128. </select1>
  129. <caption id="caption2" class="search_name" style="left:465px; top:10px; width:61px; height:17px; vertical-align:middle; ">직책 :</caption>
  130. </group>
  131. <caption id="caption1" class="tit_2" style="left:5px; top:49px; width:175px; height:13px; ">기관부서직책 리스트</caption>
  132. <line id="line1" class="line_1" style="x1:0px; y1:63px; x2:700px; y2:63px; "/>
  133. <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; ">
  134. <col ref="instnm"/>
  135. <col ref="deptnm"/>
  136. <col ref="jobrespnm"/>
  137. <col checkvalue="Y,N" ref="check" type="checkbox"/>
  138. <col ref="instcd" visibility="hidden"/>
  139. <col ref="jobrespcd" visibility="hidden"/>
  140. <col ref="deptcd" visibility="hidden"/>
  141. <script type="javascript" ev:event="ondblclick">
  142. <![CDATA[
  143. if( grd_instdeptresp.isCell(event.target) && grd_instdeptresp.row >= grd_instdeptresp.fixedRows )
  144. {
  145. model.setValue(grd_instdeptresp.nodeset + "[" + (grd_instdeptresp.row - grd_instdeptresp.fixedRows + 1) + "]/check" , "Y");
  146. btn_confirm.dispatch("DOMActivate");
  147. }
  148. ]]>
  149. </script>
  150. </datagrid>
  151. <input id="ipt_inputdeptcd" ref="/root/send/instdeptresp/inputdeptcd" class="input_default" visibility="hidden" style="left:200px; top:40px; width:50px; height:19px; "/>
  152. <input id="ipt_inputinstcd" ref="/root/send/instdeptresp/inputinstcd" class="input_default" visibility="hidden" style="left:260px; top:40px; width:50px; height:19px; "/>
  153. </group>
  154. <group id="group1" scroll="auto" style="left:10px; top:521px; width:705px; height:27px; ">
  155. <button id="btn_confirm" class="btn4_letter2" style="left:590px; top:2px; width:56px; height:22px; ">
  156. <caption>확인</caption>
  157. <script type="javascript" ev:event="DOMActivate">
  158. <![CDATA[
  159. if(grd_instdeptresp.rows - grd_instdeptresp.fixedRows == 0)
  160. {
  161. messageBox("적용할 내역이","I004");
  162. window.close();
  163. return;
  164. }
  165. var iParam = model.getValue(grd_instdeptresp.nodeset);
  166. var nodelist = instance1.selectNodes(grd_instdeptresp.nodeset+ "[check='Y']");
  167. var rCVS = getNodeListCSV(nodelist);
  168. if ( checkOpener() ) {
  169. opener.javascript.setParameter("SMRPV99300_", rCVS);
  170. } else {
  171. var rtn = messageBox("상위화면을 찾을 수", "E001");
  172. }
  173. window.close();
  174. ]]>
  175. </script>
  176. </button>
  177. <button id="btn_cancel" class="btn4_letter2" style="left:647px; top:2px; width:56px; height:22px; ">
  178. <caption>취소</caption>
  179. <script type="javascript" ev:event="DOMActivate">
  180. <![CDATA[
  181. window.close();
  182. ]]>
  183. </script>
  184. </button>
  185. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:640; y2:0px; "/>
  186. </group>
  187. </xhtml:body>
  188. </xhtml:html>