123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPAH00800.xrw
- * 설 명 : 추가/재검/타과의뢰/연장 선택
- * 설 계 자 : 최예원
- * 작 성 자 : 최예원
- * 작 성 일 : 2011.02.21
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <detlcodelst>
- <item>
- <etccd/>
- <etcdetlcdkey/>
- <etcdetlcd/>
- <etcdetlnm/>
- <etcitemcnts/>
- <etcitemcnts2/>
- <useyn/>
- </item>
- </detlcodelst>
- </main>
- <send>
- <clscd>G</clscd>
- <etccd>G20</etccd>
- <etcitemcnts>A</etcitemcnts>
- </send>
- </root>
- </instance>
- <submission id="TRZBC00101"/>
- <submission id="TRAHB00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/detlcodelst"/>
- </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/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- //2016/09/24 이정택 수정
- var flag = opener.javascript.getParameter("SPAHA00801_FLAG");
- if(!isNull(flag)){
- rdo_srchpkgflag.value=flag;
- rdo_srchpkgflag.refresh();
- }else{
- rdo_srchpkgflag.select(0);
- }
- //2016/09/24 이정택 수정
-
- btn_search.dispatch("DOMActivate");
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fGetDetlCodeList(){
- model.removeNodeset("/root/main/detlcodelst/item");
- submit("TRAHB00602");
- model.refresh();
- }
-
- function fSetData(){
- opener.model.makeValue("/root/main/detlcodelst/item["+ 1 +"]/aftype" , model.getValue("/root/main/detlcodelst/item[" + grd_etclst.row + "]/etcitemcnts"));
- opener.model.makeValue("/root/main/detlcodelst/item["+ 1 +"]/etcdetlcd" , model.getValue("/root/main/detlcodelst/item[" + grd_etclst.row + "]/etcdetlcd"));
- opener.model.makeValue("/root/main/detlcodelst/item["+ 1 +"]/etcdetlnm" , model.getValue("/root/main/detlcodelst/item[" + grd_etclst.row + "]/etcdetlnm"));
- opener.model.makeValue("/root/temp/okflag", "ok");
- window.close();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="590" pageheight="750" guideline="1,1194;1,585;" 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:705px; ">
- <group id="group2" style="left:0px; top:0px; width:560px; height:40px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:1px; width:560px; height:34px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:490px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetDetlCodeList();
- ]]>
- </script>
- </button>
- <line id="line13" style="x1:474px; y1:5px; x2:474px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="cap_srchpkgflag" class="search_name" style="left:6px; top:10px; width:86px; height:17px; ">검색구분 :</caption>
- <select1 id="rdo_srchpkgflag" ref="/root/send/etcitemcnts" class="radio_search" appearance="full" cols="7" overflow="visible" style="left:98px; top:12px; width:372px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>추가</label>
- <value>A</value>
- </item>
- <item>
- <label>재검</label>
- <value>B</value>
- </item>
- <item>
- <label>타과</label>
- <value>C</value>
- </item>
- <item>
- <label>연장</label>
- <value>D</value>
- </item>
- <item>
- <label>유소견</label>
- <value>G</value>
- </item>
- <item>
- <label>전화</label>
- <value>E</value>
- </item>
- <item>
- <label>방문</label>
- <value>F</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:41px; x2:560px; y2:41px; "/>
- <datagrid id="grd_etclst" nodeset="/root/main/detlcodelst/item" caption="etccd^etcdetlcdkey^코드^상세코드명^기타1^기타2^적용여부" colsep="^" colwidth="10, 10, 100, 165, 60, 60, 60" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:45px; width:560px; height:655px; ">
- <col ref="etccd" visibility="hidden"/>
- <col ref="etcdetlcdkey" visibility="hidden"/>
- <col disabled="false" ref="etcdetlcd" type="output" style="padding-left:10; "/>
- <col disabled="false" ref="etcdetlnm" type="output" style="padding-left:10; "/>
- <col ref="etcitemcnts" type="output" visibility="hidden" maxlength="50"/>
- <col ref="etcitemcnts2" type="output" visibility="hidden" maxlength="50"/>
- <col checkvalue="Y,N" disabled="true" ref="useyn" type="checkbox" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fSetData();
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:710px; width:565px; height:28px; ">
- <button id="button9" class="btn4_letter2" style="left:503px; top:3px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(checkOpener()){
- opener.model.makeNode("/root/temp/okflag");
- opener.model.setValue("/root/temp/okflag", "");
- }
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_cfm" class="btn4_letter2" style="left:444px; top:3px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetData();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|