123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLPB00400_정도관리.xrw
- * 설 명 : 정도관리
- * 설 계 자 : (주)에이씨케이 - 유동철
- * 작 성 자 : (주)에이씨케이 - 유동철
- * 작 성 일 : 2007.04.17
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <main>
- <hospenv>
- <hospenvinfo>
- <instcd/>
- <lendrtnterm/>
- <recvqualmthdcd/>
- <reptautoprntflagcd/>
- </hospenvinfo>
- </hospenv>
- </main>
- <init>
- </init>
- <hidden>
- <hospenvinfo>
- <instcd/>
- <lendrtnterm/>
- <recvqualmthdcd/>
- <reptautoprntflagcd/>
- </hospenvinfo>
- </hidden>
- <send>
- <instcd/>
- </send>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fExeInitialize();
- ]]>
- </script>
- <submission id="TRLPC01801" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/hospenv/hospenvinfo"/>
- <submission id="TXLPC01801" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/message"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /* @group : 병리번호코드등록관리 화면
- * @ver : 2007.01.04 (CMCDEV-0001)
- * @by : 황상미(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면초기화 함수
- */
- function fExeInitialize(){
- model.makeValue("/root/hidden/hospenvinfo/instcd", getUserInfo("dutplceinstcd")); //instcd
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd")); //instcd
- submit("TRLPC01801");
-
- //---------------------------------------------------------
- if (getNodesetCount("/root/main/hospenv/hospenvinfo") > 0) {
- model.copyNode("/root/hidden/hospenvinfo", "/root/main/hospenv/hospenvinfo");
- model.refresh();
- }else {
- model.makeValue("/root/hidden/hospenvinfo/recvqualmthdcd", "0"); //수신확인방법코드(0:선조회,1:후조회)
- model.makeValue("/root/hidden/hospenvinfo/reptautoprntflagcd", "0"); //보고서자동출력구분코드(0:출력,1:미출력)
- model.refresh();
- }
- }
- /* @group : 병원환경등록 화면
- * @ver : 2007.04.18 (CMCDEV-0001)
- * @by : 황상미(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 정도관리 수정(신규) 함수
- */
- function fSetUpdtData(){
-
- //필수 입력부분 확인 * * * * * * * * * * * * * * * * * * * * * * * * * * * *
- if(model.getValue("/root/hidden/hospenvinfo/lendrtnterm") == ""){
- messageBox("대출반환기간 항목을", "C001");
- model.setFocus("ipt_lendrtnterm");
- return;
- }
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/instcd", model.getValue("/root/hidden/hospenvinfo/instcd")); //병원코드
- model.makeValue("/root/send/lendrtnterm", model.getValue("/root/hidden/hospenvinfo/lendrtnterm")); //대출반환기간
- model.makeValue("/root/send/recvqualmthdcd", model.getValue("/root/hidden/hospenvinfo/recvqualmthdcd")); //수신확인방법코드
- model.makeValue("/root/send/reptautoprntflagcd", model.getValue("/root/hidden/hospenvinfo/reptautoprntflagcd")); //보고서자동출력구분
- model.makeValue("/root/send/existsyn", getNodesetCount("/root/main/hospenv/hospenvinfo")); //'0'=등록, '1'=수정
- if(submit("TXLPC01801")) {
- messageBox("저장이", "I002");
- } else {
- messageBox("저장이", "E009");
- return false;
- }
-
- //--------------
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1194;2,784;2,757;" 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:800px; height:14px; ">정도관리</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <caption id="caption1" class="cell_1" style="left:0px; top:20px; width:120px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">기관코드</caption>
- <caption id="caption24" class="tit_2" style="left:5px; top:0px; width:130px; height:14px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">병원환경정보</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:15; x2:333px; y2:15; "/>
- <caption id="caption2" class="cell_1" style="left:0px; top:44px; width:120px; height:23px; ">대출반환기간</caption>
- <caption id="caption3" class="cell_1" style="left:0px; top:68px; width:120px; height:23px; ">수신확인방법코드</caption>
- <input id="ipt_lendrtnterm" ref="/root/hidden/hospenvinfo/lendrtnterm" navindex="1" class="input_essential" maxlength="3" format="#,###" showmask="true" mask="exclude" style="left:123px; top:45px; width:95px; height:19px; "/>
- <output id="opt_instcd" ref="/root/hidden/hospenvinfo/instcd" class="output_fix" style="left:123px; top:21px; width:95px; height:19px; "/>
- <caption id="caption4" class="cell_1" style="left:0px; top:92px; width:120px; height:23px; ">보고서자동출력구분</caption>
- <select1 id="cmb_recvqualmthdcd" ref="/root/hidden/hospenvinfo/recvqualmthdcd" navindex="2" appearance="minimal" style="left:123px; top:69px; width:95px; height:19px; ">
- <choices>
- <item>
- <label>선조회</label>
- <value>0</value>
- </item>
- <item>
- <label>후조회</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_reptautoprntflagcd" ref="/root/hidden/hospenvinfo/reptautoprntflagcd" navindex="3" appearance="minimal" style="left:123px; top:93px; width:95px; height:19px; ">
- <choices>
- <item>
- <label>출력</label>
- <value>0</value>
- </item>
- <item>
- <label>미출력</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="button11" navindex="4" class="btn4_letter2" style="left:1138px; top:3px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetUpdtData();
- ]]>
- </script>
- </button>
- <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|