123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLLF00100_계검사계코드관리.xrw
- * 설 명 : 검사시행부서코드관리 조회 및 등록
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 박정은
- * 작 성 일 : 2007.04.10
- * 수정이력 : 2007.07.27 박정은 lastupdtdt 수정함
- * 기 타 :
- -->
- <?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>검사시행부서코드관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root>
- <main>
- <antibiolist>
- <antibiocd/>
- <antibionm/>
- <antibioabbrnm/>
- <antibioscrnnm/>
- <antibioprntnm/>
- </antibiolist>
- </main>
- <send>
- <data1/>
- <bac/>
- </send>
- <init>
- </init>
- <hidden>
- <deptflagcd/>
- <ref>
- <refgbn>1</refgbn>
- <searchgbn>1</searchgbn>
- <searchnm/>
- <btnflag/>
- </ref>
- <addlist>
- <addstring/>
- </addlist>
- <default/>
- </hidden>
- </root>
- </instance>
- <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"/>
- <submission id="TRLMF10201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/antibiolist"/>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
- <script ev:event="xforms-ready" type="javascript">
- <![CDATA[
- // 권한 설정
- //var auth = model.getValue("/root/properties/auth");
- //checkAuth(auth);
- //btn_save.disabled = !checkAuth("X") ;
-
- // 초기정보 조회
- model.makeValue("/root/send/codeflag", "0000|"); // 0000= 유저과플래그
- submit("TRLZZ00101");
- fSetInit();
- fGetAntibiocd("1");
-
-
-
- ]]>
- </script>
- </model>
- <script type="javascript">
- <![CDATA[
-
- // 초기화 버튼
- function fSetInit() {
- //model.reset();
- model.removeNodeset("/root/main/antibiolist");
- model.refresh();
- }
-
- function fGetAntibiocd(gbn){
-
- model.setvalue("/root/hidden/ref/btnflag",gbn);
- model.copyNode("/root/send/data1","/root/hidden/ref");
- submit("TRLMF10201");
-
- model.copyNode("/root/send/data1","/root/hidden/default");
-
-
- }
-
-
- function fAddRow(){
- var AddRowString = "";
- for(i = 1 ; i < grd_antibiocddetl.rows ; i++ ){
- if(model.getValue("/root/main/antibiolist["+i+"]/chk") == "true"){
- AddRowString = AddRowString + model.getValue("/root/main/antibiolist["+i+"]/antibiocd") + "▦"
- + model.getValue("/root/main/antibiolist["+i+"]/antibionm") + "▦"
- + model.getValue("/root/main/antibiolist["+i+"]/antibioabbrnm") + "▦"
- + model.getValue("/root/main/antibiolist["+i+"]/antibioscrnnm") + "▦"
- + model.getValue("/root/main/antibiolist["+i+"]/antibioprntnm") + "▩" ;
-
- }
- }
-
- model.setValue("/root/hidden/addlist/addstring" , AddRowString);
- model.copyNode(opener.root.temp.addlist,root.hidden.addlist);
- window.close();
-
- }
-
-
-
-
-
-
-
-
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="700" pageheight="420" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:675px; height:395px; ">
- <caption id="caption1" class="tit_2" style="left:0px; top:0px; width:160px; height:14px; ">통합항균제코드목록</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:60px; x2:665px; y2:60px; "/>
- <datagrid id="grd_antibiocddetl" nodeset="/root/main/antibiolist" caption="^항균제코드^항균제명^항균제명(약어)^항균제명(화면)^항균제명(출력)" colwidth="20, 85, 100, 100, 100, 100, 100" dataheight="23" defaultrows="1" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" style="left:0px; top:65px; width:665px; height:230px; ">
- <col ref="chk" type="checkbox"/>
- <col ref="antibiocd" type="output"/>
- <col ref="antibionm" type="output"/>
- <col ref="antibioabbrnm" type="output"/>
- <col ref="antibioscrnnm" type="output"/>
- <col ref="antibioprntnm" type="output"/>
- <script ev:event="onaftersort" type="javascript">
- <![CDATA[
- grd_antibiocddetl.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="button1" class="btn4_letter2" style="left:551px; top:297px; width:56px; height:22px; ">
- <caption>추가</caption>
- <script ev:event="onclick" type="javascript">
- <![CDATA[
- fAddRow()
- ]]>
- </script>
- </button>
- <button id="btn_cfm" class="btn4_letter2" style="left:610px; top:297px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script ev:event="onclick" type="javascript">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <group id="group1" style="left:0px; top:20px; width:666px; height:35px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:665px; height:35px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:598px; top:7px; width:56px; height:22px; ">
- <caption>검색</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- fGetAntibiocd("2");
- ]]>
- </script>
- </button>
- <line id="line11" class="line_4" style="x1:583px; y1:6px; x2:583px; y2:28px; "/>
- <select1 id="cmb_srchflag" ref="/root/hidden/ref/searchgbn" class="combo_search" appearance="minimal" style="left:305px; top:8px; width:150px; height:19px; ">
- <choices>
- <item>
- <label>코드</label>
- <value>1</value>
- </item>
- <item>
- <label>코드명</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption4" class="search_name" style="left:212px; top:9px; width:90px; height:17px; ">검색구분 :</caption>
- <input id="ipt_refflag" ref="/root/hidden/ref/searchnm" class="input_search" style="left:458px; top:8px; width:110px; height:19px; ">
- <script ev:event="onkeypress" type="javascript">
- <![CDATA[
- if(event.keyCode == "13"){
-
- model.setvalue("/root/hidden/ref/searchnm",ipt_refflag.currentText);
- model.refresh();
- fGetAntibiocd("2");
- ipt_refflag.selBegin = 0;
- ipt_refflag.selEnd = ipt_refflag.currentText.length;
- }
- ]]>
- </script>
- </input>
- </group>
- </group>
- </xhtml:body>
- </xhtml:html>
|