123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- <?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>
- <autocdlist>
- <item>
- <check/>
- <testcd/>
- <testdesc/>
- <cjdgdesc/>
- </item>
- </autocdlist>
- </main>
- <send>
- <healexamdetlflag/>
- <pid/>
- <rsrvdd/>
- <rsrvno/>
- </send>
- <hidden/>
- <init/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- if ( checkOpener() ) {
- model.setValue("/root/send/healexamdetlflag", "C");
- model.setValue("/root/send/pid",opener.model.getValue("/root/init/send/item2/pid"));
- model.setValue("/root/send/rsrvdd", opener.model.getValue("/root/send/srchrsrvdd"));
- model.setValue("/root/send/rsrvno", opener.model.getValue("/root/send/srchrsrvno"));
- submit("TRAHA01200");
- } else {
- messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
- }
- ]]>
- </script>
- <submission id="TRAHA01200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/autocdlist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="620" pageheight="578" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:600px; height:550px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:6px; width:95px; height:13px; ">코드조회</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:21px; x2:600px; y2:20px; "/>
- <datagrid id="grd_basecd" nodeset="/root/main/autocdlist/item" autoresize="true" caption="선택^코드^검사소견^판정내용 및 소견" colsep="^" colwidth="40, 75, 135, 344" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:25px; width:600px; height:520px; ">
- <col checkvalue="Y,N" ref="check" type="checkbox"/>
- <col ref="testcd"/>
- <col ref="testdesc"/>
- <col ref="cjdgdesc"/>
- </datagrid>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:550px; width:600px; height:27px; ">
- <button id="btn_cfm" class="btn4_letter2" style="left:482px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( grd_basecd.row == 0 ) return;
-
- var openerid = opener.model.getValue("/root/send/windowloadinstance");
- var check = "";
- var loopcnt = 0;
- var loop = grd_basecd.rows - grd_basecd.fixedRows;
- var str_temp = "";
- var str_total = "";
- for( var i = 1 ; i <= loop ; i++ ) {
- check = model.getValue("/root/main/autocdlist/item[" + i + "]/check");
- if ( check == "Y" ) {
- str_temp += model.getValue("/root/main/autocdlist/item["+i+"]/cjdgdesc");
- if ( openerid == "SMAHR00500" ) {
- str_temp = str_temp+"\n";
- }
- }
- loopcnt++;
- }
- str_total = opener.model.getValue("/root/main/judgdetl/judginfo/item/hngjudgcnts")+"\n"+str_temp;
-
- if ( loopcnt == 0 ) {
- messageBox("코드를 선택해 주십시오.","I999");
- return "0";
- }
- opener.model.setValue("/root/main/judgdetl/judginfo/item/hngjudgcnts", str_total);
- opener.model.refresh();
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_cls" class="btn4_letter2" style="left:541px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <close ev:event="DOMActivate"/>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|