SMAEB03000_오염상황항목관리.xrw 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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. <cntmprcplist>
  11. <item>
  12. <sortno/>
  13. <basecd/>
  14. <basecdflagdesc/>
  15. <basecdcnts/>
  16. <basesuppdeptcd/>
  17. </item>
  18. </cntmprcplist>
  19. </main>
  20. <send>
  21. <basecd/>
  22. <req>
  23. <data/>
  24. </req>
  25. <globalinstance>
  26. <instance1/>
  27. </globalinstance>
  28. </send>
  29. <init/>
  30. <hidden>
  31. <item>
  32. </item>
  33. </hidden>
  34. </root>
  35. </instance>
  36. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  37. <submission id="TRAEB03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/cntmprcplist"/>
  38. <submission id="TXAEB03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/hidden"/>
  39. <script type="javascript" ev:event="xforms-ready">
  40. <![CDATA[
  41. aezfSetSuppDeptcd();
  42. model.removeNodeset("/root/main/cntmprcplist/item");
  43. model.refresh();
  44. model.setFocus("ipt_basecd");
  45. ]]>
  46. </script>
  47. </model>
  48. </xhtml:head>
  49. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  50. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  51. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  52. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  53. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  54. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  55. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  56. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:135px; height:13px; ">오염상황항목관리</caption>
  57. </group>
  58. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  59. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  60. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  61. <line id="line13" class="line_4" style="x1:1116px; y1:7px; x2:1116px; y2:29px; "/>
  62. <button id="btn_sea" class="btn1_letter2" style="left:1125px; top:7px; width:56px; height:22px; ">
  63. <caption>조회</caption>
  64. <script type="javascript" ev:event="DOMActivate">
  65. <![CDATA[
  66. submit("TRAEB03001");
  67. ]]>
  68. </script>
  69. </button>
  70. <input id="input8" ref="/root/send/basecd" class="input_search" style="left:159px; top:9px; width:100px; height:19px; ">
  71. <script type="javascript" ev:event="onkeydown">
  72. <![CDATA[
  73. if ( event.keyCode == 13 ) {
  74. setInputNodeCurText();
  75. submit("TRAEB03001");
  76. }
  77. ]]>
  78. </script>
  79. </input>
  80. <caption id="caption25" class="search_name" style="left:15px; top:9px; width:145px; height:17px; ">오염상황항목코드 :</caption>
  81. </group>
  82. <line id="line2" class="line_1" style="x1:0px; y1:72px; x2:1194px; y2:72px; "/>
  83. <button id="btn_grdadd" class="btn2_letter3" style="left:1085px; top:50px; width:53px; height:19px; ">
  84. <caption>행추가</caption>
  85. <script type="javascript" ev:event="DOMActivate">
  86. <![CDATA[
  87. grd_cntmprcplist.addRow();
  88. grd_cntmprcplist.row = grd_cntmprcplist.bottomRow;
  89. var cnt = parseInt(grd_cntmprcplist.row);
  90. model.makeValue("/root/main/cntmprcplist/item[" + cnt + "]/basesuppdeptcd", model.getValue("/root/send/globalinstance/instance1") );
  91. model.makeValue("/root/main/cntmprcplist/item[" + cnt + "]/basecdflag", "T");
  92. ]]>
  93. </script>
  94. </button>
  95. <button id="btn_grddel" class="btn2_letter3" style="left:1142px; top:50px; width:53px; height:19px; ">
  96. <caption>행삭제</caption>
  97. <script type="javascript" ev:event="DOMActivate">
  98. <![CDATA[
  99. deleteSelectedRows(grd_cntmprcplist, true);
  100. ]]>
  101. </script>
  102. </button>
  103. <datagrid id="grd_cntmprcplist" nodeset="/root/main/cntmprcplist/item" caption="순번^코드^항목명^비고" colsep="^" colwidth="100, 241, 409, 400, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:77px; width:1195px; height:667px; ">
  104. <col ref="sortno" type="input"/>
  105. <col ref="basecd" type="input"/>
  106. <col ref="basecdflagdesc" type="input"/>
  107. <col ref="basecdcnts" type="input"/>
  108. <col ref="basecdflag" type="input" visibility="hidden"/>
  109. <col ref="basesuppdeptcd" visibility="hidden"/>
  110. </datagrid>
  111. </group>
  112. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  113. <button id="btn_save" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
  114. <caption>저장</caption>
  115. <script type="javascript" ev:event="DOMActivate">
  116. <![CDATA[
  117. if ( messageBox("","Q002")==6 ) {
  118. var update = getGridUpdateData(grd_cntmprcplist);
  119. if(update == ""){
  120. messageBox("업데이트 정보가 없습니다.", "I");
  121. return 0;
  122. } else {
  123. model.setValue("/root/send/req/data", update);
  124. submit("TXAEB03001");
  125. }
  126. }
  127. submit("TRAEB03001");
  128. ]]>
  129. </script>
  130. <script type="javascript" ev:event="DOMFocusIn">
  131. <![CDATA[
  132. checkKeyColumn("grd_cntmprcplist");
  133. ]]>
  134. </script>
  135. </button>
  136. </group>
  137. </xhtml:body>
  138. </xhtml:html>