123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235 |
- <?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>메시지 조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <msglist>
- </msglist>
- </list>
- <item>
- <trsmrnm/>
- <trsmrid/>
- <recvrnm/>
- <recvrid/>
- <msgrank/>
- <msgcnts/>
- <pid/>
- <patnm/>
- <trsmreqdt/>
- <recvcnfmyn/>
- <mpphonno/>
- <trsmrdelyn/>
- <recvrdelyn/>
- </item>
- </main>
- <send>
- <fromdd/>
- <todd/>
- <stype>all</stype>
- <value/>
- <srank>0</srank>
- </send>
- <init>
- <bizabbr>
- <label>전체</label>
- <value>all</value>
- </bizabbr>
- <bizabbr>
- <label>송신자명</label>
- <value>trsmrnm</value>
- </bizabbr>
- <bizabbr>
- <label>송신자ID</label>
- <value>trsmrid</value>
- </bizabbr>
- <bizabbr>
- <label>수신자명</label>
- <value>recvrnm</value>
- </bizabbr>
- <bizabbr>
- <label>수신자ID</label>
- <value>recvrid</value>
- </bizabbr>
- <bizabbr>
- <label>환자명</label>
- <value>pnm</value>
- </bizabbr>
- <bizabbr>
- <label>환자ID</label>
- <value>pid</value>
- </bizabbr>
- <msgtype>
- <label>전체</label>
- <value>0</value>
- </msgtype>
- <msgtype>
- <label>일반</label>
- <value>3</value>
- </msgtype>
- <msgtype>
- <label>응급</label>
- <value>1</value>
- </msgtype>
- <msgtype>
- <label>보험</label>
- <value>2</value>
- </msgtype>
- </init>
- </root>
- </instance>
- <submission id="TRZMI00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
- </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/dateHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fCheckAuth();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- /**
- * @group :
- * @ver :
- * @by :
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 권한 체크
- * @return :
- * @---------------------------------------------------
- */
- function fCheckAuth() {
- if (!checkAuth("x")) {
- btn_search.disabled = true;
- btn_saveexcel.disabled = true;
- }
- }
-
- model.setValue("/root/send/fromdd", getCurrentDate()-1);
- model.setValue("/root/send/todd", getCurrentDate());
- model.refresh();
- // submit("TRZMI00106");
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">Instant 메시지 관리</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:20px; width:1195px; height:745px; ">
- <line id="line4" class="line_2" style="x1:0px; y1:176px; x2:1194px; y2:176px; "/>
- <line id="line3" class="line_2" style="x1:0px; y1:152px; x2:1194px; y2:152px; "/>
- <line id="line2" class="line_2" style="x1:0px; y1:128px; x2:1194px; y2:128px; "/>
- <line id="line6" class="line_2" style="x1:0px; y1:104px; x2:1194px; y2:104px; "/>
- <group id="group2" style="left:0px; top:14px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <caption id="caption2" class="search_name" style="left:16px; top:8px; width:91px; height:17px; ">구분 :</caption>
- <line id="line13" style="x1:1106px; y1:7px; x2:1106px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="cap_searchitem" class="search_name" style="left:466px; top:10px; width:104px; height:17px; ">검색어 :</caption>
- <button id="btn_search" class="btn1_letter2" navindex="6" style="left:1122px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRZMI00106");
- ]]>
- </script>
- </button>
- <select1 id="cmb_bizabbr" ref="/root/send/stype" navindex="1" appearance="minimal" style="left:80px; top:8px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/bizabbr">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_searchitem" ref="/root/send/value" navindex="3" style="left:540px; top:8px; width:135px; height:19px; "/>
- <caption id="caption3" class="search_name" style="left:250px; top:10px; width:104px; height:17px; ">메시지 타입 :</caption>
- <select1 id="cmb_msgtype" ref="/root/send/srank" navindex="2" appearance="minimal" style="left:355px; top:8px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/msgtype">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_rdate" ref="/root/send/fromdd" navindex="4" visibility="visible" inputtype="date" style="left:765px; top:8px; width:100px; height:19px; "/>
- <input id="ipt_edate" ref="/root/send/todd" navindex="5" visibility="visible" inputtype="date" style="left:960px; top:8px; width:100px; height:19px; "/>
- <caption id="cap_rdate" class="search_name" style="left:691px; top:10px; width:91px; height:17px; ">시작일 :</caption>
- <caption id="cap_edage" class="search_name" style="left:886px; top:10px; width:91px; height:17px; ">종료일 :</caption>
- </group>
- <caption id="cap_msgcontents" class="tit_2" style="left:6px; top:577px; width:139px; height:14px; ">메시지 내용</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:592px; x2:1194px; y2:592px; "/>
- <caption id="cap_trsmrnm" class="cell_1" style="left:0px; top:597px; width:100px; height:23px; ">송신자명</caption>
- <caption id="cap_trsmrid" class="cell_1" style="left:229px; top:597px; width:100px; height:23px; ">송신자ID</caption>
- <caption id="cap_msgtype" class="cell_1" style="left:0px; top:621px; width:100px; height:23px; ">메시지 타입</caption>
- <caption id="cap_hngnm" class="cell_1" style="left:229px; top:622px; width:100px; height:23px; ">환자명</caption>
- <caption id="cap_pid" class="cell_1" style="left:465px; top:622px; width:100px; height:23px; ">환자 ID</caption>
- <caption id="cap_recvrnm" class="cell_1" style="left:738px; top:597px; width:100px; height:23px; ">수신자명</caption>
- <caption id="cap_msgcnts" class="cell_1" style="left:0px; top:646px; width:100px; height:71px; ">메시지 내용</caption>
- <caption id="cap_msgsearch" class="tit_2" style="left:6px; top:62px; width:118px; height:13px; ">메시지 조회 목록</caption>
- <line id="line8" class="line_1" style="x1:0px; y1:77px; x2:1194px; y2:77px; "/>
- <line id="line7" class="line_3" style="x1:0px; y1:743px; x2:1194px; y2:743px; "/>
- <caption id="cap_msgcd" class="cell_1" style="left:968px; top:597px; width:100px; height:23px; ">수신자 ID</caption>
- <datagrid id="grd_msglist" nodeset="/root/main/list/msglist" caption="송신자명^송신자 ID^송신자연락처^수신자명^수신자 ID^타입^메시지 내용^환자 ID^환자명^메시지 전송일^수신여부^송신자삭제^수신자삭제" colwidth="60, 70, 100, 60, 70, 50, 280, 65, 70, 128, 68, 68, 68" dataheight="25" defaultrows="0" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" style="left:0px; top:82px; width:1194px; height:488px; text-align:center; ">
- <col ref="trsmrnm" style="text-align:center; "/>
- <col ref="trsmrid" style="text-align:center; "/>
- <col ref="mpphonno"/>
- <col ref="recvrnm"/>
- <col ref="recvrid" style="text-align:center; "/>
- <col ref="msgrank" style="text-align:center; "/>
- <col ref="msgcnts" style="text-align:left; "/>
- <col ref="pid"/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="trsmreqdt" format="yyyy-mm-dd hh:mm:ss" style="text-align:center; "/>
- <col ref="recvcnfmyn" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
- <col ref="trsmrdelyn" style="text-align:center; "/>
- <col ref="recvrdelyn" style="left:1137px; top:23px; width:100px; height:23px; text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var iRow = grd_msglist.row;
- model.copyNode("/root/main/item","/root/main/list/msglist["+iRow+"]");
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <input id="ipt_recvrnm" ref="/root/main/item/recvrnm" navindex="10" editable="false" maxlength="5" _required="true" style="left:841px; top:599px; width:120px; height:19px; text-align:center; "/>
- <input id="ipt_recvrid" ref="/root/main/item/recvrid" class="input_default" navindex="11" editable="false" appearance="input" style="left:1071px; top:599px; width:120px; height:19px; text-align:center; "/>
- <input id="ipt_msgtype" ref="/root/main/item/msgrank" navindex="12" editable="false" _required="true" style="left:103px; top:622px; width:120px; height:19px; text-align:center; "/>
- <input id="ipt_hngnm" ref="/root/main/item/patnm" class="input_default" navindex="13" editable="false" appearance="input" style="left:332px; top:622px; width:120px; height:19px; text-align:center; "/>
- <input id="ipt_pid" ref="/root/main/item/pid" class="input_default" navindex="14" editable="false" appearance="input" style="left:568px; top:622px; width:162px; height:19px; text-align:center; "/>
- <textarea id="tar_msgcnts" ref="/root/main/item/msgcnts" navindex="15" editable="false" style="left:103px; top:647px; width:1091px; height:67px; "/>
- <output id="opt_trsmreqdt" ref="/root/main/item/trsmreqdt" class="output_fix" format="yyyy-mm-dd hh:nn:ss" appearance="output" style="left:841px; top:622px; width:224px; height:19px; text-align:center; "/>
- <caption id="cap_recvcnfmyn" class="cell_1" style="left:0px; top:718px; width:100px; height:23px; vertical-align:middle; ">메시지 수신 여부</caption>
- <caption id="cap_trsmreqdt" class="cell_1" style="left:738px; top:622px; width:100px; height:23px; vertical-align:middle; ">메시지 전송일</caption>
- <button id="btn_saveexcel" class="btn2_letter4" style="left:1125px; top:56px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != "")
- {
- grd_msglist.saveExcel(fileName, "SheetName", true, true, "", "", false);
- }
- ]]>
- </script>
- </button>
- <input id="ipt_recvcnfmyn" ref="/root/main/item/recvcnfmyn" navindex="16" editable="false" _required="true" style="left:103px; top:720px; width:120px; height:19px; text-align:center; "/>
- <input id="ipt_trsmrnm" ref="/root/main/item/trsmrnm" navindex="7" editable="false" _required="true" style="left:103px; top:599px; width:120px; height:19px; text-align:center; "/>
- <input id="ipt_trsmrid" ref="/root/main/item/trsmrid" navindex="8" editable="false" style="left:332px; top:599px; width:120px; height:19px; text-align:center; "/>
- <caption id="caption1" class="cell_1" style="left:465px; top:597px; width:100px; height:23px; ">송신자 연락번호</caption>
- <input id="input1" ref="/root/main/item/mpphonno" navindex="9" editable="false" style="left:568px; top:599px; width:162px; height:19px; text-align:center; "/>
- <caption id="caption4" class="cell_1" style="left:229px; top:718px; width:100px; height:23px; vertical-align:middle; ">송신자 삭제여부</caption>
- <input id="input2" ref="/root/main/item/trsmrdelyn" navindex="17" editable="false" _required="true" style="left:335px; top:720px; width:120px; height:19px; text-align:center; "/>
- <caption id="caption5" class="cell_1" style="left:465px; top:718px; width:100px; height:23px; vertical-align:middle; ">수신자 삭제여부</caption>
- <input id="input3" ref="/root/main/item/recvrdelyn" navindex="18" editable="false" _required="true" style="left:568px; top:720px; width:120px; height:19px; text-align:center; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|