123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : 외래채혈실핵의학검체조회.xrw
- * 설 명 : ㅇㅇ
- * 설 계 자 :
- * 작 성 자 :
- * 작 성 일 : 2009.07.24
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <spclist>
- <bcno/>
- <orddeptnm/>
- <pid/>
- <hngnm/>
- <tclsnm/>
- <spcnm/>
- <spcstat/>
- <bcoll/>
- <spcpseuacpt/>
- <spcacpt/>
- <spccncl/>
- <tsectnm/>
- </spclist>
- </main>
- <send>
- <refflag>1</refflag>
- <reftext/>
- <fromdd/>
- <todd/>
- <spcflag>00</spcflag>
- <genrflag>2</genrflag>
- <codeflag/>
- <execdept/>
- </send>
- <init/>
- <hidden>
- <spcacpt>
- <testmdlcd>00</testmdlcd>
- <testlrgcd>00</testlrgcd>
- </spcacpt>
- </hidden>
- </root>
- </instance>
- <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="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- fSetInit();
- ]]>
- </script>
- <!-- 시행부서 조회-->
- <submission id="TRLLC00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/spclist"/>
- <!-- *사용* 시행부서 조회 -->
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0102"/>
- </model>
- <script type="javascript">
- <![CDATA[
- // 초기화
- function fSetInit() {
- model.removeNodeset("/root/init");
-
- model.setValue("/root/send/codeflag", "0102|0106|0104|0111|0000|"); // 0102= 중분류 // 0106=시행부서(검사계) // 0104 대분류 // 0111 계(시행) // 0000 userdeptflag
- // 초기정보 조회
- submit("TRLZZ00101");
- model.removeNodeset("/root/main/spclist");
-
- var today = getCurrentDate();
-
- model.setValue("/root/send/fromdd", today);
- model.setValue("/root/send/todd", today);
- model.setFocus("ipt_text");
- model.refresh();
- }
-
- //조회
- function fGetNSpcList() {
- model.setValue("/root/send/execdept", model.getValue("/root/hidden/spcacpt/testmdlcd"));
- submit("TRLLC00602");
- }
-
- function fSetTLrgCd() {
- var etc = model.getvalue("/root/hidden/spcacpt/testlrgcd");
-
- if(etc == "00"){
- cmd_TMdlCd.choices.itemset.attribute("nodeset") = "/root/init/LB0106";
- model.setValue("/root/hidden/spcacpt/testmdlcd" , "00");
- }
- else{
- model.setValue("/root/hidden/spcacpt/testmdlcd" , "00");
- cmd_TMdlCd.choices.itemset.attribute("nodeset") = "/root/init/LB0106[cd= '00' or etc01='"+ etc +"']";
- }
- cmd_TMdlCd.refresh();
- }
-
- function fKeyEvent(){
-
- if(event.keyCode == "13"){
- if(event.target == "ipt_text"){
- if(ipt_text.currentText != "") {
- model.setValue("/root/send/reftext", (ipt_text.currentText).toUpperCase());
- fGetNSpcList();
- } else {
- messageBox("검색어를", "C001");
- }
- ipt_text.selBegin = 0;
- ipt_text.selEnd = ipt_text.currentText.length;
- }
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:15px; ">진단검사의학과 검체 조회</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:15px; width:1195px; height:744px; ">
- <group id="group2" style="left:0px; top:0px; width:1195px; height:70px; font-weight:bold; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:65px; "/>
- <line id="line3" class="line_4" style="x1:1050px; y1:5px; x2:1050px; y2:47px; "/>
- <button id="btn_Ref" class="btn1_letter2" style="left:1058px; top:12px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetNSpcList();
- ]]>
- </script>
- </button>
- <caption id="caption4" class="search_name" style="left:6px; top:11px; width:90px; height:17px; ">조회기간 :</caption>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_s_essential" inputtype="date" style="left:92px; top:10px; width:106px; height:19px; "/>
- <caption id="caption5" class="search_no_b" style="left:200px; top:11px; width:15px; height:17px; ">~</caption>
- <input id="ipt_todd" ref="/root/send/todd" class="input_s_essential" inputtype="date" style="left:215px; top:10px; width:106px; height:19px; "/>
- <caption id="caption3" class="search_name" style="left:415px; top:15px; width:90px; height:17px; ">검체상태 :</caption>
- <select1 id="cmb_spcflag" ref="/root/send/spcflag" class="combo_search" navindex="11" appearance="minimal" style="left:505px; top:15px; width:75px; height:19px; ">
- <choices>
- <item>
- <label>-전체-</label>
- <value>00</value>
- </item>
- <item>
- <label>취소</label>
- <value>0</value>
- </item>
- <item>
- <label>채혈</label>
- <value>2</value>
- </item>
- <item>
- <label>가접수</label>
- <value>3</value>
- </item>
- <item>
- <label>접수</label>
- <value>4</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio3" ref="/root/send/refflag" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:640px; top:15px; width:170px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>진검채혈자</label>
- <value>1</value>
- </item>
- <item>
- <label>진검외</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption2" style="left:610px; top:15px; width:30px; height:20px; color:#ff0000; ">구분</caption>
- <select1 id="radio1" ref="/root/send/genrflag" class="radio_search" appearance="full" cellspacing="10" cols="4" overflow="visible" style="left:821px; top:15px; width:225px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>00</value>
- </item>
- <item>
- <label>입원</label>
- <value>1</value>
- </item>
- <item>
- <label>외래</label>
- <value>2</value>
- </item>
- <item>
- <label>건진</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:5px; top:37px; width:86px; height:17px; ">시행부서 :</caption>
- <select1 id="cmd_TMdlCd" ref="/root/hidden/spcacpt/testmdlcd" class="combo_s_essential" appearance="minimal" itemcount="10" style="left:255px; top:40px; width:150px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/LB0106">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_TLrgCd" ref="/root/hidden/spcacpt/testlrgcd" class="combo_s_essential" appearance="minimal" itemcount="10" style="left:91px; top:39px; width:154px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/LB0111">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetTLrgCd();
- ]]>
- </script>
- </select1>
- <line id="line1" class="line_4" style="x1:815px; y1:5px; x2:815px; y2:47px; "/>
- </group>
- <line id="line2" class="line_1" style="x1:0px; y1:80px; x2:1194px; y2:80px; "/>
- <datagrid id="grd_nspclist" nodeset="/root/main/spclist" caption="시행부서^검체번호^진료과^등록번호^성명^검사명^검체명^검체상태^채취시각^채취자^접수정보^병동" colsep="^" colwidth="100,80,75, 70, 65, 250, 95, 60, 120,80,170, 80" dataheight="25" defaultrows="1" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:85px; width:1194px; height:657px; text-align:center; ">
- <col ref="tsectnm"/>
- <col ref="bcno" type="input"/>
- <col ref="orddeptnm"/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="tclsnm"/>
- <col ref="spcnm"/>
- <col ref="spcstat"/>
- <col ref="bcoll"/>
- <col ref="spcpseuacpt"/>
- <col ref="spcacpt"/>
- <col ref="spccncl"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_nspclist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="btn_excel" class="btn2_letter4" style="left:1120px; top:25px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != ""){
- grd_nspclist.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- </group>
- <button id="btn_reset" class="btn4_letter3" style="left:1120px; top:15px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- window.reload();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|