123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <ordschelist>
- <ordschelistinfo>
- <ordtm/>
- <nursacptdt/>
- <pid/>
- <patnm/>
- <sexage/>
- <goplace/>
- <today/>
- </ordschelistinfo>
- </ordschelist>
- </main>
- <send>
- <reqdata/>
- </send>
- <init>
- <centcd>
- <centcdlist>
- <cdnm/>
- <cdid/>
- </centcdlist>
- </centcd>
- <subdeptcd>
- <subdeptcdlist>
- <cdid/>
- <cdnm/>
- </subdeptcdlist>
- <ordroomlist>
- <cdnm/>
- <cdid/>
- </ordroomlist>
- </subdeptcd>
- <orddeptcd>
- <orddeptcdlist>
- <cdnm/>
- <cdid/>
- </orddeptcdlist>
- </orddeptcd>
- </init>
- <hidden>
- <con>
- <orddd/>
- <centcd/>
- <orddeptcd/>
- <ordroomcd/>
- <subdeptcd/>
- </con>
- <cond>
- <condwait/>
- </cond>
- </hidden>
- <temp/>
- <cond>
- <con/>
- </cond>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <submission id="TRMNV07002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" replace="instance" resultref="/root/init"/>
- <submission id="TRMNV07004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" replace="instance" resultref="/root/cond"/>
- <submission id="TRMNV07001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" replace="instance" resultref="/root/init/subdeptcd"/>
- <submission id="TRMNV07006" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" replace="instance" resultref="/root/init/subdeptcd"/>
- <submission id="TRZSD00208" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" replace="instance"/>
- <submission id="TRZSU10118" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRZSU10117" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPMOCOM01" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/session" replace="instance" resultref="/root/init"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init_com/init"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../.S./com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../emr/waitguideweb/js/SMMNV1200.js"/>
- <script type="javascript">
- <![CDATA[
- function fInit()
- {
- var CurrentDate = getCurrentDate();
- model.makeValue("/root/hidden/con/orddd",CurrentDate);
-
- model.makeValue("/root/hidden/cond/condwait","1"); // 진료예정 대기로 디폴트 값 셋팅
- model.removeNodeset("/root/main/ordschelist");
-
- fGetUserInfosSampling(); // * @desc : 세션정보 추출하기 PMOCOM.js
- model.copyNode("/root/send/reqdata","/root/hidden/con");
- submit("TRMNV07002"); //센터, 진료과 정보 가져옴
- var userid=getUserInfo("userid");
- var usernm=getUserInfo("usernm");
- var dutplcecd=getUserInfo("dutplcecd");
-
- model.makeValue("/root/hidden/con/orddeptcd",dutplcecd); //진료과코드 셋팅
- model.copyNode("/root/send/reqdata","/root/hidden/con");
-
- submit("TRMNV07001"); // 진료과 선택시 담당의, 세부진료과, 담당직원 가져오는 코드 셋팅
-
- model.copyNode("/root/send/reqdata","/root/hidden/con");
-
- submit("TRMNV07004");
-
- model.refresh();
- }
-
- /**---------------------------------------------------
- * @desc : 세션정보 추출하기
- * @---------------------------------------------------
- */
- function fGetUserInfosSampling()
- {
- var sUserInfosS = getUserInfos();
-
- sUserInfosS = sUserInfosS + "|";
-
- var UserInfosS_Array = sUserInfosS.split("|");
-
- var userid = UserInfosS_Array[0]; //사용자번호
- var usernm = UserInfosS_Array[1]; //사용자이름
- var posinstcd = UserInfosS_Array[2]; //소속기관코드
- var posinstnm = UserInfosS_Array[3]; //소속기관명
- var posdeptcd = UserInfosS_Array[4]; //소속부서코드
- var posdeptnm = UserInfosS_Array[5]; //소속부서명
- var dutplceinstcd = UserInfosS_Array[6]; //근무지기관코드
- var dutplceinstnm = UserInfosS_Array[7]; //근무지기관명
- var dutplcecd = UserInfosS_Array[8]; //근무지부서코드
- var dutplcenm = UserInfosS_Array[9]; //근무지부서명
- var jobkindcd = UserInfosS_Array[10]; //직종코드
- var jobkindnm = UserInfosS_Array[11]; //직종명
- var jobposcd = UserInfosS_Array[12]; //직위코드
- var jobposnm = UserInfosS_Array[13]; //직위명
- var jobrespcd = UserInfosS_Array[14]; //직책코드
- var jobrespnm = UserInfosS_Array[15]; //직책명
- var prfshipflagcd = UserInfosS_Array[16]; //교직구분코드
- var prfshipflagnm = UserInfosS_Array[17]; //고직구분명
- var licnsno = UserInfosS_Array[18]; //자격면허번호
- var specordyn = UserInfosS_Array[19]; //선택진료여부
- var deptabbr = UserInfosS_Array[20]; //부서약어
- var orddeptflag = UserInfosS_Array[21]; //진료과구분
- var wardflag = UserInfosS_Array[22]; //병동구분
- var systemcd = UserInfosS_Array[23]; //시스템코드
- var systemnm = UserInfosS_Array[24]; //시스템명칭
- var systeminstcd = UserInfosS_Array[25]; //시스템소속기관코드
- var systeminstnm = UserInfosS_Array[26]; //시스템소속기관명
- var logindt = UserInfosS_Array[27]; //로그인일시밀리쵸
-
- model.makeNode("/root/hidden/session/sess_" + "userid");
- model.makeNode("/root/hidden/session/sess_" + "usernm");
- model.makeNode("/root/hidden/session/sess_" + "posinstcd");
- model.makeNode("/root/hidden/session/sess_" + "posinstnm");
- model.makeNode("/root/hidden/session/sess_" + "posdeptcd");
- model.makeNode("/root/hidden/session/sess_" + "posdeptnm");
- model.makeNode("/root/hidden/session/sess_" + "dutplceinstcd");
- model.makeNode("/root/hidden/session/sess_" + "dutplceinstnm");
- model.makeNode("/root/hidden/session/sess_" + "dutplcecd");
- model.makeNode("/root/hidden/session/sess_" + "dutplcenm");
- model.makeNode("/root/hidden/session/sess_" + "jobkindcd");
- model.makeNode("/root/hidden/session/sess_" + "jobkindnm");
- model.makeNode("/root/hidden/session/sess_" + "jobposcd");
- model.makeNode("/root/hidden/session/sess_" + "jobposnm");
- model.makeNode("/root/hidden/session/sess_" + "jobrespcd");
- model.makeNode("/root/hidden/session/sess_" + "jobrespnm");
- model.makeNode("/root/hidden/session/sess_" + "prfshipflagcd");
- model.makeNode("/root/hidden/session/sess_" + "prfshipflagnm");
- model.makeNode("/root/hidden/session/sess_" + "licnsno");
- model.makeNode("/root/hidden/session/sess_" + "specordyn");
- model.makeNode("/root/hidden/session/sess_" + "deptabbr");
- model.makeNode("/root/hidden/session/sess_" + "orddeptflag");
- model.makeNode("/root/hidden/session/sess_" + "wardflag");
- model.makeNode("/root/hidden/session/sess_" + "systemcd");
- model.makeNode("/root/hidden/session/sess_" + "systemnm");
- model.makeNode("/root/hidden/session/sess_" + "systeminstcd");
- model.makeNode("/root/hidden/session/sess_" + "systeminstnm");
- model.makeNode("/root/hidden/session/sess_" + "logindt");
-
- if (userid == null || userid == "" || userid == " " || userid == "-") userid = "pam";
- if (posinstcd == null || posinstcd == "" || posinstcd == " " || posinstcd == "-") posinstcd = "012";
-
- model.setValue("/root/hidden/session/sess_userid",userid);
- model.setValue("/root/hidden/session/sess_usernm",usernm);
- model.setValue("/root/hidden/session/sess_posinstcd",posinstcd);
- model.setValue("/root/hidden/session/sess_posinstnm",posinstnm);
- model.setValue("/root/hidden/session/sess_posdeptcd",posdeptcd);
- model.setValue("/root/hidden/session/sess_posdeptnm",posdeptnm);
- model.setValue("/root/hidden/session/sess_dutplceinstcd",dutplceinstcd);
- model.setValue("/root/hidden/session/sess_dutplceinstnm",dutplceinstnm);
- model.setValue("/root/hidden/session/sess_dutplcecd",dutplcecd);
- model.setValue("/root/hidden/session/sess_dutplcenm",dutplcenm);
- model.setValue("/root/hidden/session/sess_jobkindcd",jobkindcd);
- model.setValue("/root/hidden/session/sess_jobkindnm",jobkindnm);
- model.setValue("/root/hidden/session/sess_jobposcd",jobposcd);
- model.setValue("/root/hidden/session/sess_jobposnm",jobposnm);
- model.setValue("/root/hidden/session/sess_jobrespcd",jobrespcd);
- model.setValue("/root/hidden/session/sess_jobrespnm",jobrespnm);
- model.setValue("/root/hidden/session/sess_prfshipflagcd",prfshipflagcd);
- model.setValue("/root/hidden/session/sess_prfshipflagnm",prfshipflagnm);
- model.setValue("/root/hidden/session/sess_licnsno",licnsno);
- model.setValue("/root/hidden/session/sess_specordyn",specordyn);
- model.setValue("/root/hidden/session/sess_deptabbr",deptabbr);
- model.setValue("/root/hidden/session/sess_orddeptflag",orddeptflag);
- model.setValue("/root/hidden/session/sess_wardflag",wardflag);
- model.setValue("/root/hidden/session/sess_systemcd",systemcd);
- model.setValue("/root/hidden/session/sess_systemnm",systemnm);
- model.setValue("/root/hidden/session/sess_systeminstcd",systeminstcd);
- model.setValue("/root/hidden/session/sess_systeminstnm",systeminstnm);
- model.setValue("/root/hidden/session/sess_logindt",logindt);
-
- model.refresh();
- }
-
- function fOrdCentReq() //센터 선택시 진료과 및 세부과 가져오는 함수
- {
- var centcd = model.getValue("/root/hidden/con/centcd");
- var subdeptcd=model.getValue("/root/hidden/con/subdeptcd");
-
- model.resetInstanceNode("/root/hidden/con/subdeptcd");
- model.resetInstanceNode("/root/hidden/con/ordroomcd");
- model.resetInstanceNode("/root/hidden/con/orddeptcd");
- // alert(centcd);
- // alert(subdeptcd);
- if(centcd=='-'||centcd=='')
- {
- combo3.visible = false;
- cmb_orddeptcd.visible = true;
- submit("TRMNV07002"); //센터, 진료과 정보 가져옴
- }
- else //센터 선택시 센터에 따른 진료과, 진료실 셋팅
- {
- var instcd = model.getValue("/root/hidden/session/sess_dutplceinstcd");
- var deptcd = model.getValue("/root/hidden/con/centcd");
- var base_dd = new Date().getDateFormat("YYYYMMDD");
- var sort_field = "dispseq";//정렬필드(출력순서:'dispseq')
- var sort_method = "asc"; //정렬방법(오름차순:'asc')
- zsufGetCntrSubOrdDepartmentList(instcd, deptcd, 'out', "/root/hidden/init/cntrsuborddeptlist", base_dd);
- // 센터에 따른 진료과 셋팅
-
- model.resetInstanceNode("cmb_subdeptcd");
- combo3.visible = true;
- cmb_orddeptcd.visible = false;
-
- model.copyNode("/root/send/reqdata","/root/hidden/con");
- submit("TRMNV07006"); //진료실 가져오는 서브미션
- }
-
- model.refresh();
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; "/>
- <group id="group3" scroll="auto" style="left:0px; top:10px; width:1195px; height:765px; ">
- <datagrid id="grd_ordschelistinfo" nodeset="/root/main/ordschelist/ordschelistinfo" scroll="auto" caption="예약^도착^등록번호^환자명^S/A^갈곳^당일^종료시간^회의제목" colsep="^" colwidth="40, 40, 70, 60, 36, 72, 115" dataheight="25" extendlastcol="scroll" frozencols="7" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:143px; width:455px; height:617px; ">
- <col disabled="true" ref="ordtm" style="text-align:center; "/>
- <col ref="nursacptdt"/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="patnm" style="left:178px; top:23px; width:66px; height:23px; text-align:center; "/>
- <col ref="sexage" style="text-align:center; "/>
- <col ref="goplace" style="text-align:center; "/>
- <col ref="today" style="left:349px; top:23px; width:58px; height:23px; text-align:center; "/>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
-
- if(grd_ordschelistinfo.isCell(event.target) && grd_ordschelistinfo.mouseRow >= grd_ordschelistinfo.fixedrows) // 01클릭하는 위치가 그리드 안에 있을 때만 함수 실행
- {
- window.setPopupMenu(true,"/root/temp/popmenu/menu","name","func",false);
- }
- else
- {
- window.setPopupMenu(false);
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChangedDspflag()
- ]]>
- </script>
- </datagrid>
- <caption id="caption16" class="tit_2" style="left:2px; top:125px; width:147px; height:13px; ">대기자리스트</caption>
- <line id="line14" class="line_1" style="x1:0px; y1:141px; x2:455px; y2:141px; "/>
- <select1 id="rdo_condwait" ref="/root/hidden/cond/condwait" overflow="visible" appearance="full" cols="5" style="left:107px; top:123px; width:95px; height:20px; font-weight:bold; 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[
-
- var condwait=model.getValue("/root/hidden/cond/condwait");
- //alert(rdo_condwait.value);
- if(condwait=='1') // 대기일때
- {
- grd_ordschelistinfo.visible=true;
- grd_ordschereteendlistinfo.visible=false;
- }
- else // 보류일때
- {
- //submit("TRMNV07004"); //진료예정자 보류 리스트 조회
- grd_ordschelistinfo.visible=false;
- grd_ordschereteendlistinfo.visible=true;
- }
- model.refresh();
-
-
- ]]>
- </script>
- </select1>
- <group id="grp_sea" style="left:0px; top:0px; width:1194px; height:90px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:20px; width:1194px; height:70px; "/>
- <button id="button1" class="btn1_letter2" navindex="5" style="left:1126px; top:44px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOrdScheList();
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:18px; top:29px; width:90px; height:17px; ">진료일자 :</caption>
- <line id="line3" class="line_4" style="x1:1113px; y1:25; x2:1113px; y2:86; "/>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:129px; height:14px; ">진료실 전광판 관리</caption>
- <caption id="caption11" class="search_name" style="left:313px; top:29px; width:107px; height:17px; letter-spacing:1; ">센 터 :</caption>
- <caption id="caption4" class="search_name" style="left:313px; top:60px; width:112px; height:17px; letter-spacing:1; ">진 료 과 :</caption>
- <input id="ipt_orddd" ref="/root/hidden/con/orddd" class="input_search" navindex="1" inputtype="date" style="left:110px; top:29px; width:85px; height:19px; "/>
- <select1 id="cmb_orddeptcd" ref="/root/hidden/con/orddeptcd" navindex="3" appearance="minimal" style="left:407px; top:60px; width:148px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fOrdDridSet();
- ]]>
- </script>
- </select1>
- <select1 id="combo3" ref="/root/hidden/con/orddeptcd" navindex="3" visibility="hidden" appearance="minimal" style="left:407px; top:60px; width:148px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/init/cntrsuborddeptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fOrdDridSet(); //진료과 선택시 담당의 조회하는 함수
- ]]>
- </script>
- </select1>
- <caption id="caption5" class="search_name" style="left:703px; top:29px; width:111px; height:17px; ">진료/검사실 :</caption>
- <select1 id="cmb_ordroomcd" ref="/root/hidden/con/ordroomcd" navindex="4" appearance="minimal" style="left:824px; top:29px; width:148px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/subdeptcd/ordroomlist">
- <label ref="ordroomnm"/>
- <value ref="ordroomcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fOrdScheList();
- ]]>
- </script>
- </select1>
- <button id="button16" class="btn2_letter9" disable.background-image="../../../com/commonweb/images/dis_btn2_letter9.gif" style="left:825px; top:59px; width:119px; height:19px; background-image:../../../com/commonweb/images/btn2_letter9.gif; ">
- <caption>진료실 담당자 등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPMNV07000","1","1","1","SPMNV07000","","","","false");
- ]]>
- </script>
- </button>
- <select1 id="cmb_subdeptcd" ref="/root/hidden/con/subdeptcd" visibility="hidden" appearance="minimal" style="left:500px; top:29px; width:165px; height:19px; color:#ffff99; ">
- <choices>
- <itemset nodeset="/root/init/subdeptcd/subdeptcdlist">
- <label ref="subdeptnm"/>
- <value ref="subdeptcd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_centcd" ref="/root/hidden/con/centcd" navindex="2" appearance="minimal" style="left:407px; top:29px; width:148px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/centcd/centcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- fOrdCentReq(); //센터 선택시 진료과 및 세부과 가져오는 함수
-
-
- ]]>
- </script>
- </select1>
- </group>
- <import id="import1" src="E:\CMCOracle\application\webapps\emr\waitguideweb\xrw\SPMNV21001_가야할곳.xrw" style="left:458px; top:97px; width:735px; height:663px; "/>
- <button id="button7" class="icon_top" style="left:298px; top:120px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(rdo_condwait.value=='2') //보류 환자 선택시
- {
- messageBox("순서 변경은 대기 환자만","I006");
- return;
- }
- if(grd_ordschelistinfo.row<=0)
- {
- messageBox("환자를 선택","I008");
- return;
- }
- // 상위 두명도 순서를 변경할 수 있도록 해달라는 요청으로 기존 로직 삭제 : 2009. 04. 22 김영학 추가
- if ( grd_ordschelistinfo.row == "1") {
- messageBox("최상위환자입니다.", "I");
- return;
- } else {
- fSetMenuGroupSeq("1", "above");
- }
- // 여기까지 : 2009. 04. 21
- // if(grd_ordschelistinfo.row > 3)
- // {
- // fSetMenuGroupSeq("3", "above");
- // }
- // else
- // {
- // messageBox("상위 2명 환자의 순서는 변경할수","E001");
- // }
- ]]>
- </script>
- <hint>
- <![CDATA[맨위로]]>
- </hint>
- </button>
- <button id="button8" class="icon_bottom" style="left:327px; top:120px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(rdo_condwait.value=='2') //보류 환자 선택시
- {
- messageBox("순서 변경은 대기 환자만","I006");
- return;
- }
- if(grd_ordschelistinfo.row<=0)
- {
- messageBox("환자를 선택","I008");
- return;
- }
- // if(grd_ordschelistinfo.row < 3)
- // {
- // messageBox("상위 2명 환자의 순서는 변경할수","E001");
- // return;
- // }
- // else
- // {
- if( grd_ordschelistinfo.rows-grd_ordschelistinfo.fixedRows > grd_ordschelistinfo.row )
- {
- fSetMenuGroupSeq(grd_ordschelistinfo.rows-grd_ordschelistinfo.fixedRows, "below");
- }
- else
- {
- messageBox("최하위 메뉴그룹이","E005");
- }
- // }
- ]]>
- </script>
- <hint>
- <![CDATA[맨아래로]]>
- </hint>
- </button>
- <button id="button9" class="icon_top_direction" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:298px; top:99px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(rdo_condwait.value=='2') //보류 환자 선택시
- {
- messageBox("순서 변경은 대기 환자만","I006");
- return;
- }
- if(grd_ordschelistinfo.row<=0)
- {
- messageBox("환자를 선택","I008");
- return;
- }
- //상위 두명도 순서를 변경할 수 있도록 해달라는 요청으로 기존 로직 삭제 : 2009. 04. 22 김영학 추가
- if (grd_ordschelistinfo.row <= 1 ) {
- messageBox("최상위입니다.","I");
- } else {
- fSetMenuGroupSeq(grd_ordschelistinfo.row-1, "above");
- }
- // end //
- // if(grd_ordschelistinfo.row > 3)
- // {
- // fSetMenuGroupSeq(grd_ordschelistinfo.row-1, "above");
- // }
- // else
- // {
- // messageBox("상위 2명 환자의 순서는 변경할수","E001");
- // }
- ]]>
- </script>
- <hint>
- <![CDATA[위로]]>
- </hint>
- </button>
- <button id="btn_to_down" class="icon_bottom_direction" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:327px; top:99px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(rdo_condwait.value=='2') //보류 환자 선택시
- {
- messageBox("순서 변경은 대기 환자만","I006");
- return;
- }
- if(grd_ordschelistinfo.row<=0)
- {
- messageBox("환자를 선택","I008");
- return;
- }
- // if(grd_ordschelistinfo.row < 3)
- // {
- // messageBox("상위 2명 환자의 순서는 변경할수","E001");
- // return;
- // }
- // else
- // {
- if( grd_ordschelistinfo.rows-grd_ordschelistinfo.fixedRows > grd_ordschelistinfo.row )
- {
- fSetMenuGroupSeq(grd_ordschelistinfo.row+1, "below");
- }
- else
- {
- messageBox("최하위 메뉴그룹이","E005");
- }
- // }
- // fChgIdxSetPrcpRefInfo("down");
- ]]>
- </script>
- <hint>
- <![CDATA[아래로]]>
- </hint>
- </button>
- <button id="button12" class="btn2_letter4" style="left:361px; top:99px; width:64px; height:19px; font-weight:bold; ">
- <caption>순서저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOrdPatWaitSeqChng();
-
-
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter2" style="left:361px; top:120px; width:42px; height:19px; font-weight:bold; ">
- <caption>보류</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOrdPatWaitSeqChng();
-
-
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter2" style="left:408px; top:120px; width:42px; height:19px; font-weight:bold; ">
- <caption>퇴실</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOrdPatWaitSeqChng();
-
-
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|