123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMAHR01000.xrw
- * 설 명 : 문진결과
- * 설 계 자 : 김호익
- * 작 성 자 : 김호익
- * 작 성 일 : 2007.07.13
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <histlst>
- <item>
- <healexamdetlflag/>
- <hopedd/>
- <pkgcd/>
- <pkgnm/>
- <statflag/>
- <cmpyflag/>
- <rsrvdd/>
- <disccd/>
- <choiflag/>
- <remcnts/>
- <rsrvno/>
- <healexamflag/>
- </item>
- </histlst>
- <addlst>
- <item>
- <testflag/>
- <testcd/>
- <testnm/>
- </item>
- </addlst>
- <detl>
- <remcnts/>
- </detl>
- </main>
- <send>
- <detl>
- <rsrvdd/>
- <rsrvno/>
- <healexamflag/>
- </detl>
- <srch>
- <srchpid/>
- <srchpnm/>
- <srchhealexamyn/>
- <srchhealexamflag/>
- <srchhealexamdetlflag/>
- <srchinstcd/>
- <srchstatflag/>
- </srch>
- </send>
- <init>
- <baseinfo>
- <testflag/>
- <statlst/>
- <choiflaglst/>
- <ghedetlflaglst/>
- <chedetlflaglst/>
- <hedetlflaglst>
- <item/>
- </hedetlflaglst>
- <pamcdlst/>
- </baseinfo>
- </init>
- </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/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <submission id="TRZBC00101"/>
- <submission id="TRAHA00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srch" replace="instance" resultref="/root/init/baseinfo/pamcdlst"/>
- <submission id="TRAHA04014" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srch" replace="instance" resultref="/root/main/histlst"/>
- <submission id="TRAHA04015" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/detl" replace="instance" resultref="/root/main/addlst"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitDasplay();
- fGetBaseInfo();
- model.refresh();
- // 상태값 모두선택
- for(var i = 0; i < chk_statflag.length; i++ ) {
- chk_statflag.select(i);
- }
- fGetHealExamHistList();
- ]]>
- </script>
- </model>
- <script type="javascript">
- <![CDATA[
- /*
- * 화면 정보,컨트롤 초기화
- */
- function fInitDasplay() {
- if( checkOpener() ){
- var sPid = opener.javascript.getParameter("SPAHA04013_PARAM1");
- var sHealexamFlag = opener.javascript.getParameter("SPAHA04013_PARAM2");
- var sHealexamdetlFlag = opener.javascript.getParameter("SPAHA04013_PARAM3");
-
- model.setValue("/root/send/srch/srchpid" , sPid);
- model.setValue("/root/send/srch/srchhealexamflag" , sHealexamFlag);
- model.setValue("/root/send/srch/srchhealexamdetlflag" , sHealexamdetlFlag);
- }
-
- cmb_healexamdetl.visible = false;
- }
-
- /*
- * 공통코드 정보를 조회한다.
- */
- function fGetBaseInfo() {
- model.setValue("/root/send/srch/srchinstcd", getUserInfo("dutplceinstcd") );
-
- zbcfGetCodeList( new Array("A0069","A0070" ,"A0116" , "A0107" , "A0117"), //P0015=> R0077로 변경
- new Array("/root/init/baseinfo/chedetlflaglst"
- ,"/root/init/baseinfo/ghedetlflaglst"
- , "/root/init/baseinfo/choiflaglst"
- , "/root/init/baseinfo/statlst"
- ,"/root/init/baseinfo/testflag") );
-
- submit("TRAHA00104",false);
-
- copyNodesetType("/root/init/baseinfo/hedetlflaglst/item","/root/init/baseinfo/chedetlflaglst/A0069", "replace");
- copyNodesetType("/root/init/baseinfo/hedetlflaglst/item","/root/init/baseinfo/ghedetlflaglst/A0070", "after");
- }
-
- /*
- * 건진 이력을 조회한다.
- */
- function fGetHealExamHistList() {
- submit("TRAHA04014");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="800" pageheight="610">
- <line id="line4" class="line_1" style="x1:5px; y1:87px; x2:796px; y2:87px; "/>
- <group id="group1" scroll="auto" style="left:5px; top:579px; width:790px; height:27px; ">
- <button id="btn_cls" class="btn4_letter2" style="left:729px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <close ev:event="DOMActivate"/>
- </button>
- </group>
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:157px; height:14px; ">건진이력</caption>
- <caption id="caption62" class="tit_2" style="left:5px; top:357px; width:144px; height:13px; ">추가검사</caption>
- <line id="line18" class="line_1" style="x1:5px; y1:375px; x2:390px; y2:376px; "/>
- <datagrid id="grd_histlst" nodeset="/root/main/histlst/item" caption="건진구분^건진일자^패키지코드^패키지명^접수구분^단체^예약등록^할인^선택검사^전달사항^예약번호^건진구분" colsep="^" colwidth="100, 90, 80, 200, 60, 40, 90, 100, 80, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:92px; width:791px; height:255px; ">
- <col disabled="true" ref="healexamdetlflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/hedetlflaglst/item">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="hopedd" type="inputdate"/>
- <col ref="pkgcd"/>
- <col ref="pkgnm"/>
- <col disabled="true" ref="statflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/statlst/A0107">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col checkvalue="Y,N" disabled="true" ref="cmpyflag" type="checkbox"/>
- <col disabled="true" ref="rsrvdd" type="inputdate"/>
- <col disabled="true" ref="disccd" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/pamcdlst/disccdlst">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="choiflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/choiflaglst/A0116">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="remcnts" visibility="hidden"/>
- <col ref="rsrvno" visibility="hidden"/>
- <col ref="healexamflag" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (isDataCell()) {
- model.setValue("/root/send/detl/rsrvdd" , grd_histlst.valueMatrix(grd_histlst.row , grd_histlst.colRef("rsrvdd")));
- model.setValue("/root/send/detl/rsrvno" , grd_histlst.valueMatrix(grd_histlst.row , grd_histlst.colRef("rsrvno")));
- model.setValue("/root/send/detl/healexamflag" , grd_histlst.valueMatrix(grd_histlst.row , grd_histlst.colRef("healexamflag")));
- if(submit("TRAHA04015")) {
- model.setValue("/root/main/detl/remcnts" , grd_histlst.valueMatrix(grd_histlst.row , grd_histlst.colRef("remcnts")) );
- txt_remcnts.refresh();
- }
- }
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_addlst" nodeset="/root/main/addlst/item" caption="검사구분^검사코드^검사명" colsep="^" colwidth="80, 100, 200" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:379px; width:385px; height:197px; ">
- <col disabled="true" ref="testflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/testflag/A0117">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="testcd"/>
- <col ref="testnm"/>
- </datagrid>
- <textarea id="txt_remcnts" ref="/root/main/detl/remcnts" style="left:394px; top:379px; width:401px; height:197px; "/>
- <group id="group2" style="left:0px; top:20px; width:795px; height:65px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:794px; height:65px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption4" class="search_name" style="left:15px; top:8px; width:86px; height:17px; ">등록번호 :</caption>
- <line id="line13" style="x1:719px; y1:7px; x2:719px; y2:54px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="ipt_srchpid" ref="/root/send/srch/srchpid" class="input_search" style="left:109px; top:8px; width:91px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_sea", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_sea" class="btn1_letter2" style="left:730px; top:22px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetHealExamHistList();
- ]]>
- </script>
- </button>
- <bool id="bool_healexam" checkvalue="Y,N" ref="/root/send/srch/srchhealexamyn" style="left:395px; top:8px; width:35px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/send/srch/srchhealexamyn") == "Y") {
- cmb_healexamdetl.visible = true;
- }else {
- cmb_healexamdetl.visible = false;
- }
- ]]>
- </script>
- </bool>
- <select1 id="cmb_healexamdetl" ref="/root/send/srch/srchhealexamdetlflag" appearance="minimal" style="left:431px; top:8px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/hedetlflaglst/item">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var healexamDetlFlag = model.getValue("");
- if(healexamDetlFlag != "" ) {
- model.setValue("/root/send/srch/srchhealexamflag" , healexamDetlFlag.substr(0,1));
- }
- ]]>
- </script>
- </select1>
- <caption id="caption3" style="left:350px; top:9px; width:55px; height:20px; ">건진구분</caption>
- <input id="ipt_srchpnm" ref="/root/send/srch/srchpnm" class="input_search" disabled="true" style="left:229px; top:8px; width:111px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_sea", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_search" class="icon_search" style="left:205px; top:10px; width:100px; height:20px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearchPatInfo("SMAHA00100", "pid", ipt_srchpid.currentText , "N", "/root/send/srch" ,ipt_srchpid.attribute("ref"), ipt_srchpnm.attribute("ref") );
- ]]>
- </script>
- </button>
- <caption id="caption5" class="search_name" style="left:15px; top:38px; width:86px; height:17px; ">상태구분 :</caption>
- <select id="chk_statflag" ref="/root/send/srch/srchstatflag" overflow="visible" appearance="full" cols="10" direction="acrossdown" sep="^" style="left:110px; top:40px; width:100px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/statlst/A0107">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- </group>
- <caption id="caption2" class="tit_2" style="left:394px; top:357px; width:144px; height:13px; ">전달사항</caption>
- <line id="line1" class="line_1" style="x1:394px; y1:375px; x2:795px; y2:376px; "/>
- </xhtml:body>
- </xhtml:html>
|