123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196 |
- <?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>
- <donat>
- <donatlist>
- <hngnm/>
- <baptnm/>
- <sex/>
- <rrgstno/>
- <srvvfamyhngnm/>
- <telphone/>
- <addr/>
- <nigtacptpsn/>
- <acptpsn/>
- <deadbodyacptdd/>
- <dethdd/>
- <deadbodytran/>
- <boundgravelayyy/>
- <boundgraveno/>
- <rem/>
- </donatlist>
- </donat>
- </main>
- <send>
- <srchfromdd/>
- <srchtodd/>
- <srchusernm/>
- </send>
- <init>
- <cmbinfo>
- <btype/>
- <rhtype/>
- <relign/>
- <emailaddr1/>
- <emailaddr2/>
- <smplnmakeaprvyn/>
- </cmbinfo>
- </init>
- <hidden>
- <list/>
- <emailsample1/>
- <emailsample2/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- ipt_todd.value = getCurrentDate();
- ipt_fromdd.value = ipt_todd.value.toDate().getAddDate(-1,"M").getDateFormat("YYYYMMDD") ;
-
- model.setValue("/root/send/srchusernm", getUserName());
- model.refresh();
- ]]>
- </script>
- <submission id="TRAVH00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/donat"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- var DbClick_value =0 ;
- /** -------------------------------------------------------------------------------------------
- * 인체기증 승낙서 List 조회
- ------------------------------------------------------------------------------------------- **/
- function fSearchList() {
- model.resetInstanceNode("/root/main/info/donat");
- model.resetInstanceNode("/root/main/info/famyaprv");
- model.resetInstanceNode("/root/main/donat/donatlist");
- model.resetInstanceNode("/root/main/famyaprv/famyaprvlist");
- model.resetInstanceNode("/root/send/donat");
- model.resetInstanceNode("/root/send/famyaprv");
-
- if(model.getValue("/root/send/srchfromdd") == "") {
- messageBox("조회시작 기준일을","C001");
- return ;
- }
- if(model.getValue("/root/send/srchtodd") == "") {
- messageBox("조회종료 기준일 ","C001");
- return ;
- }
-
- ret = submit("TRAVH00601");
-
- model.toggle("case1");
-
- model.refresh();
- }
-
- /* @group : 인체기증자관리
- * @ver : 2008.10.05 (CMCDEV-0001)
- * @by : 한음미(평화IS)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 출력
- */
- function fExePrintReport(){
- model.makeNode("/root/main/srchfromdd");
- model.makeNode("/root/main/srchtodd");
- model.setValue("/root/main/srchfromdd", model.getValue("/root/send/srchfromdd"));
- model.setValue("/root/main/srchtodd", model.getValue("/root/send/srchtodd"));
-
- exeReportPreview("RPAVH00600", "XMLSTR", "/root");
- model.refresh();
- }
-
- function isDate(str) { // 날짜 형식에 대한 적합여부 체크
- if (str == "") return true; // 빈건 체크안함
- if (trim(str) == "") return true; // 빈건 체크안함
- if (isNaN(parseInt(str))) return false; // 숫자가 아니면 false
- if (str.length != 8) return false; // 8자리(yyyymmdd)가 아니면 false
-
- var yy = new Number(str.substring(0, 4));
- var mm = new Number(str.substring(4, 6)) - 1;
- var dd = new Number(str.substring(6, 8));
- var date = new Date(yy, mm, dd);
-
- if (yy != date.getFullYear() ||
- mm != date.getMonth() ||
- dd != date.getDate()) {
- return false; // 존재하지 않는 날짜
- }
- return true; // 존재하는 날짜
- }
- function trim(data){ // 문자에 대한 TRIM 작업
- return data.replace(/(^\s*)|(\s*$)/g, "");
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:754px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">인체기증자 연명부</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:15px; width:1195px; height:744px; ">
- <line id="line18" class="line_1" style="x1:0px; y1:70px; x2:1195px; y2:70px; "/>
- <caption id="caption18" class="tit_2" style="left:5px; top:55px; width:150px; height:13px; ">목록</caption>
- <datagrid id="grd_list" nodeset="/root/main/donat/donatlist" caption="성명^세례명^성별^주민등록번호^유가족성명^유가족연락처^유가족주소^야간휴일상담자^인수자^인수일자^사망일자^연구교실^안치년도^묘역번호^비고" colwidth="88, 85, 47, 99, 80, 100, 113, 88, 80, 80, 80, 90, 60, 60, 101, 100, 100, 100, 100" dataheight="23" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:75px; width:1195px; height:620px; text-align:center; ">
- <col ref="hngnm"/>
- <col ref="baptnm"/>
- <col ref="sex"/>
- <col ref="rrgstno"/>
- <col ref="srvvfamyhngnm"/>
- <col ref="telphone"/>
- <col ref="addr"/>
- <col ref="nigtacptpsn"/>
- <col ref="acptpsn"/>
- <col ref="deadbodyacptdd"/>
- <col ref="dethdd"/>
- <col ref="deadbodytran"/>
- <col ref="boundgravelayyy"/>
- <col ref="boundgraveno"/>
- <col ref="rem"/>
- </datagrid>
- <group id="grp_sea" style="left:1px; top:5px; width:1194px; height:40px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_seach" class="btn1_letter2" navindex="8" style="left:1125px; top:10px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSearchList();
- ]]>
- </script>
- </button>
- <line id="line10" class="line_4" style="x1:1115px; y1:10px; x2:1115px; y2:29px; "/>
- <caption id="caption4" class="search_name" style="left:10px; top:10px; width:91px; height:17px; ">기증일자 :</caption>
- <input id="ipt_todd" ref="/root/send/srchtodd" class="input_default" navindex="4" inputtype="date" style="left:205px; top:10px; width:95px; height:19px; "/>
- <caption id="caption5" style="left:193px; top:10px; width:20px; height:20px; ">~</caption>
- <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_default" navindex="3" inputtype="date" style="left:98px; top:10px; width:95px; height:19px; "/>
- </group>
- <button id="btn_rept" class="btn4_letter2" style="left:1125px; top:705px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExePrintReport();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|