SMCHT00200_건진데이터마이닝목록조회.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * Name : SMCHT00200_건진데이터마이닝목록조회
  4. * Summary : 건진데이터마이닝목록조회
  5. * Programmer : 최정환
  6. * Date Written : 2007.08.16
  7. * History : 2007.08.16
  8. * Remark :
  9. -->
  10. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  11. <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">
  12. <xhtml:head>
  13. <xhtml:title>건진데이터마이닝 관리</xhtml:title>
  14. <model id="model1">
  15. <instance id="instance1">
  16. <root xmlns="">
  17. <main>
  18. <list>
  19. <healexamdtmnlist>
  20. <healexamdtmntitl/>
  21. <healexamdtmnsmltitl/>
  22. <lnktmplyn/>
  23. <autexecflag/>
  24. <fstrgstdt/>
  25. <fstrgstnm/>
  26. <examcnt/>
  27. <lastexamcnt/>
  28. <lastexamdd/>
  29. <healexamdtmnkey/>
  30. </healexamdtmnlist>
  31. </list>
  32. </main>
  33. <CountNode/>
  34. <send>
  35. <data>
  36. <rgstfromdd/>
  37. <rgsttodd/>
  38. <healexamdtmntitl/>
  39. <autexecflag/>
  40. <cmpnlnkyn/>
  41. </data>
  42. <treedata>
  43. <healexamdtmnsmlcd>0</healexamdtmnsmlcd>
  44. </treedata>
  45. <key>
  46. <healexamdtmnkey/>
  47. </key>
  48. <refmode/>
  49. </send>
  50. <init>
  51. <C0030list>
  52. <cdid/>
  53. <cdnm/>
  54. </C0030list>
  55. </init>
  56. <hidden>
  57. <scrnflag>L</scrnflag>
  58. </hidden>
  59. </root>
  60. </instance>
  61. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  62. <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  63. <submission id="TRCHT00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" resultref="/root/main/list"/>
  64. </model>
  65. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  66. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  67. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  68. <script type="javascript" ev:event="xforms-ready">
  69. <![CDATA[
  70. // 공통코드를 호출하여 자료(자동실행여부)를 가져온다
  71. zbcfGetCodeList( new Array("C0030"), new Array("/root/init/C0030list"), true );
  72. model.setValue("/root/send/data/rgstfromdd",getCurrentDate().toDate().getAddDate(-31,"D").getDateFormat());
  73. model.setValue("/root/send/data/rgsttodd",getCurrentDate());
  74. model.removeNodeset("/root/main/list/healexamdtmnlist");
  75. var refmode = model.getValue("/root/send/refmode");
  76. var healexamdtmn_smlcd = model.getValue("/root/send/treedata/healexamdtmnsmlcd");
  77. // 목록조회 페이지를 바로 열었을 경울 refmode를 L 로 설정 (내용페이지에서 넘어올 경우 C로 표시)
  78. if (refmode == "") {
  79. model.setValue("/root/send/refmode","L");
  80. } else if (refmode == "C") {
  81. fGetHealExamDtmnList();
  82. }
  83. if (healexamdtmn_smlcd > 0) {
  84. model.removeNodeset("/root/main/list/healexamdtmnlist");
  85. submit("TRCHT00201");
  86. var grid_rows = grd_healexamdtmnlist.rows-1;
  87. model.setvalue("/root/CountNode" , grid_rows);
  88. model.setValue("/root/send/treedata/healexamdtmnsmlcd","0");
  89. model.refresh();
  90. }
  91. ]]>
  92. </script>
  93. <script type="javascript">
  94. <![CDATA[
  95. // 목록조회
  96. function fGetHealExamDtmnList() {
  97. model.removeNodeset("/root/main/list/healexamdtmnlist");
  98. submit("TRCHT00201");
  99. var grid_rows = grd_healexamdtmnlist.rows-1;
  100. model.setvalue("/root/CountNode" , grid_rows);
  101. model.refresh();
  102. }
  103. // 선택한 건진데이터마이닝 상세정보 조회
  104. function fGetHealExamDtmnAttr() {
  105. var row = grd_healexamdtmnlist.row;
  106. var receive_healexamdtmnkey = grd_healexamdtmnlist.valueMatrix(row, grd_healexamdtmnlist.colRef("healexamdtmnkey"));
  107. model.makeValue("/root/send/key/healexamdtmnkey", receive_healexamdtmnkey);
  108. navigate("SMCHT00100", "", "", "", "SMCHT00100", "/root/send", "/root/temp/ref");
  109. }
  110. function fHealExamDtmnLrg() {
  111. // 건진데이터마이닝 그룹관리의 변경된 내용을 새로 적용시켜준다.
  112. }
  113. ]]>
  114. </script>
  115. </xhtml:head>
  116. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  117. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  118. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:220px; height:14px; ">건진정보마이닝 목록검색</caption>
  119. </group>
  120. <group id="grp_johe" style="left:225px; top:23px; width:970px; height:59px; vertical-align:top; ">
  121. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:970px; height:59px; background-color:#fffbf2; border-color:#ffd799; "/>
  122. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:100px; height:17px; ">등 록 일 :</caption>
  123. <input id="ipt_rgstfromdd" ref="/root/send/data/rgstfromdd" class="input_search" inputtype="date" style="left:118px; top:8px; width:120px; height:19px; "/>
  124. <script type="javascript" ev:event="DOMFocusOut">
  125. <![CDATA[
  126. var rgstfromdd = model.getValue("/root/send/data/rgstfromdd");
  127. if (rgstfromdd != "" && !isValidDateTime(rgstfromdd,"YYYYMMDD")) {
  128. messageBox("날짜가 바르게 입력되지","E007");
  129. model.setFocus("ipt_rgstfromdd");
  130. }
  131. ]]>
  132. </script>
  133. <caption id="caption3" class="search_no_b" style="left:243px; top:9px; width:12px; height:17px; ">~</caption>
  134. <input id="ipt_rgsttodd" ref="/root/send/data/rgsttodd" class="input_search" inputtype="date" style="left:258px; top:8px; width:120px; height:19px; "/>
  135. <script type="javascript" ev:event="DOMFocusOut">
  136. <![CDATA[
  137. var rgsttodd = model.getValue("/root/send/data/rgsttodd");
  138. if (rgsttodd != "" && !isValidDateTime(rgsttodd,"YYYYMMDD")) {
  139. messageBox("날짜가 바르게 입력되지","E007");
  140. model.setFocus("ipt_rgsttodd");
  141. }
  142. ]]>
  143. </script>
  144. <caption id="caption4" class="search_name" style="left:449px; top:9px; width:87px; height:17px; ">탬플릿명 :</caption>
  145. <input id="ipt_healexamdtmntitl" ref="/root/send/data/healexamdtmntitl" class="input_search" style="left:538px; top:9px; width:130px; height:19px; "/>
  146. <caption id="caption6" class="search_name" style="left:15px; top:33px; width:130px; height:17px; ">자동실행 여부 :</caption>
  147. <select1 id="rdo_autoexecflag" ref="/root/send/data/autexecflag" appearance="full" cellspacing="15" cols="3" overflow="visible" style="left:145px; top:33px; width:206px; height:19px; background-color:transparent; border-style:none; ">
  148. <choices>
  149. <item>
  150. <label>전체</label>
  151. <value/>
  152. </item>
  153. <item>
  154. <label>자동</label>
  155. <value>A</value>
  156. </item>
  157. <item>
  158. <label>수동</label>
  159. <value>M</value>
  160. </item>
  161. </choices>
  162. </select1>
  163. <caption id="caption8" class="search_name" style="left:449px; top:33px; width:137px; height:17px; ">캠페인 연결 여부:</caption>
  164. <select1 id="rdo_cmpnlnkyn" ref="/root/send/data/cmpnlnkyn" appearance="full" cellspacing="15" cols="3" overflow="visible" style="left:586px; top:33px; width:256px; height:19px; background-color:transparent; border-style:none; ">
  165. <choices>
  166. <item>
  167. <label>무관</label>
  168. <value/>
  169. </item>
  170. <item>
  171. <label>연결</label>
  172. <value>Y</value>
  173. </item>
  174. <item>
  175. <label>연결되지않음</label>
  176. <value>N</value>
  177. </item>
  178. </choices>
  179. </select1>
  180. <line id="line1" class="line_4" style="x1:883px; y1:7px; x2:883px; y2:53px; "/>
  181. <button id="btn_search" class="btn1_letter2" style="left:893px; top:17px; width:56px; height:22px; ">
  182. <caption>조회</caption>
  183. <script type="javascript" ev:event="DOMActivate">
  184. <![CDATA[
  185. fGetHealExamDtmnList();
  186. ]]>
  187. </script>
  188. </button>
  189. </group>
  190. <group id="group2" style="left:225px; top:82px; width:970px; height:698px; ">
  191. <caption id="caption9" class="tit_2" style="left:5px; top:10px; width:200px; height:14px; ">건진정보마이닝 템플릿</caption>
  192. <caption id="caption35" style="left:743px; top:30px; width:90px; height:19px; ">전체 템플릿 수 :</caption>
  193. <output id="output1" ref="/root/CountNode" appearance="output" style="left:833px; top:29px; width:30px; height:19px; text-align:right; "/>
  194. <caption id="caption7" style="left:873px; top:30px; width:30px; height:19px; ">건</caption>
  195. <button id="button39" class="btn2_letter4" style="left:903px; top:30px; width:64px; height:19px; ">
  196. <caption>엑셀저장</caption>
  197. <script type="javascript" ev:event="DOMActivate">
  198. <![CDATA[
  199. var file_nm = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  200. if (file_nm != "") {
  201. grd_dtmnlist.saveExcel(file_nm, "SheetName", true, true, "", "", false);
  202. }
  203. ]]>
  204. </script>
  205. </button>
  206. <line id="line2" class="line_1" style="x1:0px; y1:51px; x2:970px; y2:51px; "/>
  207. <datagrid id="grd_healexamdtmnlist" nodeset="/root/main/list/healexamdtmnlist" caption="탬플릿명^그룹^연결캠페인 여부^자동실행 여부^등록일시^등록자^총 실행건수^최종실행건수^최종실행일^" colsep="^" colwidth="175, 120, 100, 90, 100, 80, 90, 90, 75, 0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:56px; width:970px; height:613px; ">
  208. <col ref="healexamdtmntitl"/>
  209. <col ref="healexamdtmnsmltitl"/>
  210. <col disabled="true" ref="lnktmplyn" type="combo" style="text-align:center; ">
  211. <choices>
  212. <item>
  213. <label>연결</label>
  214. <value>Y</value>
  215. </item>
  216. </choices>
  217. </col>
  218. <col disabled="true" ref="autexecflag" type="combo" style="text-align:center; ">
  219. <choices>
  220. <itemset nodeset="/root/init/C0030list/C0030">
  221. <label ref="cdnm"/>
  222. <value ref="cdid"/>
  223. </itemset>
  224. </choices>
  225. </col>
  226. <col ref="fstrgstdt" format="yyyy-mm-dd hh:mm"/>
  227. <col ref="fstrgstnm" style="text-align:center; "/>
  228. <col ref="examcnt" style="text-align:center; "/>
  229. <col ref="lastexamcnt" style="text-align:center; "/>
  230. <col ref="lastexamdd" format="yyyy-mm-dd" style="text-align:center; "/>
  231. <col ref="healexamdtmnkey" visibility="hidden"/>
  232. <script type="javascript" ev:event="ondblclick">
  233. <![CDATA[
  234. if( grd_healexamdtmnlist.isCell(event.target) && grd_healexamdtmnlist.row >= grd_healexamdtmnlist.fixedRows ){
  235. fGetHealExamDtmnAttr(); // 건진데이터마이닝 정보조회
  236. }
  237. ]]>
  238. </script>
  239. <script type="javascript" ev:event="onclick">
  240. <![CDATA[
  241. //fSelectDtmn(); // 건진데이터마이닝 선택
  242. ]]>
  243. </script>
  244. </datagrid>
  245. <button id="button40" class="btn2_letter4" style="left:903px; top:672px; width:64px; height:19px; ">
  246. <caption>정보보기</caption>
  247. <script type="javascript" ev:event="DOMActivate">
  248. <![CDATA[
  249. if( grd_healexamdtmnlist.row > 0 ){
  250. fGetHealExamDtmnAttr(); // 건진데이터마이닝 정보조회
  251. } else {
  252. messageBox("조회하신 후 목록을 ","C002");
  253. model.SetFocus("grd_healexamdtmnlist");
  254. }
  255. ]]>
  256. </script>
  257. </button>
  258. </group>
  259. <group id="group12" style="left:0px; top:23px; width:215px; height:757px; ">
  260. <caption id="caption30" class="tit_2" style="left:0px; top:0px; width:215px; height:14px; ">건진정보마이닝 템플릿</caption>
  261. <import id="import1" instancetype="merge" src="./SSCHT00400_건진데이터마이닝그룹트리.xrw" style="left:0px; top:13px; width:215px; height:744px; "/>
  262. </group>
  263. </xhtml:body>
  264. </xhtml:html>