123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- * Name : SPCDT01000_데이터마이닝수동실행.xrw
- * Summary : 고객정보마이닝 수동실행
- * Programmer : 최정환
- * Date Written : 2007.07.17
- * History :
- * Remark :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>
- <dtmntmpl/>
- <list>
- <dtmnexeclist/>
- </list>
- </main>
- <temp>
- <countnode/>
- </temp>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../crm/crmweb/js/CCZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 그리드의 col을 초기화 시켜준다.
- model.removenodeset("/root/main/list/snwlist");
- model.refresh();
-
- fCheckAuth();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- // 권한체크
- function fCheckAuth() {
- if (!checkAuth("r")) {
- btn_search.disabled=true;
- }
- }
-
- function fDtMnExec() {
- submit("TRCDT01001");
- model.SetFocus("grd_dtmnexec");
- var grid_rows = grd_dtmnexec.rows-1;
- model.setvalue("/root/temp/countnode" , grid_rows);
- model.refresh();
- }
- ]]>
- </script>
- <submission id="TRCDT01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/dtmntmpl" replace="instance" resultref="/root/main/list"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="970" pageheight="600" style="border-color:#c7a3cf; ">
- <group id="group4" style="left:0px; top:0px; width:970px; height:600px; ">
- <caption id="caption46" class="tit_2" style="left:5px; top:0px; width:251px; height:13px; ">탬플릿 수동 실행 미리보기 결과</caption>
- <button id="btn_sms" class="btn3_letter5" style="left:5px; top:16px; width:92px; height:22px; ">
- <caption>SMS전송</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- cczfSMSTrsmOpen("grid",grd_dtmnexec,1,7,"","");
- ]]>
- </script>
- </button>
- <button id="btn_email" class="btn3_letter5" style="left:100px; top:16px; width:92px; height:22px; ">
- <caption>이메일발송</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- cczfEmailTrsmOpen("grid",grd_dtmnexec,8,"");
- ]]>
- </script>
- </button>
- <button id="btn_dm" class="btn3_letter4" style="left:195px; top:16px; width:80px; height:22px; ">
- <caption>DM출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- cczfDMTrsmOpen(grd_dtmnexec,1,9,10,2);
- ]]>
- </script>
- </button>
- <!--<button id="btn_cmpn_ins" class="btn3_letter5" style="left:278px; top:16px; width:92px; height:22px; ">
- <caption>캠페인등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- cczfOpenInsertCmpn(grd_dtmnexec,"02");
- ]]>
- </script>
- </button>-->
- <caption id="caption47" style="left:690px; top:16px; width:80px; height:17px; ">전체 인원수 :</caption>
- <output id="opt_count" ref="/root/temp/countnode" appearance="output" style="left:773px; top:15px; width:30px; height:19px; text-align:right; "/>
- <caption id="caption48" style="left:806px; top:16px; width:30px; height:17px; ">건</caption>
- <button id="btn_saveexcel" class="btn2_letter4" style="left:839px; top:15px; 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_dtmnexec.saveExcel(file_nm, "SheetName", true, true, "", "", false);
- }
- ]]>
- </script>
- </button>
- <button id="btn_manlexec" class="btn2_letter4" style="left:906px; top:15px; width:64px; height:19px; ">
- <caption>수동실행</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDtMnExec(); //데이터마이닝 수동실행
- ]]>
- </script>
- </button>
- <line id="line27" class="line_1" style="x1:0px; y1:41px; x2:970px; y2:41px; "/>
- <datagrid id="grd_dtmnexec" nodeset="/root/main/list/dtmnexeclist" caption="이름^등록번호^성별^혈액형^RH^나이^휴대폰^이메일^우편번호^주소^VIP등급^최종내원일^내원일자^내원경로^노블레스여부^상병일자^상병코드^처방일자^처방코드^검사일자^검사코드^참고치상한^참고치하한^판정마크" colsep="^" colwidth="100, 100, 50, 50, 50, 50, 100, 150, 100, 295, 100, 100, 100, 200, 100, 200, 100, 200, 60, 60, 60" explorerbar="sortshowmove" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:46px; width:970px; height:525px; ">
- <col ref="hngnm"/>
- <col ref="pid"/>
- <col ref="sex"/>
- <col ref="btype"/>
- <col ref="rh"/>
- <col ref="age"/>
- <col ref="mpphontel"/>
- <col ref="email"/>
- <col ref="zipcd"/>
- <col ref="address"/>
- <col ref="vipgrde"/>
- <col ref="lastchosdt"/>
- <col ref="orddd"/>
- <col ref="chospath"/>
- <col ref="nblsyn"/>
- <col ref="diagdd"/>
- <col ref="diagcd"/>
- <col ref="prcpdd"/>
- <col ref="prcpcd"/>
- <col ref="lastreptdt"/>
- <col ref="testcd"/>
- <col ref="refh"/>
- <col ref="refl"/>
- <col ref="judgmark"/>
- </datagrid>
- <button id="btn_select" class="btn2_letter4" style="left:5px; top:575px; width:64px; height:19px; ">
- <caption>전체선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var grid = grd_dtmnexec;
- var grid_rows = grid.rows-1;
- grid.selectionmode = "byrow";
- grid.select(1, 1, grid_rows, 1) = true;
- ]]>
- </script>
- </button>
- <button id="btn_release" class="btn2_letter4" style="left:72px; top:575px; width:64px; height:19px; ">
- <caption>전체해제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var grid = grd_dtmnexec;
- var grid_rows = grid.rows-1;
- grid.selectionmode = "byrow";
- grid.select(1, 1, grid_rows, 1) = false;
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|