123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- <?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>
- <testcdlst>
- <item>
- <testcd/>
- <testnm/>
- </item>
- </testcdlst>
- </main>
- <send>
- <testroomcd/>
- <testroomnm/>
- <srchgubn/>
- <srchnm/>
- </send>
- <popdata>
- <testroomcd/>
- <testroomnm/>
- </popdata>
- <temp>
- <list/>
- </temp>
- </root>
- </instance>
- <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/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setFocus("ipt_cdnm");
- model.setValue("/root/send/testroomcd", model.getValue("/root/popdata/testroomcd"));
- model.setValue("/root/send/testroomnm", model.getValue("/root/popdata/testroomnm"));
- model.setValue("/root/send/srchgubn", "nm");
- readfunc();
- ]]>
- </script>
- <submission id="TRAHA05011" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testcdlst"/>
- <submission id="TRZBC00101"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function readfunc(){
- model.removeNodeset("/root/main/testcdlst/item");
- submit("TRAHA05011");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="590" pageheight="780" guideline="1,1194;1,586;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:565px; height:730px; ">
- <group id="group2" style="left:0px; top:0px; width:554px; height:65px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:1px; width:554px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:6px; top:34px; width:86px; height:17px; ">검색조건 :</caption>
- <button id="btn_search" class="btn1_letter2" style="left:480px; top:20px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- readfunc();
- ]]>
- </script>
- </button>
- <line id="line13" style="x1:459px; y1:6px; x2:459px; y2:58px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="cmb_srchcond2" ref="/root/send/srchgubn" class="combo_search" appearance="minimal" style="left:98px; top:33px; width:80px; height:19px; ">
- <choices>
- <item>
- <label>코드</label>
- <value>cd</value>
- </item>
- <item>
- <label>명칭</label>
- <value>nm</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setFocus("ipt_cdnm");
- ]]>
- </script>
- </select1>
- <input id="ipt_cdnm" ref="/root/send/srchnm" class="input_search" _chartype="upper" style="left:181px; top:33px; width:262px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption1" class="search_name" style="left:6px; top:9px; width:86px; height:17px; ">검 사 실 :</caption>
- <input id="input1" ref="/root/send/testroomcd" disabled="true" style="left:98px; top:9px; width:80px; height:19px; "/>
- <input id="input2" ref="/root/send/testroomnm" disabled="true" style="left:181px; top:9px; width:262px; height:19px; "/>
- </group>
- <switch id="swt_acptlst" style="left:0px; top:70px; width:554px; height:640px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case_pkg" style="left:0px; top:0px; width:553px; height:648px; ">
- <datagrid id="grd_pkglst" nodeset="/root/main/testcdlst/item" caption="검사코드^검사코드명" colsep="^" colwidth="100, 408" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:0px; width:550px; height:635px; ">
- <col ref="testcd"/>
- <col ref="testnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (isDataCell()) {
- var testcd = model.property("testcd");
- var testnm = model.property("testnm");
- if(testcd != ""){
- parent.model.setValue(testcd,model.getValue("/root/main/testcdlst/item["+ grd_pkglst.row +"]/testcd"));
- }
- if(testnm != ""){
- parent.model.setValue(testnm,model.getValue("/root/main/testcdlst/item["+ grd_pkglst.row +"]/testnm"));
- }
- opener.model.refresh();
- window.close();
- }
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- </group>
- <group id="group4" scroll="auto" style="left:6px; top:740px; width:542px; height:28px; ">
- <button id="button9" class="btn4_letter2" style="left:481px; top:3px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|