SMRSD02701_불출확정부서관리.xrw 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet ype="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>불출확정 집계 부서관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <deptinfo>
  11. <deptlist/>
  12. </deptinfo>
  13. </main>
  14. <send>
  15. <search>
  16. <instcd/>
  17. <reqdeptcd/>
  18. <reqdeptnm/>
  19. </search>
  20. <save>
  21. <deptlist/>
  22. </save>
  23. </send>
  24. <init>
  25. </init>
  26. <hidden/>
  27. <temp>
  28. </temp>
  29. <popdata>
  30. <srchdd/>
  31. </popdata>
  32. <popreq>
  33. <count/>
  34. </popreq>
  35. <popsubdata/>
  36. </root>
  37. </instance>
  38. <script type="javascript" ev:event="xforms-ready">
  39. <![CDATA[
  40. //화면 Control을 초기화한다
  41. misfGridInit(grd_deptlist);
  42. misfGetAndSetUserInfo(); //접속자기본정보
  43. misfComboComCdListMulti("Z0007","cmb_instcd");
  44. model.setValue("/root/send/search/instcd", getUserInfo("dutplceinstcd")); //기관 설정
  45. model.refresh();
  46. ]]>
  47. </script>
  48. <submission id="TRRSD02701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/deptinfo/deptlist"/>
  49. <submission id="TXRSD02701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/deptlist" resultref="/root/temp"/>
  50. </model>
  51. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  52. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  53. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  54. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  55. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  56. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  57. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  58. </xhtml:head>
  59. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  60. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  61. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:243px; height:15px; ">불출확정 집계 부서 관리</caption>
  62. </group>
  63. <group id="group1" style="left:0px; top:12; width:1195px; height:27px; ">
  64. <line id="line17" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25px; "/>
  65. <button id="btn_save" class="btn4_letter2" navindex="8" style="left:1138px; top:3px; width:56px; height:22px; ">
  66. <caption>저장</caption>
  67. <script type="javascript" ev:event="DOMActivate">
  68. <![CDATA[
  69. model.setValue("/root/send/save/deptlist",grd_deptlist.getUpdateData());
  70. if(submit("TXRSD02701")){
  71. btn_search.dispatch("DOMActivate");
  72. }
  73. ]]>
  74. </script>
  75. </button>
  76. </group>
  77. <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  78. <group id="grp_search" style="left:0px; top:9px; width:1195px; height:36px; vertical-align:top; ">
  79. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  80. <button id="btn_search" class="btn1_letter2" navindex="7" style="left:1121px; top:7px; width:56px; height:22px; ">
  81. <caption>조회</caption>
  82. <script type="javascript" ev:event="DOMActivate">
  83. <![CDATA[
  84. submit("TRRSD02701")
  85. ]]>
  86. </script>
  87. </button>
  88. <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_default" disabled="true" navindex="1" appearance="minimal" style="left:117px; top:10px; width:136px; height:19px; text-align:center; ">
  89. <choices>
  90. <itemset nodeset="/root/main/init">
  91. <label ref="cnstnm"/>
  92. <value ref="cnstcd"/>
  93. </itemset>
  94. </choices>
  95. </select1>
  96. <caption id="cap_instcd" class="search_name" style="left:33px; top:10px; width:86px; height:17px; ">기관코드:</caption>
  97. <caption id="caption20" class="search_name" style="left:661px; top:10px; width:81px; height:17px; vertical-align:middle; ">부서:</caption>
  98. <line id="line30" class="line_4" style="x1:1100px; y1:5px; x2:1100px; y2:32px; "/>
  99. <button id="btn_delivedeptcd" class="icon_search" navindex="3" style="left:853px; top:10px; width:16px; height:16px; ">
  100. <caption/>
  101. <script type="javascript" ev:event="DOMActivate">
  102. <![CDATA[
  103. var vOrigDeptcd = ipt_reqdeptcd.value; //popup을 열기전 부서 저장
  104. var recv_list = "reqdeptcd,reqdeptnm";
  105. misfOpenPopUpList("02", ipt_reqdeptcd,"", recv_list) ;
  106. // model.setValue("/root/cond/delivedeptcd", model.getValue("/root/cond/reqdeptcd"));
  107. // model.setValue("/root/cond/delivedeptnm", model.getValue("/root/cond/reqdeptnm"));
  108. ipt_reqdeptcd.refresh();
  109. opt_reqdeptnm.refresh();
  110. // ipt_delivedeptcd.refresh();
  111. // opt_delivedeptnm.refresh();
  112. ]]>
  113. </script>
  114. </button>
  115. <input id="ipt_reqdeptcd" ref="/root/send/search/reqdeptcd" class="input_default" navindex="2" style="left:746px; top:10px; width:105px; height:19px; ">
  116. <script type="javascript" ev:event="xforms-value-changed">
  117. <![CDATA[
  118. misfValidationCheck("02", "", "reqdeptcd,reqdeptnm" );
  119. // model.setValue("/root/cond/delivedeptcd", model.getValue("/root/cond/reqdeptcd"));
  120. // model.setValue("/root/cond/delivedeptnm", model.getValue("/root/cond/reqdeptnm"));
  121. if(grd_deptlist.rows > grd_deptlist.fixedRows) {
  122. misfGridInit(grd_deptlist);
  123. }
  124. ipt_reqdeptcd.refresh();
  125. opt_reqdeptnm.refresh();
  126. ]]>
  127. </script>
  128. <script type="javascript" ev:event="onkeypress">
  129. <![CDATA[
  130. inputEnterKey("ipt_reqdeptcd", "xforms-value-changed");
  131. ]]>
  132. </script>
  133. </input>
  134. <output id="opt_reqdeptnm" ref="/root/send/search/reqdeptnm" class="output_fix" appearance="output" style="left:871px; top:10px; width:156px; height:19px; "/>
  135. </group>
  136. <line id="line1" class="line_1" style="x1:0px; y1:73px; x2:1195px; y2:73px; "/>
  137. <caption id="caption1" class="tit_2" style="left:0px; top:53px; width:180px; height:13px; ">집계 부서 리스트</caption>
  138. <button id="btn_rowinsert" class="btn2_letter3" navindex="20" style="left:1084px; top:52px; width:53px; height:19px; ">
  139. <caption>행추가</caption>
  140. <script type="javascript" ev:event="DOMActivate">
  141. <![CDATA[
  142. misfGridIUD(grd_deptlist, "A");
  143. ]]>
  144. </script>
  145. </button>
  146. <datagrid id="grd_deptlist" nodeset="/root/main/deptinfo/deptlist" class="datagrid2" caption="기관코드^부서코드^부서명^상위부서코드^상위부서명^비고" colsep="^" colwidth="50, 100, 150, 100, 150, 500," mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:78px; width:1195px; height:612px; ">
  147. <col ref="instcd" visibility="hidden"/>
  148. <col disabled="true" ref="deptcd" type="inputbutton" style="text-align:center; "/>
  149. <col disabled="true" ref="deptnm" style="text-align:center; "/>
  150. <col ref="supdeptcd" type="input"/>
  151. <col ref="supdeptnm" type="inputbutton"/>
  152. <col ref="cmt" type="input"/>
  153. <script type="javascript" ev:event="onbuttonclick">
  154. <![CDATA[
  155. if(grd_deptlist.colAttribute(grd_deptlist.col,"ref") == "supdeptnm"){
  156. misfOpenPopUpList("02", grd_deptlist,"", "supdeptcd,supdeptnm") ;
  157. }else if(grd_deptlist.colAttribute(grd_deptlist.col,"ref") == "deptcd"){
  158. misfOpenPopUpList("02", grd_deptlist,"", "deptcd,deptnm") ;
  159. }
  160. ]]>
  161. </script>
  162. <script type="javascript" ev:event="onkeypress">
  163. <![CDATA[
  164. //Grid 에서 엔터 입력시 다음행 수정
  165. misfNextRow(grd_deptlist);
  166. ]]>
  167. </script>
  168. </datagrid>
  169. <button id="btn_choidel" class="btn2_letter3" navindex="21" style="left:1138px; top:52px; width:53px; height:19px; ">
  170. <caption>행삭제</caption>
  171. <script type="javascript" ev:event="DOMActivate">
  172. <![CDATA[
  173. misfGridIUD(grd_deptlist, "D");
  174. ]]>
  175. </script>
  176. </button>
  177. </group>
  178. </xhtml:body>
  179. </xhtml:html>