SMAEB00700_소견명관리.xrw 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <opinlist>
  11. <item>
  12. <sortno/>
  13. <basecd/>
  14. <basecdflagdesc/>
  15. <basecdcnts/>
  16. <basesuppdeptcd/>
  17. </item>
  18. </opinlist>
  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="TRAEB00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/opinlist"/>
  38. <submission id="TXAEB00701" 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/opinlist/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,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  55. <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:85px; height:13px; ">소견명관리</caption>
  56. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:2px; top:15px; width:1193px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  57. <line id="line2" class="line_1" style="x1:2px; y1:80px; x2:1195px; y2:80px; "/>
  58. <line id="line13" class="line_4" style="x1:1123px; y1:21px; x2:1123px; y2:43px; "/>
  59. <button id="btn_sea" class="btn1_letter2" style="left:1130px; top:21px; width:56px; height:22px; ">
  60. <caption>조회</caption>
  61. <script type="javascript" ev:event="DOMActivate">
  62. <![CDATA[
  63. submit("TRAEB00701");
  64. ]]>
  65. </script>
  66. </button>
  67. <button id="btn_grdadd" class="btn2_letter3" style="left:1085px; top:56px; width:53px; height:19px; ">
  68. <caption>행추가</caption>
  69. <script type="javascript" ev:event="DOMActivate">
  70. <![CDATA[
  71. grd_opinlist.addRow();
  72. grd_opinlist.row = grd_opinlist.bottomRow;
  73. var cnt = parseInt(grd_opinlist.row);
  74. model.setValue("/root/main/opinlist/item[" + cnt + "]/basesuppdeptcd",
  75. model.getValue("/root/send/globalinstance/instance1") );
  76. ]]>
  77. </script>
  78. </button>
  79. <button id="btn_grddel" class="btn2_letter3" style="left:1141px; top:56px; width:53px; height:19px; ">
  80. <caption>행삭제</caption>
  81. <script type="javascript" ev:event="DOMActivate">
  82. <![CDATA[
  83. deleteSelectedRows(grd_opinlist, true);
  84. ]]>
  85. </script>
  86. </button>
  87. <button id="btn_save" class="btn4_letter2" style="left:1139px; top:758px; width:56px; height:22px; ">
  88. <caption>저장</caption>
  89. <script type="javascript" ev:event="DOMActivate">
  90. <![CDATA[
  91. if ( messageBox("","Q002")==6 ) {
  92. var update = getGridUpdateData(grd_opinlist);
  93. // var update = model.getValue("/root/send/req/data");
  94. if(update == ""){
  95. messageBox("업데이트 정보가 없습니다.", "I");
  96. return 0;
  97. } else {
  98. alert(model.getValue("/root/send/globalinstance/instance1"));
  99. model.setValue("/root/send/req/data", update);
  100. //model.setV
  101. submit("TXAEB00701");
  102. }
  103. }
  104. submit("TRAEB00701");
  105. ]]>
  106. </script>
  107. <script type="javascript" ev:event="DOMFocusIn">
  108. <![CDATA[
  109. checkKeyColumn("grd_opinlist");
  110. ]]>
  111. </script>
  112. </button>
  113. <input id="ipt_basecd" ref="/root/send/basecd" class="input_search" style="left:84px; top:24px; width:100px; height:19px; "/>
  114. <caption id="caption25" class="search_name" style="left:15px; top:24px; width:86px; height:17px; ">코드 :</caption>
  115. <datagrid id="grd_opinlist" nodeset="/root/main/opinlist/item" caption="순번 ^소견명코드^소견명^비고^" colsep="^" colwidth="100, 205, 446, 432, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:2px; top:85px; width:1192px; height:671px; ">
  116. <col ref="sortno" type="input"/>
  117. <col ref="basecd" type="input"/>
  118. <col ref="basecdflagdesc" type="input"/>
  119. <col ref="basecdcnts" type="input"/>
  120. <col ref="basesuppdeptcd"/>
  121. </datagrid>
  122. <button id="button61" class="icon_search" style="left:190px; top:25px; width:16px; height:16px; ">
  123. <caption/>
  124. <script type="javascript" ev:event="onkeydown">
  125. <![CDATA[
  126. inputEnterKey("btn_sea","DOMActivate");
  127. ]]>
  128. </script>
  129. </button>
  130. </xhtml:body>
  131. </xhtml:html>