123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLPC02000_기본파트팝업.xrw
- * 설 명 : 기본파트 선택 공통 팝업화면
- * 설 계 자 : (주)에이씨케이 - 황상미
- * 작 성 자 : (주)에이씨케이 - 황상미
- * 작 성 일 : 2007.01.30
- * 수정이력 :
- * 기 타 :
- -->
- <?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/>
- <model id="model1">
- <instance id="instance1">
- <root>
- <main>
- <basepartcnts>
- <basepartlist>
- <instcd/>
- <basepartcd/>
- <basepartnm/>
- </basepartlist>
- </basepartcnts>
- </main>
- <send>
- </send>
- <init>
- </init>
- <hidden>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <submission id="TRLPC02001" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/basepartcnts/basepartlist"/>
- <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fExeInitialize();
- ]]>
- </script>
- <!-- public Script Start -->
- <script type="javascript">
- <![CDATA[
-
- /* @group : 기본파트선택 공통 팝업화면
- * @ver : 2007.01.30 (CMCDEV-0001)
- * @by : 황상미(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면초기화 함수
- */
- function fExeInitialize(){
- model.resetInstanceNode("/root/main/basepartcnts/basepartlist");
- fGetRefData();
- }
-
- /* @group : 기본파트선택 공통 팝업화면
- * @ver : 2007.01.30 (CMCDEV-0001)
- * @by : 황상미(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 기초코드조회 함수
- */
- function fGetRefData(){
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/delflag", "0"); //delflag
- model.makeValue("/root/send/instcd", opener.model.getValue("/root/hidden/userinfo/instcd")); //instcd
- submit("TRLPC02001");
-
- }
-
- /* @group : 기본파트선택 공통 팝업화면
- * @ver : 2007.01.30 (CMCDEV-0001)
- * @by : 황상미(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 기본파트선택 확인 함수
- */
- function fExeChoiBasePart(){
-
- var curRow = grd_basepartlist.row;
-
- //MainWindow BaseCd Value Change
- model.setValue(opener.root.hidden.scrndata.basepartcd,
- model.getValue("/root/main/basepartcnts/basepartlist[" + curRow + "]/basepartcd"));
- model.setValue(opener.root.hidden.scrndata.basepartnm,
- model.getValue("/root/main/basepartcnts/basepartlist[" + curRow + "]/basepartnm"));
-
- opener.model.refresh();
- model.close();
- }
-
- /* @group : 기본파트선택 공통 팝업화면
- * @ver : 2007.01.30 (CMCDEV-0001)
- * @by : 황상미(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면 닫기 함수
- */
- function fExeClsScrn(){
- model.close();
- }
- ]]>
- </script>
- <!-- public Script End -->
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="345" pageheight="410" guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" style="left:0px; top:380px; width:325px; height:27px; ">
- <line id="line2" class="line_6" style="x1:0px; y1:0px; x2:325px; y2:0px; "/>
- <button id="btn_cls" class="btn4_letter2" style="left:269px; top:5px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fExeClsScrn();
- ]]>
- </script>
- </button>
- <button id="btn_cfm" class="btn4_letter2" style="left:210px; top:5px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fExeChoiBasePart();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_popup" style="left:0px; top:0px; width:325px; height:380px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:121px; height:14px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">기본파트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:325px; y2:25px; "/>
- <datagrid id="grd_basepartlist" nodeset="/root/main/basepartcnts/basepartlist" caption="병원코드^기본파트코드^기본파트명칭" colwidth="0,100, 200" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" colsep="^" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:30px; width:325px; height:347px; border-color:#c0c0c0; ">
- <col ref="hospcd"/>
- <col ref="basepartcd"/>
- <col ref="basepartnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fExeChoiBasePart();
- ]]>
- </script>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|