123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLVJ90100_판독자대기리스트.xrw
- * 설 명 : 판독자대기리스트
- * 설 계 자 : (주)에이씨케이 - 송요셉
- * 작 성 자 : (주)에이씨케이 - 송요셉
- * 작 성 일 : 2007.09.04
- * 수정이력 :
- * 기 타 :
- -->
- <?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>SPLVJ90100</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root>
- <main>
- <waitlist>
- <pid/>
- <patnm/>
- <flag/>
- <state/>
- <orddeptnm/>
- <wardnm/>
- <orddd/>
- <readstat/>
- </waitlist>
- <readlist>
- <reptnm/>
- <printnm/>
- <printtm/>
- <pid/>
- <patnm/>
- <flag/>
- <orddeptnm/>
- <wardnm/>
- </readlist>
- </main>
- <send>
- <codeflag/>
- <testlrgcd/>
- <keyword/>
- <readsno/>
- <readeno/>
- </send>
- <init>
- </init>
- <hidden>
- <ref>
- <testlrgcd>00</testlrgcd>
- <search>1</search>
- <keyword/>
- <readsno/>
- <readeno/>
- </ref>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var toDay = getCurrentDate();
- model.setValue("/root/hidden/ref/readsno", toDay);
- model.setValue("/root/hidden/ref/readeno", toDay);
- model.setValue("/root/send/codeflag", "0104|"); //0104 대분류
- submit("TRLZZ00101");
- //submit("TRLVJ90101");
- freadwaitlist(1);
- ]]>
- </script>
- <submission id="TRLVJ90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/waitlist"/>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB"/>
- <submission id="TRLVJ90102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/readlist"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fExeCancel(){
- window.close();
- }
-
- function freadwaitlist(flag){
- if(flag == 1){
- waitlist.rebuildStyle();
- model.setValue("/root/send/testlrgcd", model.getValue("/root/hidden/ref/testlrgcd"));
- submit("TRLVJ90101");
-
- for(i = 1; i < waitlist.rows; i++){
- if(model.getValue("/root/main/waitlist[" + i + "]/readstat") == "0"){
- waitlist.rowStyle(i, "data", "background-color") = "#f3e1bf";
- }
- }
- //model.refresh();
- }
- else{
- model.setValue("/root/send/codeflag" , model.getValue("/root/hidden/ref/search"));
- model.setValue("/root/send/keyword" , model.getValue("/root/hidden/ref/keyword"));
- model.setValue("/root/send/readsno" , model.getValue("/root/hidden/ref/readsno"));
- model.setValue("/root/send/readeno" , model.getValue("/root/hidden/ref/readeno"));
- submit("TRLVJ90102");
- }
- }
-
- function fwaitlistclick(){
- var row = waitlist.row;
- fUpPatinfo();
- window.opener.model.setValue("/root/hidden/ref/pid", model.getValue("/root/main/waitlist["+row+"]/pid"));
- window.opener.model.setValue("/root/hidden/ref/orddd", model.getValue("/root/main/waitlist["+row+"]/orddd"));
- window.opener.javascript.fgetreadrsltlist(1);
- freadwaitlist(1); // 재조회
-
- }
-
- function freadlistclick(){
- var row = readlist.row;
- fUpPatinfo2();
- window.opener.model.setValue("/root/hidden/ref/pid", model.getValue("/root/main/readlist["+row+"]/pid"));
- window.opener.model.setValue("/root/hidden/ref/orddd", model.getValue("/root/main/readlist["+row+"]/orddd"));
- window.opener.javascript.fgetreadrsltlist();
-
- }
-
- function fUpPatinfo(){
- var row = waitlist.row;
- var prcpkey = model.getValue("/root/main/waitlist["+row+"]/prcpkey");
- var prcpkeycnt = prcpkey.indexOf("/");
-
- if(getPatientInfo("pid") != model.getValue("/root/main/waitlist["+row+"]/pid")) {
- if(row> 1){
- setParameter("errflag", "Y");
- setParameter("condparam", "S" + "▦" + prcpkey.substring(0,8) + "▦"
- + prcpkey.substring(9) + "▦"
- + model.getvalue("/root/main/waitlist["+row+"]/instcd") );
-
- modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
- }
-
- var paminfo = getGlobalVariable("paminfo");
- if((paminfo.length < 0) || (getPatientInfo("pid") != model.getValue("/root/main/waitlist["+row+"]/pid"))){ //상단정보가 없는 경우
- delPatientInfos(); //환자정보 전체 삭제
-
- var pid = model.getValue("/root/main/waitlist["+row+"]/pid")
- var hngnm = model.getValue("/root/main/waitlist["+row+"]/patnm");
- //상단에 올릴 수 있는 정보가 있으면 아래와 같이 설정해 주시면 됩니다. 없으면 안 해주셔도 되구요..
-
- setPatientInfo("pid" , pid); //등록번호
- setPatientInfo("pname" , pid + "|" + hngnm); //환자명
- }
- }
-
- }
-
- function fUpPatinfo2(){
- var row = readlist.row;
- var prcpkey = model.getValue("/root/main/readlist["+row+"]/prcpkey");
- var prcpkeycnt = prcpkey.indexOf("/");
-
- if(getPatientInfo("pid") != model.getValue("/root/main/readlist["+row+"]/pid")) {
- if(row> 1){
- setParameter("errflag", "Y");
- setParameter("condparam", "S" + "▦" + prcpkey.substring(0,8) + "▦"
- + prcpkey.substring(9) + "▦"
- + model.getvalue("/root/main/readlist["+row+"]/instcd") );
-
- modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
- }
-
- var paminfo = getGlobalVariable("paminfo");
- if((paminfo.length < 0) || (getPatientInfo("pid") != model.getValue("/root/main/readlist["+row+"]/pid"))){ //상단정보가 없는 경우
- delPatientInfos(); //환자정보 전체 삭제
-
- var pid = model.getValue("/root/main/readlist["+row+"]/pid")
- var hngnm = model.getValue("/root/main/readlist["+row+"]/patnm");
- //상단에 올릴 수 있는 정보가 있으면 아래와 같이 설정해 주시면 됩니다. 없으면 안 해주셔도 되구요..
-
- setPatientInfo("pid" , pid); //등록번호
- setPatientInfo("pname" , pid + "|" + hngnm); //환자명
- }
- }
-
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="430" pageheight="780" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" style="left:0px; top:13px; width:405px; height:720px; ">
- <button id="button4" class="btn_sw" group="tab" style="left:0px; top:5px; width:200px; height:22px; ">
- <caption>대기자목록</caption>
- <toggle case="case1" ev:event="onclick"/>
- </button>
- <button id="button7" class="btn_sw" group="tab" style="left:200px; top:5px; width:200px; height:22px; ">
- <caption>판독완료목록</caption>
- <toggle case="case2" ev:event="onclick"/>
- </button>
- <switch id="switch1" style="left:0px; top:27px; width:400px; height:683px; ">
- <case id="case1" style="left:0px; top:0px; width:400px; height:683px; ">
- <group id="group2" style="left:0px; top:5px; width:400px; height:35px; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:400px; height:35px; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:9px; width:104px; height:17px; ">검사대분류 :</caption>
- <select1 id="testlrgcd" ref="/root/hidden/ref/testlrgcd" appearance="minimal" itemcount="10" style="left:121px; top:8px; width:184px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0104">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <button id="button3" class="btn1_letter2" style="left:333px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- freadwaitlist(1);
- ]]>
- </script>
- </button>
- <line id="line3" class="line_4" style="x1:323px; y1:7px; x2:323px; y2:29px; "/>
- </group>
- <caption id="caption3" class="tit_2" style="left:0px; top:50px; width:131px; height:13px; ">대기자목록</caption>
- <datagrid id="waitlist" nodeset="/root/main/waitlist" caption="등록번호^성명^구분^상태^진료과^병동^orddd" colsep="^" colwidth="80, 80, 35, 35, 95, 94, 75, 100, 100" dataheight="23" defaultrows="1" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:70px; width:400px; height:605px; ">
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="flag" visibility="hidden"/>
- <col ref="state" visibility="hidden"/>
- <col ref="orddeptnm"/>
- <col ref="wardnm"/>
- <col ref="orddd" visibility="hidden"/>
- <col ref="prcpkey" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(waitlist.isCell(event.target) && waitlist.row >= waitlist.fixedRows ){
- //waitlist.rowStyle(waitlist.row, "data", "background-color") = "#f3e1bf";
- fwaitlistclick(1);
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- waitlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line1" class="line_1" style="x1:0px; y1:65px; x2:400px; y2:65px; "/>
- </case>
- <case id="case2" selected="true" style="left:0px; top:0px; width:400px; height:663px; ">
- <group id="group4" style="left:0px; top:5px; width:400px; height:70px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:400px; height:70px; "/>
- <caption id="caption4" class="search_name" style="left:15px; top:9px; width:104px; height:17px; ">검색구분 :</caption>
- <select1 id="combo1" ref="/root/hidden/ref/search" appearance="minimal" itemcount="10" style="left:106px; top:8px; width:84px; height:19px; ">
- <choices>
- <item>
- <label>검증번호</label>
- <value>1</value>
- </item>
- <item>
- <label>등록번호</label>
- <value>2</value>
- </item>
- <item>
- <label>성명</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <button id="button1" class="btn1_letter2" style="left:333px; top:37px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- freadwaitlist(2);
- ]]>
- </script>
- </button>
- <line id="line4" class="line_4" style="x1:323px; y1:7px; x2:323px; y2:64px; "/>
- <input id="input1" ref="/root/hidden/ref/keyword" style="left:195px; top:8px; width:120px; height:19px; "/>
- <caption id="caption5" class="search_name" style="left:15px; top:39px; width:116px; height:17px; ">보고일자 :</caption>
- <caption id="caption11" class="search_n_b" style="left:205px; top:39px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <input id="ipt_usdt" ref="/root/hidden/ref/readsno" class="input_s_essential" inputtype="date" style="left:107px; top:38px; width:93px; height:19px; "/>
- <input id="input2" ref="/root/hidden/ref/readeno" class="input_s_essential" inputtype="date" style="left:222px; top:38px; width:93px; height:19px; "/>
- </group>
- <caption id="caption6" class="tit_2" style="left:0px; top:85px; width:131px; height:14px; ">판독완료목록</caption>
- <datagrid id="readlist" nodeset="/root/main/readlist" caption="보고자^출력자^출력시간^등록번호^성명^구분^진료과^병동" colsep="^" colwidth="75, 75, 100, 75, 75, 75, 75, 100, 100, 100, 100" dataheight="23" defaultrows="1" ellipsis="true" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:105px; width:400px; height:550px; ">
- <col ref="reptnm"/>
- <col ref="printnm"/>
- <col ref="printtm" format="yyyy-mm-dd-hh:nn"/>
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="flag"/>
- <col ref="orddeptnm"/>
- <col ref="wardnm"/>
- <col ref="orddd" visibility="hidden"/>
- <col ref="prcpkey" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
-
- if(readlist.isCell(event.target) && readlist.row >= readlist.fixedRows ){
- freadlistclick();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- readlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line5" class="line_1" style="x1:0px; y1:100px; x2:400px; y2:100px; "/>
- </case>
- </switch>
- </group>
- <group id="group3" style="left:0px; top:736px; width:400px; height:27px; ">
- <line id="line2" class="line_6" style="x1:0px; y1:0px; x2:399px; y2:0px; "/>
- <button id="button5" class="btn4_letter2" style="left:344px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeCancel();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_tle" style="left:0px; top:0px; width:400px; height:13px; ">
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:121px; height:14px; ">판독대기자조회</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|