SMAEA06200_SMS전송결과조회.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  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>SMS 전송결과 조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <smslist>
  11. <smslist>
  12. <trsmflag/>
  13. <trsmreqdt/>
  14. <pid/>
  15. <recvrnm/>
  16. <recvrtelno/>
  17. <msgcnts/>
  18. <fstrgstrnm/>
  19. <msgstate/>
  20. <mtstrsmdt/>
  21. <msgstatenm/>
  22. <trsmflagnm/>
  23. </smslist>
  24. </smslist>
  25. <smscodelist>
  26. <smscodelistinfo>
  27. <basetypecd/>
  28. <baseclsflag/>
  29. <supbasetypecd/>
  30. <cdcls/>
  31. <typenm/>
  32. <refseq/>
  33. </smscodelistinfo>
  34. </smscodelist>
  35. <cond>
  36. <fromdd/>
  37. <todd/>
  38. <pid/>
  39. <hngnm/>
  40. <basetypecd/>
  41. <baseclsflag>O</baseclsflag>
  42. <supbasetypecd/>
  43. <orddeptcd/>
  44. <ordclsdeptflag/>
  45. <suppdeptcd/>
  46. </cond>
  47. </main>
  48. <send>
  49. <req/>
  50. <printdata/>
  51. <globalinstance>
  52. <instance1/>
  53. </globalinstance>
  54. </send>
  55. <init>
  56. <comcd/>
  57. <cmb_info>
  58. <suppdeptlist>
  59. <suppdept>
  60. <suppdeptcd/>
  61. <depthngnm/>
  62. </suppdept>
  63. </suppdeptlist>
  64. <orddeptcdlist>
  65. <dept>
  66. <deptcd/>
  67. <depthngnm/>
  68. </dept>
  69. </orddeptcdlist>
  70. <wardcdlist>
  71. <dept>
  72. <deptcd/>
  73. <depthngnm/>
  74. </dept>
  75. </wardcdlist>
  76. <rsrvflaglist>
  77. </rsrvflaglist>
  78. <excuroomcdlist>
  79. <excuroom>
  80. <basecd/>
  81. <basecdflagdesc/>
  82. </excuroom>
  83. </excuroomcdlist>
  84. <execridlist>
  85. <execr>
  86. <basecd/>
  87. <basecdflagdesc/>
  88. </execr>
  89. </execridlist>
  90. <rsrvidinfo>
  91. </rsrvidinfo>
  92. </cmb_info>
  93. </init>
  94. <hidden>
  95. <zsd>
  96. <resultref/>
  97. </zsd>
  98. <comcd/>
  99. <orddeptlist>
  100. <dept>
  101. <depthngnm/>
  102. <deptcd/>
  103. </dept>
  104. </orddeptlist>
  105. </hidden>
  106. </root>
  107. </instance>
  108. <script type="javascript" ev:event="xforms-ready">
  109. <![CDATA[
  110. fInitialize();
  111. ]]>
  112. </script>
  113. <submission id="TRZBC00101" method="post" replace="instance"/>
  114. <submission id="TRAEA06200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/smslist"/>
  115. <submission id="TRMNO00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/smscodelist"/>
  116. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="urlencoded-post"/>
  117. <submission id="TRZSD00206" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  118. <submission id="TRAEA00904" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cond" resultref="/root/init/cmb_info/suppdeptlist"/>
  119. </model>
  120. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  121. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  122. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  123. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  124. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  125. <script type="javascript" src="../../../ast/examcureweb/js/SMAEA06200.js"/>
  126. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  127. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  128. </xhtml:head>
  129. <xhtml:body guideline="1,1195;1,5;1,1194;2,757;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  130. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  131. <group id="grp_sea" style="left:0px; top:5px; width:1194px; height:60px; vertical-align:top; ">
  132. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  133. <caption id="caption5" class="search_name" style="left:216px; top:9px; width:91px; height:17px; ">전송구분 :</caption>
  134. <caption id="caption2" class="search_name" style="left:445px; top:9px; width:86px; height:17px; ">조회일자 :</caption>
  135. <line id="line13" class="line_4" style="x1:960px; y1:10px; x2:960px; y2:52px; "/>
  136. <input id="input5" ref="/root/main/cond/fromdd" class="input_search" inputtype="date" style="left:540px; top:8px; width:100px; height:19px; "/>
  137. <input id="input1" ref="/root/main/cond/todd" class="input_search" inputtype="date" style="left:665px; top:8px; width:100px; height:19px; "/>
  138. <caption id="caption7" class="search_no_b" style="left:647px; top:8px; width:12px; height:17px; ">~</caption>
  139. <input id="input2" ref="/root/main/cond/pid" class="input_search" maxlength="10" style="left:170px; top:35px; width:85px; height:19px; ">
  140. <hint>
  141. <![CDATA[등록번호 : 숫자 10자리나 한글2자이상을 입력하세요]]>
  142. </hint>
  143. <script type="javascript" ev:event="onkeyup">
  144. <![CDATA[
  145. if(event.keyCode == 13) {
  146. inputEnterKey("button3", "DOMActivate");
  147. model.resetInstanceNode("/root/main/cond/pid");
  148. model.resetInstanceNode("/root/main/cond/hngnm");
  149. input2.refresh();
  150. input3.refresh();
  151. }
  152. ]]>
  153. </script>
  154. </input>
  155. <button id="button3" class="btn1_letter2" style="left:975px; top:20px; width:56px; height:22px; ">
  156. <caption>조회</caption>
  157. <script type="javascript" ev:event="DOMActivate">
  158. <![CDATA[
  159. fBtnRefClicked();
  160. ]]>
  161. </script>
  162. </button>
  163. <caption id="caption1" class="search_name" style="left:16px; top:35px; width:149px; height:17px; ">개별조회 등록번호 :</caption>
  164. <caption id="caption3" class="search_name" style="left:286px; top:35px; width:79px; height:17px; ">환자명 :</caption>
  165. <input id="input3" ref="/root/main/cond/hngnm" class="input_search" imemode="hangul" maxlength="20" style="left:365px; top:35px; width:90px; height:19px; ">
  166. <hint>
  167. <![CDATA[등록번호 : 숫자 10자리나 한글2자이상을 입력하세요]]>
  168. </hint>
  169. <script type="javascript" ev:event="onkeyup">
  170. <![CDATA[
  171. if(event.keyCode == 13) {
  172. inputEnterKey("button3", "DOMActivate");
  173. model.resetInstanceNode("/root/main/cond/pid");
  174. model.resetInstanceNode("/root/main/cond/hngnm");
  175. input2.refresh();
  176. input3.refresh();
  177. }
  178. ]]>
  179. </script>
  180. </input>
  181. <caption id="caption4" class="hand_search" style="left:489px; top:35px; width:264px; height:15px; ">최근 등록순 으로 1,000 건을 조회합니다</caption>
  182. <button id="btn_saveexcel" class="btn1_letter4" style="left:1034px; top:20px; width:80px; height:17px; ">
  183. <caption>엑셀저장</caption>
  184. <script type="javascript" ev:event="onclick">
  185. <![CDATA[
  186. fSaveExcel();
  187. ]]>
  188. </script>
  189. </button>
  190. <button id="btn_print" class="btn1_letter2" style="left:1117px; top:20px; width:56px; height:17px; ">
  191. <caption>출력</caption>
  192. <script type="javascript" ev:event="onclick">
  193. <![CDATA[
  194. fClickPrint();
  195. ]]>
  196. </script>
  197. </button>
  198. <select1 id="cmb_sendgb" ref="/root/main/cond/supbasetypecd" class="combo_search" appearance="minimal" style="left:305px; top:8px; width:100px; height:19px; ">
  199. <choices>
  200. <itemset nodeset="/root/main/smscodelist/smscodelistinfo">
  201. <label ref="typenm"/>
  202. <value ref="basetypecd"/>
  203. </itemset>
  204. </choices>
  205. <script type="javascript" ev:event="xforms-value-changed">
  206. <![CDATA[
  207. fBtnRefClicked();
  208. ]]>
  209. </script>
  210. </select1>
  211. <caption id="caption8" class="search_name" style="left:16px; top:10px; width:91px; height:17px; ">전송과 :</caption>
  212. <select1 id="cmb_orddeptcd" ref="/root/main/cond/orddeptcd" class="combo_search" visibility="hidden" appearance="minimal" style="left:825px; top:10px; width:100px; height:19px; ">
  213. <choices>
  214. <itemset nodeset="/root/hidden/orddeptlist/dept">
  215. <label ref="depthngnm"/>
  216. <value ref="deptcd"/>
  217. </itemset>
  218. </choices>
  219. <script type="javascript" ev:event="xforms-value-changed">
  220. <![CDATA[
  221. var sordclsdeptflag = model.getValue("/root/hidden/orddeptlist/dept[deptcd = '"+model.getValue("/root/main/cond/orddeptcd")+"']/ordclsdeptflag"); // 센터/대표/분과/서브 구분
  222. var ssupdeptcd = model.getValue("/root/hidden/orddeptlist/dept[deptcd = '"+model.getValue("/root/main/cond/orddeptcd")+"']/supdeptcd"); // 상위부서코드
  223. model.setValue("/root/main/cond/ordclsdeptflag",sordclsdeptflag);
  224. model.setValue("/root/main/cond/supdeptcd",ssupdeptcd);
  225. fBaseCodeSearch("B"); // 전송구분 조회
  226. cmb_sendgb.select(0);
  227. fBtnRefClicked();
  228. // alert("왜안타");
  229. ]]>
  230. </script>
  231. </select1>
  232. <select1 id="cmb_suppdept" ref="/root/main/cond/suppdeptcd" class="combo_search" disabled="false" appearance="minimal" style="left:90px; top:10px; width:120px; height:19px; ">
  233. <choices>
  234. <itemset nodeset="/root/init/cmb_info/suppdeptlist/suppdept">
  235. <label ref="depthngnm"/>
  236. <value ref="suppdeptcd"/>
  237. </itemset>
  238. </choices>
  239. <script type="javascript" ev:event="xforms-value-changed">
  240. <![CDATA[
  241. //model.setValue("/root/send/globalinstance/instance1", model.getValue("/root/send/suppdeptcd"));
  242. //submit("TRAEA00902", false); //검사실
  243. model.setValue("/root/send/orddeptcd", model.getValue("/root/send/suppdeptcd")); // 근무지부서코드
  244. fBaseCodeSearch("B"); // 전송구분 조회
  245. // model.removeNodeset("/root/main/opatlist/opatlist");
  246. model.refresh();
  247. ]]>
  248. </script>
  249. </select1>
  250. </group>
  251. <line id="line1" class="line_1" style="x1:0px; y1:71px; x2:1194px; y2:71px; "/>
  252. <datagrid id="grd_smslist" nodeset="/root/main/smslist/smslist" caption="진료과^전송구분^전송일시^등록번호^환자명^수신자전화번호^전송내용^전송자^전송상태^메세지전달일시" colsep="^" colwidth="90, 76, 124, 66, 72, 95, 354, 74, 80, 124" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="29" rowsep="|" style="left:0px; top:76px; width:1194px; height:668px; ">
  253. <col ref="orddeptnm" style="text-align:center; "/>
  254. <col ref="trsmflagnm" style="text-align:center; "/>
  255. <col ref="trsmreqdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  256. <col ref="pid"/>
  257. <col ref="recvrnm" style="text-align:center; "/>
  258. <col ref="recvrtelno" style="text-align:center; "/>
  259. <col ref="msgcnts"/>
  260. <col ref="fstrgstrnm" style="text-align:center; "/>
  261. <col ref="msgstate" type="combo" style="text-align:center; ">
  262. <choices>
  263. <itemset nodeset="/root/init/comcd/Z0008">
  264. <label ref="cdnm"/>
  265. <value ref="cdid"/>
  266. </itemset>
  267. </choices>
  268. </col>
  269. <col ref="mtstrsmdt" format="yyyy-mm-dd hh:nn:ss"/>
  270. </datagrid>
  271. </group>
  272. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">SMS 전송결과 조회</caption>
  273. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; "/>
  274. </xhtml:body>
  275. </xhtml:html>