123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLMF00100.xrw
- * 설 명 : 배양균코드관리
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 조철형
- * 작 성 일 : 2007.04.06
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <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">
- <xhtml:head>
- <xhtml:title/>
- <model id="model1">
- <instance id="instance1">
- <root>
- <main>
- <lisbasclist>
- <basecdid/>
- <basecdidnm/>
- <basecd/>
- <basecd2/>
- <basecdnm/>
- <basecddesc/>
- </lisbasclist>
- </main>
- <send>
- <data1/>
- <bac/>
- </send>
- <init>
- <LB0201/>
- </init>
- <hidden>
- <ref>
- <searchgbn>1</searchgbn>
- <searchnm/>
- <btnflag/>
- </ref>
- <default/>
- </hidden>
- <temp>
- <addlist/>
- </temp>
- </root>
- </instance>
- <script ev:event="xforms-model-construct-done" type="javascript">
- <![CDATA[
- fSetInit()
- ]]>
- </script>
- <script src="../../../com/commonweb/js/common.js" type="javascript"/>
- <script src="../../../com/commonweb/js/dateHelper.js" type="javascript"/>
- <script src="../../../com/commonweb/js/tfHelper.js" type="javascript"/>
- <script src="../../../lis/commonweb/js/LLZ001.js" type="javascript"/>
- <submission id="TRLLF02201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/lisbasclist"/>
- <submission id="TXLLF02201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
-
- /* @group : 기본코드관리
- * @ver : 2009.03.18
- * @by : 송요셉
- *@-----------------------------------
- * @type : function
- * @access : public
- * @desc : 초기화버튼 클릭
- */
- function fSetInit() {
- model.removeNodeset("/root/main/lisbasclist");
- model.refresh();
- }
-
-
- /* @group : 기본코드관리
- * @ver : 2009.03.18
- * @by : 송요셉
- *@-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조회 검색 버튼 클릭
- */
- function fGetBasclist(){
-
- model.copyNode("/root/send/data1","/root/hidden/ref");
-
- submit("TRLLF02201");
-
- model.copyNode("/root/send/data1","/root/hidden/default");
-
- }
-
- /* @group : 기본코드관리
- * @ver : 2009.03.18
- * @by : 송요셉
- *@-----------------------------------
- * @type : function
- * @access : public
- * @desc : 저장버튼 클릭
- */
- function fExeBascList(){
- model.setvalue("/root/send/data1" , grd_basclist.getUpdateData());
- submit("TXLLF02201");
- model.copyNode("/root/send/data1","/root/hidden/default");
- grd_basclist.clearStatus();
- fGetBasclist();
- }
-
- function fInsRowAdd(pGridId) {
- pGridId.addRow();
- }
-
- function fInsRowDel(pGridId){
- pGridId.rowStatus(pGridId.row) = 4;
- }
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
- <caption id="caption2" class="tit_2" style="left:5px; top:55px; width:142px; height:14px; ">LIS내부용코드리스트</caption>
- <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; ">
- <col ref="basecdid" type="input"/>
- <col ref="basecdidnm" type="input"/>
- <col ref="basecd" type="input"/>
- <col ref="basecd2" type="input"/>
- <col ref="basecdnm" type="input"/>
- <col ref="basecddesc" type="input"/>
- <script ev:event="onaftersort" type="javascript">
- <![CDATA[
- grd_basclist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <group id="group1" style="left:0px; top:10px; width:1195px; height:35px; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <line id="line3" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
- <caption id="caption4" class="search_name" style="left:737px; top:9px; width:90px; height:17px; ">검색구분 :</caption>
- <select1 id="cmb_search" ref="/root/hidden/ref/searchgbn" class="combo_search" appearance="minimal" style="left:830px; top:8px; width:150px; height:19px; ">
- <choices>
- <item>
- <label>코드ID</label>
- <value>1</value>
- </item>
- <item>
- <label>코드ID명</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_searchtext" ref="/root/hidden/ref/searchnm" class="input_search" style="left:983px; top:8px; width:110px; height:19px; "/>
- <script ev:event="onkeypress" type="javascript">
- <![CDATA[
- if(event.keyCode == "13"){
-
- model.setvalue("/root/hidden/ref/searchnm",ipt_searchtext.currentText);
- model.refresh();
- fGetBasclist();
- ipt_searchtext.selBegin = 0;
- ipt_searchtext.selEnd = ipt_searchtext.currentText.length;
- }
- ]]>
- </script>
- <button id="btn_search" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- fGetBasclist();
- ]]>
- </script>
- </button>
- </group>
- <button id="btn_addrow" class="btn2_letter3" style="left:1141px; top:49px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- fInsRowAdd(grd_basclist);
-
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter3" style="left:1086px; top:49px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- fInsRowDel(grd_basclist);
-
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" style="left:0px; top:13px; width:1195px; height:27px; ">
- <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="btn_save" class="btn4_letter2" style="left:1068px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- fExeBascList();
- ]]>
- </script>
- </button>
- <button id="btn_reset" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- fSetInit();
- ]]>
- </script>
- </button>
- </group>
- <group id="group2" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">LIS내부용코드관리</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|