123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>보고서 사용여부 관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <reportinfo>
- <reportlist/>
- </reportinfo>
- </main>
- <send>
- <reqdata>
- </reqdata>
- <savedata>
- <reportlist/>
- </savedata>
- <instcd/>
- </send>
- <hidden>
- </hidden>
- <init>
- </init>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fIni();
- ]]>
- </script>
- <submission id="TRRIF02102" mediatype="application/x-www-form-urlencoded" method="form-data-post" ref="/root/send" replace="instance" resultref="/root/main/reportinfo"/>
- <submission id="TXRIS00205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" replace="instance" resultref="/root/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/authinfoweb/js/ZSA001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/ctmsweb/js/SPRIS00201.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript">
- <![CDATA[
- function fIni(){
- model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd") );
- btn_search.dispatch("DOMActivate");
- model.refresh();
- }
-
- function fSave(){
-
- model.removenode("/root/send/savedata/reportlist");
- var updtdata = getGridUpdateData(grd_reportlist);
- if (updtdata == "" ) {
- messageBox("변경된 데이터가","I004");
- return;
- }
-
- model.makeValue("/root/send/savedata/reportlist", grd_reportlist.getUpdateData());
-
- if( submit("TXRIS00205") ){
- btn_search.dispatch("DOMActivate");
- }
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="520" pageheight="540" guideline="1,66;1,210;">
- <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:176px; height:13px; ">보고서 사용여부 관리</caption>
- <group id="grp_reportlist" style="left:10px; top:20px; width:480px; height:490px; ">
- <datagrid id="grd_reportlist" nodeset="/root/main/reportinfo/reportlist" class="datagrid2" caption="구분^보고서코드^보고서명^사용
여부" colsep="^" colwidth="55, 75, 244, 57" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:31px; width:475px; height:455px; ">
- <col disabled="true" ref="reptgrp" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>일반</label>
- <value>A</value>
- </item>
- <item>
- <label>동의서</label>
- <value>B</value>
- </item>
- <item>
- <label>제증명</label>
- <value>C</value>
- </item>
- </choices>
- </col>
- <col ref="reptcd" style="text-align:center; "/>
- <col ref="reptnm" style="text-align:left; "/>
- <col ref="useyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_reportlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line1" class="line_1" style="x1:0px; y1:27px; x2:476px; y2:27px; "/>
- <caption id="caption15" class="tit_2" style="left:5px; top:9px; width:123px; height:13px; ">보고서 리스트</caption>
- <button id="btn_save" class="btn4_letter2" navindex="26" style="left:421px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave();
- ]]>
- </script>
- </button>
- <button id="btn_search" class="btn1_letter2" navindex="26" visibility="hidden" style="left:355px; top:3px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRRIF02102");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|