123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLLF90900_검체정보설정2.xrw
- * 설 명 : 검체정보설정
- * 설 계 자 : (주)에이씨케이 박정은
- * 작 성 자 : (주)에이씨케이 박정은
- * 작 성 일 : 2009.07.07
- * 수정이력 : 병원별 검사코드 관리 2에서 사용할꺼
- * 기 타 :
- -->
- <?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 xmlns="">
- <main>
- <spccdlist>
- <chk/>
- <cd/>
- <nm/>
- </spccdlist>
- </main>
- <send>
- <data1/>
- <codeflag/>
- </send>
- <init/>
- <hidden>
- <spckind>A</spckind>
- <spccdnm>
- <cd/>
- <nm/>
- <row/>
- <value/>
- <basespccd/>
- </spccdnm>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 초기정보 조회
- //model.setValue("/root/send/codeflag", "0105|"); //0105 검체 //
- //submit("TRLZZ00101");
- //model.copyNode("/root/main/spccdlist", "/root/init/LB0105");
- model.refresh();
-
- ]]>
- </script>
- </model>
- <script type="javascript">
- <![CDATA[
- // 확인 버튼 클릭
- function fSetSpcListSend(){
-
- var sRow = 0;
- var sSpccd = "";
- var sSpcnm = "";
-
- for(i=1; i<grd_SpcList.rows; i++){
- // 선택된 검체만
- if(model.getValue("/root/main/spccdlist["+i+"]/chk")=="Y"){
- sRow += 1;
- sSpccd += "▦" + model.getValue("/root/main/spccdlist["+i+"]/cd");
- sSpcnm += "▦" + model.getValue("/root/main/spccdlist["+i+"]/nm");
-
- }
- }
-
- model.setValue("/root/hidden/spccdnm/cd", sSpccd);
- model.setValue("/root/hidden/spccdnm/nm", sSpcnm);
- model.setValue("/root/hidden/spccdnm/row", sRow);
- model.setValue("/root/hidden/spccdnm/value", "확인");
-
- model.copyNode(opener.root.hidden.spccdnm, root.hidden.spccdnm);
-
- //opener.ipt_tclscdlist.refresh();
- window.close();
-
- }
-
- // 기본검체변경
- function fSetBaseSpccd(){
-
- model.setValue("/root/hidden/spccdnm/value", "기본검체변경");
-
- for(i=1; i <grd_SpcList.rows; i++){
-
- if(model.getValue("/root/main/spccdlist["+i+"]/chk" ) == "Y"){
- model.setValue("/root/hidden/spccdnm/basespccd", model.getValue("/root/main/spccdlist["+i+"]/cd"));
- }
-
- }
-
- model.copyNode(opener.root.hidden.spccdnm, root.hidden.spccdnm);
- window.close();
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="320" pageheight="360" guideline="1,1194;" style="font-family:굴림체; margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group2" style="left:0px; top:311px; width:300px; height:27px; ">
- <button id="button4" class="btn4_letter2" style="left:184px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetSpcListSend();
- ]]>
- </script>
- </button>
- <button id="button9" class="btn4_letter2" style="left:243px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <line id="line2" class="line_6" style="x1:0px; y1:0px; x2:299px; y2:0px; "/>
- <button id="button1" class="btn4_letter6" visibility="hidden" style="left:77px; top:5px; width:104px; height:22px; ">
- <caption>기본검체변경</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetBaseSpccd();
-
- ]]>
- </script>
- </button>
- </group>
- <group id="group1" style="left:0px; top:0px; width:300px; height:311px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:26px; x2:299px; y2:26px; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:11px; width:126px; height:14px; ">검체목록</caption>
- <datagrid id="grd_SpcList" nodeset="/root/main/spccdlist" visibility="visible" caption="^검체코드^검체명" colsep="^" colwidth="30, 60, 160" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:31px; width:299px; height:278px; ">
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col ref="cd"/>
- <col ref="nm"/>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|