SMZSB00401_배치스케쥴관리.xrw 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502
  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>배치 스케쥴관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <schelist/>
  12. </list>
  13. <item>
  14. <servicenm/>
  15. <bizabbr/>
  16. <modulenm/>
  17. <prgmid/>
  18. <schenm/>
  19. <execrid/>
  20. <execnode/>
  21. <schedt/>
  22. <prgmparam/>
  23. <jvmparam/>
  24. <fstrgstrid/>
  25. <fstrgstdt/>
  26. <lastupdtrid/>
  27. <lastupdtdt/>
  28. <useyn/>
  29. <batchyn/>
  30. </item>
  31. </main>
  32. <send>
  33. <bizabbr/>
  34. <searchnm/>
  35. <schelist/>
  36. <useyn/>
  37. </send>
  38. <init>
  39. <bizabbr>
  40. </bizabbr>
  41. <execnode>
  42. <label>node 1</label>
  43. <value>1</value>
  44. </execnode>
  45. <execnode>
  46. <label>node 2</label>
  47. <value>2</value>
  48. </execnode>
  49. <prgmlist>
  50. <prgmitem/>
  51. </prgmlist>
  52. <statuslist>
  53. <status>
  54. <label>일반</label>
  55. <value>Y</value>
  56. </status>
  57. <status>
  58. <label>중지</label>
  59. <value>N</value>
  60. </status>
  61. <status>
  62. <label>관심</label>
  63. <value>W</value>
  64. </status>
  65. <status>
  66. <label>중요</label>
  67. <value>X</value>
  68. </status>
  69. </statuslist>
  70. <useynlist>
  71. <useyn>
  72. <label>전체</label>
  73. <value/>
  74. </useyn>
  75. <useyn>
  76. <label>일반사용</label>
  77. <value>Y</value>
  78. </useyn>
  79. <useyn>
  80. <label>사용중지</label>
  81. <value>N</value>
  82. </useyn>
  83. <useyn>
  84. <label>관심사용</label>
  85. <value>W</value>
  86. </useyn>
  87. <useyn>
  88. <label>중요사용</label>
  89. <value>X</value>
  90. </useyn>
  91. </useynlist>
  92. </init>
  93. <temp/>
  94. </root>
  95. </instance>
  96. <script type="javascript" ev:event="xforms-ready">
  97. <![CDATA[
  98. zbcfGetKindCodeList(new Array("Z0001"), new Array("Z0009"), new Array("/root/init/bizabbr"), false, new Array("cdnm","cdengabbrnm"));
  99. submit("TRZSB00201");
  100. model.refresh();
  101. fCheckAuth();
  102. fInitialize();
  103. ]]>
  104. </script>
  105. <submission id="TRZBC00104" mediatype="application/x-www-form-urlencoded" method="post"/>
  106. <submission id="TXZSB00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  107. <submission id="TRZSB00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
  108. <submission id="TRZSB00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp" resultref="/root/init/prgmlist"/>
  109. </model>
  110. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  111. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  112. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  113. <script type="javascript" src="../../../com/batchinfoweb/js/ZSB001.js"/>
  114. <script type="javascript">
  115. <![CDATA[
  116. function fCheckAuth() {
  117. if (!checkAuth("x")) {
  118. btn_save.disabled = true;
  119. btn_loadexcel.disabled=true;
  120. btn_delete.disabled=true;
  121. btn_insert.disabled=true;
  122. btn_update.disabled=true;
  123. btn_clear.disabled=true;
  124. }
  125. }
  126. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  127. function fInitialize() {
  128. fEnableInsertButton();
  129. model.removeNodeset("/root/main/list/schelist");
  130. model.resetInstanceNode("/root/send");
  131. model.resetInstanceNode("/root/main/item");
  132. model.refresh();
  133. }
  134. // 시스템코드, 메시지종료, 메시지 번호가 입력되면 이들을 조합하여 메시지코드를 설정한다.
  135. function fEnableInsertButton() {
  136. btn_insert.disabled = false;
  137. btn_update.disabled = true;
  138. }
  139. function fEnableUpdateButton() {
  140. btn_insert.disabled = true;
  141. btn_update.disabled = false;
  142. }
  143. function fDeleteSelectedRows(grd,markonly) {
  144. var rowIdx;
  145. if (grd.selectedRows > 0) {
  146. var selectedRows = Array(grd.selectedRows);
  147. for(i=0;i<grd.selectedRows;i++) {
  148. selectedRows[i] = grd.selectedRow(i);
  149. }
  150. if (markonly != null && markonly == true) { // mark delete
  151. for(i=selectedRows.length-1;i>=0;i--) {
  152. rowIdx = selectedRows[i];
  153. if(grd.rowstatus(rowIdx) == 1 ) { // just inserted row
  154. grd.deleterow(rowIdx,false);
  155. } else {
  156. grd.addStatus(rowIdx,"delete");
  157. }
  158. }
  159. } else {
  160. for(i=selectedRows.length-1;i>=0;i--) {
  161. rowIdx = selectedRows[i];
  162. grd.deleterow(rowIdx,false);
  163. }
  164. }
  165. }
  166. }
  167. ]]>
  168. </script>
  169. </xhtml:head>
  170. <xhtml:body guideline="1,1196;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  171. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  172. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">배치 스케쥴 관리</caption>
  173. </group>
  174. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  175. <line id="line4" class="line_2" style="x1:0px; y1:176px; x2:1194px; y2:176px; "/>
  176. <line id="line3" class="line_2" style="x1:0px; y1:152px; x2:1194px; y2:152px; "/>
  177. <line id="line2" class="line_2" style="x1:0px; y1:128px; x2:1194px; y2:128px; "/>
  178. <line id="line6" class="line_2" style="x1:0px; y1:104px; x2:1194px; y2:104px; "/>
  179. <group id="group2" style="left:0px; top:14px; width:1194px; height:35px; vertical-align:top; ">
  180. <shape id="roundrect1" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
  181. <caption id="caption2" class="search_name" style="left:16px; top:8px; width:91px; height:17px; ">업무 구분 :</caption>
  182. <line id="line13" style="x1:1106px; y1:7px; x2:1106px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  183. <caption id="caption22" class="search_name" style="left:296px; top:8px; width:104px; height:17px; ">검색 명 :</caption>
  184. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1122px; top:7px; width:56px; height:22px; ">
  185. <caption>조회</caption>
  186. <script type="javascript" ev:event="DOMActivate">
  187. <![CDATA[
  188. var updtdata = getGridUpdateData(grd_schelist);
  189. if ( updtdata != "" ) {
  190. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
  191. if (ret != 6) { // not OK
  192. return;
  193. }
  194. }
  195. //model.send("TRZSS00101");
  196. //setAlertOn();
  197. submit("TRZSB00401");
  198. ]]>
  199. </script>
  200. </button>
  201. <select1 id="cmb_bizabbr_cond" ref="/root/send/bizabbr" class="combo_s_essential" navindex="1" appearance="minimal" style="left:110px; top:8px; width:155px; height:19px; ">
  202. <choices>
  203. <itemset nodeset="/root/init/bizabbr/Z0001Z0009">
  204. <label ref="cdengabbrnm"/>
  205. <value ref="cdengabbrnm"/>
  206. </itemset>
  207. </choices>
  208. </select1>
  209. <input id="ipt_searchnm_cond" ref="/root/send/searchnm" class="input_search" navindex="3" style="left:380px; top:8px; width:200px; height:19px; "/>
  210. <caption id="caption11" class="search_name" style="left:605px; top:8px; width:104px; height:17px; ">사용 수준 :</caption>
  211. <select1 id="combo1" ref="/root/send/useyn" class="combo_s" navindex="1" appearance="minimal" style="left:705px; top:8px; width:110px; height:19px; ">
  212. <choices>
  213. <itemset nodeset="/root/init/useynlist/useyn">
  214. <label ref="label"/>
  215. <value ref="value"/>
  216. </itemset>
  217. </choices>
  218. </select1>
  219. </group>
  220. <caption id="caption1" class="tit_2" style="left:6px; top:465px; width:139px; height:13px; ">스케쥴 입력/수정</caption>
  221. <line id="line1" class="line_1" style="x1:0px; y1:480px; x2:1194px; y2:480px; "/>
  222. <caption id="cap_bizabbrinput" class="cell_1" style="left:0px; top:485px; width:100px; height:23px; ">프로그램 명</caption>
  223. <caption id="cap_msgtypeinput" class="cell_1" style="left:435px; top:485px; width:64px; height:23px; ">업무구분</caption>
  224. <caption id="cap_msgcnts1" class="cell_1" style="left:0px; top:509px; width:100px; height:23px; ">스케쥴 명</caption>
  225. <caption id="cap_msgcnts2" class="cell_1" style="left:0px; top:533px; width:100px; height:23px; ">실행 스케쥴</caption>
  226. <caption id="cap_msgcnts3" class="cell_1" style="left:0px; top:557px; width:100px; height:23px; ">배치 파라메터</caption>
  227. <caption id="cap_msgnoinput" class="cell_1" style="left:598px; top:485px; width:100px; height:23px; ">모듈 명</caption>
  228. <caption id="caption19" class="cell_1" style="left:0px; top:581px; width:100px; height:23px; ">시스템 파라메터</caption>
  229. <caption id="caption20" class="tit_2" style="left:6px; top:62px; width:118px; height:14px; ">스케쥴 조회 목록</caption>
  230. <line id="line8" class="line_1" style="x1:0px; y1:77px; x2:1194px; y2:77px; "/>
  231. <line id="line7" class="line_3" style="x1:0px; y1:629px; x2:1194px; y2:629px; "/>
  232. <caption id="cap_msgcd" class="cell_1" style="left:898px; top:485px; width:100px; height:23px; ">프로그램 ID</caption>
  233. <datagrid id="grd_schelist" nodeset="/root/main/list/schelist" caption="스케쥴 명칭^실행 스케쥴^실행자^노드^사용^프로그램 명^업무구분^모듈명^프로그램 ID^배치사용^배치 파라메터^시스템 파라메터^최초등록자^등록일시^최종수정자^수정일시" colwidth="230, 125, 60, 40, 50, 210, 80, 100, 100, 100, 230, 200, 100, 100, 100, 66" dataheight="25" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" style="left:0px; top:82px; width:1194px; height:373px; ">
  234. <col ref="schenm" style="word-wrap:none; "/>
  235. <col ref="schedt" style="word-wrap:none; "/>
  236. <col ref="execrid"/>
  237. <col ref="execnode"/>
  238. <col ref="useyn" type="combo">
  239. <choices>
  240. <itemset nodeset="/root/init/statuslist/status">
  241. <label ref="label"/>
  242. <value ref="value"/>
  243. </itemset>
  244. </choices>
  245. </col>
  246. <col ref="prgmnm" style="word-wrap:none; "/>
  247. <col ref="bizabbr" visibility="hidden"/>
  248. <col ref="modulenm" visibility="hidden"/>
  249. <col ref="prgmid" visibility="hidden"/>
  250. <col ref="batchyn" visibility="hidden"/>
  251. <col ref="prgmparam" style="word-wrap:none; "/>
  252. <col ref="jvmparam" style="word-wrap:none; "/>
  253. <col ref="fstrgstrid" visibility="hidden"/>
  254. <col ref="fstrgstdt" visibility="hidden"/>
  255. <col ref="lastupdtrid" visibility="hidden"/>
  256. <col ref="lastupdtdt" visibility="hidden"/>
  257. <script type="javascript" ev:event="onrowchanged">
  258. <![CDATA[
  259. var cur_row = grd_schelist.row;
  260. if ( cur_row > 0 ) {
  261. fEnableUpdateButton();
  262. model.copyNode("/root/main/item","/root/main/list/schelist["+cur_row+"]");
  263. model.refresh();
  264. }
  265. ]]>
  266. </script>
  267. </datagrid>
  268. <button id="btn_clear" class="btn2_letter3" navindex="14" style="left:1070px; top:459px; width:53px; height:19px; ">
  269. <caption>지우기</caption>
  270. <script type="javascript" ev:event="DOMActivate">
  271. <![CDATA[
  272. fEnableInsertButton();
  273. model.resetInstanceNode("/root/main/item");
  274. model.refresh();
  275. ]]>
  276. </script>
  277. </button>
  278. <button id="btn_delete" class="btn2_letter5" style="left:1118px; top:56px; width:75px; height:19px; ">
  279. <caption>선택행삭제</caption>
  280. <script type="javascript" ev:event="DOMActivate">
  281. <![CDATA[
  282. fDeleteSelectedRows(grd_schelist,false);
  283. grd_schelist.refresh();
  284. ]]>
  285. </script>
  286. </button>
  287. <button id="btn_update" class="btn2_letter2" navindex="13" style="left:1025px; top:459px; width:42px; height:19px; ">
  288. <caption>수정</caption>
  289. <script type="javascript" ev:event="DOMActivate">
  290. <![CDATA[
  291. //if ( !fCheckMandatoryInput() ) return;
  292. if (!isRequiredGroup("group3")) return;
  293. var cur_row = grd_schelist.row; // 행 번호 가져오기
  294. if (cur_row > 0) {
  295. // 그리드에 추가
  296. model.copyNode("/root/main/list/schelist["+cur_row+"]","/root/main/item");
  297. model.makeValue("/root/main/list/schelist["+cur_row+"]/prgmnm",cmb_prgmnm.label);
  298. grd_schelist.addStatus(cur_row,"update"); // 행을 업데이트 상태로 변경
  299. model.refresh();
  300. }
  301. ]]>
  302. </script>
  303. </button>
  304. <button id="btn_insert" class="btn2_letter2" navindex="12" style="left:980px; top:459px; width:42px; height:19px; ">
  305. <caption>추가</caption>
  306. <script type="javascript" ev:event="DOMActivate">
  307. <![CDATA[
  308. //if ( !fCheckMandatoryInput() ) return;
  309. if (!isRequiredGroup("group3")) return;
  310. grd_schelist.addItem(); // 입력할 행 추가.
  311. var cur_row = grd_schelist.row; // 추가된 행 번호 가져오기
  312. // 그리드에 추가
  313. model.copyNode("/root/main/list/schelist["+cur_row+"]","/root/main/item");
  314. model.makeValue("/root/main/list/schelist["+cur_row+"]/prgmnm",cmb_prgmnm.label);
  315. fEnableUpdateButton();
  316. model.refresh();
  317. ]]>
  318. </script>
  319. </button>
  320. <caption id="caption4" class="cell_1" style="left:598px; top:605px; width:100px; height:23px; vertical-align:middle; ">최종 수정자</caption>
  321. <caption id="caption10" class="cell_1" style="left:898px; top:605px; width:100px; height:23px; vertical-align:middle; ">최종 수정일시</caption>
  322. <caption id="caption12" class="cell_1" style="left:0px; top:605px; width:100px; height:23px; vertical-align:middle; ">최초 등록자</caption>
  323. <caption id="caption13" class="cell_1" style="left:299px; top:605px; width:100px; height:23px; vertical-align:middle; ">최초 등록일시</caption>
  324. <button id="btn_loadexcel" class="btn2_letter4" style="left:1052px; top:56px; width:64px; height:19px; ">
  325. <caption>엑셀입력</caption>
  326. <script type="javascript" ev:event="DOMActivate">
  327. <![CDATA[
  328. var fileName = window.fileDialog("open", "", false);
  329. grd_schelist.loadExcel(fileName, 1);
  330. // 입력 상태로 변경
  331. var rows = grd_schelist.rows;
  332. for(var i=1;i<rows;i++) {
  333. grd_schelist.addStatus(i,"insert");
  334. }
  335. ]]>
  336. </script>
  337. </button>
  338. <button id="btn_saveexcel" class="btn2_letter4" style="left:985px; top:56px; width:64px; height:19px; ">
  339. <caption>엑셀저장</caption>
  340. <script type="javascript" ev:event="DOMActivate">
  341. <![CDATA[
  342. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  343. if (fileName != "")
  344. {
  345. grd_schelist.saveExcel(fileName, "SheetName", true, true, "", "", false);
  346. }
  347. ]]>
  348. </script>
  349. </button>
  350. <caption id="caption3" class="cell_1" style="left:898px; top:509px; width:100px; height:23px; ">실행 노드</caption>
  351. <caption id="caption5" class="cell_1" style="left:598px; top:509px; width:100px; height:23px; ">실행자</caption>
  352. <caption id="caption7" class="cell_1" style="left:435px; top:509px; width:64px; height:23px; ">사용여부</caption>
  353. <caption id="caption8" class="cell_1" style="left:0px; top:633px; width:1195px; height:107px; ">
  354. <![CDATA[실행 스케쥴은 "분 시 일 월 주" 의 5개 필드로 구성된다. 모든 경우의 수는 * 로 표시하며 하나의 필드에 여러값을 지정하려면 , 를 사용하여 나열하거나 - 를 사용하여 범위를 지정한다. 주는 0(일) ~ 6(토) 값이 사용되며,
  355. 매월 말일은 32로 표현한다. 여러 실행 스케쥴을 | 을 사용하여 한번에 기술할 수 있다.
  356. 작성예) 매일 저녁9시 5,25,45분에 실행 : 5,25,45 21 * * * , 일요일 새벽 5,6,7시에 실행 : 0 5-7 * * 0, 매월 말일 밤 11시에 실행 : 0 23 32 * * , 매일 저녁 8시 30 분과 9시에 실행 : 30 20 * * * | 0 21 * * *
  357. 배치 파라메터는 배치 프로그램에 전달되는 파라메터로 $세션명 또는 %날짜포멧 형태의 특수 표현식을 사용할 수 있다. $userid 는 세션값 중 userid를 지정하며, $systeminstcd는 시스템의 기관코드를 지정한다.
  358. 또한 %yyyyMMdd는 오늘 날짜를 지정하는데, 날짜포멧 표현에는 날수를 더하거나 뺄수 있는 연산기능을 제공하여 %yyyyMMdd+4 또는 %yyyyMMdd-7 과 같이 사용가능하다.
  359. 시스템 파라메터는 Java의 시스템 프로퍼티를 지정할 수 있는데 -Dlive.batch.세션명=세션값 형태로 필요한 세션 값을 지정할 수 있다.
  360. 예를 들어 -Dlive.batch.dutplceinstcd=$systeminstcd와 같이 지정하면 dutplceinstcd 세션값이 시스템의 기관코드 값으로 설정된다.]]>
  361. </caption>
  362. <select1 id="cmb_prgmnm" ref="/root/main/item/servicenm" class="combo_essential" navindex="5" appearance="minimal" _required="true" style="left:103px; top:486px; width:327px; height:19px; ">
  363. <choices>
  364. <itemset nodeset="/root/init/prgmlist/prgmitem">
  365. <label ref="label"/>
  366. <value ref="fvalue"/>
  367. </itemset>
  368. </choices>
  369. <script type="javascript" ev:event="xforms-value-changed">
  370. <![CDATA[
  371. var svcnm = model.getValue("/root/main/item/servicenm");
  372. var svcsplit = svcnm.split(".");
  373. model.setValue("/root/main/item/bizabbr",svcsplit[0]);
  374. model.setValue("/root/main/item/modulenm",svcsplit[1]);
  375. model.setValue("/root/main/item/prgmid",svcsplit[2]);
  376. model.refresh();
  377. ]]>
  378. </script>
  379. </select1>
  380. <select1 id="cmb_bizabbr" ref="/root/main/item/bizabbr" disabled="true" navindex="6" appearance="minimal" _required="true" style="left:500px; top:486px; width:95px; height:19px; ">
  381. <choices>
  382. <itemset nodeset="/root/init/bizabbr/Z0001Z0009">
  383. <label ref="cdengabbrnm"/>
  384. <value ref="cdengabbrnm"/>
  385. </itemset>
  386. </choices>
  387. </select1>
  388. <output id="ipt_modulenm" ref="/root/main/item/modulenm" class="output_fix" navindex="7" _required="true" maxlength="5" style="left:701px; top:486px; width:193px; height:19px; ">
  389. <script type="javascript" ev:event="xforms-value-changed">
  390. <![CDATA[
  391. fEnableInsertButton();
  392. ]]>
  393. </script>
  394. </output>
  395. <output id="ipt_prgmid" ref="/root/main/item/prgmid" class="output_fix" _required="true" appearance="input" style="left:1001px; top:486px; width:193px; height:19px; "/>
  396. <input id="ipt_schenm" ref="/root/main/item/schenm" class="input_essential" navindex="8" _required="true" style="left:103px; top:510px; width:327px; height:19px; ">
  397. <script type="javascript" ev:event="xforms-value-changed">
  398. <![CDATA[
  399. fEnableInsertButton();
  400. ]]>
  401. </script>
  402. </input>
  403. <select1 id="cmb_useyn" ref="/root/main/item/useyn" navindex="6" appearance="minimal" _required="true" style="left:500px; top:510px; width:95px; height:19px; ">
  404. <choices>
  405. <item>
  406. <label>일반사용</label>
  407. <value>Y</value>
  408. </item>
  409. <item>
  410. <label>사용중지</label>
  411. <value>N</value>
  412. </item>
  413. <item>
  414. <label>관심사용</label>
  415. <value>W</value>
  416. </item>
  417. <item>
  418. <label>중요사용</label>
  419. <value>X</value>
  420. </item>
  421. </choices>
  422. </select1>
  423. <input id="ipt_execrid" ref="/root/main/item/execrid" class="input_essential" navindex="7" maxlength="10" _required="true" style="left:701px; top:510px; width:193px; height:19px; ">
  424. <script type="javascript" ev:event="xforms-value-changed">
  425. <![CDATA[
  426. fEnableInsertButton();
  427. ]]>
  428. </script>
  429. </input>
  430. <select1 id="ipt_execnode" ref="/root/main/item/execnode" appearance="minimal" _required="true" style="left:1001px; top:510px; width:193px; height:19px; ">
  431. <choices>
  432. <itemset nodeset="/root/init/execnode">
  433. <label ref="label"/>
  434. <value ref="value"/>
  435. </itemset>
  436. </choices>
  437. </select1>
  438. <input id="ipt_schedt" ref="/root/main/item/schedt" class="input_default" navindex="9" _required="true" appearance="input" style="left:103px; top:534px; width:492px; height:19px; "/>
  439. <input id="ipt_prgmparam" ref="/root/main/item/prgmparam" class="input_default" navindex="10" appearance="input" style="left:103px; top:558px; width:1091px; height:19px; "/>
  440. <input id="ipt_jvmparam" ref="/root/main/item/jvmparam" navindex="11" style="left:103px; top:582px; width:1091px; height:19px; "/>
  441. <output id="opt_fstrgstrid" ref="/root/main/item/fstrgstrid" class="output_fix" style="left:103px; top:606px; width:193px; height:19px; "/>
  442. <output id="opt_fstrgstdt" ref="/root/main/item/fstrgstdt" class="output_fix" format="yyyy-mm-dd hh:nn:ss" appearance="output" style="left:402px; top:606px; width:193px; height:19px; "/>
  443. <output id="opt_lastupdtrid" ref="/root/main/item/lastupdtrid" class="output_fix" style="left:701px; top:606px; width:193px; height:19px; "/>
  444. <output id="opt_lastupdtdt" ref="/root/main/item/lastupdtdt" class="output_fix" format="yyyy-mm-dd hh:nn:ss" appearance="output" style="left:1001px; top:606px; width:193px; height:19px; "/>
  445. <button id="btn_viewlog" class="btn2_letter4" navindex="14" style="left:1128px; top:459px; width:64px; height:19px; ">
  446. <caption>로그보기</caption>
  447. <script type="javascript" ev:event="DOMActivate">
  448. <![CDATA[
  449. var prgmuid = model.getValue("/root/main/item/modulenm") + "." + model.getValue("/root/main/item/prgmid");
  450. var execrid = model.getValue("/root/main/item/execrid");
  451. zsbfOpenBatchLogPopup(prgmuid,null,null,execrid);
  452. ]]>
  453. </script>
  454. </button>
  455. <caption id="caption9" style="left:600px; top:535px; width:581px; height:20px; ">* 스케줄 입력시 가급적 기존에 등록된 스케줄시간과 겹치지 않도록 하며, 21시50분 ~ 22시는 피하도록한다.</caption>
  456. </group>
  457. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  458. <line id="line32" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  459. <button id="btn_save" class="btn4_letter2" navindex="15" style="left:1067px; top:3px; width:56px; height:22px; ">
  460. <caption>저장</caption>
  461. <script type="javascript" ev:event="DOMActivate">
  462. <![CDATA[
  463. var updtdata = getGridUpdateData(grd_schelist);
  464. if (updtdata == "") {
  465. messageBox("변경된 데이터가","I004");
  466. return;
  467. }
  468. //alert("grid update data = " + grd_schelist.getUpdateData());
  469. model.setValue("/root/send/schelist",grd_schelist.getUpdateData());
  470. if ( submit("TXZSB00401") ) {
  471. grd_schelist.clearStatus(); // submit() 성공하면 그리드의 i,u,d 상태 제거
  472. model.setValue("/root/send/schelist","");
  473. }
  474. ]]>
  475. </script>
  476. </button>
  477. <button id="btn_init" class="btn4_letter3" navindex="16" style="left:1126px; top:3px; width:68px; height:22px; ">
  478. <caption>초기화</caption>
  479. <script type="javascript" ev:event="DOMActivate">
  480. <![CDATA[
  481. var updtdata = getGridUpdateData(grd_schelist);
  482. if (updtdata != "" ) {
  483. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 초기화 작업을","Q003");
  484. if (ret != 6) { // not OK
  485. return;
  486. }
  487. }
  488. fInitialize();
  489. ]]>
  490. </script>
  491. </button>
  492. </group>
  493. </xhtml:body>
  494. </xhtml:html>