123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?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>
- <reexinfo>
- <pkglst/>
- <reexpkglst/>
- </reexinfo>
- </main>
- <send>
- <healexamflag/>
- <healexamdetlflag/>
- <pid/>
- <rsrvno/>
- <rsrvdd/>
- </send>
- <save>
- </save>
- <temp>
- </temp>
- <hidden>
- <count/>
- </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/tfHelper.js"/>
- <script type="javascript" src="../../../ast/healthexamrsrvacptweb/js/AHA.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fSchPkgList();
- ]]>
- </script>
- <submission id="TRAHR04010" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/reexinfo"/>
- <submission id="TXAHR04004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden/count"/>
- </model>
- <script type="javascript">
- <![CDATA[
- //건진 재검 패키지 조회 및 해당 대상자의 재검대상 패키지 조회
- function fSchPkgList(){
- model.makeValue("/root/send/healexamflag", model.getValue("/root/temp/healexamflag"));
- model.makeValue("/root/send/healexamdetlflag", model.getValue("/root/temp/healexamdetlflag"));
- model.makeValue("/root/send/pid", model.getValue("/root/temp/pid"));
- model.makeValue("/root/send/rsrvno", model.getValue("/root/temp/rsrvno"));
- model.makeValue("/root/send/rsrvdd", model.getValue("/root/temp/rsrvdd"));
-
- submit("TRAHR04010");
- }
-
-
- function fChkSaveReexPkg(){
- model.makeNode("/root/hidden/count");
-
- if(messageBox("재검정보를 ", "Q002") == 6){
- model.makeValue("/root/send/save/healexamflag", model.getValue("/root/send/healexamflag"));
- model.makeValue("/root/send/save/healexamdetlflag", model.getValue("/root/send/healexamdetlflag"));
- model.makeValue("/root/send/save/rsrvdd", model.getValue("/root/send/rsrvdd"));
- model.makeValue("/root/send/save/rsrvno", model.getValue("/root/send/rsrvno"));
- model.makeValue("/root/send/save/pid", model.getValue("/root/send/pid"));
-
- model.makeValue("/root/send/save/savegrid", grd_reexpkglst.getUpdateData());
- if(submit("TXAHR04004")){
- grd_gnrlpkglst.rebuild();
- grd_reexpkglst.rebuild();
-
- submit("TRAHR04010");
- }
- }
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="600" pageheight="500">
- <datagrid id="grd_gnrlpkglst" nodeset="/root/main/reexinfo/pkglst" caption="코드^패키지명" colsep="^" colwidth="85, 170" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:46px; width:275px; height:414px; ">
- <col ref="pkgcd"/>
- <col ref="pkgnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var pkgcd = grd_gnrlpkglst.valueMatrix(grd_gnrlpkglst.row, grd_gnrlpkglst.colRef("pkgcd"));
- var pkgnm = grd_gnrlpkglst.valueMatrix(grd_gnrlpkglst.row, grd_gnrlpkglst.colRef("pkgnm"));
- for(var i=grd_reexpkglst.fixedRows; i<grd_reexpkglst.rows; i++){
- if(pkgcd == grd_reexpkglst.valueMatrix(i, grd_reexpkglst.colRef("reexamcdlst"))){
- alert("선택된 패키지는 " + i + "번째 행에 존재합니다.");
- return;
- }
- }
-
- grd_reexpkglst.addRow();
- grd_reexpkglst.valueMatrix(grd_reexpkglst.row, grd_reexpkglst.colRef("reexamcdlst")) = pkgcd;
- grd_reexpkglst.valueMatrix(grd_reexpkglst.row, grd_reexpkglst.colRef("reexamnm")) = pkgnm;
- grd_reexpkglst.rowStatus(grd_reexpkglst.row) = 1;
-
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <line id="line1" class="line_1" style="x1:5px; y1:40px; x2:280px; y2:40px; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:25px; width:159px; height:13px; ">건진 패키지</caption>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:159px; height:13px; ">건진 재검 패키지</caption>
- <caption id="caption2" class="tit_2" style="left:285px; top:25px; width:159px; height:13px; ">재검대상 패키지</caption>
- <datagrid id="grd_reexpkglst" nodeset="/root/main/reexinfo/reexpkglst" caption="순번^코드^패키지명" colsep="^" colwidth="36, 85, 170" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:285px; top:46px; width:300px; height:414px; ">
- <col ref="reexseq" visibility="hidden"/>
- <col ref="reexamcdlst"/>
- <col ref="reexamnm"/>
- </datagrid>
- <line id="line3" class="line_1" style="x1:285px; y1:40px; x2:585px; y2:40px; "/>
- <button id="save_recinfo" class="btn2_letter2" style="left:543px; top:465px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fChkSaveReexPkg();
- ]]>
- </script>
- </button>
- <button id="btn_grdpkgdel" class="btn2_letter3" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:532px; top:20px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- deleteSelectedRows(grd_reexpkglst, true);
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|