123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <msg>
- <pid/>
- <hngnm/>
- <issdg/>
- <eqmpos/>
- <issdd/>
- <issrid/>
- <orddeptcd/>
- <orddrid/>
- </msg>
- </list>
- </main>
- <send>
- <issdds/>
- <issdde/>
- <orddeptcd/>
- <orddrid/>
- <pid/>
- <hngnm/>
- <offset/>
- <pagesize>200</pagesize>
- </send>
- <properties>
- <error>
- <msg/>
- </error>
- </properties>
- <temp/>
- <init>
- <orddeptcd>
- <dept>
- <deptcd/>
- <depthngnm/>
- </dept>
- </orddeptcd>
- <orddrid>
- <itemlist>
- <emplno/>
- <name/>
- </itemlist>
- <userlist>
- <usercombo>
- <usernm/>
- <userid/>
- </usercombo>
- </userlist>
- </orddrid>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //TRDRP00202 해당과에 대한 콤보 처리는 공통스크립트로 처리 잠시보류 .
- //submit("TRDRP00202");
- //submit("TRDRP00203");
- var instcd = getUserInfo("dutplceinstcd");
- var standard_yn = "orduseyn";
- var ord_deptflag = "D"; // 외래진료과
- var rslt_ref = "/root/init/orddeptcd";
- zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref);
- model.setValue("/root/send/issdds", getCurrentDate());
- model.setValue("/root/send/issdde", getCurrentDate());
- model.removeNodeset("/root/main/list/msg");
- addComboItem( "cmb_search");
- addComboItem( "cmb_orddrid");
- model.refresh();
- ]]>
- </script>
- <submission id="TRDRP00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" add="bottom" resultref="/root/main/list"/>
- <submission id="TRDRP00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp" replace="instance" resultref="/root/init/orddeptcd"/>
- <submission id="TRDRP00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/orddeptcd" replace="instance" resultref="/root/init/orddrid"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" replace="instance"/>
- <submission id="TRZSU10105" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" replace="instance"/>
- </model>
- <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/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
- <script type="javascript" src="../../../crd/cardissueweb/js/crdcommon.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1193;1,1195;2,33;2,30;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">보고서 - 진료카드 예약환자 발급이력</caption>
- </group>
- <group id="group3" style="left:0px; top:13px; width:1195px; height:767px; ">
- <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="search_name" style="left:530px; top:10px; width:65px; height:17px; ">담당의</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var issddsDate = input11.value;
- var issddeDate = input12.value;
- if(issddsDate>issddeDate){
- messageBox("조회 하고자 하는 발급일자를 제대로", "C001");
- }else if(issddsDate.length<8 | issddeDate.length<8){
- messageBox("조회하고자 하는 발급 일자를 제대로", "C001");
- }else{
- model.removeNodeset("/root/main/list/msg");
- model.setValue("/root/send/offset", 0);
- submit("TRDRP00201");
- var subMessage = model.getValue("/root/main/list/msg[1]/tot_cnt");
- subMessage = intComma(subMessage);
- setSystemMessage(subMessage+"건이 조회 되었습니다.");
- }
- ]]>
- </script>
- </button>
- <line id="line2" class="line_4" style="x1:1110px; y1:7px; x2:1110px; y2:27px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption5" class="search_name" style="left:5px; top:11px; width:84px; height:17px; ">발급일자</caption>
- <select1 id="cmb_search" ref="/root/send/orddeptcd" class="combo_search" appearance="minimal" style="left:395px; top:10px; width:125px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- //submit("TRDRP00203");//보류
- model.setFocus("cmb_orddrid");
- //model.removenode("/root/send/orddrid");
- //model.makeNode("/root/send/orddrid");
- var deptcd = model.getValue("/root/send/orddeptcd");
- zsufGetUserInfoCombo(deptcd, "/root/init/orddrid/userlist","_D");
-
- if (model.getValue("/root/send/orddeptcd") == "") {
- model.makeValue("/root/init/orddrid", "");
- }
- addComboItem( "cmb_orddrid");
- model.setValue("/root/send/orddrid", "");
- model.refresh();
-
- ]]>
- </script>
- </select1>
- <caption id="caption4" class="search_name" style="left:325px; top:11px; width:65px; height:17px; vertical-align:middle; ">예약과</caption>
- <caption id="caption8" class="search_name" style="left:695px; top:10px; width:76px; height:17px; ">등록번호</caption>
- <input id="input2" ref="/root/send/pid" class="input_search" maxlength="10" format="9999999999" style="left:780px; top:10px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="input11" ref="/root/send/issdds" class="input_s_essential" editable="true" inputtype="date" format="yyyy-mm-dd" style="left:90px; top:10px; width:100px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- //var issddsDate = input11.value;
- //isValidDateTime(issddsDate, 'YYYYMMDD');
- ]]>
- </script>
- </input>
- <input id="input12" ref="/root/send/issdde" class="input_s_essential" editable="true" inputtype="date" format="yyyy-mm-dd" style="left:210px; top:10px; width:100px; height:19px; "/>
- <caption id="caption3" class="search_name" style="left:890px; top:10px; width:76px; height:17px; ">환자성명</caption>
- <input id="input4" ref="/root/send/hngnm" class="input_search" maxlength="15" style="left:970px; top:10px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="cmb_orddrid" ref="/root/send/orddrid" class="combo_search" appearance="minimal" style="left:600px; top:10px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid/userlist/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.removeNodeset("/root/main/list/msg");
- //submit("TRDRP00203");
- submit("TRDRP00201");
- ]]>
- </script>
- </select1>
- <caption id="caption7" class="search_no_b" style="left:195px; top:10px; width:15px; height:17px; ">~</caption>
- </group>
- <caption id="caption2" class="tit_2" style="left:5px; top:65px; width:300px; height:13px; font-family:돋움; vertical-align:middle; ">발급 정보 리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:80px; x2:1194px; y2:80px; "/>
- <datagrid id="grd_scrnlist" nodeset="/root/main/list/msg" caption="등록번호^환자명^발급차수^발급장비명^발급일^발급자^예약과^담당의" colsep="^" colwidth="150, 150, 100, 150, 150, 130, 150, 150" dataheight="23" defaultrows="1" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" style="left:0px; top:85px; width:1194px; height:655px; ">
- <col explorerbar="sortshowmove" ref="pid" style="text-align:center; "/>
- <col explorerbar="sortshowmove" ref="hngnm" style="text-align:center; "/>
- <col explorerbar="sortshowmove" ref="issdg" style="text-align:center; "/>
- <col explorerbar="sortshowmove" ref="eqmpos" style="text-align:center; "/>
- <col explorerbar="sortshowmove" ref="issdd" format="yyyy-mm-dd" style="left:698px; top:23px; width:386px; height:23px; text-align:center; "/>
- <col explorerbar="sortshowmove" ref="issrid" style="text-align:center; "/>
- <col explorerbar="sortshowmove" disabled="true" ref="orddeptcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col explorerbar="sortshowmove" ref="orddrid" style="text-align:center; "/>
- <script type="javascript" ev:event="onscroll">
- <![CDATA[
- if(grd_scrnlist.vscroll.attribute("max") == grd_scrnlist.vscroll.attribute("pos")) {
- // end of scroll
- model.setValue("/root/send/offset", grd_scrnlist.rows-grd_scrnlist.fixedRows); // grid의 header row는 제외
- submit("TRDRP00201");
- var subMessage = model.getValue("/root/main/list/msg[1]/tot_cnt");
- subMessage = intComma(subMessage);
- setSystemMessage(subMessage+"건이 조회 되었습니다.");
- }
-
- ]]>
- </script>
- </datagrid>
- <button id="btn_cle" class="btn4_letter3" disable.background-image="../../../com/commonweb/images/dis_btn4_letter3.gif" style="left:1125px; top:745px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.reset();
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter4.gif" style="left:1130px; top:60px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter4.gif; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var dataYn = model.getValue("/root/main/list/msg["+1+"]/pid");
- if(dataYn == ""){
- messageBox("조회된 ", "E013");
- return;
- }else{
- var fileName = window.fileDialog("save",",",false,"보고서-진료카드 예약환자 발급이력","xls","All Files(*.*)|*.*|Excel Files(*.xls)|*.xls");
- }
- if(fileName !=""){
- grd_scrnlist.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|