123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 |
- <?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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <bodypartlist>
- <list>
- <sortno/>
- <basecd/>
- <basecdflagdesc/>
- <basecdcnts/>
- </list>
- </bodypartlist>
- </main>
- <send>
- <req>
- <data/>
- </req>
- <basecd/>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <basecdnm/>
- <basecdflag>O</basecdflag>
- </send>
- <init/>
- <hidden>
- <item/>
- </hidden>
- </root>
- </instance>
- <submission id="TRAEA02309" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/bodypartlist"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- aezfSetSuppDeptcd();
-
- model.removeNodeset("/root/main/bodypartlist/list");
- model.refresh();
-
- model.setFocus("ipt_basecd");
- ]]>
- </script>
- <submission id="TXAEA02309" ref="/root/send/req" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/hidden"/>
- </model>
- </xhtml:head>
- <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"/>
- <xhtml:body pagewidth="604" pageheight="493" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:587px; height:465px; ">
- <group id="grp_sea" style="left:0px; top:0px; width:587px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:586px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:9px; width:65px; height:17px; ">코드 :</caption>
- <input id="ipt_basecd" ref="/root/send/basecd" class="input_search" style="left:83px; top:8px; width:135px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption3" class="search_name" style="left:250px; top:9px; width:80px; height:17px; ">코드명 :</caption>
- <input id="ipt_basecdnm" ref="/root/send/basecdnm" class="input_search" style="left:333px; top:8px; width:135px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </input>
- <line id="line13" class="line_4" style="x1:500px; y1:5px; x2:500px; y2:28px; "/>
- <button id="btn_sea" class="btn1_letter2" style="left:515px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRAEA02309");
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:45px; width:125px; height:13px; ">화합물코드관리</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:61px; x2:586px; y2:61px; "/>
- <datagrid id="grd_bodypart" nodeset="/root/main/bodypartlist/list" caption="순번 ^화합물코드^화합물코드명^비고^basecdflag^basesuppdeptcd" colwidth="35, 113, 183, 233, 0, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" colsep="^" style="left:0px; top:65px; width:586px; height:400px; ">
- <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="basecdflag"/>
- <col ref="basesuppdeptcd"/>
- </datagrid>
- <button id="btn_excsave" class="btn2_letter4" style="left:522px; top:40px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var file = window.fileDialog("save","","false","","xls","Excel Files(*.xls)|*.xls");
- grd_bodypart.saveExcel(file);
- ]]>
- </script>
- </button>
- <button id="btn_grddel" class="btn2_letter3" style="left:466px; top:40px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- deleteSelectedRows(grd_bodypart, true);
- ]]>
- </script>
- </button>
- <button id="btn_grdadd" class="btn2_letter3" style="left:410px; top:40px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_bodypart.addItem();
-
- var i = parseInt(grd_bodypart.row);
-
- model.setValue("/root/main/bodypartlist/list[" + i + "]/basesuppdeptcd",
- model.getValue("/root/send/globalinstance/instance1") );
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" style="left:0px; top:466px; width:587px; height:27px; ">
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:586px; y2:0px; "/>
- <button id="btn_clear" class="btn4_letter3" style="left:518px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( messageBox("초기화하시겠습니까?", "Q") == 6) {
- model.reset();
- }
- model.setFocus("ipt_basecd");
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:459px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( messageBox("", "Q002") == 6 ) {
- var update = getGridUpdateData(grd_bodypart);
-
- if (update == "" ) {
- messageBox("업데이트 정보가 없습니다.", "I");
- model.setFocus("ipt_basecd");
- }
- else {
- model.setValue("/root/send/req/data", update);
- submit("TXAEA02309");
- }
-
- submit("TRAEA02309");
- model.setValue("/root/send/basecd", "");
- model.setValue("/root/send/basecdnm", "");
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|