123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214 |
- <?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>
- <eqmtuselist/>
- </main>
- <send>
- <instcd/>
- <workdd/>
- <eqmtcd/>
- <eqmtnm/>
- <goodflag/>
- <dinfkind/>
- </send>
- <temp/>
- <init>
- <bacflag>
- <label>고압증기</label>
- <value>1</value>
- <label>건열</label>
- <value>2</value>
- <label>EO gas</label>
- <value>3</value>
- <label>STERRAD</label>
- <value>4</value>
- <label>전체</label>
- <value/>
- </bacflag>
- </init>
- </root>
- </instance>
- <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="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRRSG06001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/eqmtuselist"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fInitialize()
- {
- misfComboComCdList("Z0007", cmb_instcd); //기관코드
-
- misfGridInit(grd_eqmtuselist);
-
- misfGridComboComCdList("R0271",grd_eqmtuselist,"dinfkind");
-
- misfMsterDetailSet(grd_eqmtuselist, null, "TRRSG06001", "N");
-
- model.removeNodeset("/root/main/eqmtuselist");
- model.resetInstanceNode("/root/send");
-
- model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd")); // 기관 설정
-
- var sBaseDate = getCurrentDate();
-
- sBaseDate = sBaseDate.substr(0, 6);
-
- model.setValue("/root/send/workdd", sBaseDate);
- // [2010.08.26]AS-IS 코드 TO_BE 코드 전환을 위한 물품구분 변경 (goodflag= E) => (goodflag= EQ)
- model.setValue(ipt_goodflag.attribute("ref"), "EQ");
-
- btn_search.dispatch("DOMActivate");
-
- model.refresh();
-
- btn_prt.disabled= !(checkAuth("P"));
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body 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:186px; height:14px; ">월 장비 사용현황 조회</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:62px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:62px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:15; top:35; width:86px; height:17px; ">작업년월 :</caption>
- <input id="ipt_workdd" ref="/root/send/workdd" class="input_default" inputtype="date" format="yyyy-mm" style="left:100; top:34; width:120px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:22; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfMsterDetailRetrieve();
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1110px; y1:7px; x2:1110px; y2:55px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="ipt_eqmtcd" ref="/root/send/eqmtcd" class="input_default" style="left:345px; top:34; width:95px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_eqmtcd.value.length == 0)
- ipt_eqmtnm.value = "";
- else
- rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "instcd,requirementcd,requirementnm,goodflag",
- cmb_instcd.value + "," + "fixasetcd," + ipt_eqmtcd.value + "," + ipt_goodflag.value, "", "eqmtcd,eqmtnm",
- ipt_eqmtcd, "SPRSD00240", "instcd,goodflag","cmb_instcd,ipt_goodflag");
- model.refresh();
- ]]>
- </script>
- </input>
- <button id="button5" class="icon_search" style="left:445px; top:36px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- rszfOpenPopUpListByWndName(ipt_eqmtcd,"","eqmtcd,eqmtnm","SPRSD00240","instcd,goodflag","cmb_instcd,ipt_goodflag");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_eqmtnm" ref="/root/send/eqmtnm" class="input_fix" appearance="input" style="left:465px; top:34; width:225px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_eqmtnm.value.length == 0)
- ipt_eqmtcd.value = "";
- else
- rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "instcd,requirementcd,requirementnm,goodflag",
- cmb_instcd.value + "," + "goodflaghngnm," + ipt_eqmtnm.value + "," + ipt_goodflag.value,"", "eqmtcd,eqmtnm",
- ipt_eqmtnm, "SPRSD00240", "instcd,goodflag","cmb_instcd,ipt_goodflag");
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption3" class="search_name" style="left:260px; top:35; width:86px; height:17px; ">장비코드 :</caption>
- <caption id="cap_dinfkind" class="search_name" style="left:260px; top:9; width:88px; height:17px; ">멸균구분 :</caption>
- <select1 id="rdo_bacflag" ref="/root/send/dinfkind" overflow="visible" appearance="full" cellspacing="5" cols="5" style="left:345px; top:9px; width:330px; height:15px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/bacflag">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <caption id="cap_instcd" class="search_name" style="left:15px; top:9; width:86px; height:17px; ">기관코드 :</caption>
- <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" navindex="2" appearance="minimal" style="left:100px; top:8; width:120px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <input id="ipt_goodflag" ref="/root/send/goodflag" visibility="hidden" style="left:707px; top:8; width:165px; height:19px; "/>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:96px; x2:1195px; y2:96px; "/>
- <datagrid id="grd_eqmtuselist" nodeset="/root/main/eqmtuselist" caption="멸균구분^장비코드^장비명^사용횟수^사용시간" colsep="^" colwidth="150, 150, 354, 149, 200" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:101px; width:1195px; height:633px; ">
- <col disabled="true" ref="dinfkind" type="combo">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </col>
- <col ref="fixasetcd"/>
- <col ref="goodflaghngnm"/>
- <col ref="sumusetims" style="text-align:right; "/>
- <col ref="sumusetm" format="hh:nn" style="text-align:center; "/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_eqmtuselist.gridToInstance();
- ]]>
- </script>
-
- </datagrid>
- <caption id="caption4" class="tit_2" style="left:5px; top:81px; width:75px; height:13px; ">세부내역</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <line id="line19" class="line_2" style="x1:0; y1:25; x2:1195; y2:25; "/>
- <line id="line22" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
- <button id="btn_prt" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- </button>
- <button id="btm_clear" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|