123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>
- <SiNursMngt>
- <getCarmList>
- <carecmntno/>
- <namecardno/>
- <hngnm/>
- <rrgstno/>
- <tel/>
- <mpphonno/>
- <spclmentfact/>
- <fstrgstdt/>
- <addr/>
- <lastupdtrid/>
- </getCarmList>
- </SiNursMngt>
- </main>
- <send>
- <reference1>1</reference1>
- <reference2/>
- <data1>
- <hngnm/>
- <namecardno/>
- <carecmntno/>
- </data1>
- </send>
- <init>
- </init>
- <hidden>
- <h_carm>
- <getCarmList>
- <carecmntno/>
- <namecardno/>
- <hngnm/>
- <rrgstno/>
- <tel/>
- <mpphonno/>
- <spclmentfact/>
- <fstrgstdt/>
- <addr/>
- <lastupdtrid/>
- </getCarmList>
- </h_carm>
- <uid>
- <myself/>
- <opener/>
- </uid>
- </hidden>
- </root>
- </instance>
- <submission id="TRPMC00805" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/hidden/h_carm/getCarmList"/>
- </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/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- if ( checkOpener() ) {
- model.setValue("/root/send/reference1", "1");
- model.setValue("/root/send/reference2", model.getValue("/root/send/data1/hngnm"));
-
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="680" pageheight="320" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:10px; top:0px; width:626px; height:275px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:5px; width:95px; height:14px; ">간병인조회</caption>
- <group id="group2" style="left:0px; top:25px; width:625px; height:35px; ">
- <shape id="roundrect1" appearance="roundrect" style="left:0px; top:0px; width:625px; height:35px; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:8px; width:86px; height:17px; ">검색조건 :</caption>
- <button id="btn_search" class="btn1_letter2" navindex="6" style="left:560px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var referenceValue = cmb_reference.value;
-
- switch (referenceValue){
- case "1":
- model.setValue("/root/send/data1/hngnm", model.getValue("/root/send/reference2"));
- break;
- case "2":
- model.setValue("/root/send/data1/namecardno", model.getValue("/root/send/reference2"));
- break;
- case "3":
- model.setValue("/root/send/data1/carecmntno", model.getValue("/root/send/reference2"));
- break;
- }
- model.refresh();
-
- if( submit("TRPMC00805") ){
- model.resetInstanceNode("/root/send");
- model.setValue("/root/send/reference1", "1");
-
- cmb_reference.dispatch("xforms-select");
-
- copyNodesetType("/root/main/SiNursMngt/getCarmList", "/root/hidden/h_carm/getCarmList");
-
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:544px; y1:7px; x2:544px; y2:29px; border-color:#ffe4bb; "/>
- <select1 id="cmb_reference" ref="/root/send/reference1" class="combo_search" appearance="minimal" style="left:108px; top:8px; width:119px; height:19px; ">
- <choices>
- <item>
- <label>간병인명</label>
- <value>1</value>
- </item>
- <item>
- <label>간병인 명찰번호</label>
- <value>2</value>
- </item>
- <item>
- <label>간병인단체</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var referenceValue = cmb_reference.value;
- switch (referenceValue){
- case "1":
- cmb_carecmntno.visible= false;
- ipt_reference.visible = true;
- model.setFocus("ipt_reference");
- break;
- case "2":
- cmb_carecmntno.visible= false;
- ipt_reference.visible = true;
- model.setFocus("ipt_reference");
- break;
- case "3":
- cmb_carecmntno.visible= true;
- ipt_reference.visible = false;
- model.setFocus("cmb_carecmntno");
- break;
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_carecmntno" ref="/root/send/reference2" class="combo_search" appearance="minimal" style="left:230px; top:8px; width:140px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/wardcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_reference" ref="/root/send/reference2" class="input_search" imemode="hangul" style="left:230px; top:8px; width:140px; height:19px; "/>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:65px; x2:625px; y2:65px; "/>
- <datagrid id="grd_getCarmList" nodeset="/root/main/SiNursMngt/getCarmList" caption="단체번호^명찰번호^성명^주민번호^연락처^휴대폰^특기사항^최초등록일시^주소^최종수정자" colsep="^" colwidth="65, 70, 70, 100, 90, 90, 115, 0, 0, 0" dataheight="25" defaultrows="1" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:70px; width:625px; height:200px; ">
- <col ref="carecmntno"/>
- <col ref="namecardno"/>
- <col ref="hngnm"/>
- <col ref="rrgstno" format="999999-9999999"/>
- <col ref="tel"/>
- <col ref="mpphonno"/>
- <col ref="spclmentfact"/>
- <col ref="fstrgstdt"/>
- <col ref="addr"/>
- <col ref="lastupdtid"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if ( checkOpener() ) {
- row = grd_getCarmList.row;
-
- if( row > 0 ){
- if( getNodesetCount("/root/main/SiNursMngt/getCarmList") > 0 ){
- opener.model.copyNode("/root/hidden/h_carm/getCarmList", grd_getCarmList.getNode( row ));
- opener.model.makeNode("/root/main/popupendflag");
- opener.model.setValue("/root/main/popupendflag", "ok");
-
- opener.model.refresh();
- window.close();
- }
- }
- } else {
- messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
- }
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group1" style="left:10px; top:275px; width:625px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" navindex="8" style="left:507px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( checkOpener() ) {
- row = grd_getCarmList.row;
-
- if( row > 0 ){
- if( getNodesetCount("/root/main/SiNursMngt/getCarmList") > 0 ){
- opener.model.copyNode("/root/hidden/h_carm/getCarmList", grd_getCarmList.getNode( row ));
- opener.model.makeNode("/root/main/popupendflag");
- opener.model.setValue("/root/main/popupendflag", "ok");
-
- }
- }else {
- messageBox("행이 정확히 선택되지", "E007");
- }
- } else {
- messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
- }
-
- opener.model.refresh();
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" navindex="9" style="left:566px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- opener.model.makeNode("/root/main/popupendflag");
- opener.model.setValue("/root/main/popupendflag", "cancel");
- window.close();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:625px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|