123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202 |
- <?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>
- <exmptmpllist>
- <exmptmpl>
- <sortno/>
- <basecd/>
- <basecdflagdesc/>
- <basecdcnts/>
- <basesuppdeptcd/>
- <basecdflag/>
- </exmptmpl>
- </exmptmpllist>
- </main>
- <send>
- <basecd/>
- <req>
- <data/>
- </req>
- <globalinstance>
- <instance1/>
- </globalinstance>
- </send>
- <init>
- <copyrslt>복사버튼 클릭 -> 서식항목을 선택 -> Ctrl+V를 키보드 선택입력합니다.</copyrslt>
- </init>
- <hidden>
- <item/>
- </hidden>
- </root>
- </instance>
- <submission id="TRAEB00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/exmptmpllist"/>
- <submission id="TXAEB00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/hidden"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- function fSendContents() {
-
-
-
- var bufCnts = "";
- var rowidx;
- var colref_viewcnts = grd_exmptmpl.colref("basecdcnts");
-
- if(checkOpener()) //opener 검사
- {
- var i = grd_exmptmpl.row;
- bufCnts += grd_exmptmpl.valueMatrix(i, colref_viewcnts) ;
- //alert('bufCnts-->'+bufCnts);
- window.clipBoardData = bufCnts;
- //alert(bufCnts);
- }else {
- messageBox("Parent 창[결과관리]이 변경되었습니다.","I999");
- return;
- }
- window.close();
- }
-
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- aezfSetSuppDeptcd();
-
- model.removeNodeset("/root/main/exmptmpllist/exmptmpl");
- model.refresh();
-
- model.setFocus("ipt_basecd");
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:1px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:1112px; y1:7px; x2:1112px; y2:29px; "/>
- <button id="btn_sea" class="btn1_letter2" style="left:1128px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRAEB00301");
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:15px; top:8px; width:112px; height:17px; ">결과예문코드 :</caption>
- <button id="button61" class="icon_search" style="left:270px; top:9px; width:16px; height:16px; ">
- <caption/>
- </button>
- <input id="ipt_basecd" ref="/root/send/basecd" class="input_search" style="left:130px; top:8px; width:135px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </input>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:69px; x2:1194px; y2:69px; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:54px; width:146px; height:14px; ">결과예문 현황</caption>
- <button id="btn_grdadd" class="btn2_letter3" style="left:1087px; top:49px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // grd_exmptmpl.addItem();
- // model.setValue("/root/main/exmptmpllist/exmptmpl["+ grd_exmptmpl.row +"]/basesuppdeptcd",model.getValue("/root/send/globalinstance/instance1"));
-
-
- grd_exmptmpl.addRow();
- // 행추가 시 bottomRow 사용하지 마세요!! 꼭
- //grd_exmptmpl.row = grd_exmptmpl.bottomRow;
- grd_exmptmpl.topRow = grd_exmptmpl.row;
-
- model.setValue("/root/main/exmptmpllist/exmptmpl["+ grd_exmptmpl.row +"]/basesuppdeptcd",model.getValue("/root/send/globalinstance/instance1"));
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_grddel" class="btn2_letter3" style="left:1142px; top:49px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //grd_exmptmpl.addStatus(grd_exmptmpl.row,"delete");
- deleteSelectedRows(grd_exmptmpl, true);
- ]]>
- </script>
- </button>
- <datagrid id="grd_exmptmpl" nodeset="/root/main/exmptmpllist/exmptmpl" autoresize="true" caption="순번^결과예문코드^결과예문명^결과예문내용^caption1^caption2^caption3^basecdflag^basesuppdeptcd" colsep="^" colwidth="70, 123, 132, 813, 100, 100, 100, 0, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:72px; width:1194px; height:670px; ">
- <col ref="sortno" type="input"/>
- <col ref="basecd" type="input" maxlength="12" _chartype="upper" _key="true"/>
- <col ref="basecdflagdesc" type="input"/>
- <col ref="basecdcnts" type="input"/>
- <col ref="basesuppdeptcd" type="input" visibility="hidden"/>
- <col ref="basecdflag" type="input" visibility="hidden"/>
- <col ref="seq" type="input" visibility="hidden"/>
- </datagrid>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1079px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if ( messageBox("","Q002")==6 ) {
- var update = getGridUpdateData(grd_exmptmpl);
- // var update = model.getValue("/root/send/req/data");
- if(update == ""){
- messageBox("업데이트 정보가 없습니다.", "I");
- return 0;
-
- } else {
- model.setValue("/root/send/req/data", update);
- submit("TXAEB00301");
-
- }
-
- }
- submit("TRAEB00301");
-
-
-
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusIn">
- <![CDATA[
- checkKeyColumn("grd_exmptmpl");
- ]]>
- </script>
- </button>
- <input id="input1" ref="/root/init/copyrslt" style="left:610px; top:6px; width:400px; height:19px; "/>
- </group>
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:144px; height:14px; ">결과예문관리</caption>
- </group>
- <button id="button3" class="btn4_letter2" style="left:1022px; top:762px; width:56px; height:22px; ">
- <caption>복사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if ( grd_exmptmpl.row < 1 ) return;
-
- //alert(model.getValue("/root/main/sendcontens"));
- fSendContents();
- ]]>
- </script>
- </button>
- <button id="btn_cls" class="btn4_letter2" style="left:1136px; top:762px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <close ev:event="DOMActivate"/>
- </button>
- </xhtml:body>
- </xhtml:html>
|