SMAEA06100_SMS전송.xrw 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443
  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. <item>
  10. </item>
  11. <main>
  12. <basecodelist>
  13. <basecodelistinfo>
  14. <basetypecd/>
  15. <baseclsflag/>
  16. <supbasetypecd/>
  17. <cdcls/>
  18. <typenm/>
  19. <refseq/>
  20. <basetypenm/>
  21. </basecodelistinfo>
  22. </basecodelist>
  23. <smscodelist>
  24. <smscodelistinfo>
  25. <basetypecd/>
  26. <baseclsflag/>
  27. <supbasetypecd/>
  28. <cdcls/>
  29. <typenm/>
  30. <refseq/>
  31. </smscodelistinfo>
  32. </smscodelist>
  33. <doctlist>
  34. <doctlistinfo>
  35. <orddrid/>
  36. <usernm/>
  37. <orddeptcd/>
  38. <fstexamrem/>
  39. <reexamrem/>
  40. </doctlistinfo>
  41. </doctlist>
  42. <rsrvprescondlist>
  43. <rsrvprescond>
  44. <acptyn/>
  45. <rsrvtm/>
  46. <pid/>
  47. <hngnm/>
  48. <age/>
  49. <prcpcd/>
  50. <prcpnm/>
  51. <usernm/>
  52. <mpphontel/>
  53. <prcpdd/>
  54. <rsrvrem/>
  55. <prcpdelivefact/>
  56. <clinccmtcnts/>
  57. <prcpgenrflag/>
  58. <execprcpstatcd/>
  59. <smsyn/>
  60. <roomcd/>
  61. <rsrvdd/>
  62. <fromdd/>
  63. <todd/>
  64. <updnm/>
  65. <cntctel/>
  66. <rsrvdd/>
  67. <execprcpuniqno/>
  68. <suppdeptcd/>
  69. <excuroomcd/>
  70. </rsrvprescond>
  71. <rsrvposstm>
  72. <rsrvtm/>
  73. <count/>
  74. <max/>
  75. </rsrvposstm>
  76. </rsrvprescondlist>
  77. </main>
  78. <send>
  79. <rsrvdd/>
  80. <suppdeptcd/>
  81. <excuroomcd/>
  82. <unexecyn>1</unexecyn>
  83. <ioflag>O</ioflag>
  84. <basetypecd/>
  85. <rsrvflag/>
  86. <baseclsflag/>
  87. <cntctel/>
  88. <supbasetypecd/>
  89. <orddeptcd/>
  90. <opatinfo/>
  91. <globalinstance>
  92. <instance1/>
  93. </globalinstance>
  94. </send>
  95. <init/>
  96. <hidden>
  97. <orddeptlist>
  98. <dept>
  99. <depthngnm/>
  100. <deptcd/>
  101. </dept>
  102. </orddeptlist>
  103. <zsd>
  104. <resultref/>
  105. </zsd>
  106. <orddr>
  107. <orddr>
  108. <usernm/>
  109. <userid/>
  110. </orddr>
  111. </orddr>
  112. <msgcnt/>
  113. </hidden>
  114. <temp>
  115. <basecodelist/>
  116. </temp>
  117. <init>
  118. <cmb_info>
  119. <suppdeptlist>
  120. <suppdept>
  121. <suppdeptcd/>
  122. <depthngnm/>
  123. </suppdept>
  124. </suppdeptlist>
  125. <orddeptcdlist>
  126. <dept>
  127. <deptcd/>
  128. <depthngnm/>
  129. </dept>
  130. </orddeptcdlist>
  131. <wardcdlist>
  132. <dept>
  133. <deptcd/>
  134. <depthngnm/>
  135. </dept>
  136. </wardcdlist>
  137. <rsrvflaglist>
  138. </rsrvflaglist>
  139. <excuroomcdlist>
  140. <excuroom>
  141. <basecd/>
  142. <basecdflagdesc/>
  143. </excuroom>
  144. </excuroomcdlist>
  145. <execridlist>
  146. <execr>
  147. <basecd/>
  148. <basecdflagdesc/>
  149. </execr>
  150. </execridlist>
  151. <rsrvidinfo>
  152. </rsrvidinfo>
  153. </cmb_info>
  154. <patinfo/>
  155. <curerprescondlist>
  156. <curerprescond>
  157. <userid/>
  158. <usernm/>
  159. </curerprescond>
  160. <rsrvcalendar>
  161. <rsrvdd/>
  162. <count/>
  163. <max/>
  164. </rsrvcalendar>
  165. <orddeptlist>
  166. <orddeptcd/>
  167. </orddeptlist>
  168. </curerprescondlist>
  169. <calenlist>
  170. <calendinfo>
  171. <basedd/>
  172. <dutflag/>
  173. </calendinfo>
  174. </calenlist>
  175. </init>
  176. <init2>
  177. <cmb_info>
  178. <initexecprcpstatcd>
  179. <M0011>
  180. <cdid/>
  181. <cdnm/>
  182. </M0011>
  183. </initexecprcpstatcd>
  184. <prcpgenrflag>
  185. </prcpgenrflag>
  186. </cmb_info>
  187. </init2>
  188. </root>
  189. </instance>
  190. <script type="javascript" ev:event="xforms-ready">
  191. <![CDATA[
  192. fInitialize();
  193. ]]>
  194. </script>
  195. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  196. <submission id="TRAEA00902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/cmb_info/excuroomcdlist"/>
  197. <submission id="TRAEA06100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rsrvprescondlist"/>
  198. <submission id="TRMNO00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/smscodelist"/>
  199. <submission id="TRMNO00800" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/basecodelist"/>
  200. <submission id="TRAEA00904" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/cmb_info/suppdeptlist"/>
  201. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  202. <submission id="TRAEA01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init1/cmb_info"/>
  203. <submission id="TRAEA01115" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init2/cmb_info"/>
  204. <submission id="TXAEA06100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rsrvprescondlist"/>
  205. </model>
  206. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  207. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  208. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  209. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  210. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  211. <script type="javascript" src="../../../ast/examcureweb/js/SMAEA06100.js"/>
  212. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  213. <script type="javascript">
  214. <![CDATA[
  215. ]]>
  216. </script>
  217. </xhtml:head>
  218. <xhtml:body guideline="1,1195;1,5;1,1194;1,554;2,785;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  219. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  220. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  221. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  222. <select1 id="cmb_suppdept" ref="/root/send/suppdeptcd" class="combo_search" disabled="false" appearance="minimal" style="left:290px; top:8px; width:120px; height:19px; ">
  223. <choices>
  224. <itemset nodeset="/root/init/cmb_info/suppdeptlist/suppdept">
  225. <label ref="depthngnm"/>
  226. <value ref="suppdeptcd"/>
  227. </itemset>
  228. </choices>
  229. <script type="javascript" ev:event="xforms-value-changed">
  230. <![CDATA[
  231. model.setValue("/root/send/globalinstance/instance1", model.getValue("/root/send/suppdeptcd"));
  232. model.setValue("/root/send/excuroomcd", "");
  233. submit("TRAEA00902", false);
  234. model.setValue("/root/send/orddeptcd", model.getValue("/root/send/suppdeptcd")); // 근무지부서코드
  235. fBaseCodeSearch("B"); // 전송구분 조회
  236. // model.removeNodeset("/root/main/opatlist/opatlist");
  237. model.refresh();
  238. ]]>
  239. </script>
  240. </select1>
  241. <caption id="caption5" class="search_name" style="left:201px; top:9px; width:86px; height:17px; ">지원부서 :</caption>
  242. <button id="btn_sea" class="btn1_letter2" style="left:1133px; top:7px; width:56px; height:22px; ">
  243. <caption>조회</caption>
  244. <script type="javascript" ev:event="DOMActivate">
  245. <![CDATA[
  246. submit("TRAEA06100");
  247. ]]>
  248. </script>
  249. </button>
  250. <line id="line13" class="line_4" style="x1:1127px; y1:7px; x2:1127px; y2:29px; "/>
  251. <caption id="caption3" class="search_name" style="left:10px; top:9px; width:91px; height:17px; ">예약일자 :</caption>
  252. <input id="ipt_rsrvdd" ref="/root/send/rsrvdd" class="input_search" inputtype="date" style="left:100px; top:8px; width:90px; height:19px; ">
  253. <script type="javascript" ev:event="xforms-value-changed">
  254. <![CDATA[
  255. //btn_sea.dispatch("DOMActivate");
  256. ]]>
  257. </script>
  258. </input>
  259. <caption id="caption2" class="search_name" style="left:418px; top:9px; width:106px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">검사/치료실 :</caption>
  260. <select1 id="cmb_excuroom" ref="/root/send/excuroomcd" class="combo_search" appearance="minimal" editmode="inputsearch" style="left:525px; top:8px; width:115px; height:19px; ">
  261. <choices>
  262. <itemset nodeset="/root/init/cmb_info/excuroomcdlist/excuroom">
  263. <label ref="basecdflagdesc"/>
  264. <value ref="basecd"/>
  265. </itemset>
  266. </choices>
  267. <script type="javascript" ev:event="xforms-value-changed">
  268. <![CDATA[
  269. // btn_sea.dispatch("DOMActivate");
  270. ]]>
  271. </script>
  272. </select1>
  273. <caption id="caption10" class="search_name" style="left:875px; top:9px; width:88px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">실시여부 :</caption>
  274. <caption id="caption8" class="search_name" style="left:645px; top:9px; width:60px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">구분 :</caption>
  275. <select1 id="rdo_ioflag" ref="/root/send/ioflag" navindex="1" appearance="full" cols="3" overflow="visible" style="left:710px; top:9px; width:145px; height:17px; border-style:none; ">
  276. <choices>
  277. <item>
  278. <label>외래</label>
  279. <value>O</value>
  280. </item>
  281. <item>
  282. <label>건진</label>
  283. <value>S</value>
  284. </item>
  285. <item>
  286. <label>전체</label>
  287. <value>A</value>
  288. </item>
  289. </choices>
  290. </select1>
  291. <select1 id="rbo_gb" ref="/root/send/unexecyn" navindex="1" appearance="full" cols="3" overflow="visible" style="left:962px; top:9px; width:145px; height:19px; border-style:none; ">
  292. <choices>
  293. <item>
  294. <label>전체</label>
  295. <value/>
  296. </item>
  297. <item>
  298. <label>미실시</label>
  299. <value>1</value>
  300. </item>
  301. <item>
  302. <label>실시</label>
  303. <value>2</value>
  304. </item>
  305. </choices>
  306. </select1>
  307. </group>
  308. <caption id="caption1" class="tit_2" style="left:459px; top:56px; width:118px; height:13px; ">전송 대상자 조회</caption>
  309. <line id="line1" class="line_1" style="x1:454px; y1:71px; x2:1194px; y2:71px; "/>
  310. <button id="button2" class="btn2_letter2" style="left:1152px; top:51px; width:42px; height:19px; ">
  311. <caption>전송</caption>
  312. <script type="javascript" ev:event="DOMActivate">
  313. <![CDATA[
  314. fCallMngtInfo();
  315. ]]>
  316. </script>
  317. </button>
  318. <button id="button3" class="btn2_letter6" style="left:1064px; top:51px; width:86px; height:19px; ">
  319. <caption>전송결과조회</caption>
  320. <script type="javascript" ev:event="DOMActivate">
  321. <![CDATA[
  322. //alert(" 추후 개발예정 입니다");
  323. modal("SMAEA06200","1","15","128");
  324. ]]>
  325. </script>
  326. </button>
  327. <caption id="caption4" class="tit_2" style="left:8px; top:56px; width:118px; height:13px; ">메시지 작성</caption>
  328. <caption id="caption13" class="cell_1" style="left:0px; top:76px; width:85px; height:23px; text-align:center; vertical-align:middle; ">전송구분</caption>
  329. <line id="line2" class="line_1" style="x1:0px; y1:71px; x2:450px; y2:71px; "/>
  330. <caption id="caption7" class="tit_2" style="left:8px; top:260px; width:118px; height:13px; ">전송내역 리스트</caption>
  331. <textarea id="textarea1" ref="/root/item" maxlength="40" style="left:0px; top:100px; width:450px; height:134px; text-align:left; vertical-align:middle; padding-left:10; ">
  332. <script type="javascript" ev:event="onkeyup">
  333. <![CDATA[
  334. model.makeValue("/root/hidden/msgcnt",(textarea1.currentText).length);
  335. opt_msgcnt.refresh();
  336. ]]>
  337. </script>
  338. </textarea>
  339. <line id="line3" class="line_2" style="x1:0px; y1:98px; x2:450px; y2:98px; "/>
  340. <line id="line4" class="line_3" style="x1:0px; y1:236px; x2:450px; y2:236px; "/>
  341. <line id="line5" class="line_1" style="x1:0px; y1:275px; x2:450px; y2:275px; "/>
  342. <datagrid id="grd_baselist" nodeset="/root/main/basecodelist/basecodelistinfo" autoresize="true" caption="전송구분^상용문구" colsep="^" colwidth="79, 346" mergecellsfixedrows="bycolrec" rowheight="28" rowsep="|" style="left:0px; top:280px; width:450px; height:463px; ">
  343. <col ref="basetypenm" style="text-align:center; "/>
  344. <col ref="typenm" style="text-align:left; "/>
  345. <script type="javascript" ev:event="onclick">
  346. <![CDATA[
  347. var iRow = grd_baselist.row;
  348. if(iRow < 1) return;
  349. model.setValue("/root/item", model.getValue("/root/main/basecodelist/basecodelistinfo["+iRow+"]/typenm"));
  350. model.makeValue("/root/hidden/msgcnt",(model.getValue("/root/main/basecodelist/basecodelistinfo["+iRow+"]/typenm")).length);
  351. model.refresh();
  352. ]]>
  353. </script>
  354. </datagrid>
  355. <datagrid id="grd_rsrvlist" nodeset="/root/main/rsrvprescondlist/rsrvprescond" caption="^예약시간^등록번호^환자명^S/A^입/외^처방상태^전송^휴대전화번호^처방코드^처방명^진료과(진료의)^처방일시^예약사항^처방전달사항^임상소견" colsep="^" colwidth="22, 55, 57, 58, 45, 54, 58, 50, 92, 73, 198, 137, 123, 118, 109, 100, 60" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:455px; top:75px; width:739px; height:650px; ">
  356. <col checkvalue="Y,N" ref="acptyn" type="checkbox"/>
  357. <col ref="rsrvtm" format="hh:nn" style="text-align:center; "/>
  358. <col ref="pid"/>
  359. <col ref="hngnm"/>
  360. <col ref="age" style="text-align:center; "/>
  361. <col disabled="true" ref="prcpgenrflag" type="combo">
  362. <choices>
  363. <itemset nodeset="/root/init2/cmb_info/prcpgenrflag/M0010">
  364. <label ref="cdnm"/>
  365. <value ref="cdid"/>
  366. </itemset>
  367. </choices>
  368. </col>
  369. <col disabled="true" ref="execprcpstatcd" type="combo">
  370. <choices>
  371. <itemset nodeset="/root/init2/cmb_info/initexecprcpstatcd/M0011">
  372. <label ref="cdnm"/>
  373. <value ref="cdid"/>
  374. </itemset>
  375. </choices>
  376. </col>
  377. <col ref="smsyn" style="font-weight:bold; color:#ff0000; text-align:center; "/>
  378. <col ref="mpphontel" style="text-align:center; "/>
  379. <col ref="prcpcd"/>
  380. <col ref="prcpnm"/>
  381. <col ref="usernm"/>
  382. <col ref="prcpdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  383. <col ref="rsrvrem"/>
  384. <col ref="prcpdelivefact"/>
  385. <col ref="clinccmtcnts"/>
  386. <col ref="roomcd" visibility="hidden"/>
  387. <col ref="cntctel" visibility="hidden"/>
  388. <col ref="prcpdd" visibility="hidden"/>
  389. <col ref="rsrvdd" visibility="hidden"/>
  390. <col ref="execprcpuniqno" visibility="hidden"/>
  391. <col ref="rsrvdd" visibility="hidden"/>
  392. <col ref="suppdeptcd" visibility="hidden"/>
  393. <col ref="excuroomcd" visibility="hidden"/>
  394. <script type="javascript" ev:event="onaftersort">
  395. <![CDATA[
  396. grd_rsrvlist.gridToInstance();
  397. ]]>
  398. </script>
  399. <script type="javascript" ev:event="onclick">
  400. <![CDATA[
  401. model.refresh();
  402. ]]>
  403. </script>
  404. </datagrid>
  405. <button id="button4" class="btn2_letter6" style="left:975px; top:50px; width:86px; height:19px; ">
  406. <caption>상용문구관리</caption>
  407. <script type="javascript" ev:event="DOMActivate">
  408. <![CDATA[
  409. var sParam_Data = "O";
  410. setParameter("SMMNO00800_Param",sParam_Data);
  411. modal("SMMNO00800","1","15","128");
  412. //modal("SMMNO00800");
  413. ]]>
  414. </script>
  415. </button>
  416. <select1 id="cmb_sendgb" ref="/root/send/supbasetypecd" class="combo_default" appearance="minimal" style="left:88px; top:77px; width:100px; height:19px; ">
  417. <choices>
  418. <itemset nodeset="/root/main/smscodelist/smscodelistinfo">
  419. <label ref="typenm"/>
  420. <value ref="basetypecd"/>
  421. </itemset>
  422. </choices>
  423. <script type="javascript" ev:event="xforms-value-changed">
  424. <![CDATA[
  425. fGubnChanged();
  426. ]]>
  427. </script>
  428. </select1>
  429. <input id="ipt_cntctel" ref="/root/send/cntctel" class="input_default" validateformat="true" style="left:274px; top:77px; width:100px; height:19px; "/>
  430. <caption id="cap_bfrecuser" class="cell_1" style="left:191px; top:76px; width:80px; height:23px; text-align:center; vertical-align:middle; ">발신번호</caption>
  431. <caption id="caption120" style="left:415px; top:74px; width:35px; height:25px; vertical-align:middle; ">/40자</caption>
  432. <output id="opt_msgcnt" ref="/root/hidden/msgcnt" validateformat="true" style="left:379px; top:77px; width:36px; height:19px; text-align:right; "/>
  433. </group>
  434. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">SMS 전송</caption>
  435. <group id="grp_btn" style="left:0px; top:13px; width:1195px; height:27px; ">
  436. <line id="line6" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  437. </group>
  438. </xhtml:body>
  439. </xhtml:html>