123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366 |
- <?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>
- <goodlist>
- <item>
- <goodid/>
- <goodnm/>
- <suppdeptcd/>
- <goodmodel/>
- <goodspec/>
- <aetitle/>
- <ipaddress/>
- <netgate/>
- <workgate/>
- <modality/>
- <installplace/>
- <mngtdeptcd/>
- <mngtcntctel/>
- <suplcntctel/>
- <useyn/>
- <fixasetcd/>
- <cmt/>
- <excuroomcd/>
- </item>
- </goodlist>
- </main>
- <send>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <grupcdid/>
- </send>
- <hidden>
- <count/>
- </hidden>
- <init>
- <openersend>
- <data/>
- </openersend>
- <cmb_info>
- <initmodal>
- <cdid/>
- <cdnm/>
- <grupcdid/>
- </initmodal>
- <initnetg>
- <cdid/>
- <cdnm/>
- <grupcdid/>
- </initnetg>
- <initworkg>
- <cdid/>
- <cdnm/>
- <grupcdid/>
- </initworkg>
- <suppdept>
- <suppdeptcd/>
- <depthngnm/>
- </suppdept>
- <excuroomcdlist>
- <excuroom>
- <basecd/>
- <basecdflagdesc/>
- </excuroom>
- </excuroomcdlist>
- </cmb_info>
- </init>
- <temp/>
- </root>
- </instance>
- <script type="javascript">
- <![CDATA[
- var sOPSCHERECINFO_PATH = "/root/send/data";
-
-
-
- function fChngSrchRoomCd() {
- if ( model.getValue("/root/send/data/wardcd") == "" ) return;
- model.resetInstanceNode("/root/init/cmb_room/initwardroom");
- submit("TRAEA02403");
- }
-
- function fSrchPatInfo() {
- /* @group : Angio 일정 등록
- * @ver : 2007.7.24
- * @by : 조원영
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 등록번호를 통한 환자 이름, 성별 및 나이 조회
- */
- model.setValue("/root/send/data/srchcond", "1"); // 검색조건 등록번호로 셋팅
- modal("SPPMC02500", "", "200", "200", "SPPMC02500", "/root/send/data", "/root/send");
-
- model.setValue( "/root/send/data/pid", model.getValue("/root/main/patinfo/patinfolist/pid") ); // 등록번호 설정
- model.setValue( "/root/send/data/patnm", model.getValue("/root/main/patinfo/patinfolist/hngnm") ); // 환자 이름
- model.setValue( "/root/send/data/sex", model.getValue("/root/main/patinfo/patinfolist/sex") ); // 환자 성별
- model.setValue( "/root/send/data/age", model.getValue("/root/main/patinfo/patinfolist/age") ); // 환자 나이
- model.refresh();
-
- submit("TRAEA02407");
- model.setValue("/root/send/data/wardcd", model.getValue("/root/temp/wardlist/wardcd") );
- fChngSrchRoomCd();
- model.setValue("/root/send/data/roomcd", model.getValue("/root/temp/wardlist/roomcd") );
- model.refresh();
- }
-
-
- ]]>
- </script>
- <!-- 첫 화면 로딩시 수행되는 이벤트 -->
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- aezfSetSuppDeptcd();
- // submit("TRAEB00205", false); // 수행부서 코드 가져오기
- // Modal 등의 공통정보를 가져온다. App단에서 그룹코드별 셋팅을 입력해 놓는다.
- model.setValue("/root/send/grupcdid","A");
- submit("TRAEB05002");
-
-
-
- model.setValue("/root/main/goodlist/item/suppdeptcd",parent.model.getValue("/root/temp/suppdeptcd"));
- model.setValue("/root/main/goodlist/item/excuroomcd",parent.model.getValue("/root/temp/excuroomcd"));
-
- model.setValue("/root/main/goodlist/item/goodid",parent.model.getValue("/root/temp/goodid"));
- model.setValue("/root/main/goodlist/item/goodnm",parent.model.getValue("/root/temp/goodnm"));
- model.setValue("/root/main/goodlist/item/goodspec",parent.model.getValue("/root/temp/goodspec"));
- model.setValue("/root/main/goodlist/item/goodmodel",parent.model.getValue("/root/temp/goodmodel"));
- model.setValue("/root/main/goodlist/item/ipaddress",parent.model.getValue("/root/temp/ipaddress"));
-
- model.setValue("/root/main/goodlist/item/aetitle",parent.model.getValue("/root/temp/aetitle"));
- model.setValue("/root/main/goodlist/item/netgate",parent.model.getValue("/root/temp/netgate"));
- model.setValue("/root/main/goodlist/item/workgate",parent.model.getValue("/root/temp/workgate"));
- model.setValue("/root/main/goodlist/item/modality",parent.model.getValue("/root/temp/modality"));
-
- model.setValue("/root/main/goodlist/item/installplace",parent.model.getValue("/root/temp/installplace"));
- model.setValue("/root/main/goodlist/item/mngtdeptcd",parent.model.getValue("/root/temp/mngtdeptcd"));
- model.setValue("/root/main/goodlist/item/mngtcntctel",parent.model.getValue("/root/temp/mngtcntctel"));
- model.setValue("/root/main/goodlist/item/suplcntctel",parent.model.getValue("/root/temp/suplcntctel"));
- model.setValue("/root/main/goodlist/item/useyn",parent.model.getValue("/root/temp/useyn"));
- model.setValue("/root/main/goodlist/item/fixasetcd",parent.model.getValue("/root/temp/fixasetcd"));
- model.setValue("/root/main/goodlist/item/cmt",parent.model.getValue("/root/temp/cmt"));
-
- //검사/치료실 가져오기
- model.setValue("/root/send/globalinstance/instance1", parent.model.getValue("/root/temp/suppdeptcd") );
- submit("TRAEA00902", false);
-
-
- model.refresh();
- model.setFocus("ipt_goodnm"); // 장비명
-
-
-
- ]]>
- </script>
- <submission id="TRAEB05001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/goodlist"/>
- <submission id="TRAEB00205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/dept_info"/>
- <!-- Modal, netgate, workgate 등의 공통정보를 가져온다 -->
- <submission id="TRAEB05002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_info"/>
- <!-- 부서 -->
- <submission id="submission1" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/dept_info"/>
- <submission id="TRAEA00902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/cmb_info/excuroomcdlist"/>
- </model>
- <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="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="525" pageheight="350" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:5px; top:5px; width:500px; height:310px; ">
- <caption id="caption13" class="cell_1" style="left:0px; top:48px; width:59px; height:23px; vertical-align:middle; ">장비ID</caption>
- <caption id="caption1" class="tit_2" style="left:5px; top:2px; width:470px; height:13px; ">장비등록</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:17px; x2:500px; y2:17px; "/>
- <caption id="caption2" class="cell_1" style="left:0px; top:101px; width:59px; height:23px; vertical-align:middle; ">규격</caption>
- <caption id="caption3" class="cell_1" style="left:0px; top:126px; width:59px; height:23px; vertical-align:middle; ">AETitle</caption>
- <caption id="caption4" class="cell_1" style="left:0px; top:75px; width:59px; height:23px; vertical-align:middle; ">모델명</caption>
- <caption id="caption5" class="cell_1" style="left:285px; top:75px; width:59px; height:23px; vertical-align:middle; ">Modality</caption>
- <caption id="caption6" class="cell_1" style="left:245px; top:125px; width:59px; height:23px; vertical-align:middle; ">IP</caption>
- <caption id="caption7" class="cell_1" style="left:0px; top:229px; width:79px; height:23px; vertical-align:middle; ">공급자연락처</caption>
- <caption id="caption8" class="cell_1" style="left:0px; top:203px; width:59px; height:23px; vertical-align:middle; ">관리부서</caption>
- <caption id="caption9" class="cell_1" style="left:0px; top:255px; width:59px; height:23px; vertical-align:middle; ">자산번호</caption>
- <line id="line5" class="line_2" style="x1:0px; y1:125px; x2:499px; y2:125px; "/>
- <line id="line6" class="line_2" style="x1:0px; y1:150px; x2:499px; y2:150px; "/>
- <line id="line7" class="line_2" style="x1:0px; y1:99px; x2:499px; y2:99px; "/>
- <line id="line8" class="line_2" style="x1:0px; y1:202px; x2:499px; y2:202px; "/>
- <line id="line9" class="line_2" style="x1:0px; y1:228px; x2:499px; y2:228px; "/>
- <line id="line10" class="line_2" style="x1:0px; y1:254px; x2:499px; y2:254px; "/>
- <!-- 장비ID -->
- <input id="ipt_goodid" ref="/root/main/goodlist/item/goodid" disabled="true" editable="false" style="left:62px; top:49px; width:88px; height:19px; "/>
- <!-- 장비명-->
- <input id="ipt_goodnm" ref="/root/main/goodlist/item/goodnm" class="input_search" style="left:220px; top:49px; width:265px; height:19px; "/>
- <!-- 모델명 -->
- <input id="ipt_goodmodel" ref="/root/main/goodlist/item/goodmodel" class="input_search" maxlength="500" style="left:62px; top:75px; width:210px; height:19px; "/>
- <!-- modality -->
- <!-- 규격 -->
- <input id="ipt_goodspec" ref="/root/main/goodlist/item/goodspec" class="input_search" maxlength="500" style="left:62px; top:100px; width:380px; height:19px; "/>
- <!-- aetitle-->
- <input id="ipt_aetitle" ref="/root/main/goodlist/item/aetitle" class="input_search" maxlength="500" style="left:62px; top:128px; width:153px; height:19px; "/>
- <!-- ip address -->
- <input id="ipt_ipaddress" ref="/root/main/goodlist/item/ipaddress" class="input_search" maxlength="500" style="left:307px; top:127px; width:143px; height:19px; "/>
- <input id="ipt_installplace" ref="/root/main/goodlist/item/installplace" class="input_search" maxlength="30" style="left:62px; top:180px; width:380px; height:19px; "/>
- <!-- 관리부서 -->
- <!-- 관리연락처 -->
- <input id="ipt_mngcntctel" ref="/root/main/goodlist/item/mngtcntctel" class="input_search" maxlength="10" style="left:327px; top:205px; width:155px; height:19px; "/>
- <!-- 패스워드 -->
- <caption id="caption15" class="cell_1" style="left:0px; top:280px; width:60px; height:25px; vertical-align:middle; ">비고</caption>
- <caption id="caption10" class="cell_1" style="left:160px; top:48px; width:59px; height:23px; vertical-align:middle; ">장비명</caption>
- <caption id="caption12" class="cell_1" style="left:245px; top:150px; width:60px; height:23px; vertical-align:middle; ">WorkGate</caption>
- <caption id="caption16" class="cell_1" style="left:0px; top:150px; width:59px; height:23px; vertical-align:middle; ">NetGate</caption>
- <caption id="caption14" class="cell_1" style="left:0px; top:175px; width:59px; height:23px; vertical-align:middle; ">설치장소</caption>
- <input id="ipt_suplcntctel" ref="/root/main/goodlist/item/suplcntctel" class="input_search" maxlength="30" style="left:82px; top:230px; width:185px; height:19px; "/>
- <input id="ipt_fixasetcd" ref="/root/main/goodlist/item/fixasetcd" class="input_search" maxlength="30" style="left:62px; top:255px; width:148px; height:19px; "/>
- <caption id="caption17" class="cell_1" style="left:245px; top:255px; width:59px; height:23px; vertical-align:middle; ">사용여부</caption>
- <!-- 소견 -->
- <textarea id="tar_cmt" ref="/root/main/goodlist/item/cmt" maxlength="300" style="left:63px; top:280px; width:435px; height:23px; "/>
- <select1 id="cmb_modality" ref="/root/main/goodlist/item/modality" appearance="minimal" style="left:345px; top:75px; width:125px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initmodal">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_useyn" ref="/root/main/goodlist/item/useyn" appearance="minimal" style="left:305px; top:255px; width:85px; height:19px; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_mngtdeptcd" ref="/root/main/goodlist/item/mngtdeptcd" appearance="minimal" style="left:62px; top:205px; width:155px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/suppdept">
- <label ref="suppdeptnm"/>
- <value ref="suppdeptcd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_netgate" ref="/root/main/goodlist/item/netgate" appearance="minimal" style="left:62px; top:152px; width:155px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initnetg">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_workgate" ref="/root/main/goodlist/item/workgate" appearance="minimal" style="left:307px; top:152px; width:145px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initworkg">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line11" class="line_2" style="x1:0px; y1:275px; x2:499px; y2:275px; "/>
- <caption id="caption18" class="cell_1" style="left:0px; top:20px; width:59px; height:23px; vertical-align:middle; ">지원부서</caption>
- <select1 id="combo1" ref="/root/main/goodlist/item/suppdeptcd" appearance="minimal" style="left:62px; top:22px; width:155px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/suppdept">
- <label ref="suppdeptnm"/>
- <value ref="suppdeptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/globalinstance/instance1", model.getValue("/root/main/goodlist/item/suppdeptcd"));
- submit("TRAEA00902", false);
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption19" class="cell_1" style="left:245px; top:20px; width:73px; height:23px; vertical-align:middle; ">검사/치료실</caption>
- <select1 id="combo2" ref="/root/main/goodlist/item/excuroomcd" appearance="minimal" style="left:320px; top:22px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/excuroomcdlist/excuroom">
- <label ref="basecdflagdesc"/>
- <value ref="basecd"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <line id="line3" class="line_2" style="x1:5px; y1:50px; x2:504px; y2:50px; "/>
- <line id="line2" class="line_2" style="x1:5px; y1:78px; x2:504px; y2:78px; "/>
- <line id="line4" class="line_2" style="x1:5px; y1:180px; x2:504px; y2:180px; "/>
- <!--caption id="caption10" style="left:168px; top:24px; width:90px; height:20px; vertical-align:middle; ">예] 2007-10-29</caption-->
- <caption id="caption11" class="cell_1" style="left:250px; top:210px; width:79px; height:23px; vertical-align:middle; ">관리자연락처</caption>
- <group id="grp_btn" scroll="auto" style="left:8px; top:310px; width:497px; height:30px; ">
- <button id="btn_rgst" class="btn4_letter2" style="left:384px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //if ( messageBox("" , "Q002") == 6 ) { // 등록여부 확인
- var _goodnm = model.getValue("/root/main/goodlist/item/goodnm");
- var _ipaddress = model.getValue("/root/main/goodlist/item/ipaddress");
- var _modality = model.getValue("/root/main/goodlist/item/modality");
- var _goodspec = model.getValue("/root/main/goodlist/item/goodspec");
- var _goodmodel = model.getValue("/root/main/goodlist/item/goodmodel");
- var _msg = "";
-
-
- if ( _goodnm == "") {
- _msg += "장비명";
- }
-
- if ( _ipaddress == "") {
- _msg += "IP Address";
- }
-
- if ( _modality== "") {
- _msg += "Modality";
- }
-
- if ( _msg != "" ) {
- messageBox("입력하신 내용 중 " + _msg + "에 대한 내용이 빠져있거나 잘못되었습니다. 확인해 주십시오.", "I999");
- return true;
- }
-
- opener.model.setValue("/root/temp/suppdeptcd", model.getValue("/root/main/goodlist/item/suppdeptcd"));
- opener.model.setValue("/root/temp/excuroomcd", model.getValue("/root/main/goodlist/item/excuroomcd"));
-
- opener.model.setValue("/root/temp/goodid", model.getValue("/root/main/goodlist/item/goodid"));
- opener.model.setValue("/root/temp/goodnm", model.getValue("/root/main/goodlist/item/goodnm"));
- opener.model.setValue("/root/temp/goodspec", model.getValue("/root/main/goodlist/item/goodspec"));
- opener.model.setValue("/root/temp/goodmodel", model.getValue("/root/main/goodlist/item/goodmodel"));
- opener.model.setValue("/root/temp/ipaddress", model.getValue("/root/main/goodlist/item/ipaddress"));
-
- opener.model.setValue("/root/temp/netgate", model.getValue("/root/main/goodlist/item/netgate"));
- opener.model.setValue("/root/temp/workgate", model.getValue("/root/main/goodlist/item/workgate"));
- opener.model.setValue("/root/temp/modality", model.getValue("/root/main/goodlist/item/modality"));
- opener.model.setValue("/root/temp/installplace", model.getValue("/root/main/goodlist/item/installplace"));
- opener.model.setValue("/root/temp/mngtdeptcd", model.getValue("/root/main/goodlist/item/mngtdeptcd"));
-
- opener.model.setValue("/root/temp/mngtcntctel", model.getValue("/root/main/goodlist/item/mngtcntctel"));
- opener.model.setValue("/root/temp/suplcntctel", model.getValue("/root/main/goodlist/item/suplcntctel"));
- opener.model.setValue("/root/temp/useyn", model.getValue("/root/main/goodlist/item/useyn"));
- opener.model.setValue("/root/temp/cmt", model.getValue("/root/main/goodlist/item/cmt"));
- opener.model.setValue("/root/temp/fixasetcd", model.getValue("/root/main/goodlist/item/fixasetcd"));
- window.close();
- // }
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter2" style="left:440px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|