SMZMI00501_메시지전체조회.xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>메시지 조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <msglist>
  12. </msglist>
  13. </list>
  14. <item>
  15. <trsmrnm/>
  16. <trsmrid/>
  17. <recvrnm/>
  18. <recvrid/>
  19. <msgrank/>
  20. <msgcnts/>
  21. <pid/>
  22. <patnm/>
  23. <trsmreqdt/>
  24. <recvcnfmyn/>
  25. <mpphonno/>
  26. <trsmrdelyn/>
  27. <recvrdelyn/>
  28. </item>
  29. </main>
  30. <send>
  31. <fromdd/>
  32. <todd/>
  33. <stype>all</stype>
  34. <value/>
  35. <srank>0</srank>
  36. </send>
  37. <init>
  38. <bizabbr>
  39. <label>전체</label>
  40. <value>all</value>
  41. </bizabbr>
  42. <bizabbr>
  43. <label>송신자명</label>
  44. <value>trsmrnm</value>
  45. </bizabbr>
  46. <bizabbr>
  47. <label>송신자ID</label>
  48. <value>trsmrid</value>
  49. </bizabbr>
  50. <bizabbr>
  51. <label>수신자명</label>
  52. <value>recvrnm</value>
  53. </bizabbr>
  54. <bizabbr>
  55. <label>수신자ID</label>
  56. <value>recvrid</value>
  57. </bizabbr>
  58. <bizabbr>
  59. <label>환자명</label>
  60. <value>pnm</value>
  61. </bizabbr>
  62. <bizabbr>
  63. <label>환자ID</label>
  64. <value>pid</value>
  65. </bizabbr>
  66. <msgtype>
  67. <label>전체</label>
  68. <value>0</value>
  69. </msgtype>
  70. <msgtype>
  71. <label>일반</label>
  72. <value>3</value>
  73. </msgtype>
  74. <msgtype>
  75. <label>응급</label>
  76. <value>1</value>
  77. </msgtype>
  78. <msgtype>
  79. <label>보험</label>
  80. <value>2</value>
  81. </msgtype>
  82. </init>
  83. </root>
  84. </instance>
  85. <submission id="TRZMI00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
  86. </model>
  87. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  88. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  89. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  90. <script type="javascript" ev:event="xforms-ready">
  91. <![CDATA[
  92. fCheckAuth();
  93. ]]>
  94. </script>
  95. <script type="javascript">
  96. <![CDATA[
  97. /**
  98. * @group :
  99. * @ver :
  100. * @by :
  101. * @---------------------------------------------------
  102. * @type : function
  103. * @access : public
  104. * @desc : 권한 체크
  105. * @return :
  106. * @---------------------------------------------------
  107. */
  108. function fCheckAuth() {
  109. if (!checkAuth("x")) {
  110. btn_search.disabled = true;
  111. btn_saveexcel.disabled = true;
  112. }
  113. }
  114. model.setValue("/root/send/fromdd", getCurrentDate()-1);
  115. model.setValue("/root/send/todd", getCurrentDate());
  116. model.refresh();
  117. // submit("TRZMI00106");
  118. ]]>
  119. </script>
  120. </xhtml:head>
  121. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  122. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  123. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">Instant 메시지 관리</caption>
  124. </group>
  125. <group id="group3" scroll="auto" style="left:0px; top:20px; width:1195px; height:745px; ">
  126. <line id="line4" class="line_2" style="x1:0px; y1:176px; x2:1194px; y2:176px; "/>
  127. <line id="line3" class="line_2" style="x1:0px; y1:152px; x2:1194px; y2:152px; "/>
  128. <line id="line2" class="line_2" style="x1:0px; y1:128px; x2:1194px; y2:128px; "/>
  129. <line id="line6" class="line_2" style="x1:0px; y1:104px; x2:1194px; y2:104px; "/>
  130. <group id="group2" style="left:0px; top:14px; width:1194px; height:35px; vertical-align:top; ">
  131. <shape id="roundrect1" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
  132. <caption id="caption2" class="search_name" style="left:16px; top:8px; width:91px; height:17px; ">구분 :</caption>
  133. <line id="line13" style="x1:1106px; y1:7px; x2:1106px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  134. <caption id="cap_searchitem" class="search_name" style="left:466px; top:10px; width:104px; height:17px; ">검색어 :</caption>
  135. <button id="btn_search" class="btn1_letter2" navindex="6" style="left:1122px; top:7px; width:56px; height:22px; ">
  136. <caption>조회</caption>
  137. <script type="javascript" ev:event="DOMActivate">
  138. <![CDATA[
  139. submit("TRZMI00106");
  140. ]]>
  141. </script>
  142. </button>
  143. <select1 id="cmb_bizabbr" ref="/root/send/stype" navindex="1" appearance="minimal" style="left:80px; top:8px; width:150px; height:19px; ">
  144. <choices>
  145. <itemset nodeset="/root/init/bizabbr">
  146. <label ref="label"/>
  147. <value ref="value"/>
  148. </itemset>
  149. </choices>
  150. </select1>
  151. <input id="ipt_searchitem" ref="/root/send/value" navindex="3" style="left:540px; top:8px; width:135px; height:19px; "/>
  152. <caption id="caption3" class="search_name" style="left:250px; top:10px; width:104px; height:17px; ">메시지 타입 :</caption>
  153. <select1 id="cmb_msgtype" ref="/root/send/srank" navindex="2" appearance="minimal" style="left:355px; top:8px; width:95px; height:19px; ">
  154. <choices>
  155. <itemset nodeset="/root/init/msgtype">
  156. <label ref="label"/>
  157. <value ref="value"/>
  158. </itemset>
  159. </choices>
  160. </select1>
  161. <input id="ipt_rdate" ref="/root/send/fromdd" navindex="4" visibility="visible" inputtype="date" style="left:765px; top:8px; width:100px; height:19px; "/>
  162. <input id="ipt_edate" ref="/root/send/todd" navindex="5" visibility="visible" inputtype="date" style="left:960px; top:8px; width:100px; height:19px; "/>
  163. <caption id="cap_rdate" class="search_name" style="left:691px; top:10px; width:91px; height:17px; ">시작일 :</caption>
  164. <caption id="cap_edage" class="search_name" style="left:886px; top:10px; width:91px; height:17px; ">종료일 :</caption>
  165. </group>
  166. <caption id="cap_msgcontents" class="tit_2" style="left:6px; top:577px; width:139px; height:14px; ">메시지 내용</caption>
  167. <line id="line1" class="line_1" style="x1:0px; y1:592px; x2:1194px; y2:592px; "/>
  168. <caption id="cap_trsmrnm" class="cell_1" style="left:0px; top:597px; width:100px; height:23px; ">송신자명</caption>
  169. <caption id="cap_trsmrid" class="cell_1" style="left:229px; top:597px; width:100px; height:23px; ">송신자ID</caption>
  170. <caption id="cap_msgtype" class="cell_1" style="left:0px; top:621px; width:100px; height:23px; ">메시지 타입</caption>
  171. <caption id="cap_hngnm" class="cell_1" style="left:229px; top:622px; width:100px; height:23px; ">환자명</caption>
  172. <caption id="cap_pid" class="cell_1" style="left:465px; top:622px; width:100px; height:23px; ">환자 ID</caption>
  173. <caption id="cap_recvrnm" class="cell_1" style="left:738px; top:597px; width:100px; height:23px; ">수신자명</caption>
  174. <caption id="cap_msgcnts" class="cell_1" style="left:0px; top:646px; width:100px; height:71px; ">메시지 내용</caption>
  175. <caption id="cap_msgsearch" class="tit_2" style="left:6px; top:62px; width:118px; height:13px; ">메시지 조회 목록</caption>
  176. <line id="line8" class="line_1" style="x1:0px; y1:77px; x2:1194px; y2:77px; "/>
  177. <line id="line7" class="line_3" style="x1:0px; y1:743px; x2:1194px; y2:743px; "/>
  178. <caption id="cap_msgcd" class="cell_1" style="left:968px; top:597px; width:100px; height:23px; ">수신자 ID</caption>
  179. <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; ">
  180. <col ref="trsmrnm" style="text-align:center; "/>
  181. <col ref="trsmrid" style="text-align:center; "/>
  182. <col ref="mpphonno"/>
  183. <col ref="recvrnm"/>
  184. <col ref="recvrid" style="text-align:center; "/>
  185. <col ref="msgrank" style="text-align:center; "/>
  186. <col ref="msgcnts" style="text-align:left; "/>
  187. <col ref="pid"/>
  188. <col ref="patnm" style="text-align:center; "/>
  189. <col ref="trsmreqdt" format="yyyy-mm-dd hh:mm:ss" style="text-align:center; "/>
  190. <col ref="recvcnfmyn" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  191. <col ref="trsmrdelyn" style="text-align:center; "/>
  192. <col ref="recvrdelyn" style="left:1137px; top:23px; width:100px; height:23px; text-align:center; "/>
  193. <script type="javascript" ev:event="ondblclick">
  194. <![CDATA[
  195. var iRow = grd_msglist.row;
  196. model.copyNode("/root/main/item","/root/main/list/msglist["+iRow+"]");
  197. model.refresh();
  198. ]]>
  199. </script>
  200. </datagrid>
  201. <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; "/>
  202. <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; "/>
  203. <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; "/>
  204. <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; "/>
  205. <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; "/>
  206. <textarea id="tar_msgcnts" ref="/root/main/item/msgcnts" navindex="15" editable="false" style="left:103px; top:647px; width:1091px; height:67px; "/>
  207. <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; "/>
  208. <caption id="cap_recvcnfmyn" class="cell_1" style="left:0px; top:718px; width:100px; height:23px; vertical-align:middle; ">메시지 수신 여부</caption>
  209. <caption id="cap_trsmreqdt" class="cell_1" style="left:738px; top:622px; width:100px; height:23px; vertical-align:middle; ">메시지 전송일</caption>
  210. <button id="btn_saveexcel" class="btn2_letter4" style="left:1125px; top:56px; width:64px; height:19px; ">
  211. <caption>엑셀저장</caption>
  212. <script type="javascript" ev:event="DOMActivate">
  213. <![CDATA[
  214. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  215. if (fileName != "")
  216. {
  217. grd_msglist.saveExcel(fileName, "SheetName", true, true, "", "", false);
  218. }
  219. ]]>
  220. </script>
  221. </button>
  222. <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; "/>
  223. <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; "/>
  224. <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; "/>
  225. <caption id="caption1" class="cell_1" style="left:465px; top:597px; width:100px; height:23px; ">송신자 연락번호</caption>
  226. <input id="input1" ref="/root/main/item/mpphonno" navindex="9" editable="false" style="left:568px; top:599px; width:162px; height:19px; text-align:center; "/>
  227. <caption id="caption4" class="cell_1" style="left:229px; top:718px; width:100px; height:23px; vertical-align:middle; ">송신자 삭제여부</caption>
  228. <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; "/>
  229. <caption id="caption5" class="cell_1" style="left:465px; top:718px; width:100px; height:23px; vertical-align:middle; ">수신자 삭제여부</caption>
  230. <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; "/>
  231. </group>
  232. </xhtml:body>
  233. </xhtml:html>