SMCRC00200_연동내역정보.xrw 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * Name : SMCRC00200_연동내역정보
  4. * Summary : 데이터연동 내역정보
  5. * Programmer : 엄윤호
  6. * Date Written : 2007.08.02
  7. * History : 2007.08.02
  8. * Remark :
  9. -->
  10. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <synclist/>
  20. </list>
  21. </main>
  22. <send>
  23. <srch>
  24. <syncfromdd/>
  25. <synctodd/>
  26. <tablenm/>
  27. <nrmlendyn/>
  28. </srch>
  29. <synclist/>
  30. </send>
  31. <init>
  32. <comncdlist>
  33. <C0023list/>
  34. <C0024list/>
  35. </comncdlist>
  36. </init>
  37. </root>
  38. </instance>
  39. <script type="javascript" ev:event="xforms-ready">
  40. <![CDATA[
  41. // C0023: 연동정상여부, C0024: 연동실행구분
  42. zbcfGetCodeList(new Array("C0023", "C0024"), new Array("/root/init/comncdlist/C0023list", "/root/init/comncdlist/C0024list"));
  43. var sync_dd = getCurrentDate();
  44. model.setValue("/root/send/srch/syncfromdd", sync_dd);
  45. model.setValue("/root/send/srch/synctodd", sync_dd);
  46. addComboItemAll( "cmb_useyn");
  47. fCheckAuth();
  48. fInitSyncList();
  49. model.refresh();
  50. ]]>
  51. </script>
  52. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  53. <!--submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/-->
  54. <submission id="TRCRC00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srch" resultref="/root/main/list/synclist"/>
  55. </model>
  56. <script type="javascript" src="../../../crm/ruleweb/js/CRZ001.js"/>
  57. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  58. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  59. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  60. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  61. <script type="javascript">
  62. <![CDATA[
  63. function fCheckAuth() {
  64. // 권한체크
  65. if (!checkAuth("r")) {
  66. btn_search.disabled=true;
  67. }
  68. if (!checkAuth("x")) {
  69. }
  70. if (!checkAuth("p")) {
  71. btn_saveexcel.disabled = true;
  72. }
  73. }
  74. function fInitSyncList() {
  75. // 그리드 초기화
  76. model.removeNodeset("/root/main/list/synclist");
  77. //grd_synclist.clearStatus();
  78. //model.refresh();
  79. }
  80. ]]>
  81. </script>
  82. </xhtml:head>
  83. <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  84. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  85. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">데이터 연동내역 조회</caption>
  86. </group>
  87. <group id="group2" style="left:0px; top:23px; width:1194px; height:35px; vertical-align:top; ">
  88. <shape id="roundrect1" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
  89. <caption id="caption3" class="search_name" style="left:16px; top:9px; width:104px; height:17px; ">연동일시 :</caption>
  90. <input id="ipt_syncfromdd" ref="/root/send/srch/syncfromdd" class="input_search" inputtype="date" style="left:108px; top:8px; width:100px; height:19px; "/>
  91. <caption id="caption6" class="search_no_b" style="left:213px; top:9px; width:12px; height:17px; ">~</caption>
  92. <input id="ipt_synctodd" ref="/root/send/srch/synctodd" class="input_search" inputtype="date" style="left:230px; top:8px; width:100px; height:19px; "/>
  93. <caption id="caption4" class="search_name" style="left:386px; top:9px; width:182px; height:17px; ">프로그램 ID :</caption>
  94. <input id="ipt_tablenm" ref="/root/send/srch/tablenm" class="input_search" maxlength="30" style="left:495px; top:8px; width:145px; height:19px; "/>
  95. <button id="btn_prgmsrch" class="icon_search" style="left:645px; top:9px; width:16px; height:16px; ">
  96. <caption/>
  97. <script type="javascript" ev:event="DOMActivate">
  98. <![CDATA[
  99. var srch_condition = "P";
  100. var srch_term = model.getValue("/root/send/srch/tablenm");
  101. var recv_prgmid_path = "/root/send/srch/tablenm";
  102. var recv_tablenm_path = "";
  103. crzfOpenSelectPrgm(srch_condition, srch_term, recv_prgmid_path, recv_tablenm_path);
  104. ]]>
  105. </script>
  106. </button>
  107. <caption id="caption5" class="search_name" style="left:885px; top:10px; width:112px; height:17px; ">정상종료여부 :</caption>
  108. <select1 id="cmb_useyn" ref="/root/send/srch/nrmlendyn" class="combo_search" appearance="minimal" style="left:1005px; top:8px; width:85px; height:19px; ">
  109. <choices>
  110. <itemset nodeset="/root/init/comncdlist/C0023list/C0023">
  111. <label ref="cdnm"/>
  112. <value ref="cdid"/>
  113. </itemset>
  114. </choices>
  115. </select1>
  116. <line id="line1" class="line_4" style="x1:1106px; y1:7px; x2:1106px; y2:29px; "/>
  117. <button id="btn_search" class="btn1_letter2" style="left:1122px; top:7px; width:56px; height:22px; ">
  118. <caption>조회</caption>
  119. <script type="javascript" ev:event="DOMActivate">
  120. <![CDATA[
  121. submit("TRCRC00201");
  122. ]]>
  123. </script>
  124. </button>
  125. </group>
  126. <group id="group3" scroll="auto" style="left:0px; top:58px; width:1195px; height:693px; ">
  127. <caption id="caption2" class="tit_2" style="left:5px; top:10px; width:144px; height:14px; ">데이터 연동 내역</caption>
  128. <button id="btn_saveexcel" class="btn2_letter4" style="left:1130px; top:5px; width:64px; height:19px; ">
  129. <caption>엑셀저장</caption>
  130. <script type="javascript" ev:event="DOMActivate">
  131. <![CDATA[
  132. var file_nm = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  133. if (file_nm != "") {
  134. grd_synclist.saveExcel(file_nm, "SheetName", true, true, "", "", false);
  135. }
  136. ]]>
  137. </script>
  138. </button>
  139. <line id="line2" class="line_1" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  140. <datagrid id="grd_synclist" nodeset="/root/main/list/synclist" class="datagrid2" caption="프로그램 ID^연동 정보^연동번호^일련&#xA;번호^실행구분^연동시작일시^연동종료일시^총&#xA;건수^실행&#xA;건수^추가&#xA;건수^수정&#xA;건수^삭제&#xA;건수^정상여부" colwidth="150, 150, 90, 60, 70, 130, 130, 60, 60, 60, 60, 60, 70" ellipsis="true" explorerbar="sortshowmove" extendlastcol="scroll" rowheader="seq" style="left:0px; top:30px; width:1194px; height:658px; ">
  141. <col ref="trsmtablenm"/>
  142. <col ref="tableinfo"/>
  143. <col ref="synctabledivsetno"/>
  144. <col class="text_center" ref="syncseq"/>
  145. <col class="text_center" disabled="true" ref="execflag" type="combo">
  146. <choices>
  147. <itemset nodeset="/root/init/comncdlist/C0024list/C0024">
  148. <label ref="cdnm"/>
  149. <value ref="cdid"/>
  150. </itemset>
  151. </choices>
  152. </col>
  153. <col class="text_center" ref="trsmusdt" format="yyyy-mm-dd hh:nn:ss"/>
  154. <col class="text_center" ref="trsmuedt" format="yyyy-mm-dd hh:nn:ss"/>
  155. <col class="text_right" ref="totcnt" format="#,###"/>
  156. <col class="text_right" ref="execcnt" format="#,###"/>
  157. <col class="text_right" ref="addcnt" format="#,###"/>
  158. <col class="text_right" ref="updtcnt" format="#,###"/>
  159. <col class="text_right" ref="delcnt" format="#,###"/>
  160. <col class="text_center" disabled="true" ref="nrmlendyn" type="combo">
  161. <choices>
  162. <itemset nodeset="/root/init/comncdlist/C0023list/C0023">
  163. <label ref="cdnm"/>
  164. <value ref="cdid"/>
  165. </itemset>
  166. </choices>
  167. </col>
  168. </datagrid>
  169. </group>
  170. <group id="group4" style="left:0px; top:751px; width:1195px; height:29px; vertical-align:top; ">
  171. <button id="btn_navi" class="btn3_letter6" style="left:0px; top:0px; width:104px; height:22px; ">
  172. <caption>연동정보관리</caption>
  173. <script type="javascript" ev:event="DOMActivate">
  174. <![CDATA[
  175. open("SMCRC00100");
  176. ]]>
  177. </script>
  178. </button>
  179. </group>
  180. </xhtml:body>
  181. </xhtml:html>