123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- <?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>
- <list>
- <mngtlist/>
- </list>
- </main>
- <send>
- <retrparams>
- <mngtlist/>
- </retrparams>
- <instcd/>
- </send>
- <temp/>
- </root>
- </instance>
- <submission id="TRRAC01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
- <submission id="TXRAC01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams" resultref="/root/temp"/>
- </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/dateHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- //========================================================================================
- //초기화
- //========================================================================================
- function fInitialize()
- {
- misfComboComCdList("Z0007", cmb_instcd, "N");
- model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.removenode("/root/main/list/mngtlist");
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="680" pageheight="810" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" style="left:0px; top:0px; width:610; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:190px; height:14px; ">관리코드</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:12px; width:660px; height:748px; ">
- <button id="btn_delrow" class="btn2_letter3" style="left:290px; top:67px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_mngtlist, "D");
- ]]>
- </script>
- </button>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:27px; width:660px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="tit_2" style="left:10px; top:74px; width:190px; height:13px; ">관리코드</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:88px; x2:660px; y2:88px; "/>
- <line id="line21" class="line_4" style="x1:574px; y1:34px; x2:574px; y2:56px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:589px; top:34px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRRAC01101");
- misfSetReadOnlyCol(grd_mngtlist, "mngtcd,mngtnm", true);
- model.refresh();
- ]]>
- </script>
- </button>
- <datagrid id="grd_mngtlist" nodeset="/root/main/list/mngtlist" caption="기관코드^변수명^코드^명칭" colsep="^" colwidth="0, 200, 200, 200" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:93px; width:660px; height:652px; ">
- <col ref="instcd" visibility="hidden"/>
- <col ref="mngtcd" type="input"/>
- <col ref="mngtnm" type="input"/>
- <col ref="cmt" type="input"/>
- </datagrid>
- <button id="btn_addrow" class="btn2_letter3" style="left:600px; top:67px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_mngtlist.addRow();
- grd_mngtlist.valueMatrix(grd_mngtlist.row, grd_mngtlist.colRef("instcd")) = cmb_instcd.value;
- ]]>
- </script>
- </button>
- <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" navindex="1" appearance="minimal" style="left:108px; top:36px; width:197px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <caption id="caption7" class="search_name" style="left:19px; top:36px; width:86px; height:17px; ">기관구분 :</caption>
- </group>
- <button id="btn_save" class="btn4_letter2" navindex="23" style="left:600px; top:15px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //alert(grd_mngtlist.getUpdateData());
- model.makeValue("/root/send/retrparams/mngtlist", grd_mngtlist.getUpdateData());
- submit("TXRAC01101");
- btn_search.dispatch("DOMActivate");
-
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|