123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPPMC04000_감면환자입력.xrw
- * 설 명 : 감면환자입력
- * 설 계 자 : 최희경
- * 작 성 자 : 최희경
- * 작 성 일 : 2007.07.21
- * 수정이력 :
- * 기 타 :
- -->
- <?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 xmlns="">
- <main>
- <h_ptdc>
- <ptdc>
- <ptdc_pid/>
- <ptdc_disccd/>
- <ptdc_disccls/>
- <ptdc_todd/>
- <ptdc_seqno/>
- <ptdc_instcd/>
- <ptdc_histstat/>
- <ptdc_fromdd/>
- <ptdc_empid/>
- <ptdc_empidnm/>
- <ptdc_emprela/>
- <ptdc_discappacptyn/>
- <ptdc_profacptyn/>
- <ptdc_profacptdd/>
- <ptdc_remfact/>
- <ptdc_fstrgstrid/>
- <ptdc_fstrgstdt/>
- <ptdc_lastupdtrid/>
- <ptdc_lastupdtdt/>
- </ptdc>
- </h_ptdc>
- </main>
- <send/>
- <init>
- <disccd>
- <cd/>
- <nm/>
- </disccd>
- </init>
- <init_com>
- <P0016list>
- <P0016>
- <cdnm/>
- <cdid/>
- </P0016>
- </P0016list>
- </init_com>
- <hidden>
- <session/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //default Set
- model.setValue("/root/main/h_ptdc/ptdc/ptdc_discappacptyn","N");
- model.setValue("/root/main/h_ptdc/ptdc/ptdc_profacptyn","N");
-
- fGetUserInfosSampling();
- //공통코드
- zbcfGetCodeList( new Array("P0016"),
- new Array("/root/init_com/P0016list" //직원과의 관계
- ) );
-
- submit("TRPAMCOM01");
-
- //SPPMC04000_PARM : pid▦disccd▦strSend▦strRcv▦
-
- if (checkOpener())
- {
-
- opener.javascript.setParameter("SPPMC04000_RTN","");
-
- var SPPMC04000_PARM = opener.javascript.getParameter("SPPMC04000_PARM");
-
- var array_parm = SPPMC04000_PARM.split("▦");
-
- gPID = array_parm[0];
- gDisccd = array_parm[1];
- strSend = array_parm[2];
- strRcv = array_parm[3];
-
- model.setValue("/root/main/h_ptdc/ptdc/ptdc_fromdd", getCurrentDate() );
- model.setValue("/root/main/h_ptdc/ptdc/ptdc_todd", "99991231" );
- model.setValue("/root/main/h_ptdc/ptdc/ptdc_discappacptyn", "N" );
- model.setValue("/root/main/h_ptdc/ptdc/ptdc_profacptyn", "N" );
- model.setValue("/root/main/h_ptdc/ptdc/ptdc_profacptdd", getCurrentDate() );
-
- model.refresh();
-
- //환자번호가 넘어오면, 해당환자의 감면내역 조회
- //환자번호가 없으면, 환자번호가 없는 신규입력
- if ( gPID != "" && gPID != " " && gPID != null ) {
- //해당환자의 감면내역조회
-
- }
- /*
- if (strSend != null && strSend != "" && strSend != " " && strSend != "-")
- {
- copyNodesetType("/root/main/h_ptdc", strSend, "replace", model, parent.model);
- }
- */
- opener.javascript.setParameter("SPPMC04000_PARM","");
- }
-
- ]]>
- </script>
- <submission id="TRPAMCOM01" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/session" replace="instance" resultref="/root/init"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.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/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../pam/opatmngtweb/js/PMOCOM.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
- var gPID, gDisccd, strSend, strRcv;
-
- ]]>
- </script>
- <script type="javascript" src="D:\CMCProject\application\webapps\com\hismainweb\js\DocTitle.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="410" pageheight="280" guideline="1,518;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:375px; height:218px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:24px; x2:370px; y2:24px; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:108px; height:14px; ">감면환자입력</caption>
- <button id="button29" class="icon_search" style="left:223px; top:80px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeNode("/root/hidden/userpopupinfo/param");
- model.makeNode("/root/hidden/userpopupinfo/flag");
- model.makeNode("/root/hidden/userpopupinfo/searchitem");
-
- model.setValue("/root/hidden/userpopupinfo/param", "_OneS");
- model.setValue("/root/hidden/userpopupinfo/flag", "usernm");
- model.setValue("/root/hidden/userpopupinfo/searchitem", "사용자명");
-
- modal("../../userdeptinfoweb/xrw/SPZSU10103_사용자부서선택조회", "", "200", "200", "SPZSU10103","/root/hidden/userpopupinfo","/root/main/temp");
-
- var iParam = getParameter("SPZSU10103_");
- model.makeNode("/root/hidden/onerowselect");
- setCSVToNode("/root/hidden/onerowselect", iParam);
- model.setValue("/root/main/h_ptdc/ptdc/ptdc_empid", model.getValue("/root/hidden/onerowselect/list/userid") );
- model.setValue("/root/main/h_ptdc/ptdc/ptdc_empidnm", model.getValue("/root/hidden/onerowselect/list/usernm") );
- clearParameter("SPZSU10103_");
- model.removeNodeset("/root/hidden/userpopupinfo");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption30" class="cell_1" style="left:0px; top:29px; width:115px; height:23px; vertical-align:middle; ">감면계정</caption>
- <caption id="caption31" class="cell_1" style="left:0px; top:149px; width:115px; height:23px; vertical-align:middle; ">증명서류접수/일자</caption>
- <caption id="caption2" class="cell_1" style="left:0px; top:77px; width:115px; height:23px; vertical-align:middle; ">직원성명</caption>
- <caption id="caption34" class="cell_1" style="left:0px; top:173px; width:115px; height:41px; vertical-align:middle; ">Remark</caption>
- <caption id="caption35" class="cell_1" style="left:0px; top:101px; width:115px; height:23px; vertical-align:middle; ">직원관계/재직여부</caption>
- <line id="line2" class="line_2" style="x1:0px; y1:75px; x2:370px; y2:75px; "/>
- <caption id="caption26" class="cell_1" style="left:0px; top:125px; width:115px; height:23px; vertical-align:middle; ">신청서접수여부</caption>
- <line id="line3" class="line_2" style="x1:0px; y1:99px; x2:370px; y2:99px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:123px; x2:370px; y2:123px; "/>
- <textarea id="textarea2" ref="/root/main/h_ptdc/ptdc/ptdc_remfact" scroll="vertical" style="left:117px; top:175px; width:252px; height:38px; "/>
- <line id="line5" class="line_2" style="x1:0px; y1:147px; x2:370px; y2:147px; "/>
- <caption id="caption29" class="cell_1" style="left:0px; top:53px; width:115px; height:23px; vertical-align:middle; ">시작일자/종료일자</caption>
- <line id="line6" class="line_2" style="x1:0px; y1:171px; x2:370px; y2:171px; "/>
- <line id="line61" class="line_2" style="x1:0px; y1:51px; x2:370px; y2:51px; "/>
- <button id="button2" class="btn2_letter6" style="left:283px; top:4px; width:86px; height:19px; ">
- <caption>직원가족사항</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPPMC03800", "1","150", "150", "SPPMC03800", "", "");
- ]]>
- </script>
- </button>
- <select1 id="cmb_disccd" ref="/root/main/h_ptdc/ptdc/ptdc_disccd" class="combo_default" appearance="minimal" style="left:147px; top:30px; width:222px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/disccd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_disccd" ref="/root/main/h_ptdc/ptdc/ptdc_disccd" class="input_default" _chartype="upper" style="left:117px; top:30px; width:28px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ((ipt_disccd.currentText).length == 3) {
- cmb_disccd.value = ipt_disccd.currentText;
- }
- ]]>
- </script>
- </input>
- <output id="output1" class="output_fix" appearance="output" style="left:244px; top:102px; width:125px; height:19px; "/>
- <select1 id="radio1" ref="/root/main/h_ptdc/ptdc/ptdc_discappacptyn" overflow="visible" appearance="full" cellspacing="8" cols="2" style="left:118px; top:126px; width:92px; height:20px; background-color:transparent; border-style:none; ">
- <choices>
- <item>
- <label>Yes</label>
- <value>Y</value>
- </item>
- <item>
- <label>No</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio2" ref="/root/main/h_ptdc/ptdc/ptdc_profacptyn" overflow="visible" appearance="full" cellspacing="8" cols="2" style="left:118px; top:150px; width:92px; height:20px; background-color:transparent; border-style:none; ">
- <choices>
- <item>
- <label>Yes</label>
- <value>Y</value>
- </item>
- <item>
- <label>No</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <input id="input3" ref="/root/main/h_ptdc/ptdc/ptdc_profacptdd" class="input_default" inputtype="date" style="left:244px; top:150px; width:125px; height:19px; "/>
- <input id="ipt_fromdd" ref="/root/main/h_ptdc/ptdc/ptdc_fromdd" class="input_default" inputtype="date" style="left:117px; top:54px; width:125px; height:19px; "/>
- <input id="ipt_todd" ref="/root/main/h_ptdc/ptdc/ptdc_todd" class="input_default" inputtype="date" style="left:244px; top:54px; width:125px; height:19px; "/>
- <input id="ipt_empid" ref="/root/main/h_ptdc/ptdc/ptdc_empid" class="input_default" appearance="input" style="left:117px; top:78px; width:100px; height:19px; "/>
- <output id="opt_empidnm" ref="/root/main/h_ptdc/ptdc/ptdc_empidnm" class="output_fix" appearance="output" style="left:244px; top:78px; width:125px; height:19px; "/>
- <select1 id="cmb_emprela" ref="/root/main/h_ptdc/ptdc/ptdc_emprela" class="combo_default" appearance="minimal" style="left:117px; top:102px; width:125px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init_com/P0016list/P0016">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:219px; width:375px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:257px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //필수사항과 입력타입을 체크한다.
- if(isRequiredControls("cmb_disccd","ipt_fromdd")) {
- //messageBox("모든 필수값이 입력이","I002")
- }
- else {
- return;
- }
-
- if (checkOpener())
- {
- opener.javascript.setParameter("SPPMC04000_RTN","Y");
-
- if (strRcv != null && strRcv != "" && strRcv != " " && strRcv != "-")
- {
- copyNodesetType(strRcv, "/root/main/h_ptdc", "replace", parent.model, model);
- }
- window.close();
- }
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:316px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (checkOpener())
- {
- opener.javascript.setParameter("SPPMC04000_RTN","N");
- window.close();
- }
- ]]>
- </script>
- </button>
- <line id="line88" class="line_6" style="x1:0px; y1:0px; x2:370px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|