123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177 |
- <?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>
- <opeqmtlist>
- <check/>
- <goodflagengnm/>
- <goodmodel/>
- <prodcmpynm/>
- <mngtno/>
- <possndd/>
- <installplcecd/>
- <fixasetcd/>
- <goodspec/>
- <prodcmpy/>
- </opeqmtlist>
- </main>
- <send>
- <sendflag/>
- <installplcecd/>
- </send>
- <init>
- <installplcelist>
- <installplceinfo>
- <installplcecd/>
- <installplcenm/>
- </installplceinfo>
- </installplcelist>
- <cond>
- <installplcecd/>
- <sendflag/>
- </cond>
- </init>
- <hidden/>
- </root>
- </instance>
- <submission id="TRMNP00306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.removeNodeset("/root/main/opeqmtlist");
- grd_opeqmtlist.refresh();
- model.removeNodeset("/root/init/installplcelist/installplceinfo");
- var sParam = opener.javascript.getParameter("SPMNP00300_searchFlag");
- var oproomdept = opener.javascript.getParameter("SPMNP00300_oproomdept");
- model.setValue("/root/init/cond/installplcecd", oproomdept);
- opener.javascript.setParameter("SPMNP00300_searchFlag", "");
- if(sParam != "" && sParam != null && sParam != "undefined"){
- model.setValue("/root/init/cond/sendflag",sParam);
- //model.setValue("/root/send/sendflag",sParam);
- }else{
- model.setValue("/root/init/cond/sendflag", "OP");
- //model.setValue("/root/send/sendflag", "OP");
- }
- model.setValue("/root/send/sendflag", model.getValue("/root/init/cond/sendflag"));
-
- //2010.04.08 taebum 마취간호기록에서 장비 팝업 호출시 마취수술방이 조회되도록 sqlmap 에서 ANSTGIROK 용도 쿼리 추가
- submit("TRMNP00307");
- addComboItem("cmb_installplcecd", "전 체", "", "above" );
- model.setValue("/root/send/installplcecd", model.getValue("/root/init/cond/installplcecd"));
- submit("TRMNP00306");
- ]]>
- </script>
- <submission id="TRMNP00307" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/oproomlist"/>
- </model>
- <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/tfHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="760" pageheight="500" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:1px; width:740px; height:483px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:54px; width:158px; height:13px; ">장비 목록</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:740px; y2:70px; "/>
- <datagrid id="grd_opeqmtlist" nodeset="/root/main/opeqmtlist" allowselection="false" caption="선택^장비명^모델^제조원^Serial No.^취득일^설치장소" colsep="^" colwidth="30, 237, 105, 80, 85, 75, 110, 0, 0, 0" ellipsis="true" explorerbar="sort" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:0px; top:75px; width:740px; height:408px; ">
- <col ref="check" type="checkbox"/>
- <col ref="goodflagengnm"/>
- <col ref="goodmodel"/>
- <col ref="prodcmpynm"/>
- <col ref="mngtno"/>
- <col ref="possndd" format="yyyy-mm-dd"/>
- <col disabled="true" ref="installplcecd" type="combo">
- <choices>
- <itemset nodeset="/root/init/installplcelist/installplceinfo">
- <label ref="installplcenm"/>
- <value ref="installplcecd"/>
- </itemset>
- </choices>
- </col>
- <col ref="fixasetcd" visibility="hidden"/>
- <col ref="goodspec" visibility="hidden"/>
- <col ref="prodcmpy" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var iRow = grd_opeqmtlist.row;
- var sCheck = "false";
-
-
- if(grd_opeqmtlist.col != 0 && grd_opeqmtlist.isCell(event.target)){
- if(iRow < 1) return;
- sCheck = model.getValue("/root/main/opeqmtlist["+iRow+"]/check");
- if(sCheck == "false"){
- model.setValue("/root/main/opeqmtlist["+iRow+"]/check", "true");
- }else{
- model.setValue("/root/main/opeqmtlist["+iRow+"]/check", "false");
- }
- grd_opeqmtlist.rebuild();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_opeqmtlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <group id="group2" style="left:0px; top:0px; width:740px; height:35px; ">
- <shape id="roundrect1" appearance="roundrect" style="left:0px; top:0px; width:740px; height:35px; "/>
- <!-- 2009-02-26 삭제 처리
- <button id="btn_search" class="btn1_letter2" navindex="6" visibility="hidden" style="left:590px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/installplcecd", model.getValue("/root/init/cond/installplcecd"));
- submit("TRMNP00306");
- ]]>
- </script>
- </button>
- -->
- <caption id="caption3" class="search_name" style="left:5px; top:9px; width:86px; height:17px; ">수술방 :</caption>
- <select1 id="cmb_installplcecd" ref="/root/init/cond/installplcecd" appearance="minimal" style="left:101px; top:8px; width:139px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/installplcelist/installplceinfo">
- <label ref="installplcenm"/>
- <value ref="installplcecd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.removenode("/root/send");
- model.makeValue("/root/send/installplcecd", model.getValue("/root/init/cond/installplcecd"));
-
- //마취간호기록에서 전체 선택시 마취방 장비만 조회되도록 수정_20100518_SMY
- var sendflag = model.getValue("/root/init/cond/sendflag");
- if(sendflag == "ANSTGIROK"){
- model.makeValue("/root/send/sendflag", sendflag);
- }
- submit("TRMNP00306");
- ]]>
- </script>
- </select1>
- </group>
- <button id="btn_select" class="btn1_letter2" style="left:684px; top:47px; width:56px; height:22px; ">
- <caption>선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sMsg = "opeqmtcd▦opeqmtnm▩";
- for(var iRow = grd_opeqmtlist.fixedrows; iRow <= grd_opeqmtlist.rows; iRow++){
- if(model.getValue("/root/main/opeqmtlist["+iRow+"]/check") == "true"){
- sMsg += model.getValue("/root/main/opeqmtlist["+iRow+"]/fixasetcd" ) + "▦"
- + model.getValue("/root/main/opeqmtlist["+iRow+"]/goodflagengnm") + "▩";
- }
- }
- opener.javascript.setParameter("SPMNP00300_Return", sMsg);
- model.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|