123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMAHB01400.xrw
- * 설 명 : 기관및판정의관리
- * 설 계 자 :
- * 작 성 자 :
- * 작 성 일 : 2007.08.01
- * 수정이력 : 2007.10.04 김다영 화면권한추가
- * 기 타 :
- -->
- <?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="">
- <send>
- <srchpid/>
- <srchfromdd/>
- <srchtodd/>
- <healexamdetlflag/>
- <srchpnm2/>
- <srchflag>L</srchflag>
- <save>
- <reexamlst/>
- </save>
- <srchreexflag>C</srchreexflag>
- </send>
- <main>
- <reexam>
- <item>
- <sel/>
- <pid/>
- <hngnm/>
- <hopedd/>
- <pkgnm/>
- <hometel/>
- <mpphontel/>
- <addr/>
- <notiyn/>
- <nexthopedd/>
- <reexamcdlst/>
- <cnts/>
- <healexamdetlflag/>
- <orgrsrvdd/>
- <orgrsrvno/>
- <nextrsrvdd/>
- <nextrsrvno/>
- </item>
- </reexam>
- </main>
- <init>
- <baseinfo>
- <assocd/>
- <healexamflaglst/>
- <ghealexamdetlflaglst/>
- <chealexamdetlflaglst/>
- <healexamdetlflaglst>
- <item/>
- </healexamdetlflaglst>
- <comcode/>
- </baseinfo>
- </init>
- <hidden/>
- <case_mode/>
- <temp>
- <addr>
- <zipcd1/>
- <zipcd2/>
- <addr/>
- <zipcdseq/>
- </addr>
- </temp>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.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="../../../ast/healexamweb/js/healexam.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <!-- <submission id="TRAHB00201" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/inqrlst"/>
- <submission id="TRZBC00101"/> -->
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fGetBaseInfo();
- model.removeNodeset("/root/main/reexam");
-
- var cur_date = new Date();
- var from_date = (cur_date.getAddDate(-1, 'M')).getDateFormat();
- model.setValue( ipt_fromdd.attribute("ref") , from_date);
- model.setValue( ipt_todd.attribute("ref") , getCurrentDate());
- model.refresh();
- ]]>
- </script>
- <submission id="TRAHA04111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/assolist"/>
- <submission id="TRAHA31502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/drlist"/>
- <submission id="TXAHA04111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAHA31502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden"/>
- <submission id="TRZBC00101"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fGetBaseInfo(){
- // 건진기관구분
- zbcfGetCodeList( new Array("A0068","A0069","A0070","P0008","P0010","P0032"),
- new Array("/root/init/baseinfo/healexamflaglst"
- ,"/root/init/baseinfo/chealexamdetlflaglst"
- ,"/root/init/baseinfo/ghealexamdetlflaglst"
- ,"/root/init/baseinfo/comcode"
- ,"/root/init/baseinfo/comcode"
- ,"/root/init/baseinfo/comcode") );
- submit("TRZBC00101");
- copyNodesetType("/root/init/baseinfo/healexamdetlflaglst/item","/root/init/baseinfo/chealexamdetlflaglst/A0069", "after");
- copyNodesetType("/root/init/baseinfo/healexamdetlflaglst/item","/root/init/baseinfo/ghealexamdetlflaglst/A0070", "after");
- }
- function fGetreexam(){
- grd_reexamlst.clearStatus();
- model.removeNodeset("/root/main/reexam");
- submit("TRAHA04111");
- }
- function fSaveVal() {
- if( messageBox("재미검자정보를 ","Q002") == 6){
- model.setValue("/root/send/save/reexamlst" , grd_reexamlst.getUpdateData());
-
- if (submit("TXAHA04111")){
- fGetreexam();
- }
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1196;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:134px; height:14px; ">재미검자관리</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetreexam();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
- <select1 id="cmb_srchhealexamdetlflag" ref="/root/send/healexamdetlflag" class="combo_search" visibility="hidden" appearance="minimal" style="left:90px; top:8px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamdetlflaglst/item">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_srchpid" ref="/root/send/srchpid" class="input_search" imemode="hangul" style="left:842px; top:7px; width:105px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
-
- inputEnterKey("btn_srchpat", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_srchpat" class="icon_search" style="left:957px; top:7px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearchPatInfo("SMAHA00100", "pid", ipt_srchpid.currentText , "N", "/root/send" ,ipt_srchpid.attribute("ref"), opt_srchpnm.attribute("ref") );
- ]]>
- </script>
- </button>
- <caption id="caption1" style="left:607px; top:10px; width:25px; height:20px; text-align:center; ">~</caption>
- <output id="opt_srchpnm" ref="/root/send/srchpnm2" class="output_fix" style="left:977px; top:7px; width:120px; height:19px; "/>
- <caption id="caption2" class="search_name" visibility="hidden" style="left:5px; top:8px; width:86px; height:17px; ">건진구분 :</caption>
- <caption id="caption47" class="search_name" style="left:413px; top:8px; width:99px; height:17px; ">조회일자 :</caption>
- <input id="ipt_todd" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:635px; top:8px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("ipt_todd");
- ]]>
- </script>
- </input>
- <caption id="caption49" class="search_name" style="left:753px; top:7px; width:89px; height:17px; ">환자검색 :</caption>
- <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:504px; top:8px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("ipt_todd");
- ]]>
- </script>
- </input>
- <select1 id="combo1" ref="/root/send/srchflag" class="combo_search" appearance="minimal" style="left:296px; top:8px; width:110px; height:19px; ">
- <choices>
- <item>
- <label>최종건진일</label>
- <value>L</value>
- </item>
- <item>
- <label>다음예약일</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" style="left:211px; top:8px; width:86px; height:17px; ">조회구분 :</caption>
- <select1 id="combo2" ref="/root/send/srchreexflag" class="combo_search" appearance="minimal" style="left:105px; top:8px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>미검자</label>
- <value>B</value>
- </item>
- <item>
- <label>재검자</label>
- <value>C</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetreexam();
- ]]>
- </script>
- </select1>
- <caption id="caption4" class="search_name" style="left:5px; top:8px; width:99px; height:17px; ">재미검구분 :</caption>
- </group>
- <datagrid id="grd_reexamlst" nodeset="/root/main/reexam/item" autoresize="true" caption="선택^등록번호^성명^신체검사일^패키지명^연락처1^연락처2^주소^통보여부^다음예약일^재검대상검사목록^비고^건진구분^원예약등록일^원예약등록번호^다음예약등록일^다음예약등록번호" colsep="^" colwidth="58, 80, 71, 80, 120, 90, 90, 160, 70, 100, 120, 128, 100, 100, 100, 100" defaultrows="0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:80px; width:1194px; height:650px; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox"/>
- <col ref="pid" type="inputbutton"/>
- <col ref="hngnm"/>
- <col ref="hopedd"/>
- <col ref="pkgnm"/>
- <col ref="hometel"/>
- <col ref="mpphontel"/>
- <col ref="addr"/>
- <col ref="notiyn" type="combo">
- <choices>
- <item>
- <label>통보</label>
- <value>Y</value>
- </item>
- <item>
- <label>미통보</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="nexthopedd" type="inputdate"/>
- <col ref="reexamcdlst" type="inputbutton"/>
- <col ref="cnts" type="input"/>
- <col ref="healexamdetlflag" visibility="hidden"/>
- <col ref="orgrsrvdd" visibility="hidden"/>
- <col ref="orgrsrvno" visibility="hidden"/>
- <col ref="nextrsrvdd" visibility="hidden"/>
- <col ref="nextrsrvno" visibility="hidden"/>
- <col ref="reexseq" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if( grd_reexamlst.col == grd_reexamlst.colRef("pid") && grd_reexamlst.rowStatus(grd_reexamlst.row) == 1) {
- setParameter("SPAHB00600_PARAM5", "/root/main/reexam/item[" + grd_reexamlst.row + "]");
- modal("SPAHA04111", "", "", "", "SPAHA04111", "/root/source","/root/target");
- }
-
- if( grd_reexamlst.col == grd_reexamlst.colRef("reexamcdlst")) {
- //setParameter("SPAHB00600_PARAM5", "/root/main/reexam/item[" + grd_reexamlst.row + "]");
- //modal("SPAHR05010", "", "", "", "SPAHR05010", "/root/source","/root/target");
- fGetPkgCd("SMAHA00100", "A", "Y","nm" , "" , 'G02', 'M', "/root/temp/templst","","", 28);
- if(model.getXPathValue("count(/root/temp/templst/list)") > 0)
- {
- model.setValue("/root/main/reexam/item[" + grd_reexamlst.row + "]/reexamcdlst", "");
- var strCdlst = "";
- for(var i = 1 ; i <= model.getXPathValue("count(/root/temp/templst/list)") ; i++)
- {
- strCdlst += model.getValue("/root/temp/templst/list[" + i + "]/testcd") + ",";
- }
- model.setValue("/root/main/reexam/item[" + grd_reexamlst.row + "]/reexamcdlst", strCdlst);
- }
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <line id="line3" class="line_1" style="x1:0px; y1:76px; x2:1194px; y2:76px; "/>
- <button id="btn_rsltdel" class="btn2_letter3" style="left:1135px; top:50px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- deleteSelectedRows(grd_reexamlst , true);
- ]]>
- </script>
- </button>
- <button id="btn_rsltadd" class="btn2_letter3" visibility="visible" style="left:1079px; top:50px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_reexamlst.addRow();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="btn_print" class="btn6_letter4" style="left:0px; top:5px; width:72px; height:22px; ">
- <caption>엑셀저장</caption>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveVal();
- messageBox("저장 ", "I002");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|