123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- <?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>
- <dnorinfo>
- <dnorlist>
- <check/>
- <dnornm/>
- <dnorrrgstno/>
- <dnorsex/>
- <dnorage/>
- <dnormappdd/>
- <dnorno/>
- </dnorlist>
- </dnorinfo>
- </main>
- <send>
- <pid/>
- </send>
- <init/>
- <hidden/>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- readfunc();
- model.refresh();
- ]]>
- </script>
- <submission id="TRLBD90201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/dnorinfo"/>
- </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/utilHelper.js"/>
- <script type="javascript">
- <![CDATA[
- function readfunc(){
- model.removeNodeset("/root/main/dnorinfo/dnorlist");
- if (submit("TRLBD90201")){
- }
- if (model.getValue("/root/main/dnorinfo/dnorlist[" + 1 + "]/dnorno") == ""){
- model.removeNodeset("/root/main/dnorinfo/dnorlist");
- }
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="550" pageheight="380" guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:520px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:124px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">공여자관리</caption>
- </group>
- <group id="group3" scroll="auto" style="left:1px; top:15px; width:518px; height:316px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:31px; x2:517px; y2:32px; "/>
- <datagrid id="grd_diaglist" nodeset="/root/main/dnorinfo/dnorlist" caption="선택^공여자명^주민번호^S/A^S/A^Mapping일" colsep="^" colwidth="44, 88, 170, 40, 39, 115" dataheight="25" ellipsis="true" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:35px; width:517px; height:278px; ">
- <col checkvalue="Y,N" ref="check" type="checkbox"/>
- <col ref="dnornm"/>
- <col ref="dnorrrgstno" format="999999-9999999" style="text-align:center; "/>
- <col ref="dnorsex"/>
- <col ref="dnorage"/>
- <col ref="dnormappdd" format="yyyy-mm-dd" style="text-align:center; "/>
- </datagrid>
- </group>
- <button id="button51" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:475px; top:20px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var file = window.fileDialog("save","","true","","xls","All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if(file != "") {
- grd_diaglist.saveExcel(file);
- }
- ]]>
- </script>
- </button>
- <group id="grp_btn" scroll="auto" style="left:2px; top:330px; width:516px; height:27px; ">
- <button id="btn_prt" class="btn4_letter2" navindex="42" style="left:395px; top:3px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var k = 0;
- for (var i = 1; i < grd_diaglist.rows; i ++){
- if (model.getValue("/root/main/dnorinfo/dnorlist[" + i + "]/check") == "Y"){
- k = parseInt(k) + 1;
- }
- }
- if (k == 0){
- messageBox("처리할 공여자를 선택하시기 바랍니다.", "E999", "");
- return;
- }
- copyNodeListType("/root/main/dnorinfo", "/root/main/dnorinfo/dnorlist[check='Y']", "replace", opener.model, model);
- window.close();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn4_letter2" navindex="42" style="left:455px; top:3px; width:56px; height:22px; ">
- <caption>종료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|