123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMPMI06100_응급실출입증관리.xrw
- * 설 명 : 응급실 출입증 대여현황 관리
- * 설 계 자 : 조중래
- * 작 성 자 : 조중래
- * 작 성 일 : 2007.06.01
- * 수정이력 :
- * 2010.03.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>
- <patinfo>
- <patinfolist>
- </patinfolist>
- </patinfo>
- <pid/>
- <passno/>
- <rentstat/>
- <erpasslist/>
- <hngnm/>
- <allflag/>
- <result/>
- </main>
- <send>
- <pid/>
- <passno/>
- <rentstat/>
- <allflag/>
- </send>
- <init>
- </init>
- <hidden>
- </hidden>
- <source>
- <autoflag/>
- <srchcond/>
- <pid/>
- </source>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 화면초기화
- fInitializeSMPMI06100();
- ]]>
- </script>
- <submission id="TRPMI06301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/erpasslist"/>
- <submission id="TXPMI06302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/result"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../pam/opatmngtweb/js/PMOCOM.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../pamcomnweb/js/PAM.js"/>
- <script type="javascript" src="../js/SMPMI06300.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitializeSMPMI06100() {
-
- // 각 컨트롤 초기화 실시
- model.resetInstanceNode("/root/main");
- model.resetInstanceNode("/root/send");
- model.resetInstanceNode("/root/source");
- input1.disabled = false;
- button1.disabled = false;
- model.setValue("/root/main/allflag", "");
- model.setValue("/root/main/rentstat", "1");
- model.refresh();
- model.setFocus("input1");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1211;2,789;">
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:170px; height:13px; vertical-align:middle; ">응급실 출입증 관리</caption>
- <line id="line1" class="line_1" style="x1:10px; y1:41px; x2:456px; y2:41px; "/>
- <caption id="caption2" class="cell_1" style="left:10px; top:46px; width:80px; height:20px; ">환자번호</caption>
- <caption id="caption3" class="cell_1" style="left:274px; top:46px; width:80px; height:20px; ">성명</caption>
- <input id="input1" ref="/root/main/pid" class="input_essential" navindex="1" maxlength="10" style="left:92px; top:46px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
-
- // Enter 입력 시
- if (event.keyCode == "13") {
-
- // 현재 입력값 노드 반영
- setInputNodeCurText();
-
- var vcheck_pid = model.getvalue("/root/main/pid");
- //환자번호 null체크
- if (vcheck_pid == null || vcheck_pid == "" || vcheck_pid == " " || vcheck_pid == "-") {
- messageBox("환자번호를 입력해주세요", "E008");
- model.setFocus("input1");
- return;
- } else {
- //환자번호 조건으로 인적정보 조회
- model.setValue("/root/source/srchcond", "1");
- model.setValue("/root/source/pid", vcheck_pid);
- }
-
- // 환자정보검색
- fGetPatInfo();
- }
- ]]>
- </script>
- </input>
- <input id="input2" ref="/root/main/hngnm" navindex="-1" editable="false" style="left:356px; top:46px; width:100px; height:19px; background-color:#eaeaea; "/>
- <select1 id="radio1" ref="/root/main/rentstat" navindex="3" appearance="full" cols="2" overflow="visible" style="left:746px; top:48px; width:95px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>대여</label>
- <value>1</value>
- </item>
- <item>
- <label>반납</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.getValue("/root/main/rentstat");
- ]]>
- </script>
- </select1>
- <button id="button1" class="icon_search" navindex="-1" style="left:197px; top:47px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 환자정보검색
- fGetPatInfo();
- ]]>
- </script>
- </button>
- <caption id="caption5" class="tit_2" style="left:10px; top:25px; width:90px; height:20px; ">인적사항</caption>
- <caption id="caption6" class="tit_2" style="left:476px; top:25px; width:90px; height:13px; ">출입증정보</caption>
- <input id="input4" ref="/root/main/passno" navindex="2" maxlength="10" style="left:557px; top:46px; width:100px; height:19px; "/>
- <caption id="caption7" class="cell_1" style="left:476px; top:46px; width:80px; height:20px; ">출입증번호</caption>
- <caption id="caption8" class="cell_1" style="left:664px; top:46px; width:80px; height:20px; ">구분</caption>
- <line id="line2" class="line_1" style="x1:476px; y1:41px; x2:839px; y2:41px; "/>
- <button id="button2" class="btn4_letter2" navindex="4" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:860px; top:44px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>저장</caption>
- </button>
- <button id="button3" class="btn4_letter3" navindex="-1" disable.background-image="../../../com/commonweb/images/dis_btn4_letter3.gif" style="left:920px; top:44px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitializeSMPMI06100();
- ]]>
- </script>
- </button>
- <datagrid id="datagrid1" nodeset="/root/main/erpasslist" caption="환자번호^성명^연락처^입원일자^입원위치^입퇴구분^출입증번호^대여상태^대여등록자^대여등록일시^반납등록자^반납등록일시" colsep="^" colwidth="100, 110, 100, 84, 75, 80, 179, 80, 81, 100, 80, 100" mergecellsfixedrows="bycolrec" rowsep="|" navindex="-1" style="left:10px; top:105px; width:1190px; height:675px; ">
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="tel"/>
- <col ref="indd"/>
- <col ref="ward"/>
- <col ref="indschacptstat"/>
- <col ref="passno"/>
- <col ref="rentstat"/>
- <col ref="fstrgstrid"/>
- <col ref="fstrgstdt"/>
- <col ref="returnrgstrid"/>
- <col ref="returndt"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- // 출입증 대여현황 리스트에서 출입증번호 취득 및 화면설정
- model.setValue("/root/main/passno", model.getValue("/root/main/erpasslist[" + datagrid1.row + "]/passno"));
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <caption id="caption9" class="tit_2" style="left:10px; top:83px; width:157px; height:13px; ">출입증 대여현황 리스트</caption>
- <line id="line3" class="line_1" style="x1:10px; y1:100px; x2:1200px; y2:100px; "/>
- <caption id="caption10" style="left:580px; top:24px; width:265px; height:20px; font-size:11pxptpt; color:#ff0000; ">*반납의 경우에는 출입증번호만 입력하시면 됩니다.</caption>
- <select id="checkbox1" ref="/root/main/allflag" navindex="-1" overflow="visible" appearance="full" style="left:221px; top:48px; width:50px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>true</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (model.getValue("/root/main/allflag") == "true") {
- input1.disabled = true;
- button1.disabled = true;
- // 출입증 대여현황 리스트 취득
- fGetErPassList();
- } else {
- input1.disabled = false;
- button1.disabled = false;
- }
- ]]>
- </script>
- </select>
- </xhtml:body>
- </xhtml:html>
|