123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLMF01200.xrw
- * 설 명 : WHO항균제코드관리
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 송요셉
- * 작 성 일 : 2008.04.06
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>
- <keyantilist>
- <keyantibiofromdd/>
- <keyantibiotodd/>
- <keyantibiocd/>
- <keyantibionm/>
- <keyantibioabbrnm/>
- <keyantibioscrnnm/>
- <keyantibioprntnm/>
- </keyantilist>
- <keyantidetilist>
- <eqantibiocd/>
- <antibionm/>
- <eqmtcd/>
- </keyantidetilist>
- <baclist>
- <baccd/>
- <bacnm/>
- <keybaccd/>
- </baclist>
- </main>
- <send>
- <data1/>
- <anti/>
- <keyantibiocd/>
- </send>
- <init>
- <LB0201/>
- </init>
- <hidden>
- <ref>
- <refgbn>1</refgbn>
- <searchgbn>1</searchgbn>
- <searchnm/>
- <btnflag/>
- </ref>
- <default/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- model.removeNodeset("/root/main/keyantilist");
- model.removeNodeset("/root/main/keyantidetilist");
- fBaseInfoRef("0201|");
-
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
- <submission id="TRLMF01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/keyantilist"/>
- <submission id="TRLMF01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/keybacdetilist"/>
- <submission id="TXLMF01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- <submission id="TXLMF01202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
-
- /* @group : 배양균코드관리
- * @ver : 2007.04.06(CMCDEV-0001)
- * @by : 조철형
- *@-----------------------------------
- * @type : function
- * @access : public
- * @desc : 행추가버튼 클릭
- */
- function fInsRowAdd(pGridId) {
-
- pGridId.addRow();
- var row = pGridId.rows-1;
- pGridId.topRow = row;
-
- if(pGridId == grd_keyantilist){
- model.setvalue("/root/main/keyantilist["+ row +"]/keyantibiofromdd" , getCurrentDate());
- model.setvalue("/root/main/keyantilist["+ row +"]/keyantibiotodd" , "99991231");
- }
- }
-
-
- /* @group : 배양균코드관리
- * @ver : 2007.04.06(CMCDEV-0001)
- * @by : 조철형
- *@-----------------------------------
- * @type : function
- * @access : public
- * @desc : 초기화버튼 클릭
- */
- function fSetInit() {
-
- model.removeNodeset("/root/main/keyantilist");
- model.refresh();
- }
-
-
- /* @group : 배양균코드관리
- * @ver : 2007.04.06(CMCDEV-0001)
- * @by : 조철형
- *@-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조회 검색 버튼 클릭
- */
- function fGetKeyAnti(gbn){
-
- model.removeNodeset("/root/main/keyantilist");
- model.setvalue("/root/hidden/ref/btnflag",gbn);
- model.copyNode("/root/send/data1","/root/hidden/ref");
- submit("TRLMF01201");
-
- model.copyNode("/root/send/data1","/root/hidden/default");
-
- fGridColorChange();
- }
-
-
- /* @group : 배양균코드관리
- * @ver : 2007.04.06(CMCDEV-0001)
- * @by : 조철형
- *@-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조회후 그리드 색깔 변경
- */
- function fGridColorChange(){
- grd_keyantilist.rebuildstyle();
- initGridStyle("grd_keyantilist");
- var gbn = model.getValue("/root/hidden/ref/refgbn");
- if(gbn=="2"){
-
- setRowStyle("grd_keyantilist", "0", getCurrentDate(), "keyantibiotodd", "small");
- }
- }
-
-
- /* @group : 배양균코드관리
- * @ver : 2007.04.06(CMCDEV-0001)
- * @by : 조철형
- *@-----------------------------------
- * @type : function
- * @access : public
- * @desc : 저장버튼 클릭
- */
- function fExeAnti(){
- model.setvalue("/root/send/anti" , grd_keyantilist.getUpdateData());
- submit("TXLMF01201");
- model.copyNode("/root/send/anti","/root/hidden/default");
- grd_keyantilist.clearStatus();
- fGridColorChange();
-
- model.setValue("/root/send/keyantibiocd" , model.getValue("/root/main/keyantilist["+grd_keyantilist.row+"]/keyantibiocd"));
- model.setValue("/root/send/data1", keyantidetilist.getUpdateDataAll("i"));
- submit("TXLMF01202");
-
- }
-
- /* @group : 배양균코드관리
- * @ver : 2007.04.06(CMCDEV-0001)
- * @by : 송요셉
- *@-----------------------------------
- * @type : function
- * @access : public
- * @desc : 저장버튼 클릭
- */
- function fClickkeyantilist(kRow){
-
- model.removeNodeset("/root/main/keyantidetilist");
- model.setValue("/root/send/keyantibiocd" , model.getValue("/root/main/keyantilist["+kRow+"]/keyantibiocd"));
- submit("TRLMF01002");
- }
-
-
- /* @group : 배양균코드관리
- * @ver : 2007.04.06(CMCDEV-0001)
- * @by : 송요셉
- *@-----------------------------------
- * @type : function
- * @access : public
- * @desc : 저장버튼 클릭
- */
- function fdelantidetl(cRow){
- keyantidetilist.deleteItem(cRow);
- }
-
-
- ]]>
- </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:755px; y2:70px; "/>
- <caption id="caption2" class="tit_2" style="left:5px; top:55px; width:164px; height:14px; ">WHO항균제코드상세내역</caption>
- <datagrid id="grd_keyantilist" nodeset="/root/main/keyantilist" class="datagrid2" caption="사용시작일자^사용종료일자^항균제코드^항균제명^항균제명(약어)^항균제명(화면)^항균제명(출력)" colsep="▦" colwidth="90, 90, 90, 150, 140, 140, 140" dataheight="23" defaultrows="1" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="▩" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:75px; width:755px; height:669px; ">
- <col ref="keyantibiofromdd" type="inputdate" format="yyyy-mm-dd"/>
- <col ref="keyantibiotodd" type="inputdate" format="yyyy-mm-dd"/>
- <col ref="keyantibiocd" type="input"/>
- <col ref="keyantibionm" type="input"/>
- <col ref="keyantibioabbrnm" type="input"/>
- <col ref="keyantibioscrnnm" type="input"/>
- <col ref="keyantibioprntnm" type="input"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_keyantilist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_keyantilist.isCell(event.target) && grd_keyantilist.row >= grd_keyantilist.fixedRows ){
- fClickkeyantilist(grd_keyantilist.row);
- }
- ]]>
- </script>
- </datagrid>
- <group id="group1" style="left:0px; top:10px; width:1190px; height:35px; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1190px; height:35px; "/>
- <line id="line3" class="line_4" style="x1:1098px; y1:7px; x2:1098px; y2:29px; "/>
- <caption id="caption1" class="search_name" style="left:15px; top:9px; width:90px; height:17px; ">조회구분 :</caption>
- <line id="line14" class="line_4" style="x1:238px; y1:6px; x2:238px; y2:28px; "/>
- <caption id="caption4" class="search_name" style="left:822px; top:9px; width:90px; height:17px; ">검색구분 :</caption>
- <select1 id="cmb_refflag" ref="/root/hidden/ref/refgbn" class="combo_search" appearance="minimal" style="left:108px; top:8px; width:112px; height:19px; ">
- <choices>
- <item>
- <label>사용가능자료</label>
- <value>1</value>
- </item>
- <item>
- <label>전체자료</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <button id="btn_ref" class="btn1_letter2" style="left:258px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetKeyAnti("1");
- ]]>
- </script>
- </button>
- <select1 id="cmb_search" ref="/root/hidden/ref/searchgbn" class="combo_search" appearance="minimal" style="left:910px; top:8px; width:70px; height:19px; ">
- <choices>
- <item>
- <label>코드</label>
- <value>1</value>
- </item>
- <item>
- <label>코드명</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:97px; height:19px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1117px; top:7px; width:56px; height:22px; ">
- <caption>검색</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetKeyAnti("2");
- ]]>
- </script>
- </button>
- </group>
- <button id="btn_addrow" class="btn2_letter3" style="left:702px; top:50px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInsRowAdd(grd_keyantilist);
-
- ]]>
- </script>
- </button>
- <datagrid id="keyantidetilist" nodeset="/root/main/keyantidetilist" class="datagrid2" caption="배양균^배양균명^장비" colsep="▦" colwidth="70, 200, 100" dataheight="23" defaultrows="1" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="▩" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:765px; top:75px; width:425px; height:669px; ">
- <col ref="eqantibiocd" type="input"/>
- <col ref="antibionm" type="input"/>
- <col ref="eqmtcd" type="combo">
- <choices>
- <item>
- <label>Vitec</label>
- <value>v</value>
- </item>
- <item>
- <label>MicroScan</label>
- <value>m</value>
- </item>
- <item>
- <label>Phoenix</label>
- <value>p</value>
- </item>
- </choices>
- </col>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- keyantidetilist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line2" class="line_1" style="x1:765px; y1:70px; x2:1190px; y2:70px; "/>
- <caption id="caption3" class="tit_2" style="left:765px; top:55px; width:134px; height:13px; ">배양균코드상세내역</caption>
- <button id="button1" class="btn2_letter3" style="left:1082px; top:50px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInsRowAdd(keyantidetilist);
-
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter3" style="left:1137px; top:50px; width:56px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fdelantidetl(keyantidetilist.row);
-
- ]]>
- </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 type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeAnti();
- ]]>
- </script>
- </button>
- <button id="btn_reset" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![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; ">WHO항균제코드관리</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|