SMAEB02300_오염측정지점코드.xrw 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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>오염측정지점코드관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <item>
  12. <sortno/>
  13. <basecd/>
  14. <basecdflagdesc/>
  15. <basecdcnts/>
  16. <basesuppdeptcd/>
  17. </item>
  18. </list>
  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. <submission id="TRAEB02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
  37. <submission id="TXAEB02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/main/list"/>
  38. <script type="javascript" ev:event="xforms-ready">
  39. <![CDATA[
  40. aezfSetSuppDeptcd();
  41. model.removeNodeset("/root/main/list/item");
  42. model.refresh();
  43. model.setFocus("ipt_basecd");
  44. ]]>
  45. </script>
  46. </model>
  47. </xhtml:head>
  48. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  50. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  51. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  52. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  53. <xhtml:body guideline="1,1194;2,757;2,783;">
  54. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  55. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:145px; height:14px; ">오염측정지점코드관리</caption>
  56. </group>
  57. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  58. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  59. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  60. <caption id="caption3" class="search_name" style="left:10px; top:8px; width:86px; height:17px; ">코드 :</caption>
  61. <button id="btn_sea" class="btn1_letter2" style="left:1124px; top:7px; width:56px; height:22px; ">
  62. <caption>조회</caption>
  63. <script type="javascript" ev:event="DOMActivate">
  64. <![CDATA[
  65. submit("TRAEB02301");
  66. ]]>
  67. </script>
  68. </button>
  69. <input id="input1" ref="/root/send/basecd" class="input_search" style="left:75px; top:8px; width:100px; height:19px; "/>
  70. </group>
  71. <line id="line1" class="line_1" style="x1:0px; y1:69px; x2:1194px; y2:69px; "/>
  72. <caption id="caption14" class="tit_2" style="left:5px; top:54px; width:147px; height:14px; ">오염측정지점코드</caption>
  73. <datagrid id="grd_list" nodeset="/root/main/list/item" caption="순번^측정지점코드^측정지점코드명^비고^caption1^caption2" colsep="^" colwidth="67, 111, 345, 627, 0, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:74px; width:1194px; height:670px; ">
  74. <col ref="sortno" type="input" format="#,###"/>
  75. <col ref="basecd" type="input"/>
  76. <col ref="basecdflagdesc" type="input"/>
  77. <col ref="basecdcnts" type="input"/>
  78. <col ref="basecdflag" type="input" visibility="hidden"/>
  79. <col ref="basesuppdeptcd" visibility="hidden"/>
  80. </datagrid>
  81. <button id="btn_grddel" class="btn2_letter3" style="left:1140px; top:49px; width:53px; height:19px; ">
  82. <caption>행삭제</caption>
  83. <script type="javascript" ev:event="DOMActivate">
  84. <![CDATA[
  85. deleteSelectedRows(grd_list, true);
  86. ]]>
  87. </script>
  88. </button>
  89. <button id="btn_grdadd" class="btn2_letter3" style="left:1086px; top:49px; width:53px; height:19px; ">
  90. <caption>행추가</caption>
  91. <script type="javascript" ev:event="DOMActivate">
  92. <![CDATA[
  93. grd_list.addRow();
  94. grd_list.row = grd_list.bottomRow;
  95. var cnt = parseInt(grd_list.row);
  96. model.makeValue("/root/main/list/item[" + cnt + "]/basesuppdeptcd", model.getValue("/root/send/globalinstance/instance1") );
  97. model.makeValue("/root/main/list/item[" + cnt + "]/basecdflag", "Q");
  98. ]]>
  99. </script>
  100. </button>
  101. </group>
  102. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  103. <button id="btn_save" class="btn4_letter2" style="left:1139px; top:2px; width:56px; height:27px; ">
  104. <caption>저장</caption>
  105. <script type="javascript" ev:event="DOMActivate">
  106. <![CDATA[
  107. if ( messageBox("","Q002")==6 ) {
  108. var update = getGridUpdateData(grd_list);
  109. if(update == ""){
  110. messageBox("업데이트 정보가 없습니다.", "I");
  111. return 0;
  112. } else {
  113. model.setValue("/root/send/req/data", update);
  114. submit("TXAEB02301");
  115. }
  116. }
  117. submit("TRAEB02301");
  118. ]]>
  119. </script>
  120. <script type="javascript" ev:event="DOMFocusIn">
  121. <![CDATA[
  122. checkKeyColumn("grd_list");
  123. ]]>
  124. </script>
  125. </button>
  126. </group>
  127. <line id="line13" class="line_4" style="x1:1107px; y1:29px; x2:1107px; y2:51px; "/>
  128. </xhtml:body>
  129. </xhtml:html>