SMCSN00500_기관별SMS전송통계.xrw 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <statlist/>
  12. </list>
  13. </main>
  14. <send>
  15. <data>
  16. <fromdd/>
  17. <todd/>
  18. <srchvsinstcd/>
  19. <srchcond/>
  20. <year/>
  21. <month/>
  22. <srchbizflag/>
  23. <srchbizdetlcd/>
  24. <logo_pic/>
  25. </data>
  26. </send>
  27. <init>
  28. <A0607list>
  29. <A0607>
  30. <cdnm/>
  31. <cdid/>
  32. </A0607>
  33. </A0607list>
  34. <C0028list>
  35. <C0028>
  36. <cdnm/>
  37. <cdid/>
  38. </C0028>
  39. </C0028list>
  40. </init>
  41. <hidden>
  42. <itemset>
  43. <item>
  44. <lbl/>
  45. <val/>
  46. </item>
  47. </itemset>
  48. </hidden>
  49. <temp>
  50. <printlist>
  51. </printlist>
  52. </temp>
  53. </root>
  54. </instance>
  55. <script type="javascript" ev:event="xforms-ready">
  56. <![CDATA[
  57. // 공통코드 조회
  58. zbcfGetCodeList(new Array("A0607", "C0028"), new Array("/root/init/A0607list", "/root/init/C0028list"), false);
  59. fInsertInstance("C0028", "전체", "");
  60. var syscd = "CRM" + getUserInfo("dutplceinstcd");
  61. var piclogo = getLogoImageURL(syscd);
  62. model.setValue("/root/send/data/logo_pic", piclogo);
  63. fInitialize();
  64. model.refresh();
  65. ]]>
  66. </script>
  67. <submission id="TRZBC00101" method="post" replace="instance"/>
  68. <bind id="bind1" ref="/root/main/list/msglist/isselected" readonly="../rsrvyn = '0' or (../rsrvyn = '1' and ../msgstate != 'ZM00')"/>
  69. <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  70. <submission id="TRCSN00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" resultref="/root/main/list"/>
  71. </model>
  72. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  73. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  74. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  75. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  76. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  77. <script type="javascript" src="../../../com/shortmsgweb/js/ZMS00400.js"/>
  78. <script type="javascript" src="../../../com/shortmsgweb/js/ZMS001.js"/>
  79. <script type="javascript">
  80. <![CDATA[
  81. function fInitialize(){
  82. // 그리드 공라인 없애기
  83. model.removeNodeset("/root/main/list01/griduncoinfo");
  84. model.refresh();
  85. var curDate = getCurrentDate();
  86. var currentYear = getNewDate().getFullYear();
  87. var currentMonth= getNewDate().getMonth() + 1;
  88. var currentMonth = (("" + currentMonth).length == 1) ? "0" + currentMonth : "" + currentMonth;
  89. var piclogo = getLogoImageURL();
  90. makeSrchYearItem();
  91. model.setValue("/root/send/data/fromdd",curDate);
  92. model.setValue("/root/send/data/todd",curDate);
  93. model.setValue("/root/send/data/year", currentYear);
  94. model.setValue("/root/send/data/month", currentMonth);
  95. model.setValue("/root/send/data/logo_pic", piclogo);
  96. // btn_save.disabled = !checkAuth("X");
  97. // makeReportPreview(0,112,1195,630);
  98. // submit("TRCSN00102");
  99. }
  100. function fInsertInstance(cdGroupID, codeName, codeID) {
  101. //model.refresh();
  102. model.copyNode("/root/hidden/comcd","/root/init/comcd");
  103. var nodelist = instance1.selectNodes("/root/hidden/comcd/"+cdGroupID);
  104. var newNode = instance1.createNode("element", cdGroupID, "");
  105. var childnode1 = instance1.createNode("element", "cdid", "");
  106. var childnode2 = instance1.createNode("element", "cdnm", "");
  107. newNode.appendChild(childnode1);
  108. newNode.appendChild(childnode2);
  109. if (nodelist.length > 0)
  110. {
  111. var currNode = root.hidden.comcd.insertBefore(newNode, nodelist.item(0));
  112. model.setValue("/root/hidden/comcd/"+cdGroupID+"[1]/cdnm", codeName);
  113. model.setValue("/root/hidden/comcd/"+cdGroupID+"[1]/cdid", codeID);
  114. }
  115. }
  116. function makeSrchYearItem() {
  117. // item 초기화
  118. model.removeNodeset("/root/hidden/itemset/item");
  119. // Temp Item Node 생성
  120. var tmpItemNode = instance1.createNode("element", "item", "");
  121. var tmpLabelNode = instance1.createNode("element", "lbl", "");
  122. var tmpValueNode = instance1.createNode("element", "val", "");
  123. tmpItemNode.appendChild(tmpLabelNode);
  124. tmpItemNode.appendChild(tmpValueNode);
  125. // 현재 Year
  126. var curYear = getNewDate().getFullYear();
  127. // 초기 데이타가 2007년부터 있으므로
  128. var minYear = "2007"
  129. // Item Node
  130. var itemNode = null;
  131. for( var i = curYear; i >= minYear; i-- ) {
  132. tmpItemNode.lbl.text = i;
  133. tmpItemNode.val.text = i;
  134. // Temp Item Node 복사
  135. itemNode = tmpItemNode.cloneNode(true);
  136. model.duplicate("/root/hidden/itemset", itemNode);
  137. }
  138. cmb_years.refresh();
  139. cmb_month.refresh();
  140. }
  141. // 시스템코드, 메시지종료, 메시지 번호가 입력되면 이들을 조합하여 메시지코드를 설정한다.
  142. function fSetMessageCode() {
  143. var syscd = model.getValue("/root/main/item/syscd");
  144. var msgkind = model.getValue("/root/main/item/msgkind");
  145. var msgno = model.getValue("/root/main/item/msgno");
  146. var msgcd = syscd + "." + msgkind + "." + msgno;
  147. model.setValue("/root/main/item/msgcd",msgcd);
  148. model.refresh();
  149. }
  150. function fGetStatList(){
  151. // 전송할 send 데이터 작성
  152. var year = model.getValue("/root/send/data/year");
  153. var month = model.getValue("/root/send/data/month");
  154. var srchcond = model.getValue("/root/send/data/srchcond");
  155. var fromdd = model.getValue("/root/send/data/fromdd");
  156. var todd = model.getValue("/root/send/data/todd");
  157. if (srchcond != "Y") // 전송일자일 경우
  158. {
  159. if (fromdd == "" && todd == "")
  160. {
  161. messageBox("전송일자를 ", "C001");
  162. return; // 리턴함
  163. }
  164. else if (fromdd > todd)
  165. {
  166. messageBox("시작일자가 종료일자보다 앞서있습니다. 수정해주십시오.", "E999");
  167. return;// 리턴함
  168. }
  169. else if (todd - fromdd > 10000)
  170. {
  171. messageBox("검색기간은 1년을 초과할 수 없습니다. 수정해주십시오.", "E999");
  172. return;// 리턴함
  173. }
  174. }
  175. else // 년/월일경우
  176. {
  177. // 해당월의 처음일자
  178. fromdd = year.toString() + month.toString() + "01";
  179. // 해당월의 마지막일자
  180. newDateObj = new Date(year, month, 0) ;
  181. todd = year.toString() + month.toString() + newDateObj.getDate();
  182. }
  183. //전송 할 값을 세팅
  184. model.setValue("/root/send/data/srchcond", fromdd);
  185. model.setValue("/root/send/data/todd", todd);
  186. if(submit("TRCSN00501")){
  187. }
  188. }
  189. ]]>
  190. </script>
  191. </xhtml:head>
  192. <xhtml:body guideline="1,1360;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  193. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  194. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">기관별 SMS 전송통계</caption>
  195. </group>
  196. <group id="group4" scroll="auto" style="left:0px; top:750px; width:1195px; height:27px; ">
  197. <button id="btn_init" class="btn4_letter3" style="left:1126px; top:3px; width:68px; height:22px; ">
  198. <caption>초기화</caption>
  199. <script type="javascript" ev:event="DOMActivate">
  200. <![CDATA[
  201. fInitialize();
  202. ]]>
  203. </script>
  204. </button>
  205. <line id="line32" class="line_6" style="x1:0px; y1:20px; x2:1194px; y2:20px; "/>
  206. <button id="btn_report13" class="btn4_letter3" visibility="hidden" style="left:1042px; top:3px; width:68px; height:22px; ">
  207. <caption>보고서</caption>
  208. <script type="javascript" ev:event="DOMActivate">
  209. <![CDATA[
  210. /*
  211. var sPrintYN = "false"; // 출력 여부
  212. var sAutoCloseYN = "false"; // 미리보기 창닫기
  213. var iCount = getNodesetCount("/root/main/list/statlist");
  214. if (iCount > 0) {
  215. model.makeNode("/root/temp/printlist/fromdd");
  216. model.makeNode("/root/temp/printlist/todd");
  217. model.makeNode("/root/temp/printlist/year");
  218. model.makeNode("/root/temp/printlist/month");
  219. model.makeNode("/root/temp/printlist/logo_pic");
  220. model.makeValue("/root/temp/printlist/fromdd", model.getValue("/root/send/data/fromdd"));
  221. model.makeValue("/root/temp/printlist/todd", model.getValue("/root/send/data/todd"));
  222. model.makeValue("/root/temp/printlist/year", model.getValue("/root/send/data/year"));
  223. model.makeValue("/root/temp/printlist/month", model.getValue("/root/send/data/month"));
  224. model.makeValue("/root/temp/printlist/logo_pic", model.getValue("/root/send/data/logo_pic"));
  225. for (i = 1; i <= getNodesetCount("/root/main/list/statlist"); i++) {
  226. model.makeValue("/root/temp/printlist[" + i + "]/delivedd",grd_statlist.labelmatrix(i, 0));
  227. model.makeValue("/root/temp/printlist[" + i + "]/trsmcntcnt",grd_statlist.labelmatrix(i, 1));
  228. model.makeValue("/root/temp/printlist[" + i + "]/rsrtrsmcnt",grd_statlist.labelmatrix(i, 2));
  229. model.makeValue("/root/temp/printlist[" + i + "]/pssvtytrsmcnt",grd_statlist.labelmatrix(i, 3));
  230. model.makeValue("/root/temp/printlist[" + i + "]/succdcntcnt",grd_statlist.labelmatrix(i, 4));
  231. model.makeValue("/root/temp/printlist[" + i + "]/succdrate",grd_statlist.labelmatrix(i, 5));
  232. model.makeValue("/root/temp/printlist[" + i + "]/numbererrcnt",grd_statlist.labelmatrix(i, 6));
  233. model.makeValue("/root/temp/printlist[" + i + "]/timeoverlapexemptcnt",grd_statlist.labelmatrix(i, 7));
  234. model.makeValue("/root/temp/printlist[" + i + "]/overlapmsgcnt",grd_statlist.labelmatrix(i, 8));
  235. model.makeValue("/root/temp/printlist[" + i + "]/trsmingcnt",grd_statlist.labelmatrix(i, 9));
  236. model.makeValue("/root/temp/printlist[" + i + "]/errcnt",grd_statlist.labelmatrix(i, 10));
  237. model.makeValue("/root/temp/printlist[" + i + "]/wrongnumcnt",grd_statlist.labelmatrix(i, 11));
  238. model.makeValue("/root/temp/printlist[" + i + "]/termerrcnt",grd_statlist.labelmatrix(i, 12));
  239. model.makeValue("/root/temp/printlist[" + i + "]/norespcnt",grd_statlist.labelmatrix(i, 13));
  240. model.makeValue("/root/temp/printlist[" + i + "]/mrejectcnt",grd_statlist.labelmatrix(i, 14));
  241. model.makeValue("/root/temp/printlist[" + i + "]/retrsmcnt",grd_statlist.labelmatrix(i, 15));
  242. model.makeValue("/root/temp/printlist[" + i + "]/txqexpirecnt",grd_statlist.labelmatrix(i, 16));
  243. model.makeValue("/root/temp/printlist[" + i + "]/rrejectcnt",grd_statlist.labelmatrix(i, 17));
  244. model.makeValue("/root/temp/printlist[" + i + "]/etc",grd_statlist.labelmatrix(i, 18));
  245. }
  246. exeReportPreview("RPCSN00501_기관별SMS전송통계", "XMLSTR", "", "", sPrintYN , "", "", "", "", sAutoCloseYN, "", "", "", "", "", "", "", "", "", "", "");
  247. } else {
  248. messageBox("출력할 보고서 내용이 없습니다!!", "I");
  249. }
  250. */
  251. ]]>
  252. </script>
  253. </button>
  254. </group>
  255. <group id="group5" scroll="auto" style="left:0px; top:12px; width:1195px; height:740px; ">
  256. <caption id="caption26" class="tit_2" style="left:6px; top:102px; width:174px; height:13px; ">SMS 전송통계</caption>
  257. <line id="line9" class="line_1" style="x1:0px; y1:118px; x2:1194px; y2:118px; "/>
  258. <line id="line12" class="line_3" style="x1:0px; y1:735px; x2:1194px; y2:735px; "/>
  259. <datagrid id="grd_statlist" nodeset="/root/main/list/statlist" allowselection="true" caption="일자^발송전체건수^업무구분^업무구분^성공건수^성공율^기타^기타^기타^전송중^전송실패^전송실패 세부내역^전송실패 세부내역^전송실패 세부내역^전송실패 세부내역^전송실패 세부내역^전송실패 세부내역^전송실패 세부내역^전송실패 세부내역|일자^발송전체건수^예약전송^수동전송^성공건수^성공율^번호오류^시간중복^중복메시지^전송중^전송실패^결번^단말기오류^무응답^메시지수신거부^재전송오류^TXQ Expire^거부됨^기타오류" colwidth="140, 91, 70, 70, 77, 55, 70, 70, 70, 61, 66, 72, 90, 100, 100, 100, 82, 82, 83" dataheight="25" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="25" style="left:0px; top:121px; width:1194px; height:614px; text-align:center; border-color:#808080; ">
  260. <col ref="delivedd" style="text-align:center; "/>
  261. <col ref="trsmcntcnt" style="text-align:center; "/>
  262. <col ref="rsrtrsmcnt" style="text-align:center; "/>
  263. <col ref="pssvtytrsmcnt" style="text-align:center; "/>
  264. <col ref="succdcntcnt" style="text-align:center; "/>
  265. <col ref="succdrate" style="text-align:center; "/>
  266. <col ref="numbererrcnt" style="text-align:center; "/>
  267. <col ref="timeoverlapexemptcnt" style="text-align:center; "/>
  268. <col ref="overlapmsgcnt" style="text-align:center; "/>
  269. <col ref="trsmingcnt" style="text-align:center; "/>
  270. <col ref="errcnt" style="text-align:center; "/>
  271. <col ref="wrongnumcnt" style="text-align:center; "/>
  272. <col ref="termerrcnt" style="text-align:center; "/>
  273. <col ref="norespcnt" style="text-align:center; "/>
  274. <col ref="mrejectcnt" style="text-align:center; "/>
  275. <col ref="retrsmcnt" style="text-align:center; "/>
  276. <col ref="txqexpirecnt" style="text-align:center; "/>
  277. <col ref="rrejectcnt" style="text-align:center; "/>
  278. <col ref="etc" style="text-align:center; "/>
  279. <script type="javascript" ev:event="oncopy">
  280. <![CDATA[
  281. grid_oncopy();
  282. ]]>
  283. </script>
  284. </datagrid>
  285. <group id="group2" style="left:0px; top:14px; width:1194px; height:80px; vertical-align:top; ">
  286. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:80px; "/>
  287. <button id="btn_search" class="btn1_letter2" style="left:1112px; top:28px; width:56px; height:22px; ">
  288. <caption>조회</caption>
  289. <script type="javascript" ev:event="DOMActivate">
  290. <![CDATA[
  291. fGetStatList();
  292. ]]>
  293. </script>
  294. </button>
  295. <line id="line1" class="line_4" style="x1:1096px; y1:11px; x2:1096px; y2:69px; "/>
  296. <input id="ipt_fromdd" ref="/root/send/data/fromdd" class="input_search" inputtype="date" format="yyyy-mm-dd" mask="exclude" style="left:92px; top:13px; width:85px; height:19px; ">
  297. <hint>
  298. <![CDATA[전송일자는 1년 미만의 기간을 입력하셔야 합니다.]]>
  299. </hint>
  300. </input>
  301. <caption id="cap_trsmdate" class="search_name" style="left:6px; top:13px; width:79px; height:17px; ">전송일자</caption>
  302. <input id="ipt_todd" ref="/root/send/data/todd" class="input_search" inputtype="date" format="yyyy-mm-dd" mask="exclude" style="left:202px; top:13px; width:85px; height:19px; ">
  303. <hint>
  304. <![CDATA[전송일자는 1년 미만의 기간을 입력하셔야 합니다.]]>
  305. </hint>
  306. </input>
  307. <caption id="caption1" style="left:182px; top:13px; width:20px; height:20px; ">~</caption>
  308. <select1 id="cmb_years" ref="/root/send/data/year" class="combo_s_essential" disabled="true" appearance="minimal" style="left:382px; top:13px; width:85px; height:19px; ">
  309. <choices>
  310. <itemset nodeset="/root/hidden/itemset/item">
  311. <label ref="lbl"/>
  312. <value ref="val"/>
  313. </itemset>
  314. </choices>
  315. </select1>
  316. <select id="chk_srchcond" ref="/root/send/data/srchcond" overflow="visible" appearance="full" style="left:301px; top:14px; width:76px; height:21px; font-weight:bolder; border-style:none; ">
  317. <choices>
  318. <item>
  319. <label>연도/월</label>
  320. <value>Y</value>
  321. </item>
  322. </choices>
  323. <script type="javascript" ev:event="xforms-value-changed">
  324. <![CDATA[
  325. // 값을 받아옴
  326. var srchcond = model.getValue("/root/send/data/srchcond");
  327. if(srchcond == "Y") // 선택된 상태이면
  328. {
  329. // 전송일자 비활성화
  330. ipt_fromdd.disabled =true;
  331. ipt_todd.disabled =true;
  332. // 연도/월 활성화
  333. cmb_years.disabled = false;
  334. cmb_month.disabled = false;
  335. }
  336. else
  337. {
  338. // 전송일자 비활성화
  339. ipt_fromdd.disabled =false;
  340. ipt_todd.disabled =false;
  341. // 연도/월 활성화
  342. cmb_years.disabled = true;
  343. cmb_month.disabled = true;
  344. }
  345. ]]>
  346. </script>
  347. </select>
  348. <caption id="caption2" style="left:471px; top:11px; width:21px; height:25px; font-weight:bolder; ">년</caption>
  349. <select1 id="cmb_month" ref="/root/send/data/month" class="combo_s_essential" disabled="true" appearance="minimal" style="left:492px; top:13px; width:50px; height:19px; ">
  350. <choices>
  351. <item>
  352. <label>1</label>
  353. <value>01</value>
  354. </item>
  355. <item>
  356. <label>2</label>
  357. <value>02</value>
  358. </item>
  359. <item>
  360. <label>3</label>
  361. <value>03</value>
  362. </item>
  363. <item>
  364. <label>4</label>
  365. <value>04</value>
  366. </item>
  367. <item>
  368. <label>5</label>
  369. <value>05</value>
  370. </item>
  371. <item>
  372. <label>6</label>
  373. <value>06</value>
  374. </item>
  375. <item>
  376. <label>7</label>
  377. <value>07</value>
  378. </item>
  379. <item>
  380. <label>8</label>
  381. <value>08</value>
  382. </item>
  383. <item>
  384. <label>9</label>
  385. <value>09</value>
  386. </item>
  387. <item>
  388. <label>10</label>
  389. <value>10</value>
  390. </item>
  391. <item>
  392. <label>11</label>
  393. <value>11</value>
  394. </item>
  395. <item>
  396. <label>12</label>
  397. <value>12</value>
  398. </item>
  399. </choices>
  400. </select1>
  401. <caption id="caption3" style="left:547px; top:11px; width:21px; height:25px; font-weight:bolder; ">월</caption>
  402. <caption id="caption5" class="search_name" style="left:6px; top:50px; width:79px; height:17px; ">업무구분</caption>
  403. <select1 id="cmb_BizFlag" ref="/root/send/data/srchbizflag" class="combo_search" appearance="minimal" style="left:92px; top:47px; width:130px; height:19px; ">
  404. <choices>
  405. <itemset nodeset="/root/init/C0028list/C0028">
  406. <label ref="cdnm"/>
  407. <value ref="cdid"/>
  408. </itemset>
  409. </choices>
  410. <script type="javascript" ev:event="xforms-select">
  411. <![CDATA[
  412. if ( model.getValue("/root/send/data/srchbizflag") == "3" ) {
  413. cmb_BizDetlCd.disabled = "false";
  414. } else {
  415. cmb_BizDetlCd.disabled = "true";
  416. model.setValue("/root/send/data/srchbizdetlcd", "");
  417. model.refresh();
  418. }
  419. ]]>
  420. </script>
  421. </select1>
  422. <select1 id="cmb_BizDetlCd" ref="/root/send/data/srchbizdetlcd" class="combo_search" disabled="true" appearance="minimal" style="left:226px; top:47px; width:140px; height:19px; ">
  423. <choices>
  424. <item>
  425. <label>전체</label>
  426. <value/>
  427. </item>
  428. <item>
  429. <label>외래예약</label>
  430. <value>01</value>
  431. </item>
  432. <item>
  433. <label>검사예약</label>
  434. <value>03</value>
  435. </item>
  436. <item>
  437. <label>건진예약</label>
  438. <value>04</value>
  439. </item>
  440. <item>
  441. <label>가예약</label>
  442. <value>02</value>
  443. </item>
  444. </choices>
  445. </select1>
  446. <caption id="caption4" class="search_name" style="left:610px; top:13px; width:87px; height:17px; ">해당기관 :</caption>
  447. <select1 id="cmb_SrchVsInsrcd" ref="/root/send/data/srchvsinstcd" class="combo_search" appearance="minimal" style="left:700px; top:13px; width:130px; height:19px; ">
  448. <choices>
  449. <itemset nodeset="/root/init/A0607list/A0607">
  450. <label ref="cdnm"/>
  451. <value ref="cdid"/>
  452. </itemset>
  453. </choices>
  454. </select1>
  455. </group>
  456. <button id="btn_save_excel" class="btn2_letter4" style="left:1129px; top:98px; width:64px; height:19px; ">
  457. <caption>엑셀저장</caption>
  458. <script type="javascript" ev:event="DOMActivate">
  459. <![CDATA[
  460. var fromdd = model.getValue("/root/send/data/fromdd");
  461. var todd = model.getValue("/root/send/data/todd");
  462. var system = model.getValue("/root/send/data/srchvsinstcd");
  463. if(system == "") system = "전체"
  464. var excelFileName = "기관별SMS전송통계("+system+")_"+fromdd+"~"+ todd;
  465. var fileName = window.fileDialog("save", ",", false, excelFileName, "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  466. if (fileName != "")
  467. {
  468. //grd_ins_form_menuinfo.saveExcel(fileName,"exportfalserows:0;col_8:value;");
  469. grd_statlist.saveExcel(fileName);
  470. }
  471. ]]>
  472. </script>
  473. </button>
  474. <button id="button1" class="btn2_letter3" style="left:1072px; top:98px; width:53px; height:19px; ">
  475. <caption>도움말</caption>
  476. <script type="javascript" ev:event="DOMActivate">
  477. <![CDATA[
  478. modal("SPZMS00200","","150","100","SPZMS00200", null, null);
  479. ]]>
  480. </script>
  481. </button>
  482. </group>
  483. </xhtml:body>
  484. </xhtml:html>