SMAEB01100_선량율측정항목관리.xrw 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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. <cntmlist>
  11. <item>
  12. <sortno/>
  13. <basecd/>
  14. <basecdflagdesc/>
  15. <basecdcnts/>
  16. <basesuppdeptcd/>
  17. </item>
  18. </cntmlist>
  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="TRAEB01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/cntmlist"/>
  38. <submission id="TXAEB01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/main/cntmlist"/>
  39. <script type="javascript" ev:event="xforms-ready">
  40. <![CDATA[
  41. aezfSetSuppDeptcd();
  42. model.removeNodeset("/root/main/cntmlist/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,1196;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  55. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:170px; height:13px; ">선량율 측정 항목관리</caption>
  56. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:15px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  57. <line id="line1" class="line_1" style="x1:1px; y1:86px; x2:1195px; y2:86px; "/>
  58. <line id="line13" class="line_4" style="x1:1116px; y1:22px; x2:1116px; y2:44px; "/>
  59. <button id="btn_sea" class="btn1_letter2" style="left:1126px; top:22px; width:56px; height:22px; ">
  60. <caption>조회</caption>
  61. <script type="javascript" ev:event="DOMActivate">
  62. <![CDATA[
  63. submit("TRAEB01101");
  64. ]]>
  65. </script>
  66. </button>
  67. <button id="btn_grdadd" class="btn2_letter3" style="left:1088px; top:54px; width:53px; height:19px; ">
  68. <caption>행추가</caption>
  69. <script type="javascript" ev:event="DOMActivate">
  70. <![CDATA[
  71. grd_cntmlist.addRow();
  72. grd_cntmlist.row = grd_cntmlist.bottomRow;
  73. var cnt = parseInt(grd_cntmlist.row);
  74. model.makeValue("/root/main/cntmlist/item[" + cnt + "]/basesuppdeptcd", model.getValue("/root/send/globalinstance/instance1") );
  75. model.makeValue("/root/main/cntmlist/item[" + cnt + "]/basecdflag", "M");
  76. ]]>
  77. </script>
  78. </button>
  79. <button id="btn_grddel" class="btn2_letter3" style="left:1142px; top:54px; width:53px; height:19px; ">
  80. <caption>행삭제</caption>
  81. <script type="javascript" ev:event="DOMActivate">
  82. <![CDATA[
  83. deleteSelectedRows(grd_cntmlist, true);
  84. ]]>
  85. </script>
  86. </button>
  87. <input id="input8" ref="/root/send/basecd" class="input_search" style="left:88px; top:24px; width:100px; height:19px; "/>
  88. <caption id="caption25" class="search_name" style="left:18px; top:24px; width:86px; height:17px; ">코드 :</caption>
  89. <datagrid id="grd_cntmlist" nodeset="/root/main/cntmlist/item" caption="순번^코드^측정항목^비고" colsep="^" colwidth="67, 111, 345, 627, 0, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:77px; width:1195px; height:678px; ">
  90. <col ref="sortno" type="input" format="#,###"/>
  91. <col ref="basecd" type="input"/>
  92. <col ref="basecdflagdesc" type="input"/>
  93. <col ref="basecdcnts" type="input"/>
  94. <col ref="basecdflag" type="input" visibility="hidden"/>
  95. <col ref="basesuppdeptcd" visibility="hidden"/>
  96. </datagrid>
  97. <button id="button61" class="icon_search" style="left:195px; top:27px; width:16px; height:16px; ">
  98. <caption/>
  99. <script type="javascript" ev:event="onkeydown">
  100. <![CDATA[
  101. inputEnterKey("btn_sea","DOMActivate");
  102. ]]>
  103. </script>
  104. </button>
  105. <line id="line2" class="line_1" style="x1:0px; y1:74px; x2:1194px; y2:74px; "/>
  106. <caption id="caption14" class="tit_2" style="left:5px; top:59px; width:147px; height:13px; ">선량율측정항목</caption>
  107. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  108. <button id="btn_save" class="btn4_letter2" style="left:1139px; top:2px; width:56px; height:27px; ">
  109. <caption>저장</caption>
  110. <script type="javascript" ev:event="DOMActivate">
  111. <![CDATA[
  112. if ( messageBox("","Q002")==6 ) {
  113. var update = getGridUpdateData(grd_cntmlist);
  114. if(update == ""){
  115. messageBox("업데이트 정보가 없습니다.", "I");
  116. return 0;
  117. } else {
  118. model.setValue("/root/send/req/data", update);
  119. submit("TXAEB01101");
  120. }
  121. }
  122. submit("TRAEB01101");
  123. ]]>
  124. </script>
  125. <script type="javascript" ev:event="DOMFocusIn">
  126. <![CDATA[
  127. checkKeyColumn("grd_cntmlist");
  128. ]]>
  129. </script>
  130. </button>
  131. </group>
  132. </xhtml:body>
  133. </xhtml:html>