SMRPB18100_용역업체관리.xrw 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet ype="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. <srventr>
  11. <srventrlist/>
  12. </srventr>
  13. <srventrdt>
  14. <srventrdtlist/>
  15. </srventrdt>
  16. </main>
  17. <send>
  18. <search>
  19. <instcd/>
  20. <asrventrnm/>
  21. <srventrcd/>
  22. </search>
  23. <save>
  24. <srventrlist/>
  25. <srventrdtlist/>
  26. </save>
  27. </send>
  28. <temp/>
  29. <init/>
  30. </root>
  31. </instance>
  32. <submission id="TRRPB18101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/srventr"/>
  33. <submission id="TRRPB18102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/srventrdt"/>
  34. <submission id="TXRPB18101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
  35. </model>
  36. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  37. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  38. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  39. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  40. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  41. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  42. <script type="javascript" ev:event="xforms-ready">
  43. <![CDATA[
  44. fInitialize();
  45. ]]>
  46. </script>
  47. <script type="javascript">
  48. <![CDATA[
  49. function fInitialize()
  50. {
  51. model.removeNodeset(grd_srventrlist.nodeset);
  52. model.removeNodeset(grd_srventrdtlist.nodeset);
  53. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N","N");
  54. cmb_instcd.value = getUserInfo("dutplceinstcd");
  55. misfMsterDetailSet(grd_srventrlist, null, "TRRPB18101", "Y");
  56. misfMsterDetailSet(grd_srventrdtlist, grd_srventrlist, "TRRPB18102", "Y");
  57. model.refresh();
  58. }
  59. ]]>
  60. </script>
  61. </xhtml:head>
  62. <xhtml:body style="margin-left:8; margin-right:8; ">
  63. <group id="group2" scroll="auto" style="left:0px; top:33px; width:1195px; height:744px; ">
  64. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:40px; "/>
  65. <caption id="caption278" class="tit_2" style="left:5px; top:62px; width:162px; height:14px; ">업체List</caption>
  66. <line id="line207" class="line_1" style="x1:0px; y1:77px; x2:1190px; y2:76px; "/>
  67. <button id="btn_search" class="btn1_letter2" navindex="8" style="left:1115px; top:18px; width:56px; height:22px; text-align:left; ">
  68. <caption>조회</caption>
  69. <script type="javascript" ev:event="DOMActivate">
  70. <![CDATA[
  71. misfMsterDetailRetrieve();
  72. // submit("TRRPB18101");
  73. // model.setValue("/root/send/search/srventrcd","");
  74. // model.setValue("/root/send/search/srventrnm","");
  75. model.refresh();
  76. ]]>
  77. </script>
  78. </button>
  79. <line id="line3" class="line_4" style="x1:1095px; y1:15px; x2:1095px; y2:46px; border-color:#ffe4bb; border-left-style:solid; "/>
  80. <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:105px; top:20px; width:175px; height:19px; ">
  81. <choices>
  82. <itemset>
  83. <label/>
  84. <value/>
  85. </itemset>
  86. </choices>
  87. </select1>
  88. <caption id="cap_instcd" class="search_name" style="left:5px; top:20px; width:105px; height:17px; ">기 관 :</caption>
  89. <caption id="caption22" class="search_name" style="left:335px; top:20px; width:103px; height:17px; ">업 체 명 :</caption>
  90. <input id="ipt_srventrnm" ref="/root/send/search/asrventrnm" class="input_search" style="left:438px; top:20px; width:185px; height:19px; "/>
  91. <button id="btn_excelsave" class="btn2_letter3" style="left:386px; top:55px; width:53px; height:19px; ">
  92. <caption>행추가</caption>
  93. <script type="javascript" ev:event="DOMActivate">
  94. <![CDATA[
  95. misfGridIUD(grd_srventrlist, "A");
  96. misfGridInit(grd_srventrdtlist);
  97. btn_dtaddrow.disabled = true;
  98. btn_dtdelrow.disabled = true;
  99. ]]>
  100. </script>
  101. </button>
  102. <button id="button1" class="btn2_letter3" style="left:440px; top:55px; width:53px; height:19px; ">
  103. <caption>행삭제</caption>
  104. <script type="javascript" ev:event="DOMActivate">
  105. <![CDATA[
  106. misfGridIUD(grd_srventrlist, "D");
  107. ]]>
  108. </script>
  109. </button>
  110. <datagrid id="grd_srventrlist" nodeset="/root/main/srventr/srventrlist" caption="기관^업체코드^업체명" colsep="^" colwidth="100, 100, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:80px; width:495px; height:630px; ">
  111. <col ref="instcd" visibility="hidden"/>
  112. <col ref="srventrcd" visibility="hidden"/>
  113. <col ref="srventrnm" type="input"/>
  114. <script type="javascript" ev:event="onrowchanged">
  115. <![CDATA[
  116. if( grd_srventrlist.valueMatrix(grd_srventrlist.row, grd_srventrlist.colRef("srventrcd")) == "" ) {
  117. messageBox("저장되지 않은 data가 있습니다. 먼저 저장해주세요.","C999");
  118. return;
  119. }
  120. // model.setValue("/root/send/search/srventrcd", grd_srventrlist.valueMatrix(grd_srventrlist.row, grd_srventrlist.colRef("srventrcd")));
  121. misfMsterDetailRetrieve();
  122. btn_dtaddrow.disabled = false;
  123. btn_dtdelrow.disabled = false;
  124. model.refresh();
  125. ]]>
  126. </script>
  127. </datagrid>
  128. <datagrid id="grd_srventrdtlist" nodeset="/root/main/srventrdt/srventrdtlist" caption="기관^업체코드^시작일^종료일^차수^종료여부^비고^시작일_old" colsep="^" colwidth="100, 100, 120, 120, 100, 100, 100, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:498px; top:80px; width:692px; height:630px; ">
  129. <col ref="instcd" visibility="hidden" style="text-align:center; "/>
  130. <col ref="srventrcd" visibility="hidden" style="text-align:center; "/>
  131. <col ref="contfromdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  132. <col ref="conttodd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  133. <col ref="contdg" type="input" style="text-align:center; "/>
  134. <col ref="contendyn" type="combo" style="text-align:center; ">
  135. <choices>
  136. <item>
  137. <label>Y</label>
  138. <value>Y</value>
  139. </item>
  140. <item>
  141. <label>N</label>
  142. <value>N</value>
  143. </item>
  144. </choices>
  145. </col>
  146. <col ref="cmt" type="input" style="text-align:center; "/>
  147. <col ref="oldcontfromdd" visibility="hidden"/>
  148. </datagrid>
  149. <button id="btn_dtdelrow" class="btn2_letter3" disabled="true" style="left:1139px; top:55px; width:53px; height:19px; ">
  150. <caption>행삭제</caption>
  151. <script type="javascript" ev:event="DOMActivate">
  152. <![CDATA[
  153. misfGridIUD(grd_srventrdtlist, "D");
  154. ]]>
  155. </script>
  156. </button>
  157. <button id="btn_dtaddrow" class="btn2_letter3" disabled="true" style="left:1085px; top:55px; width:53px; height:19px; ">
  158. <caption>행추가</caption>
  159. <script type="javascript" ev:event="DOMActivate">
  160. <![CDATA[
  161. misfGridIUD(grd_srventrdtlist, "A");
  162. grd_srventrdtlist.valueMatrix(grd_srventrdtlist.row, grd_srventrdtlist.colRef("contendyn")) = "N";
  163. model.refresh();
  164. ]]>
  165. </script>
  166. </button>
  167. </group>
  168. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  169. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">용역업체관리</caption>
  170. </group>
  171. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  172. <line id="line75" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  173. <button id="btn_save" class="btn4_letter2" style="left:1132px; top:3px; width:56px; height:22px; ">
  174. <caption>저장</caption>
  175. <script type="javascript" ev:event="DOMActivate">
  176. <![CDATA[
  177. misfSave("TXRPB18101");
  178. if (model.getValue(gvErrorMsgPath + "/type") != "error"){
  179. btn_search.dispatch("DOMActivate");
  180. }
  181. ]]>
  182. </script>
  183. </button>
  184. </group>
  185. </xhtml:body>
  186. </xhtml:html>