123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../ast/commonweb/css/astcommon.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>
- </main>
- <send>
- <pid/>
- <suppdeptcd/>
- <globalinstance>
- <instance1/>
- </globalinstance>
- </send>
- <init>
- </init>
- <hidden>
- <item>
- <count/>
- <noncount/>
- <hngnm/>
- <execcnt/>
- <totalcnt/>
- </item>
- </hidden>
- <temp>
- </temp>
- <images>
- <logoimg/>
- </images>
- <chktime>
- <timevalue/>
- </chktime>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- window.maximize();
-
- //커서 위치 setting
- model.setfocus( "ipt_pid" );
-
- //지원부서코드 setting
- var suppdeptcd = "";
- suppdeptcd = getScreenMenuParameter();
- if (suppdeptcd == "" || suppdeptcd == null || suppdeptcd == "null"){
- aezfSetSuppDeptcd();
- }else{
- model.setValue("/root/send/globalinstance/instance1", suppdeptcd);
- }
- model.setValue("/root/send/suppdeptcd",model.getValue("/root/send/globalinstance/instance1"));
-
- //병원로고 이미지
- model.makeValue("/root/images/logoimg", getImageURL("biglogo"+getUserInfo("dutplceinstcd"), "jpg"));
- model.refresh();
-
- ]]>
- </script>
- <submission id="TRAZZ00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript">
- <![CDATA[
-
- var gTimer;
- //=====================================================================================================================================================================================
- // @ Timer Set (10초뒤에 Main 화면으로 전환됨)
- //=====================================================================================================================================================================================
- function fIntervalSetting(){
-
- var interval = 10000; //10초
-
- gTimer = window.setInterval("finitScreen()", interval );
- }
-
- //=====================================================================================================================================================================================
- // @ 초기 화면 Set
- //=====================================================================================================================================================================================
- function finitScreen(){
- model.toggle("case1");
- window.clearinterval(gTimer );
- gTimer = null;
- //커서 위치 setting
- model.setfocus( "ipt_pid" );
- model.setValue("/root/send/pid","");
- model.refresh();
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body class="datagrid2" guideline="1,1253;2,154;1,150;" style="width:1280px; height:990px; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:1250px; height:950px; ">
- <switch id="switch1" class="sw_box" style="left:0px; top:0px; width:1235px; height:925px; ">
- <case id="case1" selected="true">
- <img id="img3" src="../../../ast/commonweb/images/up_wave.gif" style="left:355px; top:0px; width:878px; height:300px; background-stretch:stretch; "/>
- <img id="img2" src="../../../ast/commonweb/images/under_wave.gif" style="left:0px; top:623px; width:878px; height:300px; background-stretch:stretch; "/>
- <img id="img1" ref="/root/images/logoimg" src="../../../ast/commonweb/images/SSMH_Signature_01.gif" style="left:30px; top:35px; width:455px; height:105px; background-stretch:stretch; "/>
- <caption id="caption1" style="left:145px; top:300px; width:925px; height:110px; font-family:굴림; font-size:55ptpt; font-weight:bold; color:#3366ff; text-align:center; ">치료 예약환자 자동접수</caption>
- <caption id="caption2" style="left:140px; top:430px; width:965px; height:255px; font-family:굴림; font-size:48pt; font-weight:bold; color:#cc99ff; text-align:center; ">
- <![CDATA[진료카드를 바코드리더기에
- 접촉시켜 주십시오.]]>
- </caption>
- <caption id="caption13" style="left:155px; top:195px; width:925px; height:110px; font-family:굴림; font-size:55ptpt; font-weight:bold; color:#3366ff; text-align:center; ">방사선종양학과</caption>
- <button id="btn_sea" class="btn1_letter2" visibility="hidden" style="left:805px; top:700px; width:56px; height:22px; ">
- <caption>접수</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if( gTimer != null ){
- //messageBox(" 잠시만 기다려 주십시오! ", "E999");
- model.toggle("case4");
- }
- else{
- //접수처리
- submit("TRAZZ00601");
- if(model.getValue("/root/hidden/item/count") > 0 ){ //당일예약처방을 접수함.
- model.toggle("case2");
- fIntervalSetting();
- model.refresh();
- }else if(model.getValue("/root/hidden/item/count") == 0){ //당일예약처방 접수할 처방 없음.
- if(model.getValue("/root/hidden/item/noncount") == 0 ){//당일예약 X, 당일접수X
- model.toggle("case3");
- fIntervalSetting();
- model.refresh();
- }else if(model.getValue("/root/hidden/item/noncount") > 0 ){ // 이미 당일접수 함
- model.toggle("case5");
- fIntervalSetting();
- model.refresh();
- }
-
- }
- }
-
- ]]>
- </script>
- </button>
- <caption id="cpt_pid" ref="/root/hidden/item/totalcnt" style="left:410px; top:660px; width:380px; height:95px; font-family:굴림; font-size:54pt; font-weight:bold; color:#800000; text-align:center; background-image:../../../ast/commonweb/images/patnm_caption_new.gif; background-stretch:stretch; "/>
- <input id="ipt_pid" ref="/root/send/pid" class="input_search" visibility="visible" style="left:415px; top:665px; width:370px; height:85px; font-family:굴림; font-size:36pt; font-weight:bold; color:#800080; text-align:center; background-color:#ffffd9; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </input>
- </case>
- <case id="case2">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:60px; top:80px; width:1105px; height:775px; "/>
- <caption id="caption6" ref="/root/hidden/item/hngnm" style="left:149px; top:154px; width:300px; height:95px; font-family:굴림; font-size:54pt; font-weight:bold; color:#800000; text-align:center; background-image:../../../ast/commonweb/images/patnm_caption_new.gif; background-stretch:stretch; "/>
- <caption id="caption10" style="left:454px; top:169px; width:105px; height:75px; font-family:굴림; font-size:50ptpt; font-weight:bold; color:#0000ff; text-align:center; ">님</caption>
- <caption id="caption3" style="left:147px; top:290px; width:965px; height:75px; font-family:굴림; font-size:50ptpt; font-weight:bold; color:#0000ff; text-align:left; ">정상적으로 접수되었습니다.</caption>
- <caption id="caption18" style="left:130px; top:450px; width:960px; height:265px; background-color:#fee5cc; "/>
- <caption id="caption7" ref="/root/hidden/item/execcnt" style="left:767px; top:494px; width:135px; height:75px; font-family:굴림; font-size:54pt; font-weight:bold; color:#800000; text-align:center; background-image:../../../ast/commonweb/images/patnm_caption_new.gif; background-stretch:stretch; "/>
- <button id="button1" visibility="hidden" style="left:445px; top:630px; width:290px; height:150px; font-family:굴림; font-size:84pt; font-weight:bold; color:#ff6600; text-align:center; vertical-align:middle; word-wrap:hard; background-image:../../../ast/commonweb/images/error_example_cnfmbtn_new.gif; background-stretch:stretch; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case1");
- //커서 위치 setting
- model.setfocus( "ipt_pid" );
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption4" style="left:232px; top:495px; width:803px; height:154px; font-family:굴림; font-size:50 ptpt; font-weight:bold; color:#993300; text-align:left; ">
- <![CDATA[총 ( )회 중 ( )회
- 치료하셨습니다.]]>
- </caption>
- <caption id="caption5" ref="/root/hidden/item/totalcnt" style="left:376px; top:493px; width:135px; height:75px; font-family:굴림; font-size:54pt; font-weight:bold; color:#800000; text-align:center; background-image:../../../ast/commonweb/images/patnm_caption_new.gif; background-stretch:stretch; "/>
- </case>
- <case id="case4">
- <shape id="roundrect3" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:60px; top:80px; width:1105px; height:775px; "/>
- <caption id="caption14" style="left:147px; top:285px; width:922px; height:276px; font-family:굴림; font-size:60ptpt; font-weight:bold; color:#0000ff; text-align:center; ">
- <![CDATA[처리중입니다.
- 잠시만 기다려 주십시오!]]>
- </caption>
- </case>
- <case id="case5">
- <shape id="roundrect4" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:60px; top:80px; width:1105px; height:775px; "/>
- <caption id="caption16" ref="/root/hidden/item/hngnm" style="left:200px; top:230px; width:300px; height:100px; font-family:굴림; font-size:54pt; font-weight:bold; color:#800000; text-align:center; background-image:../../../ast/commonweb/images/patnm_caption_new.gif; background-stretch:stretch; "/>
- <caption id="caption17" style="left:500px; top:260px; width:105px; height:75px; font-family:굴림; font-size:48pt; font-weight:bold; color:#0000ff; text-align:center; ">님</caption>
- <caption id="caption15" style="left:190px; top:390px; width:830px; height:150px; font-family:굴림; font-size:50ptpt; font-weight:bold; color:#0000ff; text-align:left; ">당일 접수가 되어있습니다.</caption>
- </case>
- <case id="case3">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:60px; top:80px; width:1105px; height:775px; "/>
- <caption id="caption9" style="left:147px; top:395px; width:935px; height:95px; font-family:굴림; font-size:50ptpt; font-weight:bold; color:#0000ff; text-align:left; ">치료예약이 되어있지 않습니다.</caption>
- <caption id="caption12" style="left:147px; top:500px; width:915px; height:95px; font-family:굴림; font-size:50ptpt; font-weight:bold; color:#0000ff; text-align:left; ">접수에 문의하시기 바랍니다.</caption>
- <caption id="caption8" style="left:449px; top:275px; width:105px; height:75px; font-family:굴림; font-size:50ptpt; font-weight:bold; color:#0000ff; text-align:center; ">님</caption>
- <caption id="caption11" ref="/root/hidden/item/hngnm" style="left:149px; top:245px; width:300px; height:100px; font-family:굴림; font-size:54pt; font-weight:bold; color:#800000; text-align:center; background-image:../../../ast/commonweb/images/patnm_caption_new.gif; background-stretch:stretch; "/>
- <button id="button19" visibility="hidden" style="left:445px; top:630px; width:290px; height:150px; font-family:굴림; font-size:84pt; font-weight:bold; color:#ff6600; text-align:center; vertical-align:middle; word-wrap:hard; background-image:../../../ast/commonweb/images/error_example_cnfmbtn_new.gif; background-stretch:stretch; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case1");
- //커서 위치 setting
- model.setfocus( "ipt_pid" );
- model.refresh();
- ]]>
- </script>
- </button>
- </case>
- </switch>
- </group>
- </xhtml:body>
- </xhtml:html>
|