SMLLF02200_LIS내부용코드관리.xrw 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLMF00100.xrw
  4. * 설 명 : 배양균코드관리
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 - 조철형
  7. * 작 성 일 : 2007.04.06
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title/>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root>
  18. <main>
  19. <lisbasclist>
  20. <basecdid/>
  21. <basecdidnm/>
  22. <basecd/>
  23. <basecd2/>
  24. <basecdnm/>
  25. <basecddesc/>
  26. </lisbasclist>
  27. </main>
  28. <send>
  29. <data1/>
  30. <bac/>
  31. </send>
  32. <init>
  33. <LB0201/>
  34. </init>
  35. <hidden>
  36. <ref>
  37. <searchgbn>1</searchgbn>
  38. <searchnm/>
  39. <btnflag/>
  40. </ref>
  41. <default/>
  42. </hidden>
  43. <temp>
  44. <addlist/>
  45. </temp>
  46. </root>
  47. </instance>
  48. <script ev:event="xforms-model-construct-done" type="javascript">
  49. <![CDATA[
  50. fSetInit()
  51. ]]>
  52. </script>
  53. <script src="../../../com/commonweb/js/common.js" type="javascript"/>
  54. <script src="../../../com/commonweb/js/dateHelper.js" type="javascript"/>
  55. <script src="../../../com/commonweb/js/tfHelper.js" type="javascript"/>
  56. <script src="../../../lis/commonweb/js/LLZ001.js" type="javascript"/>
  57. <submission id="TRLLF02201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/lisbasclist"/>
  58. <submission id="TXLLF02201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  59. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
  60. </model>
  61. <script type="javascript">
  62. <![CDATA[
  63. /* @group : 기본코드관리
  64. * @ver : 2009.03.18
  65. * @by : 송요셉
  66. *@-----------------------------------
  67. * @type : function
  68. * @access : public
  69. * @desc : 초기화버튼 클릭
  70. */
  71. function fSetInit() {
  72. model.removeNodeset("/root/main/lisbasclist");
  73. model.refresh();
  74. }
  75. /* @group : 기본코드관리
  76. * @ver : 2009.03.18
  77. * @by : 송요셉
  78. *@-----------------------------------
  79. * @type : function
  80. * @access : public
  81. * @desc : 조회 검색 버튼 클릭
  82. */
  83. function fGetBasclist(){
  84. model.copyNode("/root/send/data1","/root/hidden/ref");
  85. submit("TRLLF02201");
  86. model.copyNode("/root/send/data1","/root/hidden/default");
  87. }
  88. /* @group : 기본코드관리
  89. * @ver : 2009.03.18
  90. * @by : 송요셉
  91. *@-----------------------------------
  92. * @type : function
  93. * @access : public
  94. * @desc : 저장버튼 클릭
  95. */
  96. function fExeBascList(){
  97. model.setvalue("/root/send/data1" , grd_basclist.getUpdateData());
  98. submit("TXLLF02201");
  99. model.copyNode("/root/send/data1","/root/hidden/default");
  100. grd_basclist.clearStatus();
  101. fGetBasclist();
  102. }
  103. function fInsRowAdd(pGridId) {
  104. pGridId.addRow();
  105. }
  106. function fInsRowDel(pGridId){
  107. pGridId.rowStatus(pGridId.row) = 4;
  108. }
  109. ]]>
  110. </script>
  111. </xhtml:head>
  112. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  113. <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  114. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  115. <caption id="caption2" class="tit_2" style="left:5px; top:55px; width:142px; height:14px; ">LIS내부용코드리스트</caption>
  116. <datagrid id="grd_basclist" nodeset="/root/main/lisbasclist" class="datagrid2" caption="기본코드ID^기본코드명^기본코드^기본코드2^기본코드명칭^기본코드내용" colsep="▦" colwidth="120, 190, 120, 120, 190, 420" dataheight="23" defaultrows="1" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="32" rowsep="▩" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:75px; width:1194px; height:650; ">
  117. <col ref="basecdid" type="input"/>
  118. <col ref="basecdidnm" type="input"/>
  119. <col ref="basecd" type="input"/>
  120. <col ref="basecd2" type="input"/>
  121. <col ref="basecdnm" type="input"/>
  122. <col ref="basecddesc" type="input"/>
  123. <script ev:event="onaftersort" type="javascript">
  124. <![CDATA[
  125. grd_basclist.gridToInstance();
  126. ]]>
  127. </script>
  128. </datagrid>
  129. <group id="group1" style="left:0px; top:10px; width:1195px; height:35px; ">
  130. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
  131. <line id="line3" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
  132. <caption id="caption4" class="search_name" style="left:737px; top:9px; width:90px; height:17px; ">검색구분 :</caption>
  133. <select1 id="cmb_search" ref="/root/hidden/ref/searchgbn" class="combo_search" appearance="minimal" style="left:830px; top:8px; width:150px; height:19px; ">
  134. <choices>
  135. <item>
  136. <label>코드ID</label>
  137. <value>1</value>
  138. </item>
  139. <item>
  140. <label>코드ID명</label>
  141. <value>2</value>
  142. </item>
  143. </choices>
  144. </select1>
  145. <input id="ipt_searchtext" ref="/root/hidden/ref/searchnm" class="input_search" style="left:983px; top:8px; width:110px; height:19px; "/>
  146. <script ev:event="onkeypress" type="javascript">
  147. <![CDATA[
  148. if(event.keyCode == "13"){
  149. model.setvalue("/root/hidden/ref/searchnm",ipt_searchtext.currentText);
  150. model.refresh();
  151. fGetBasclist();
  152. ipt_searchtext.selBegin = 0;
  153. ipt_searchtext.selEnd = ipt_searchtext.currentText.length;
  154. }
  155. ]]>
  156. </script>
  157. <button id="btn_search" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  158. <caption>조회</caption>
  159. <script ev:event="DOMActivate" type="javascript">
  160. <![CDATA[
  161. fGetBasclist();
  162. ]]>
  163. </script>
  164. </button>
  165. </group>
  166. <button id="btn_addrow" class="btn2_letter3" style="left:1141px; top:49px; width:53px; height:19px; ">
  167. <caption>행추가</caption>
  168. <script ev:event="DOMActivate" type="javascript">
  169. <![CDATA[
  170. fInsRowAdd(grd_basclist);
  171. ]]>
  172. </script>
  173. </button>
  174. <button id="button1" class="btn2_letter3" style="left:1086px; top:49px; width:53px; height:19px; ">
  175. <caption>행삭제</caption>
  176. <script ev:event="DOMActivate" type="javascript">
  177. <![CDATA[
  178. fInsRowDel(grd_basclist);
  179. ]]>
  180. </script>
  181. </button>
  182. </group>
  183. <group id="grp_btn" style="left:0px; top:13px; width:1195px; height:27px; ">
  184. <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  185. <button id="btn_save" class="btn4_letter2" style="left:1068px; top:3px; width:56px; height:22px; ">
  186. <caption>저장</caption>
  187. <script ev:event="DOMActivate" type="javascript">
  188. <![CDATA[
  189. fExeBascList();
  190. ]]>
  191. </script>
  192. </button>
  193. <button id="btn_reset" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  194. <caption>초기화</caption>
  195. <script ev:event="DOMActivate" type="javascript">
  196. <![CDATA[
  197. fSetInit();
  198. ]]>
  199. </script>
  200. </button>
  201. </group>
  202. <group id="group2" style="left:0px; top:0px; width:1195px; height:13px; ">
  203. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">LIS내부용코드관리</caption>
  204. </group>
  205. </xhtml:body>
  206. </xhtml:html>