123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPMNV07002.xrw
- * 설 명 : 장비별진료과관리
- * 설 계 자 :
- * 작 성 자 : 손주연
- * 작 성 일 : 2010.06.10
- * 수정이력 :
- * 기 타 : 오후 장비정보 타과 사용 정보관리
- -->
- <?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>
- <save>
- <cretno/>
- <centcd/>
- <orddeptcd/>
- <ordflag>2</ordflag>
- <fromdd/>
- <todd/>
- <detlno/>
- <cntrorddeptcd/>
- <ordroomcd/>
- <dwcd/>
- </save>
- <eqipinfo>
- <equiplst>
- <ordroomnm/>
- <ordflag/>
- <centcd/>
- <orddeptcd/>
- <subdeptcd/>
- </equiplst>
- </eqipinfo>
- </main>
- <send>
- <orddeptcd/>
- <centcd/>
- <ordroomcd/>
- <saveinfo/>
- <cretno/>
- <basedd/>
- <hostnm/>
- </send>
- <init>
- <orddeptcd>
- <dept/>
- </orddeptcd>
- <centcd>
- <dept/>
- </centcd>
- <cntrsuborddept>
- <cntrsuborddeptlist/>
- </cntrsuborddept>
- <eqipinfo/>
- <P0033list/>
- </init>
- <temp/>
- <hidden>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRMNV07006" ref="/root/send" method="urlencoded-post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/init/eqipinfo"/>
- <submission id="TRMNV07013" ref="/root/send" method="urlencoded-post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/eqipinfo"/>
- <submission id="TRZSD00208" method="urlencoded-post" mediatype="application/x-www-form-urlencoded" replace="instance"/>
- <submission id="TRZSD00207" method="urlencoded-post" mediatype="application/x-www-form-urlencoded" replace="instance"/>
- <submission id="TRZSD00109" method="urlencoded-post" mediatype="application/x-www-form-urlencoded" replace="instance"/>
- <submission id="TXMNV07013" ref="/root/send/saveinfo" method="urlencoded-post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/hidden"/>
- <submission id="TRZBC00101" method="urlencoded-post" mediatype="application/x-www-form-urlencoded" replace="instance"/>
- <submission id="TRZBC00102" method="post" mediatype="application/x-www-form-urlencoded" replace="instance"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../.S./com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize(){
- /*zbcfGetCodeList( new Array("P0033"), new Array("/root/init/P0033list" ) , null, new Array("cdid" ), new Array("asc" ) ) ;
- var nodelist = model.instance1.selectNodes( "/root/init/P0033list/P0033[cdid='0']" );//일요일 삭제
- if( nodelist != null && nodelist.length > 0 ) {
- for( var i = 1 ; i <= nodelist.length ; i++) {
- if( model.getValue("/root/init/P0033list/P0033[" +i + "]/cdid" ) == "0" ) {
- model.removenode("/root/init/P0033list/P0033[" +i + "]" );
- break;
- }
- }
- } */
- //center 진료과 진료실
- //submit("TRMNV07002"); //센터, 진료과 정보 가져옴
- model.makeValue("/root/send/centcd", "-" );
- model.makeValue("/root/send/orddd", getCurrentDate());
- submit("TRMNV07006"); //진료실 정보
-
- zsdfGetCntrOrdKindDepartmentList(getUserInfo("dutplceinstcd"), "/root/init/centcd", getCurrentDate() );
- addComboItem("cmb_centcd", "-", "" );
- zsdfGetOutOrdDeptList(getUserInfo("dutplceinstcd"), "/root/init/orddeptcd" , "depthngnm", "desc", getCurrentDate() );
- model.removeNodeset(grd_eqiplst.nodeset );
-
- model.makeValue("/root/send/basedd", getCurrentDate());
- fInitSaveInfo();
- var userdeptnm = getUserInfo( "dutplcenm" );
- model.makeValue("/root/send/hostnm", userdeptnm);
- fGetEqipDetlInfoList();
- //ipt_hostnm.disabled = true ;
- model.setfocus("ipt_hostnm");
- model.refresh();
- }
-
- function fInitSaveInfo(){
- //var cretno = model.getValue("/root/main/save/cretno");
- model.resetInstanceNode("/root/main/save");
- /*model.makeValue("/root/main/save/fromdd" , getCurrentDate());
- model.makeValue("/root/main/save/todd" , getCurrentDate());
- model.makeValue("/root/main/save/ordflag" , "2");
- model.makeValue("/root/main/save/cretno" , cretno);
- */
-
- }
-
- function fGetEqipDetlInfoList(){
- model.removeNodeset(grd_eqiplst.nodeset );
- /*var cretno = model.getValue("/root/main/save/cretno") ;
- if( isNull(cretno) || cretno == "-" ) {
- messageBox("진료실을 선택하세요" );
- return ;
- }
- */
- //model.resetInstanceNode("/root/send");
-
- //model.makeValue("/root/send/basedd",getCurrentDate() );
-
- if( isNull( model.getValue("/root/send/scrnsize") ) ) model.makeValue("/root/send/scrnsize","17" );
- if( submit("TRMNV07013") ){
- fInitSaveInfo();
- model.refresh();
- }
- }
-
- function fSaveEqipDetlUseInfo(){
- if( messageBox( "", "Q002" ) != "6" ) return ;
-
- var cretno = model.getValue("/root/main/save/cretno") ;
- var orddeptcd = model.getValue("/root/main/save/orddeptcd") ;
- var fromdd = model.getValue("/root/main/save/fromdd") ;
- var todd = model.getValue("/root/main/save/todd") ;
- if( isNull(cretno) || cretno == "-" ) {
- messageBox("진료실을 " , "C002");
- return ;
- }
-
- if( isNull(orddeptcd) || orddeptcd == "-" ) {
- messageBox("진료과를 " , "C002");
- return ;
- }
- var userdeptcd = getUserInfo( "dutplcecd" );
- if( orddeptcd != userdeptcd ){
- if( messageBox("로그인 부서와 변경진료과 부서정보가 다릅니다. " , "S002" ) != 6 ) return ;
- }
- /*
- if( isNull(fromdd) || isNull(todd) ||fromdd.length < 8 || todd.length < 8 || ( fromdd > todd ) || (fromdd < getCurrentDate() )) {
- messageBox("적용일자를 ", "I007" );
- return ;
- }
- */
- model.resetInstanceNode("/root/send/saveinfo");
- model.makeNode("/root/send/saveinfo");
- model.copyNode("/root/send/saveinfo" , "/root/main/save");
-
- if( submit("TXMNV07013") ) {
- model.resetInstanceNode("/root/main/save");
- fGetEqipDetlInfoList();
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="534" pageheight="503" guideline="1,534;2,492;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:518px; height:465px; ">
- <group id="group2" style="left:0px; top:0px; width:518px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:517px; height:35px; "/>
- <caption id="caption2" class="search_name" style="left:195px; top:10px; width:86px; height:17px; ">진료실</caption>
- <button id="btn_search" class="btn1_letter2" style="left:445px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetEqipDetlInfoList();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:429px; y1:7px; x2:429px; y2:29px; "/>
- <select1 id="cmb_ordroomcd" ref="/root/main/save/cretno" class="combo_search" appearance="minimal" itemcount="30" style="left:265px; top:8px; width:155px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/eqipinfo/eqiproomlist">
- <label ref="hostnm"/>
- <value ref="cretno"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetEqipDetlInfoList();
- ]]>
- </script>
- </select1>
- <caption id="caption4" class="search_name" style="left:10px; top:10px; width:86px; height:17px; ">장비명 :</caption>
- <input id="srch_basedd" ref="/root/send/basedd" class="input_default" visibility="hidden" inputtype="date" style="left:323px; top:8px; width:97px; height:19px; "/>
- <input id="ipt_hostnm" ref="/root/send/hostnm" class="input_search" disabled="true" style="left:95px; top:8px; width:325px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if( event.keycode == 13 ) {
- model.makeValue("/root/send/hostnm" , ipt_hostnm.currentText );
- fGetEqipDetlInfoList();
- }
- ]]>
- </script>
- </input>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:45px; width:183px; height:14px; ">장비별 진료과 관리</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:60px; x2:517px; y2:60px; "/>
- <button id="btn_save" class="btn5_letter2" style="left:475px; top:40px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveEqipDetlUseInfo();
- ]]>
- </script>
- </button>
- <caption id="caption7" class="cell_1" style="left:0px; top:65px; width:50px; height:23px; ">장비명</caption>
- <caption id="caption3" class="cell_1" style="left:193px; top:65px; width:50px; height:23px; ">센터</caption>
- <caption id="caption5" class="cell_1" style="left:0px; top:190px; width:60px; height:23px; ">진료구분</caption>
- <caption id="caption6" class="cell_1" style="left:233px; top:190px; width:60px; height:23px; ">적용일자</caption>
- <select1 id="cmb_ordroomcd2" ref="/root/main/save/cretno" class="combo_search" disabled="true" appearance="minimal" style="left:53px; top:66px; width:136px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/eqipinfo/eqiproomlist">
- <label ref="hostnm"/>
- <value ref="cretno"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_centcd" ref="/root/main/save/centcd" class="combo_search" appearance="minimal" style="left:245px; top:66px; width:106px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/centcd/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var centcd = cmb_centcd.value;
- if( isNull(centcd) || centcd == "-" ) {
- //submit("TRMNV07002"); //센터, 진료과 정보 가져옴
- zsdfGetOutOrdDeptList(getUserInfo("dutplceinstcd"), "/root/init/orddeptcd" , "depthngnm", "desc", getCurrentDate() );
- cmb_orddeptcd.choices.itemset.attribute("nodeset") = "/root/init/orddeptcd/dept" ;
- cmb_orddeptcd.refresh();
- } else {
- zsufGetCntrSubOrdDepartmentList(getUserInfo("dutplceinstcd"), centcd, 'out', "/root/init/cntrsuborddeptlist", getCurrentDate());
- cmb_orddeptcd.choices.itemset.attribute("nodeset") = "/root/init/cntrsuborddeptlist/dept" ;
- cmb_orddeptcd.refresh();
- }
- ]]>
- </script>
- </select1>
- <select1 id="cmb_orddeptcd" ref="/root/main/save/orddeptcd" class="combo_search" appearance="minimal" style="left:405px; top:65px; width:106px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption8" class="cell_1" style="left:353px; top:64px; width:50px; height:23px; ">진료과</caption>
- <line id="line2" class="line_2" style="x1:0px; y1:87px; x2:517px; y2:87px; "/>
- <line id="line3" class="line_2" style="x1:0px; y1:213px; x2:517px; y2:213px; "/>
- <input id="ipt_fromdd" ref="/root/main/save/fromdd" class="input_default" inputtype="date" style="left:295px; top:191px; width:107px; height:19px; "/>
- <input id="ipt_todd" ref="/root/main/save/todd" class="input_default" inputtype="date" style="left:404px; top:191px; width:107px; height:19px; "/>
- <select1 id="rdo_ordflag" ref="/root/main/save/ordflag" navindex="7" disabled="false" overflow="visible" appearance="full" cols="3" cellspacing="10" style="left:64px; top:195px; width:160px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>오전</label>
- <value>1</value>
- </item>
- <item>
- <label>오후</label>
- <value>2</value>
- </item>
- <item>
- <label>전체</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <button id="btn_init" class="btn2_letter3" visibility="visible" style="left:419px; top:40px; width:53px; height:19px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitSaveInfo();
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line4" class="line_2" style="x1:0px; y1:138px; x2:517px; y2:138px; "/>
- <caption id="caption9" class="cell_1" style="left:0px; top:215px; width:60px; height:23px; ">요일</caption>
- <select id="chk_dwcd" ref="/root/main/save/dwcd" overflow="visible" appearance="full" rows="1" cols="7" sep="|" style="left:64px; top:218px; width:446px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/P0033list/P0033">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select>
- <datagrid id="grd_eqiplst" nodeset="/root/main/eqipinfo/eqiproomlist" caption="cretno^detlno^진료실명^장비명^centcd^센터^orddeptcd^진료과" colwidth="0, 0, 84, 185, 21, 114, 11, 160" dataheight="23" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" colsep="^" style="left:0px; top:113px; width:517px; height:202px; ">
- <col ref="cretno" visibility="hidden"/>
- <col ref="ipaddr" visibility="hidden"/>
- <col ref="ordroomnm" visibility="visible"/>
- <col ref="hostnm" visibility="visible"/>
- <col ref="centcd" visibility="hidden"/>
- <col ref="centnm"/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="orddeptnm" format="yyyy-mm-dd"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( isDataCell()) {
- var idx = grd_eqiplst.row ;
- if( idx > 0 ) {
- model.copyNode("/root/main/save", grd_eqiplst.nodeset + "[" + idx + "]" );
- cmb_centcd.dispatch( "xforms-value-changed");
- model.refresh();
- }
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption22" class="tit_2" style="left:5px; top:94px; width:144px; height:14px; ">장비정보내역</caption>
- <line id="line7" class="line_1" style="x1:0px; y1:108px; x2:517px; y2:108px; "/>
- <caption id="caption26" style="left:0px; top:320px; width:517px; height:135px; font-weight:bold; color:#000000; vertical-align:middle; background-color:#ffff99; ">
- <![CDATA[ 1. 로그인부서 소대기 전광판 장비명(수정 필요 시 전산팀 요청 요망)이 조회되어, 사용부서 변경이 가능합니다.
- * 센터 소속 장비를 조회하려면 센터 근무지로 로그인해야 합니다.
- 2. 장비정보내역에서 장비명을 더블클릭 후 장비별 진료과 관리에서 원하시는 센터, 진료과 선택 후 저장 후 해당 모니터를 재부팅시 즉시 변경적용됩니다.
- 3. 과변경된 센터/진료과의 [전광판 관리] 화면에 해당 진료실이 추가되어 소대기 전광판 사용가능합니다.]]>
- </caption>
- <shape id="roundrect3" class="roundrect_btnset" appearance="roundrect" style="left:0px; top:320px; width:517px; height:135px; "/>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:465px; width:518px; height:28px; ">
- <button id="btn_cancel" class="btn4_letter2" style="left:461px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <close ev:event="DOMActivate"/>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:518px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|