SMAEB00800_실시자코드관리.xrw 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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. <execrcodelist>
  11. <execrcode>
  12. <sortno/>
  13. <basecd/>
  14. <basecdflagdesc/>
  15. <basecdcnts/>
  16. <basecdflag/>
  17. <basesuppdeptcd/>
  18. <seq/>
  19. </execrcode>
  20. </execrcodelist>
  21. </main>
  22. <send>
  23. <req>
  24. <data/>
  25. </req>
  26. <basecd/>
  27. <globalinstance>
  28. <instance1/>
  29. </globalinstance>
  30. </send>
  31. <init/>
  32. <hidden>
  33. <item/>
  34. <basecd/>
  35. </hidden>
  36. </root>
  37. </instance>
  38. <submission id="TRAEB00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/execrcodelist"/>
  39. <submission id="TXAEB00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/hidden"/>
  40. <script type="javascript" ev:event="xforms-ready">
  41. <![CDATA[
  42. aezfSetSuppDeptcd();
  43. model.refresh();
  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,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  54. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  55. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  56. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  57. <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
  58. <button id="btn_sea" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  59. <caption>조회</caption>
  60. <script type="javascript" ev:event="DOMActivate">
  61. <![CDATA[
  62. submit("TRAEB00801");
  63. ]]>
  64. </script>
  65. </button>
  66. <caption id="caption2" class="search_name" style="left:15px; top:8px; width:112px; height:17px; ">실시자코드 :</caption>
  67. <button id="button61" class="icon_search" style="left:270px; top:9px; width:16px; height:16px; ">
  68. <caption/>
  69. </button>
  70. <input id="ipt_basecd" ref="/root/send/basecd" class="input_search" style="left:130px; top:8px; width:135px; height:19px; ">
  71. <script type="javascript" ev:event="onkeydown">
  72. <![CDATA[
  73. inputEnterKey("btn_sea","DOMActivate");
  74. ]]>
  75. </script>
  76. </input>
  77. </group>
  78. <button id="btn_gedadd" class="btn2_letter3" style="left:1084px; top:50px; width:53px; height:19px; ">
  79. <caption>행추가</caption>
  80. <script type="javascript" ev:event="DOMActivate">
  81. <![CDATA[
  82. grd_execrcode.addRow();
  83. grd_execrcode.row = grd_execrcode.bottomRow;
  84. model.setValue("/root/main/execrcodelist/execrcode["+ grd_execrcode.row +"]/basesuppdeptcd",model.getValue("/root/send/globalinstance/instance1"));
  85. model.refresh();
  86. ]]>
  87. </script>
  88. </button>
  89. <button id="btn_grddel" class="btn2_letter3" style="left:1141px; top:50px; width:53px; height:19px; ">
  90. <caption>행삭제</caption>
  91. <script type="javascript" ev:event="DOMActivate">
  92. <![CDATA[
  93. deleteSelectedRows(grd_execrcode, true);
  94. //grd_execrcode.addStatus(grd_execrcode.row,"delete");
  95. ]]>
  96. </script>
  97. </button>
  98. <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:120px; height:14px; ">실시자관리</caption>
  99. <line id="line1" class="line_1" style="x1:3px; y1:73px; x2:1194px; y2:74px; "/>
  100. <datagrid id="grd_execrcode" nodeset="/root/main/execrcodelist/execrcode" caption="순번 ^사번^성명^비고^basecdflag^basesuppdeptcd^seq" colsep="^" colwidth="71, 97, 139, 858, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:2px; top:77px; width:1191px; height:662px; ">
  101. <col ref="sortno" type="input"/>
  102. <col ref="basecd" type="input" maxlength="12" _chartype="upper" _key="true"/>
  103. <col ref="basecdflagdesc" type="input"/>
  104. <col ref="basecdcnts" type="input"/>
  105. <col ref="basecdflag" type="input" visibility="hidden"/>
  106. <col ref="basesuppdeptcd" type="input" visibility="hidden"/>
  107. <col ref="seq" visibility="hidden"/>
  108. </datagrid>
  109. </group>
  110. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  111. <button id="btn_save" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
  112. <caption>저장</caption>
  113. <script type="javascript" ev:event="DOMActivate">
  114. <![CDATA[
  115. if ( messageBox("","Q002")==6 ) {
  116. var update = getGridUpdateData(grd_execrcode);
  117. // var update = model.getValue("/root/send/req/data");
  118. if(update == ""){
  119. messageBox("업데이트 정보가 없습니다.", "I");
  120. return 0;
  121. } else {
  122. model.setValue("/root/send/req/data", update);
  123. submit("TXAEB00801");
  124. }
  125. }
  126. submit("TRAEB00801");
  127. ]]>
  128. </script>
  129. <script type="javascript" ev:event="DOMFocusIn">
  130. <![CDATA[
  131. checkKeyColumn("grd_execrcode");
  132. ]]>
  133. </script>
  134. </button>
  135. </group>
  136. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  137. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:144px; height:14px; ">근무자/실시자 관리</caption>
  138. </group>
  139. </xhtml:body>
  140. </xhtml:html>