123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * Name : SMCHT00200_건진데이터마이닝목록조회
- * Summary : 건진데이터마이닝목록조회
- * Programmer : 최정환
- * Date Written : 2007.08.16
- * History : 2007.08.16
- * Remark :
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>건진데이터마이닝 관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <healexamdtmnlist>
- <healexamdtmntitl/>
- <healexamdtmnsmltitl/>
- <lnktmplyn/>
- <autexecflag/>
- <fstrgstdt/>
- <fstrgstnm/>
- <examcnt/>
- <lastexamcnt/>
- <lastexamdd/>
- <healexamdtmnkey/>
- </healexamdtmnlist>
- </list>
- </main>
- <CountNode/>
- <send>
- <data>
- <rgstfromdd/>
- <rgsttodd/>
- <healexamdtmntitl/>
- <autexecflag/>
- <cmpnlnkyn/>
- </data>
- <treedata>
- <healexamdtmnsmlcd>0</healexamdtmnsmlcd>
- </treedata>
- <key>
- <healexamdtmnkey/>
- </key>
- <refmode/>
- </send>
- <init>
- <C0030list>
- <cdid/>
- <cdnm/>
- </C0030list>
- </init>
- <hidden>
- <scrnflag>L</scrnflag>
- </hidden>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRCHT00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" resultref="/root/main/list"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 공통코드를 호출하여 자료(자동실행여부)를 가져온다
- zbcfGetCodeList( new Array("C0030"), new Array("/root/init/C0030list"), true );
-
- model.setValue("/root/send/data/rgstfromdd",getCurrentDate().toDate().getAddDate(-31,"D").getDateFormat());
- model.setValue("/root/send/data/rgsttodd",getCurrentDate());
-
- model.removeNodeset("/root/main/list/healexamdtmnlist");
-
- var refmode = model.getValue("/root/send/refmode");
- var healexamdtmn_smlcd = model.getValue("/root/send/treedata/healexamdtmnsmlcd");
- // 목록조회 페이지를 바로 열었을 경울 refmode를 L 로 설정 (내용페이지에서 넘어올 경우 C로 표시)
- if (refmode == "") {
- model.setValue("/root/send/refmode","L");
- } else if (refmode == "C") {
- fGetHealExamDtmnList();
- }
-
- if (healexamdtmn_smlcd > 0) {
- model.removeNodeset("/root/main/list/healexamdtmnlist");
- submit("TRCHT00201");
- var grid_rows = grd_healexamdtmnlist.rows-1;
- model.setvalue("/root/CountNode" , grid_rows);
-
- model.setValue("/root/send/treedata/healexamdtmnsmlcd","0");
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- // 목록조회
- function fGetHealExamDtmnList() {
- model.removeNodeset("/root/main/list/healexamdtmnlist");
- submit("TRCHT00201");
-
- var grid_rows = grd_healexamdtmnlist.rows-1;
- model.setvalue("/root/CountNode" , grid_rows);
- model.refresh();
- }
- // 선택한 건진데이터마이닝 상세정보 조회
- function fGetHealExamDtmnAttr() {
- var row = grd_healexamdtmnlist.row;
- var receive_healexamdtmnkey = grd_healexamdtmnlist.valueMatrix(row, grd_healexamdtmnlist.colRef("healexamdtmnkey"));
- model.makeValue("/root/send/key/healexamdtmnkey", receive_healexamdtmnkey);
- navigate("SMCHT00100", "", "", "", "SMCHT00100", "/root/send", "/root/temp/ref");
- }
-
- function fHealExamDtmnLrg() {
- // 건진데이터마이닝 그룹관리의 변경된 내용을 새로 적용시켜준다.
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:220px; height:14px; ">건진정보마이닝 목록검색</caption>
- </group>
- <group id="grp_johe" style="left:225px; top:23px; width:970px; height:59px; vertical-align:top; ">
- <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; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:9px; width:100px; height:17px; ">등 록 일 :</caption>
- <input id="ipt_rgstfromdd" ref="/root/send/data/rgstfromdd" class="input_search" inputtype="date" style="left:118px; top:8px; width:120px; height:19px; "/>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- var rgstfromdd = model.getValue("/root/send/data/rgstfromdd");
- if (rgstfromdd != "" && !isValidDateTime(rgstfromdd,"YYYYMMDD")) {
- messageBox("날짜가 바르게 입력되지","E007");
- model.setFocus("ipt_rgstfromdd");
- }
- ]]>
- </script>
- <caption id="caption3" class="search_no_b" style="left:243px; top:9px; width:12px; height:17px; ">~</caption>
- <input id="ipt_rgsttodd" ref="/root/send/data/rgsttodd" class="input_search" inputtype="date" style="left:258px; top:8px; width:120px; height:19px; "/>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- var rgsttodd = model.getValue("/root/send/data/rgsttodd");
- if (rgsttodd != "" && !isValidDateTime(rgsttodd,"YYYYMMDD")) {
- messageBox("날짜가 바르게 입력되지","E007");
- model.setFocus("ipt_rgsttodd");
- }
- ]]>
- </script>
- <caption id="caption4" class="search_name" style="left:449px; top:9px; width:87px; height:17px; ">탬플릿명 :</caption>
- <input id="ipt_healexamdtmntitl" ref="/root/send/data/healexamdtmntitl" class="input_search" style="left:538px; top:9px; width:130px; height:19px; "/>
- <caption id="caption6" class="search_name" style="left:15px; top:33px; width:130px; height:17px; ">자동실행 여부 :</caption>
- <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; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>자동</label>
- <value>A</value>
- </item>
- <item>
- <label>수동</label>
- <value>M</value>
- </item>
- </choices>
- </select1>
- <caption id="caption8" class="search_name" style="left:449px; top:33px; width:137px; height:17px; ">캠페인 연결 여부:</caption>
- <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; ">
- <choices>
- <item>
- <label>무관</label>
- <value/>
- </item>
- <item>
- <label>연결</label>
- <value>Y</value>
- </item>
- <item>
- <label>연결되지않음</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <line id="line1" class="line_4" style="x1:883px; y1:7px; x2:883px; y2:53px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:893px; top:17px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetHealExamDtmnList();
- ]]>
- </script>
- </button>
- </group>
- <group id="group2" style="left:225px; top:82px; width:970px; height:698px; ">
- <caption id="caption9" class="tit_2" style="left:5px; top:10px; width:200px; height:14px; ">건진정보마이닝 템플릿</caption>
- <caption id="caption35" style="left:743px; top:30px; width:90px; height:19px; ">전체 템플릿 수 :</caption>
- <output id="output1" ref="/root/CountNode" appearance="output" style="left:833px; top:29px; width:30px; height:19px; text-align:right; "/>
- <caption id="caption7" style="left:873px; top:30px; width:30px; height:19px; ">건</caption>
- <button id="button39" class="btn2_letter4" style="left:903px; top:30px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var file_nm = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (file_nm != "") {
- grd_dtmnlist.saveExcel(file_nm, "SheetName", true, true, "", "", false);
- }
- ]]>
- </script>
- </button>
- <line id="line2" class="line_1" style="x1:0px; y1:51px; x2:970px; y2:51px; "/>
- <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; ">
- <col ref="healexamdtmntitl"/>
- <col ref="healexamdtmnsmltitl"/>
- <col disabled="true" ref="lnktmplyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>연결</label>
- <value>Y</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="autexecflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/C0030list/C0030">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="fstrgstdt" format="yyyy-mm-dd hh:mm"/>
- <col ref="fstrgstnm" style="text-align:center; "/>
- <col ref="examcnt" style="text-align:center; "/>
- <col ref="lastexamcnt" style="text-align:center; "/>
- <col ref="lastexamdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="healexamdtmnkey" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( grd_healexamdtmnlist.isCell(event.target) && grd_healexamdtmnlist.row >= grd_healexamdtmnlist.fixedRows ){
- fGetHealExamDtmnAttr(); // 건진데이터마이닝 정보조회
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //fSelectDtmn(); // 건진데이터마이닝 선택
- ]]>
- </script>
- </datagrid>
- <button id="button40" class="btn2_letter4" style="left:903px; top:672px; width:64px; height:19px; ">
- <caption>정보보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( grd_healexamdtmnlist.row > 0 ){
- fGetHealExamDtmnAttr(); // 건진데이터마이닝 정보조회
- } else {
- messageBox("조회하신 후 목록을 ","C002");
- model.SetFocus("grd_healexamdtmnlist");
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="group12" style="left:0px; top:23px; width:215px; height:757px; ">
- <caption id="caption30" class="tit_2" style="left:0px; top:0px; width:215px; height:14px; ">건진정보마이닝 템플릿</caption>
- <import id="import1" instancetype="merge" src="./SSCHT00400_건진데이터마이닝그룹트리.xrw" style="left:0px; top:13px; width:215px; height:744px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|