1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>
- <cnclcodelist>
- <cnclcode>
- <cdnm/>
- <cntlcd1/>
- <suppdeptcd/>
- <cdgrupid/>
- <cdid/>
- </cnclcode>
- </cnclcodelist>
- </main>
- <send>
- <cnclcd/>
- <basecdflag/>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <req>
- <data/>
- </req>
- </send>
- <init/>
- <hidden>
- <count/>
- <receivedata/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- aezfSetSuppDeptcd();
- model.removeNodeset("/root/main/cnclcodelist/cnclcode");
- submit("TRAGA05401");
- if (grd_basecd.rows < 2){
- grd_basecd.addRow();
- model.setValue("/root/main/cnclcodelist/cnclcode[" + 1 + "]/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
- model.setValue("/root/main/cnclcodelist/cnclcode[" + 1 + "]/cdgrupid", "A010");
- model.setValue("/root/main/cnclcodelist/cnclcode[" + 1 + "]/cdid", "01");
- }
- model.refresh();
- ]]>
- </script>
- <submission id="TRAGA05401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/cnclcodelist"/>
- <submission id="TXAGA05401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="490" pageheight="390" guideline="1,1194;2,383;1,434;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:435px; height:350px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:6px; width:101px; height:14px; ">전송Comment</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:21px; x2:432px; y2:21px; "/>
- <datagrid id="grd_basecd" nodeset="/root/main/cnclcodelist/cnclcode" autoresize="true" caption="내 용^전화번호^caption2^caption3^caption4" colsep="^" colwidth="303, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:25px; width:434px; height:324px; ">
- <col ref="cdnm" type="input"/>
- <col ref="cntlcd1" type="input" maxlength="11"/>
- <col ref="suppdeptcd" visibility="hidden"/>
- <col ref="cdgrupid" visibility="hidden"/>
- <col ref="cdid" visibility="hidden"/>
- </datagrid>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:355px; width:448px; height:27px; ">
- <button id="btn_cfm" class="btn4_letter2" style="left:327px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (model.getValue("/root/main/cnclcodelist/cnclcode[" + 1 + "]/cdnm") == ""){
- messageBox("업체에 전송할 Comment는 필수 입력항목입니다.", "E999", "");
- return;
- }
- var update = getGridUpdateData(grd_basecd);
- if(update == ""){
- messageBox("업데이트 정보가 없습니다.", "I");
- } else {
- model.setValue("/root/send/req/data",update);
- if (submit("TXAGA05401")){
- window.close();
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_cls" class="btn4_letter2" style="left:386px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <close ev:event="DOMActivate"/>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|