123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLLF90700_검체정보설정.xrw
- * 설 명 : 검체정보설정
- * 설 계 자 : (주)에이씨케이 박정은
- * 작 성 자 : (주)에이씨케이 박정은
- * 작 성 일 : 2007.09.13
- * 수정이력 :
- * 기 타 :
- -->
- <?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>검체추가</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <spccdlist>
- <getAddSpccdList>
- <chk/>
- <spccd/>
- <spcnm/>
- <tubecd/>
- <tubevol/>
- <urinspcyn/>
- </getAddSpccdList>
- </spccdlist>
- </main>
- <send>
- <codeflag/>
- <tclscd/>
- <userdeptflagcd/>
- <searchgbn/>
- <searchtext/>
- </send>
- <init/>
- <hidden>
- <searchgbn/>
- <searchtext/>
- <addspccdinfo>
- <spccd/>
- <tubecd/>
- <saveYN/>
- </addspccdinfo>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- // 초기정보 조회
- fBaseInfoRef("0107|0000|"); //용기정보조회
- grd_spccdlist.fixedcellcheckbox(0,1) = true;
-
- fInit();
- ]]>
- </script>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0107"/>
- <submission id="TRLLF90701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/spccdlist"/>
- </model>
- <script type="javascript">
- <![CDATA[
- //초기화
- function fInit(){
-
- model.makeValue("/root/send/searchgbn", "");
- model.makeValue("/root/send/searchtext", "");
-
- cmb_searchgbn.select(1);
- model.setValue("/root/hidden/searchtext", "");
-
- fGetSpccdList();
-
- }
-
- //검체목록조회
- function fGetSpccdList(){
-
- if(model.getValue("/root/send/tclscd") == ""){
- messageBox("검사코드를 선택하세요.", "I");
- return;
- }
- model.makeValue("/root/send/userdeptflagcd", model.getValue("/root/init/LB0000/nm"));
-
- model.makeValue("/root/send/searchgbn", model.getValue("/root/hidden/searchgbn"));
- model.makeValue("/root/send/searchtext", model.getValue("/root/hidden/searchtext"));
-
- submit("TRLLF90701");
- }
- // 확인 버튼 클릭
- function fSetSpcListSend(){
- var sSpccd = "";
- var sTubecd = "";
- var addCnt = 0;
-
- for(i=1; i<=grd_spccdlist.rows; i++){
- // 선택된 검체만
- if(model.getValue("/root/main/spccdlist/getAddSpccdList["+i+"]/chk")=="Y"){
-
- if(model.getValue("/root/main/spccdlist/getAddSpccdList["+i+"]/tubecd") == ""){
- messageBox("용기코드를 선택해주세요.", "I");
- return;
- }
-
- if(addCnt == 0){
- sSpccd = model.getValue("/root/main/spccdlist/getAddSpccdList["+i+"]/spccd");
- sTubecd = model.getValue("/root/main/spccdlist/getAddSpccdList["+i+"]/tubecd");
- }else{
- sSpccd += "▦" + model.getValue("/root/main/spccdlist/getAddSpccdList["+i+"]/spccd");
- sTubecd += "▦" + model.getValue("/root/main/spccdlist/getAddSpccdList["+i+"]/tubecd");
- }
-
- addCnt++;
-
- }
- }
-
- if(addCnt == 0) {
- messageBox("추가 할 검체를 선택해주세요.", "I");
- return;
- }
-
- model.setValue("/root/hidden/addspccdinfo/spccd", sSpccd);
- model.setValue("/root/hidden/addspccdinfo/tubecd", sTubecd);
- model.setValue("/root/hidden/addspccdinfo/saveYN", "Y");
-
- model.copyNode(opener.root.hidden.addspccdinfo, root.hidden.addspccdinfo);
-
- window.close();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="565" pageheight="665" guideline="1,1194;" style="font-family:굴림체; margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group3" style="left:0px; top:0px; width:545px; height:645px; ">
- <line id="line3" class="line_1" style="x1:0px; y1:35px; x2:541px; y2:35px; "/>
- <caption id="caption2" class="tit_2" style="left:5px; top:21px; width:75px; height:13px; ">검체목록</caption>
- <datagrid id="grd_spccdlist" nodeset="/root/main/spccdlist/getAddSpccdList" visibility="visible" caption="^검체코드^검체명^용기코드^유린검체여부^용량" colsep="^" colwidth="30, 60, 160, 160, 80, 0" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:40px; width:540px; height:578px; ">
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col ref="spccd"/>
- <col ref="spcnm"/>
- <col ref="tubecd" type="combo">
- <choices>
- <itemset nodeset="/root/init/LB0107">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="urinspcyn"/>
- <col ref="tubevol"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_spccdlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="button4" class="btn4_letter2" style="left:359px; top:621px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetSpcListSend();
- ]]>
- </script>
- </button>
- <button id="button9" class="btn4_letter3" style="left:416px; top:621px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInit();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn4_letter2" style="left:485px; top:621px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <caption id="caption27" class="search_name" style="left:240px; top:14px; width:87px; height:17px; ">검색구분 :</caption>
- <input id="ipt_searchtext" ref="/root/hidden/searchtext" class="input_s_button" inputtype="button" style="left:420px; top:13px; width:120px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- fGetSpccdList();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13"){
- model.setValue("/root/hidden/searchtext", ipt_searchtext.currentText);
- fGetSpccdList();
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_searchgbn" ref="/root/hidden/searchgbn" class="combo_search" appearance="minimal" style="left:330px; top:13px; width:85px; height:19px; ">
- <choices>
- <item>
- <label>검체코드</label>
- <value>1</value>
- </item>
- <item>
- <label>검체명</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption1" style="left:0px; top:620px; width:315px; height:25px; margin-left:10; ">※추가 된 검체는 조회되지 않습니다.</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|