123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>
- <list>
- <schelist/>
- </list>
- <item>
- <servicenm/>
- <bizabbr/>
- <modulenm/>
- <prgmid/>
- <schenm/>
- <execrid/>
- <execnode/>
- <schedt/>
- <prgmparam/>
- <jvmparam/>
- <fstrgstrid/>
- <fstrgstdt/>
- <lastupdtrid/>
- <lastupdtdt/>
- <useyn/>
- <batchyn/>
- </item>
- </main>
- <send>
- <bizabbr/>
- <searchnm/>
- <schelist/>
- <useyn/>
- </send>
- <init>
- <bizabbr>
- </bizabbr>
- <execnode>
- <label>node 1</label>
- <value>1</value>
- </execnode>
- <execnode>
- <label>node 2</label>
- <value>2</value>
- </execnode>
- <prgmlist>
- <prgmitem/>
- </prgmlist>
- <statuslist>
- <status>
- <label>일반</label>
- <value>Y</value>
- </status>
- <status>
- <label>중지</label>
- <value>N</value>
- </status>
- <status>
- <label>관심</label>
- <value>W</value>
- </status>
- <status>
- <label>중요</label>
- <value>X</value>
- </status>
- </statuslist>
- <useynlist>
- <useyn>
- <label>전체</label>
- <value/>
- </useyn>
- <useyn>
- <label>일반사용</label>
- <value>Y</value>
- </useyn>
- <useyn>
- <label>사용중지</label>
- <value>N</value>
- </useyn>
- <useyn>
- <label>관심사용</label>
- <value>W</value>
- </useyn>
- <useyn>
- <label>중요사용</label>
- <value>X</value>
- </useyn>
- </useynlist>
- </init>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- zbcfGetKindCodeList(new Array("Z0001"), new Array("Z0009"), new Array("/root/init/bizabbr"), false, new Array("cdnm","cdengabbrnm"));
- submit("TRZSB00201");
- model.refresh();
- fCheckAuth();
- fInitialize();
- ]]>
- </script>
- <submission id="TRZBC00104" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TXZSB00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TRZSB00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
- <submission id="TRZSB00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp" resultref="/root/init/prgmlist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/batchinfoweb/js/ZSB001.js"/>
- <script type="javascript">
- <![CDATA[
- function fCheckAuth() {
- if (!checkAuth("x")) {
- btn_save.disabled = true;
- btn_loadexcel.disabled=true;
- btn_delete.disabled=true;
- btn_insert.disabled=true;
- btn_update.disabled=true;
- btn_clear.disabled=true;
- }
-
- }
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
- fEnableInsertButton();
- model.removeNodeset("/root/main/list/schelist");
- model.resetInstanceNode("/root/send");
- model.resetInstanceNode("/root/main/item");
-
- model.refresh();
- }
-
- // 시스템코드, 메시지종료, 메시지 번호가 입력되면 이들을 조합하여 메시지코드를 설정한다.
- function fEnableInsertButton() {
- btn_insert.disabled = false;
- btn_update.disabled = true;
- }
- function fEnableUpdateButton() {
- btn_insert.disabled = true;
- btn_update.disabled = false;
- }
-
- function fDeleteSelectedRows(grd,markonly) {
- var rowIdx;
- if (grd.selectedRows > 0) {
- var selectedRows = Array(grd.selectedRows);
- for(i=0;i<grd.selectedRows;i++) {
- selectedRows[i] = grd.selectedRow(i);
- }
- if (markonly != null && markonly == true) { // mark delete
- for(i=selectedRows.length-1;i>=0;i--) {
- rowIdx = selectedRows[i];
- if(grd.rowstatus(rowIdx) == 1 ) { // just inserted row
- grd.deleterow(rowIdx,false);
- } else {
- grd.addStatus(rowIdx,"delete");
- }
- }
- } else {
- for(i=selectedRows.length-1;i>=0;i--) {
- rowIdx = selectedRows[i];
- grd.deleterow(rowIdx,false);
- }
- }
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1196;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">배치 스케쥴 관리</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <line id="line4" class="line_2" style="x1:0px; y1:176px; x2:1194px; y2:176px; "/>
- <line id="line3" class="line_2" style="x1:0px; y1:152px; x2:1194px; y2:152px; "/>
- <line id="line2" class="line_2" style="x1:0px; y1:128px; x2:1194px; y2:128px; "/>
- <line id="line6" class="line_2" style="x1:0px; y1:104px; x2:1194px; y2:104px; "/>
- <group id="group2" style="left:0px; top:14px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <caption id="caption2" class="search_name" style="left:16px; top:8px; width:91px; height:17px; ">업무 구분 :</caption>
- <line id="line13" style="x1:1106px; y1:7px; x2:1106px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption22" class="search_name" style="left:296px; top:8px; width:104px; height:17px; ">검색 명 :</caption>
- <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1122px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_schelist);
- if ( updtdata != "" ) {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
- if (ret != 6) { // not OK
- return;
- }
- }
- //model.send("TRZSS00101");
- //setAlertOn();
- submit("TRZSB00401");
- ]]>
- </script>
- </button>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/bizabbr/Z0001Z0009">
- <label ref="cdengabbrnm"/>
- <value ref="cdengabbrnm"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_searchnm_cond" ref="/root/send/searchnm" class="input_search" navindex="3" style="left:380px; top:8px; width:200px; height:19px; "/>
- <caption id="caption11" class="search_name" style="left:605px; top:8px; width:104px; height:17px; ">사용 수준 :</caption>
- <select1 id="combo1" ref="/root/send/useyn" class="combo_s" navindex="1" appearance="minimal" style="left:705px; top:8px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/useynlist/useyn">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <caption id="caption1" class="tit_2" style="left:6px; top:465px; width:139px; height:13px; ">스케쥴 입력/수정</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:480px; x2:1194px; y2:480px; "/>
- <caption id="cap_bizabbrinput" class="cell_1" style="left:0px; top:485px; width:100px; height:23px; ">프로그램 명</caption>
- <caption id="cap_msgtypeinput" class="cell_1" style="left:435px; top:485px; width:64px; height:23px; ">업무구분</caption>
- <caption id="cap_msgcnts1" class="cell_1" style="left:0px; top:509px; width:100px; height:23px; ">스케쥴 명</caption>
- <caption id="cap_msgcnts2" class="cell_1" style="left:0px; top:533px; width:100px; height:23px; ">실행 스케쥴</caption>
- <caption id="cap_msgcnts3" class="cell_1" style="left:0px; top:557px; width:100px; height:23px; ">배치 파라메터</caption>
- <caption id="cap_msgnoinput" class="cell_1" style="left:598px; top:485px; width:100px; height:23px; ">모듈 명</caption>
- <caption id="caption19" class="cell_1" style="left:0px; top:581px; width:100px; height:23px; ">시스템 파라메터</caption>
- <caption id="caption20" class="tit_2" style="left:6px; top:62px; width:118px; height:14px; ">스케쥴 조회 목록</caption>
- <line id="line8" class="line_1" style="x1:0px; y1:77px; x2:1194px; y2:77px; "/>
- <line id="line7" class="line_3" style="x1:0px; y1:629px; x2:1194px; y2:629px; "/>
- <caption id="cap_msgcd" class="cell_1" style="left:898px; top:485px; width:100px; height:23px; ">프로그램 ID</caption>
- <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; ">
- <col ref="schenm" style="word-wrap:none; "/>
- <col ref="schedt" style="word-wrap:none; "/>
- <col ref="execrid"/>
- <col ref="execnode"/>
- <col ref="useyn" type="combo">
- <choices>
- <itemset nodeset="/root/init/statuslist/status">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="prgmnm" style="word-wrap:none; "/>
- <col ref="bizabbr" visibility="hidden"/>
- <col ref="modulenm" visibility="hidden"/>
- <col ref="prgmid" visibility="hidden"/>
- <col ref="batchyn" visibility="hidden"/>
- <col ref="prgmparam" style="word-wrap:none; "/>
- <col ref="jvmparam" style="word-wrap:none; "/>
- <col ref="fstrgstrid" visibility="hidden"/>
- <col ref="fstrgstdt" visibility="hidden"/>
- <col ref="lastupdtrid" visibility="hidden"/>
- <col ref="lastupdtdt" visibility="hidden"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- var cur_row = grd_schelist.row;
- if ( cur_row > 0 ) {
- fEnableUpdateButton();
- model.copyNode("/root/main/item","/root/main/list/schelist["+cur_row+"]");
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_clear" class="btn2_letter3" navindex="14" style="left:1070px; top:459px; width:53px; height:19px; ">
- <caption>지우기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fEnableInsertButton();
- model.resetInstanceNode("/root/main/item");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_delete" class="btn2_letter5" style="left:1118px; top:56px; width:75px; height:19px; ">
- <caption>선택행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDeleteSelectedRows(grd_schelist,false);
- grd_schelist.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_update" class="btn2_letter2" navindex="13" style="left:1025px; top:459px; width:42px; height:19px; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //if ( !fCheckMandatoryInput() ) return;
- if (!isRequiredGroup("group3")) return;
- var cur_row = grd_schelist.row; // 행 번호 가져오기
- if (cur_row > 0) {
- // 그리드에 추가
- model.copyNode("/root/main/list/schelist["+cur_row+"]","/root/main/item");
- model.makeValue("/root/main/list/schelist["+cur_row+"]/prgmnm",cmb_prgmnm.label);
- grd_schelist.addStatus(cur_row,"update"); // 행을 업데이트 상태로 변경
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="btn_insert" class="btn2_letter2" navindex="12" style="left:980px; top:459px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //if ( !fCheckMandatoryInput() ) return;
- if (!isRequiredGroup("group3")) return;
-
- grd_schelist.addItem(); // 입력할 행 추가.
- var cur_row = grd_schelist.row; // 추가된 행 번호 가져오기
- // 그리드에 추가
- model.copyNode("/root/main/list/schelist["+cur_row+"]","/root/main/item");
- model.makeValue("/root/main/list/schelist["+cur_row+"]/prgmnm",cmb_prgmnm.label);
- fEnableUpdateButton();
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption4" class="cell_1" style="left:598px; top:605px; width:100px; height:23px; vertical-align:middle; ">최종 수정자</caption>
- <caption id="caption10" class="cell_1" style="left:898px; top:605px; width:100px; height:23px; vertical-align:middle; ">최종 수정일시</caption>
- <caption id="caption12" class="cell_1" style="left:0px; top:605px; width:100px; height:23px; vertical-align:middle; ">최초 등록자</caption>
- <caption id="caption13" class="cell_1" style="left:299px; top:605px; width:100px; height:23px; vertical-align:middle; ">최초 등록일시</caption>
- <button id="btn_loadexcel" class="btn2_letter4" style="left:1052px; top:56px; width:64px; height:19px; ">
- <caption>엑셀입력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("open", "", false);
- grd_schelist.loadExcel(fileName, 1);
- // 입력 상태로 변경
- var rows = grd_schelist.rows;
- for(var i=1;i<rows;i++) {
- grd_schelist.addStatus(i,"insert");
- }
- ]]>
- </script>
- </button>
- <button id="btn_saveexcel" class="btn2_letter4" style="left:985px; top:56px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != "")
- {
- grd_schelist.saveExcel(fileName, "SheetName", true, true, "", "", false);
- }
- ]]>
- </script>
- </button>
- <caption id="caption3" class="cell_1" style="left:898px; top:509px; width:100px; height:23px; ">실행 노드</caption>
- <caption id="caption5" class="cell_1" style="left:598px; top:509px; width:100px; height:23px; ">실행자</caption>
- <caption id="caption7" class="cell_1" style="left:435px; top:509px; width:64px; height:23px; ">사용여부</caption>
- <caption id="caption8" class="cell_1" style="left:0px; top:633px; width:1195px; height:107px; ">
- <![CDATA[실행 스케쥴은 "분 시 일 월 주" 의 5개 필드로 구성된다. 모든 경우의 수는 * 로 표시하며 하나의 필드에 여러값을 지정하려면 , 를 사용하여 나열하거나 - 를 사용하여 범위를 지정한다. 주는 0(일) ~ 6(토) 값이 사용되며,
- 매월 말일은 32로 표현한다. 여러 실행 스케쥴을 | 을 사용하여 한번에 기술할 수 있다.
- 작성예) 매일 저녁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 * * *
- 배치 파라메터는 배치 프로그램에 전달되는 파라메터로 $세션명 또는 %날짜포멧 형태의 특수 표현식을 사용할 수 있다. $userid 는 세션값 중 userid를 지정하며, $systeminstcd는 시스템의 기관코드를 지정한다.
- 또한 %yyyyMMdd는 오늘 날짜를 지정하는데, 날짜포멧 표현에는 날수를 더하거나 뺄수 있는 연산기능을 제공하여 %yyyyMMdd+4 또는 %yyyyMMdd-7 과 같이 사용가능하다.
- 시스템 파라메터는 Java의 시스템 프로퍼티를 지정할 수 있는데 -Dlive.batch.세션명=세션값 형태로 필요한 세션 값을 지정할 수 있다.
- 예를 들어 -Dlive.batch.dutplceinstcd=$systeminstcd와 같이 지정하면 dutplceinstcd 세션값이 시스템의 기관코드 값으로 설정된다.]]>
- </caption>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/prgmlist/prgmitem">
- <label ref="label"/>
- <value ref="fvalue"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var svcnm = model.getValue("/root/main/item/servicenm");
- var svcsplit = svcnm.split(".");
- model.setValue("/root/main/item/bizabbr",svcsplit[0]);
- model.setValue("/root/main/item/modulenm",svcsplit[1]);
- model.setValue("/root/main/item/prgmid",svcsplit[2]);
- model.refresh();
- ]]>
- </script>
- </select1>
- <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; ">
- <choices>
- <itemset nodeset="/root/init/bizabbr/Z0001Z0009">
- <label ref="cdengabbrnm"/>
- <value ref="cdengabbrnm"/>
- </itemset>
- </choices>
- </select1>
- <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; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fEnableInsertButton();
- ]]>
- </script>
- </output>
- <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; "/>
- <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; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fEnableInsertButton();
- ]]>
- </script>
- </input>
- <select1 id="cmb_useyn" ref="/root/main/item/useyn" navindex="6" appearance="minimal" _required="true" style="left:500px; top:510px; width:95px; height:19px; ">
- <choices>
- <item>
- <label>일반사용</label>
- <value>Y</value>
- </item>
- <item>
- <label>사용중지</label>
- <value>N</value>
- </item>
- <item>
- <label>관심사용</label>
- <value>W</value>
- </item>
- <item>
- <label>중요사용</label>
- <value>X</value>
- </item>
- </choices>
- </select1>
- <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; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fEnableInsertButton();
- ]]>
- </script>
- </input>
- <select1 id="ipt_execnode" ref="/root/main/item/execnode" appearance="minimal" _required="true" style="left:1001px; top:510px; width:193px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/execnode">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <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; "/>
- <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; "/>
- <input id="ipt_jvmparam" ref="/root/main/item/jvmparam" navindex="11" style="left:103px; top:582px; width:1091px; height:19px; "/>
- <output id="opt_fstrgstrid" ref="/root/main/item/fstrgstrid" class="output_fix" style="left:103px; top:606px; width:193px; height:19px; "/>
- <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; "/>
- <output id="opt_lastupdtrid" ref="/root/main/item/lastupdtrid" class="output_fix" style="left:701px; top:606px; width:193px; height:19px; "/>
- <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; "/>
- <button id="btn_viewlog" class="btn2_letter4" navindex="14" style="left:1128px; top:459px; width:64px; height:19px; ">
- <caption>로그보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var prgmuid = model.getValue("/root/main/item/modulenm") + "." + model.getValue("/root/main/item/prgmid");
- var execrid = model.getValue("/root/main/item/execrid");
- zsbfOpenBatchLogPopup(prgmuid,null,null,execrid);
- ]]>
- </script>
- </button>
- <caption id="caption9" style="left:600px; top:535px; width:581px; height:20px; ">* 스케줄 입력시 가급적 기존에 등록된 스케줄시간과 겹치지 않도록 하며, 21시50분 ~ 22시는 피하도록한다.</caption>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <line id="line32" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="btn_save" class="btn4_letter2" navindex="15" style="left:1067px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_schelist);
- if (updtdata == "") {
- messageBox("변경된 데이터가","I004");
- return;
- }
-
- //alert("grid update data = " + grd_schelist.getUpdateData());
- model.setValue("/root/send/schelist",grd_schelist.getUpdateData());
- if ( submit("TXZSB00401") ) {
- grd_schelist.clearStatus(); // submit() 성공하면 그리드의 i,u,d 상태 제거
- model.setValue("/root/send/schelist","");
- }
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" navindex="16" style="left:1126px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_schelist);
- if (updtdata != "" ) {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 초기화 작업을","Q003");
- if (ret != 6) { // not OK
- return;
- }
- }
- fInitialize();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|