1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177 |
- <?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>
- <uncolist>
- <grduncolist>
- <ordtype/>
- <pid/>
- <hngnm/>
- <indd/>
- <dschdd/>
- <uncocd/>
- <uncoamt/>
- <orgrcptdd/>
- <rcptno/>
- <rcptseqno/>
- <cretno/>
- <orddeptcd/>
- <atdoctid/>
- <insukind/>
- <uncocls/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseq/>
- <detladdr/>
- <brthdd/>
- <sex/>
- <mpphontel/>
- <ownbtotamt/>
- </grduncolist>
- </uncolist>
- <ptbsinfo>
- <hngnm/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseq/>
- <detladdr/>
- <age/>
- <sex/>
- <mpphontel/>
- </ptbsinfo>
- <admlinfo>
- <insukind/>
- <orddeptcd/>
- <indd/>
- <uncoamt/>
- <atdoctid/>
- <orgrcptdd/>
- <cretno/>
- </admlinfo>
- <ihgtinfo>
- <grnternm/>
- <grntertel/>
- <realcd/>
- <addr/>
- <grnternm1/>
- <grntertel1/>
- <real1/>
- <addr1/>
- <grnternm2/>
- <grntertel2/>
- <real2/>
- <addr2/>
- <pid/>
- <indd/>
- <state/>
- </ihgtinfo>
- <otptinptinfo>
- <grdotptinpt>
- <ordtype/>
- <indd/>
- <dschdd/>
- <orddeptcd/>
- <orddeptnm/>
- <medispclid/>
- <medispclnm/>
- <insukind/>
- <suppkind/>
- </grdotptinpt>
- </otptinptinfo>
- <admiopmiinfo>
- <grdadmiopmi>
- <ordtype/>
- <indd/>
- <orgrcptdd/>
- <totalamt/>
- <totownbamt/>
- <payinsubamt/>
- <cashamt/>
- <uncoamt/>
- <uncocalcflag/>
- </grdadmiopmi>
- </admiopmiinfo>
- <ihdcinfo>
- <grdihdcinfo>
- <cnstflag/>
- <workdd/>
- <cnstspec/>
- <lastupdtrid/>
- <lastupdtrnm/>
- <cnstdetlseqno/>
- <cretno/>
- <indd/>
- <lastupdtdt/>
- </grdihdcinfo>
- </ihdcinfo>
- <dssuinfo>
- <grddssuinfo>
- <suitsezrflag/>
- <appdd/>
- <prstdd/>
- <acdno/>
- <judgyn/>
- <pid/>
- <indd/>
- <cretno/>
- <suitseqno/>
- <state/>
- </grddssuinfo>
- </dssuinfo>
- <insihdc>
- <workdd/>
- <cnstspec/>
- <cnstdetlseqno/>
- <state/>
- </insihdc>
- </main>
- <send>
- <reference>
- <pid/>
- <hngnm/>
- <orddeptcd/>
- <orddrid/>
- <wardcd/>
- <disccd/>
- <insukind/>
- <ownbamt/>
- <uncoamt/>
- <uncocd/>
- <uncocls/>
- <ordtype/>
- <rcptstat/>
- <suitflag/>
- <fstrgstdt1/>
- <fstrgstdt2/>
- </reference>
- <cond1>
- <pid/>
- </cond1>
- <cond2>
- <pid/>
- <indd/>
- <cretno/>
- </cond2>
- <cond3>
- <pid/>
- <indd/>
- <cnstdetlseqno/>
- </cond3>
- <insihdc>
- <pid/>
- <indd/>
- <cretno/>
- <cnstflag/>
- <cnstdetlseqno/>
- <workdd/>
- <cnstspec/>
- <state/>
- </insihdc>
- <senditems/>
- <insihgt>
- <grnternm/>
- <grntertel/>
- <realcd/>
- <addr/>
- <grnternm1/>
- <grntertel1/>
- <real1/>
- <addr1/>
- <grnternm2/>
- <grntertel2/>
- <real2/>
- <addr2/>
- <pid/>
- <indd/>
- <state/>
- </insihgt>
- </send>
- <init>
- <instcd>012</instcd>
- <P0001list>
- <P0001>
- <cdid/>
- <cdnm/>
- </P0001>
- </P0001list>
- <P0028list>
- <P0028>
- <cdid/>
- <cdnm/>
- </P0028>
- </P0028list>
- </init>
- <hidden>
- <init>
- <disccd>
- <cd/>
- <nm/>
- </disccd>
- <insukind>
- <cd/>
- <nm/>
- </insukind>
- <suppkind>
- <up/>
- <cd/>
- <nm/>
- <io/>
- </suppkind>
- <orddeptcd>
- <cd/>
- <nm/>
- <deptengabbr/>
- </orddeptcd>
- <orddrid>
- <cd/>
- <nm/>
- <dp/>
- <sp/>
- </orddrid>
- <wardcd>
- <cd/>
- <nm/>
- <of/>
- </wardcd>
- <uncocd>
- <cd/>
- <nm/>
- </uncocd>
- </init>
- <ihgtinfo>
- <grnternm/>
- <grntertel/>
- <realcd/>
- <addr/>
- <grnternm1/>
- <grntertel1/>
- <real1/>
- <addr1/>
- <grnternm2/>
- <grntertel2/>
- <real2/>
- <addr2/>
- </ihgtinfo>
- </hidden>
- <temp>
- <realcd>
- <item>
- <nm>
- </nm>
- <cd>
- </cd>
- </item>
- <item>
- <nm>본인</nm>
- <cd>1</cd>
- </item>
- <item>
- <nm>배우자</nm>
- <cd>2</cd>
- </item>
- <item>
- <nm>자녀</nm>
- <cd>3</cd>
- </item>
- <item>
- <nm>부모</nm>
- <cd>4</cd>
- </item>
- <item>
- <nm>기타</nm>
- <cd>5</cd>
- </item>
- </realcd>
- </temp>
- <temp1>
- <suitflag>
- <item>
- <nm>
- </nm>
- <cd>
- </cd>
- </item>
- <item>
- <nm>소송</nm>
- <cd>1</cd>
- </item>
- <item>
- <nm>가압류</nm>
- <cd>2</cd>
- </item>
- </suitflag>
- </temp1>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPMI01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reference" resultref="/root/main/uncolist"/>
- <submission id="TRPMI01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/init/instcd" resultref="/root/hidden/init"/>
- <submission id="TRPMI01003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond1/pid" resultref="/root/main/ptbsinfo"/>
- <submission id="TRPMI01004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond2" resultref="/root/main/admlinfo"/>
- <submission id="TRPMI01005" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond2" resultref="/root/hidden/ihgtinfo"/>
- <submission id="TRPMI01006" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond1" resultref="/root/main/otptinptinfo"/>
- <submission id="TRPMI01007" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond1" resultref="/root/main/admiopmiinfo"/>
- <submission id="TRPMI01008" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond2" resultref="/root/main/ihdcinfo"/>
- <submission id="TRPMI01009" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond2" resultref="/root/main/dssuinfo"/>
- <submission id="TRPMI01010" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond3" resultref="/root/main/insihdc"/>
- <submission id="TXPMI01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/insihdc"/>
- <submission id="TXPMI01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond3"/>
- <submission id="TXPMI01003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/insihgt"/>
- <submission id="TXPMI01004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/senditems"/>
- </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/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- zbcfGetCodeList(new Array("P0001","P0101","P0028","P0038"),new Array("/root/init/P0001list","/root/init/P0101list","/root/init/P0028list","/root/init/P0038list"));
-
- submit("TRPMI01002");
- model.setFocus("ipt_pid");
-
- model.setValue("/root/send/reference/fstrgstdt1", getCurrentDate());
- model.setValue("/root/send/reference/fstrgstdt2", getCurrentDate());
- model.refresh();
- //2009.10.15 mykim 추가
- if (checkOpener()) {
- var pid = opener.javascript.getParameter("pid");
- var indd = opener.javascript.getParameter("indd");
- var dschdd = opener.javascript.getParameter("dschdd");
- var grd_admiopmi
-
- //선택된 날짜의 열을 select 로 선택해준다.
- //grd_admiopmi.select(indd,grd_admiopmi.fixedRows) = true;
-
- //미수수납화면에서 링크되어 정보 가져옴.
- if (pid != "")
- {
- /*환자 미수금 조회*/
- model.setValue("/root/send/reference/pid", pid);
- model.setValue("/root/send/reference/fstrgstdt1", indd);
- submit("TRPMI01001");
-
- /* 인적사항 조회 */
- fExe(pid);
- }
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fOrdDrSet()
- {
- var sorddeptcd = model.getValue("/root/send/reference/orddeptcd");
- cmb_orddrid.choices.itemset.attribute("nodeset") = "/root/hidden/init/orddrid[dp = '" + sorddeptcd + "' ]";
- cmb_orddrid.refresh();
- }
-
- function fInitialize(){
- model.removeNodeset("/root/main/uncolist/grduncolist");
- model.removeNodeset("/root/main/otptinptinfo/grdotptinpt");
- model.removeNodeset("/root/main/admiopmiinfo/grdadmiopmi");
- model.removeNodeset("/root/main/ihdcinfo/grdihdcinfo");
- model.removeNodeset("/root/main/dssuinfo/grddssuinfo");
- model.resetInstanceNode("/root/main/ptbsinfo");
- model.resetInstanceNode("/root/main/admlinfo");
- model.resetInstanceNode("/root/main/ihgtinfo");
- model.resetInstanceNode("/root/main/insihdc");
- model.resetInstanceNode("/root/send");
- model.resetInstanceNode("/root/hidden/ihgtinfo");
- }
- function fPatInfo(){
- model.setValue("/root/send/cond1/pid", model.getValue("/root/main/uncolist/grduncolist[" + grd_uncolist.row + "]/pid"));
- submit("TRPMI01003"); /* 인적사항 조회 */
- model.setValue("/root/send/cond2/pid", model.getValue("/root/main/uncolist/grduncolist[" + grd_uncolist.row + "]/pid"));
- model.setValue("/root/send/cond2/indd", model.getValue("/root/main/uncolist/grduncolist[" + grd_uncolist.row + "]/indd"));
- }
- function fExe(pid){
- var currow = grd_uncolist.row;
- model.resetInstanceNode("/root/hidden/ihgtinfo");
-
- if (pid != "" && currow < 1)
- {
- model.setValue("/root/send/cond1/pid", pid);
- model.setValue("/root/send/cond2/pid", pid);
- //alert(model.getValue("/root/main/uncolist/grduncolist/indd"));
- submit("TRPMI01003"); /* 인적사항 조회 */
- submit("TRPMI01004"); /* 퇴원정산내역 조회 */
- model.setValue("/root/main/admlinfo/indd", model.getValue("/root/main/uncolist/grduncolist/indd"));//인적사항 입원일자 세팅..
-
- }else{
- model.setValue("/root/send/cond1/pid", model.getValue("/root/main/uncolist/grduncolist[" + grd_uncolist.row + "]/pid"));
- model.setValue("/root/send/cond2/pid", model.getValue("/root/main/uncolist/grduncolist[" + grd_uncolist.row + "]/pid"));
- submit("TRPMI01003"); /* 인적사항 조회 */
- model.setValue("/root/send/cond2/indd", model.getValue("/root/main/uncolist/grduncolist[" + grd_uncolist.row + "]/indd"));
- submit("TRPMI01004"); /* 퇴원정산내역 조회 */
- }
-
- // model.setValue("/root/main/admlinfo/uncoamt",model.getValue("/root/main/uncolist/grduncolist[" + grd_uncolist.row + "]/uncoamt"));
- submit("TRPMI01005"); /* 보증인 조회 */
- model.setValue("/root/main/ihgtinfo/grnternm", model.getValue("/root/hidden/ihgtinfo/grnternm"));
- model.setValue("/root/main/ihgtinfo/grntertel", model.getValue("/root/hidden/ihgtinfo/grntertel"));
- model.setValue("/root/main/ihgtinfo/realcd", model.getValue("/root/hidden/ihgtinfo/realcd"));
- model.setValue("/root/main/ihgtinfo/addr", model.getValue("/root/hidden/ihgtinfo/addr"));
- model.setValue("/root/main/ihgtinfo/grnternm1", model.getValue("/root/hidden/ihgtinfo/grnternm1"));
- model.setValue("/root/main/ihgtinfo/grntertel1", model.getValue("/root/hidden/ihgtinfo/grntertel1"));
- model.setValue("/root/main/ihgtinfo/real1", model.getValue("/root/hidden/ihgtinfo/real1"));
- model.setValue("/root/main/ihgtinfo/addr1", model.getValue("/root/hidden/ihgtinfo/addr1"));
- model.setValue("/root/main/ihgtinfo/grnternm2", model.getValue("/root/hidden/ihgtinfo/grnternm2"));
- model.setValue("/root/main/ihgtinfo/grntertel2", model.getValue("/root/hidden/ihgtinfo/grntertel2"));
- model.setValue("/root/main/ihgtinfo/real2", model.getValue("/root/hidden/ihgtinfo/real2"));
- model.setValue("/root/main/ihgtinfo/addr2", model.getValue("/root/hidden/ihgtinfo/addr2"));
-
- if (model.getValue("/root/hidden/ihgtinfo/grnternm") == "") {
- model.setValue("/root/main/ihgtinfo/state", "I");
- } else {
- model.setValue("/root/main/ihgtinfo/state", "U");
- }
-
- submit("TRPMI01006"); /* 내원내역 조회 */
- submit("TRPMI01007"); /* 수납내역 조회 */
- submit("TRPMI01008"); /* 상담상세내역 조회 */
- submit("TRPMI01009"); /* 소송가압류 조회 */
- model.setValue("/root/main/insihdc/workdd", getCurrentDate());
-
- model.setFocus("textarea1");
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:13px; ">퇴원미수환자관리</caption>
- </group>
- <group id="group3" style="left:0px; top:13px; width:1195px; height:744px; ">
- <line id="line23" class="line_2" style="x1:487px; y1:504px; x2:1194px; y2:504px; "/>
- <line id="line11" class="line_2" style="x1:485px; y1:125px; x2:1194px; y2:125px; "/>
- <line id="line10" class="line_2" style="x1:485px; y1:101px; x2:1194px; y2:101px; "/>
- <line id="line9" class="line_2" style="x1:485px; y1:77px; x2:1194px; y2:77px; "/>
- <line id="line8" class="line_2" style="x1:485px; y1:53px; x2:1194px; y2:53px; "/>
- <caption id="caption46" class="tit_2" style="left:5px; top:208px; width:170px; height:13px; ">환자조회</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:223px; x2:482px; y2:223px; "/>
- <datagrid id="grd_uncolist" nodeset="/root/main/uncolist/grduncolist" class="datagrid1" caption="환자번호^환자성명^입원일자^퇴원일자^미수사유^미수금^영수일자^영수번호^일련번호^생성번호^진료과^진료의사^전문의^보험유형^미수사유^주소1^주소2^주소3^주소4^생년월일^성별^전화^본인부담총액" colsep="^" colwidth="65, 60, 70, 70, 100, 83, 0, 0, 0" dataheight="23" defaultrows="1" explorerbar="sort" focuscolor="transparent" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:228px; width:482px; height:508px; ">
- <col disabled="true" ref="pid"/>
- <col disabled="true" ref="hngnm"/>
- <col disabled="true" ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="uncocd" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/init/uncocd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="uncoamt" format="#,###" style="text-align:right; "/>
- <col disabled="true" ref="rcptdd"/>
- <col disabled="true" ref="rcptno"/>
- <col disabled="true" ref="rcptseqno"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if( isDataCell() ){
- fExe();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_uncolist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line2" class="line_1" style="x1:487px; y1:26px; x2:1194px; y2:26px; "/>
- <caption id="caption11" class="tit_2" style="left:492px; top:11px; width:170px; height:13px; ">인적사항</caption>
- <input id="ipt_workdd" ref="/root/main/insihdc/workdd" class="input_default" inputtype="date" style="left:581px; top:483px; width:103px; height:19px; "/>
- <line id="line3" class="line_1" style="x1:487px; y1:477px; x2:1194px; y2:477px; "/>
- <caption id="caption45" class="tit_2" style="left:492px; top:462px; width:170px; height:13px; ">상담일지 작성 및 조회</caption>
- <textarea id="textarea1" ref="/root/main/insihdc/cnstspec" style="left:581px; top:509px; width:613px; height:41px; "/>
- <caption id="caption48" class="cell_1" style="left:487px; top:482px; width:91px; height:23px; vertical-align:middle; ">작성일자</caption>
- <caption id="caption49" class="cell_1" style="left:487px; top:506px; width:91px; height:48px; vertical-align:middle; ">내용</caption>
- <datagrid id="grd_ihdcinfo" nodeset="/root/main/ihdcinfo/grdihdcinfo" caption="분류^진료/입원일자^상담내용^작성자^작성일자^최종수정일자^일련번호" colsep="^" colwidth="80, 85, 345, 74, 82, 82, 0" dataheight="23" defaultrows="1" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:487px; top:563px; width:707px; height:70px; ">
- <col disabled="true" ref="cnstflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>재원미수</label>
- <value>1</value>
- </item>
- <item>
- <label>재원환자</label>
- <value>2</value>
- </item>
- <item>
- <label>퇴원미수</label>
- <value>3</value>
- </item>
- <item>
- <label>응급대불</label>
- <value>4</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="cnstspec"/>
- <col disabled="true" ref="lastupdtrnm" style="text-align:center; "/>
- <col disabled="true" ref="workdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="lastupdtdt" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="cnstdetlseqno"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //if (isDataCell()) {
- if (grd_ihdcinfo.rows<= 1) return;
- if (grd_ihdcinfo.row < 1) return;
- //model.copyNode("/root/main/insihdc","/root/main/ihdcinfo/grdihdcinfo[" + grd_ihdcinfo.row + "]");
- model.copyNode("/root/main/insihdc","/root/main/ihdcinfo/grdihdcinfo[" + grd_ihdcinfo.row + "]");
- model.setValue("/root/send/insihdc/state", "u");
- model.refresh();
- /*
- model.setValue("/root/send/cond3/pid", model.getValue("/root/send/cond1/pid"));
- model.setValue("/root/send/cond3/indd", model.getValue("/root/main/admlinfo/indd"));
- model.setValue("/root/send/cond3/cnstdetlseqno", model.getValue("/root/main/ihdcinfo/grdihdcinfo[" + grd_ihdcinfo.row + "]/cnstdetlseqno"));
- submit("TRPMI01010");
- model.refresh();
- */
- //}
- ]]>
- </script>
- </datagrid>
- <input id="ipt_grntertel1" ref="/root/main/ihgtinfo/grntertel1" class="input_default" navindex="22" style="left:664px; top:152px; width:90px; height:19px; ">
- <hint>
- <![CDATA[보증인연락처]]>
- </hint>
- </input>
- <input id="input71" ref="/root/main/admlinfo/indd" class="input_default" disabled="true" inputtype="date" style="left:1098px; top:80px; width:96px; height:19px; text-align:center; "/>
- <input id="ipt_addr1" ref="/root/main/ihgtinfo/addr1" class="input_default" navindex="24" imemode="hangul" style="left:822px; top:152px; width:372px; height:19px; ">
- <hint>
- <![CDATA[보증인주소]]>
- </hint>
- </input>
- <input id="ipt_grnternm1" ref="/root/main/ihgtinfo/grnternm1" class="input_default" navindex="21" imemode="hangul" style="left:581px; top:152px; width:80px; height:19px; ">
- <hint>
- <![CDATA[보증인이름]]>
- </hint>
- </input>
- <input id="input83" ref="/root/main/admlinfo/orgrcptdd" class="input_default" disabled="true" inputtype="date" style="left:1098px; top:104px; width:96px; height:19px; text-align:center; "/>
- <caption id="caption82" class="cell_1" style="left:487px; top:103px; width:91px; height:23px; vertical-align:middle; ">퇴원미수금</caption>
- <input id="ipt_grnternm2" ref="/root/main/ihgtinfo/grnternm2" class="input_default" navindex="25" imemode="hangul" style="left:581px; top:176px; width:80px; height:19px; ">
- <hint>
- <![CDATA[보증인이름]]>
- </hint>
- </input>
- <input id="input95" ref="/root/main/ptbsinfo/zipcd1" class="input_default" disabled="true" style="left:767px; top:32px; width:30px; height:19px; "/>
- <caption id="caption83" class="cell_1" style="left:684px; top:79px; width:80px; height:23px; vertical-align:middle; ">진료과</caption>
- <input id="ipt_uncoamt" ref="/root/main/admlinfo/uncoamt" class="input_default" disabled="true" imemode="numeric" format="#,###" style="left:581px; top:104px; width:100px; height:19px; text-align:right; "/>
- <input id="input85" ref="/root/main/ptbsinfo/sex" class="input_default" disabled="true" style="left:1148px; top:32px; width:46px; height:19px; text-align:center; "/>
- <input id="input74" ref="/root/main/ptbsinfo/zipcd2" class="input_default" disabled="true" style="left:800px; top:32px; width:30px; height:19px; "/>
- <input id="input96" ref="/root/main/ptbsinfo/detladdr" class="input_default" disabled="true" style="left:767px; top:56px; width:245px; height:19px; "/>
- <caption id="caption84" class="cell_1" style="left:684px; top:55px; width:80px; height:23px; vertical-align:middle; ">하위주소</caption>
- <caption id="caption74" class="cell_1" style="left:1015px; top:31px; width:80px; height:23px; vertical-align:middle; ">나이/성별</caption>
- <input id="input87" ref="/root/main/ptbsinfo/mpphontel" class="input_default" disabled="true" style="left:1098px; top:56px; width:96px; height:19px; text-align:center; "/>
- <caption id="caption75" class="cell_1" style="left:1015px; top:55px; width:80px; height:23px; vertical-align:middle; ">전화번호</caption>
- <caption id="caption86" class="cell_1" style="left:487px; top:79px; width:91px; height:23px; vertical-align:middle; ">보험유형</caption>
- <caption id="caption87" class="cell_1" style="left:1015px; top:103px; width:80px; height:23px; vertical-align:middle; ">퇴원일자</caption>
- <input id="input77" ref="/root/main/ptbsinfo/zipcdseq" class="input_default" disabled="true" style="left:833px; top:32px; width:179px; height:19px; "/>
- <caption id="caption76" class="cell_1" style="left:487px; top:55px; width:91px; height:23px; vertical-align:middle; ">성명</caption>
- <input id="ipt_pid" ref="/root/send/cond1/pid" class="input_s_essential" navindex="0" style="left:581px; top:32px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- setInputNodeCurText();
- if(event.keyCode == "13") {
- model.resetInstanceNode("/root/hidden/ihgtinfo");
- model.resetInstanceNode("/root/main/insihdc"); // 상담일지
-
- submit("TRPMI01003"); //환자기본정보조회 PMCMPTBS
- model.setValue("/root/send/cond2/pid", model.getValue("/root/send/cond1/pid"));
- model.setValue("/root/send/cond2/indd", "");
- model.setValue("/root/send/cond2/cretno", "");
- submit("TRPMI01004"); //환자입원내역조회 PMIHADMI
- model.setValue("/root/send/cond2/pid", model.getValue("/root/send/cond1/pid"));
- model.setValue("/root/send/cond2/indd", model.getValue("/root/main/admlinfo/indd"));
- model.setValue("/root/send/cond2/cretno", model.getValue("/root/main/admlinfo/cretno"));
- submit("TRPMI01005"); //보증인정보조회 PMIHIHGT
-
- model.setValue("/root/main/ihgtinfo/grnternm", model.getValue("/root/hidden/ihgtinfo/grnternm"));
- model.setValue("/root/main/ihgtinfo/grntertel", model.getValue("/root/hidden/ihgtinfo/grntertel"));
- model.setValue("/root/main/ihgtinfo/realcd", model.getValue("/root/hidden/ihgtinfo/realcd"));
- model.setValue("/root/main/ihgtinfo/addr", model.getValue("/root/hidden/ihgtinfo/addr"));
- model.setValue("/root/main/ihgtinfo/grnternm1", model.getValue("/root/hidden/ihgtinfo/grnternm1"));
- model.setValue("/root/main/ihgtinfo/grntertel1", model.getValue("/root/hidden/ihgtinfo/grntertel1"));
- model.setValue("/root/main/ihgtinfo/real1", model.getValue("/root/hidden/ihgtinfo/real1"));
- model.setValue("/root/main/ihgtinfo/addr1", model.getValue("/root/hidden/ihgtinfo/addr1"));
- model.setValue("/root/main/ihgtinfo/grnternm2", model.getValue("/root/hidden/ihgtinfo/grnternm2"));
- model.setValue("/root/main/ihgtinfo/grntertel2", model.getValue("/root/hidden/ihgtinfo/grntertel2"));
- model.setValue("/root/main/ihgtinfo/real2", model.getValue("/root/hidden/ihgtinfo/real2"));
- model.setValue("/root/main/ihgtinfo/addr2", model.getValue("/root/hidden/ihgtinfo/addr2"));
-
- if (model.getValue("/root/main/ihgtinfo/grnternm") == "") {
- model.setValue("/root/main/ihgtinfo/state", "I");
- } else {
- model.setValue("/root/main/ihgtinfo/state", "U");
- }
-
- submit("TRPMI01006");
- submit("TRPMI01007");
- submit("TRPMI01008");
- submit("TRPMI01009");
-
- model.makeValue("/root/send/reference", "");
- model.makeValue("/root/main/insihdc/cnstspec", "");
- model.makeValue("/root/main/insihdc/cnstdetlseqno", "");
- model.refresh();
- model.setValue("/root/main/insihdc/workdd", getCurrentDate());
- }
- ]]>
- </script>
- </input>
- <input id="ipt_addr2" ref="/root/main/ihgtinfo/addr2" class="input_default" navindex="28" imemode="hangul" style="left:822px; top:176px; width:372px; height:19px; ">
- <hint>
- <![CDATA[보증인주소]]>
- </hint>
- </input>
- <input id="ipt_grntertel" ref="/root/main/ihgtinfo/grntertel" class="input_default" navindex="18" style="left:664px; top:128px; width:90px; height:19px; ">
- <hint>
- <![CDATA[보증인연락처]]>
- </hint>
- </input>
- <caption id="caption88" class="cell_1" style="left:684px; top:31px; width:80px; height:23px; vertical-align:middle; ">주소</caption>
- <input id="ipt_grntertel2" ref="/root/main/ihgtinfo/grntertel2" class="input_default" navindex="26" style="left:664px; top:176px; width:90px; height:19px; ">
- <hint>
- <![CDATA[보증인연락처]]>
- </hint>
- </input>
- <caption id="caption89" class="cell_1" style="left:684px; top:103px; width:80px; height:23px; vertical-align:middle; ">전문의</caption>
- <caption id="caption78" class="cell_1" style="left:487px; top:31px; width:91px; height:23px; vertical-align:middle; ">환자번호</caption>
- <input id="ipt_addr" ref="/root/main/ihgtinfo/addr" class="input_default" navindex="20" imemode="hangul" style="left:822px; top:128px; width:372px; height:19px; ">
- <hint>
- <![CDATA[보증인주소]]>
- </hint>
- </input>
- <caption id="caption79" class="cell_1" style="left:1015px; top:79px; width:80px; height:23px; vertical-align:middle; ">입원일자</caption>
- <input id="ipt_grnternm" ref="/root/main/ihgtinfo/grnternm" class="input_default" navindex="17" imemode="hangul" style="left:581px; top:128px; width:80px; height:19px; ">
- <hint>
- <![CDATA[보증인이름]]>
- </hint>
- </input>
- <caption id="caption90" class="cell_1" style="left:487px; top:127px; width:91px; height:71px; ">연대보증인 (성명/연락처/관계/주소)</caption>
- <input id="input80" ref="/root/main/ptbsinfo/age" class="input_default" disabled="true" style="left:1098px; top:32px; width:47px; height:19px; text-align:center; "/>
- <caption id="caption56" class="tit_2" style="left:492px; top:207px; width:170px; height:13px; ">내원내역</caption>
- <line id="line6" class="line_1" style="x1:487px; y1:222px; x2:1194px; y2:222px; "/>
- <datagrid id="datagrid3" nodeset="/root/main/otptinptinfo/grdotptinpt" caption="구분^진료/입원일자^퇴원일자^진료과^전문의^보험유형^보조유형" colsep="^" colwidth="40, 90, 80, 160, 85, 110, 119" dataheight="23" defaultrows="1" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:487px; top:227px; width:707px; height:92px; ">
- <col disabled="true" ref="ordtype" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0001list/P0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="orddeptnm" type="output" style="text-align:center; "/>
- <col disabled="true" ref="medispclnm" type="output" style="text-align:center; "/>
- <col disabled="true" ref="insukind" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/hidden/init/insukind">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="suppkind" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/hidden/init/suppkind">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- </datagrid>
- <caption id="caption72" class="tit_2" style="left:492px; top:329px; width:170px; height:13px; ">수납내역</caption>
- <line id="line7" class="line_1" style="x1:487px; y1:344px; x2:1194px; y2:344px; "/>
- <datagrid id="grd_admiopmi" nodeset="/root/main/admiopmiinfo/grdadmiopmi" caption="구분^진료/입원일자^수납일자^총진료비^본인부담^보험자부담^수납금액^미수금액^미수사유" colsep="^" colwidth="40, 84, 80, 80, 80, 80, 80, 80, 85" dataheight="23" defaultrows="1" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:487px; top:349px; width:707px; height:103px; ">
- <col disabled="true" ref="ordtype" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0001list/P0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="orgrcptdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="totalamt" format="#,###" style="text-align:right; "/>
- <col disabled="true" ref="totownbamt" format="#,###" style="text-align:right; "/>
- <col disabled="true" ref="payinsubamt" format="#,###" style="text-align:right; "/>
- <col disabled="true" ref="cashamt" format="#,###" style="text-align:right; "/>
- <col disabled="true" ref="uncoamt" format="#,###" style="text-align:right; "/>
- <col disabled="true" ref="uncocalcflag" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/init/disccd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- </datagrid>
- <group id="group2" style="left:0px; top:10px; width:482px; height:185px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:482px; height:185px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="search_name" style="left:15px; top:33px; width:86px; height:17px; ">진료과 :</caption>
- <select1 id="cmb_orddeptcd" ref="/root/send/reference/orddeptcd" class="combo_search" navindex="3" appearance="minimal" style="left:104px; top:32px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fOrdDrSet();
- ]]>
- </script>
- </select1>
- <caption id="caption3" class="search_name" style="left:250px; top:33px; width:115px; height:17px; ">본인부담금≥</caption>
- <caption id="caption2" class="search_name" style="left:15px; top:57px; width:86px; height:17px; ">전문의 :</caption>
- <caption id="caption4" class="search_name" style="left:15px; top:81px; width:86px; height:17px; ">병동 :</caption>
- <caption id="caption5" class="search_name" style="left:15px; top:129px; width:86px; height:17px; ">소송구분 :</caption>
- <caption id="caption7" class="search_name" style="left:15px; top:154px; width:86px; height:17px; ">등록기간 :</caption>
- <select1 id="cmb_orddrid" ref="/root/send/reference/orddrid" class="combo_search" navindex="5" appearance="minimal" style="left:104px; top:56px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/init/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_wardcd" ref="/root/send/reference/wardcd" class="combo_search" navindex="7" appearance="minimal" style="left:104px; top:80px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/init/wardcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_rcptstat" ref="/root/send/reference/rcptstat" class="combo_search" navindex="12" appearance="minimal" style="left:352px; top:128px; width:115px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>완납</label>
- <value>Y</value>
- </item>
- <item>
- <label>미결</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_fstrgstdt1" ref="/root/send/reference/fstrgstdt1" class="input_search" navindex="13" inputtype="date" style="left:105px; top:153px; width:115px; height:19px; "/>
- <input id="ipt_fstrgstdt2" ref="/root/send/reference/fstrgstdt2" class="input_search" navindex="14" inputtype="date" style="left:241px; top:153px; width:115px; height:19px; "/>
- <caption id="caption8" class="search_name" style="left:250px; top:57px; width:115px; height:17px; ">미수금 ≥</caption>
- <caption id="caption9" class="search_name" style="left:250px; top:81px; width:95px; height:17px; ">보험유형 :</caption>
- <input id="input1" ref="/root/send/reference/uncoamt" class="input_search" navindex="6" imemode="numeric" format="#,###" style="left:352px; top:56px; width:115px; height:19px; text-align:right; "/>
- <select1 id="cmb_insukind" ref="/root/send/reference/insukind" class="combo_search" navindex="8" appearance="minimal" style="left:352px; top:80px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/init/insukind">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <button id="button1" class="btn1_letter2" navindex="15" style="left:411px; top:155px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRPMI01001");
- ]]>
- </script>
- </button>
- <line id="line1" class="line_4" style="x1:396px; y1:155px; x2:396px; y2:175px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption20" class="search_no_b" style="left:225px; top:154px; width:12px; height:17px; ">~</caption>
- <input id="input32" ref="/root/send/reference/ownbamt" class="input_search" navindex="4" imemode="numeric" format="#,###" style="left:352px; top:32px; width:115px; height:19px; text-align:right; "/>
- <caption id="caption50" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">환자번호 :</caption>
- <input id="input2" ref="/root/send/reference/pid" class="input_s_essential" navindex="1" style="left:104px; top:8px; width:115px; height:19px; "/>
- <caption id="caption57" class="search_name" style="left:250px; top:9px; width:86px; height:17px; ">환자성명 :</caption>
- <input id="ipt_hngnm" ref="/root/send/reference/hngnm" class="input_s_essential" navindex="2" imemode="hangul" style="left:352px; top:8px; width:115px; height:19px; "/>
- <caption id="caption70" class="search_name" style="left:15px; top:105px; width:86px; height:17px; ">할인계정 :</caption>
- <select1 id="cmb_disccd" ref="/root/send/reference/disccd" class="combo_search" navindex="9" appearance="minimal" style="left:104px; top:104px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/init/disccd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_uncocd" ref="/root/send/reference/uncocd" class="combo_search" navindex="10" appearance="minimal" style="left:352px; top:104px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/init/uncocd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption73" class="search_name" style="left:250px; top:105px; width:86px; height:17px; ">미수사유 :</caption>
- <caption id="caption22" class="search_name" style="left:250px; top:129px; width:86px; height:17px; ">입금구분 :</caption>
- <select1 id="combo10" ref="/root/send/reference/suitflag" class="combo_search" navindex="11" appearance="minimal" style="left:104px; top:128px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/temp1/suitflag/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <input id="input3" ref="/root/main/ptbsinfo/hngnm" class="input_default" disabled="true" style="left:581px; top:56px; width:100px; height:19px; "/>
- <caption id="caption14" class="tit_2" style="left:490px; top:644px; width:174px; height:13px; ">소송/가압류정보</caption>
- <line id="line5" class="line_1" style="x1:487px; y1:659px; x2:1194px; y2:659px; "/>
- <line id="line12" class="line_2" style="x1:581px; y1:149px; x2:1194px; y2:149px; "/>
- <line id="line13" class="line_2" style="x1:581px; y1:173px; x2:1194px; y2:173px; "/>
- <button id="button5" class="btn2_letter2" visibility="hidden" style="left:373px; top:203px; width:42px; height:19px; ">
- <caption>출력</caption>
- </button>
- <button id="button8" class="btn2_letter4" navindex="16" style="left:418px; top:203px; width:64px; height:19px; ">
- <caption>액셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (!isNull(fileName)) {
- grd_uncolist.saveExcel(fileName, "SheetName", true, true, "", "");
- }
-
- window.exec(fileName);
- ]]>
- </script>
- </button>
- <datagrid id="grd_dssuinfo" nodeset="/root/main/dssuinfo/grddssuinfo" caption="구분^신청일자^제출/해제일자^사건번호^판결여부^등록번호^입원일자^생성번호^소송일련번호^상태" colsep="^" colwidth="90, 160, 160, 160, 114,0,0,0,0,0" dataheight="23" defaultrows="1" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:487px; top:663px; width:707px; height:74px; ">
- <col ref="suitsezrflag" type="combo">
- <choices>
- <itemset nodeset="/root/temp1/suitflag/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="appdd" type="inputdate"/>
- <col ref="prstdd" type="inputdate"/>
- <col ref="acdno" type="input"/>
- <col ref="judgyn" type="combo">
- <choices>
- <item>
- <label>판결완료</label>
- <value>Y</value>
- </item>
- <item>
- <label>판결중</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="pid"/>
- <col ref="indd"/>
- <col ref="cretno"/>
- <col ref="suitseqno"/>
- <col ref="state"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // if (isDataCell() && model.getvalue("/root/main/dssuinfo/grddssuinfo[" + grd_dssuinfo.row + "]/state") != "I"){
- if (model.getvalue("/root/main/dssuinfo/grddssuinfo[" + grd_dssuinfo.row + "]/state") != "I"){
- grd_dssuinfo.addStatus(grd_dssuinfo.row, "update");
- grd_dssuinfo.cellStyle("background-image", grd_dssuinfo.row, 0) = "../../../com/commonweb/images/icon_u.gif";
- model.setvalue("/root/main/dssuinfo/grddssuinfo[" + grd_dssuinfo.row + "]/state", "U");
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <button id="button13" class="btn5_letter7" style="left:1095px; top:639px; width:97px; height:19px; ">
- <caption>소송가압류저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for (var i = 1; i <= grd_dssuinfo.rows-1;i++) {
- model.resetInstanceNode("/root/send/senditems");
- copyNodeType("/root/send/senditems", "/root/main/dssuinfo/grddssuinfo[" + i + "]", "replace");
- submit("TXPMI01004");
- }
- grd_dssuinfo.colStyle(0, "data","background-image") = "../../../com/commonweb/images/icon_n.gif";
- submit("TRPMI01009");
- ]]>
- </script>
- </button>
- <line id="line15" class="line_1" style="x1:487px; y1:558px; x2:1194px; y2:558px; "/>
- <line id="line14" class="line_3" style="x1:487px; y1:197px; x2:1194px; y2:197px; "/>
- <line id="line22" class="line_3" style="x1:487px; y1:553px; x2:1194px; y2:553px; "/>
- <input id="input4" ref="/root/main/insihdc/cnstdetlseqno" visibility="hidden" style="left:840px; top:485px; width:20px; height:10px; "/>
- <select1 id="cmb_" ref="/root/main/admlinfo/orddeptcd" disabled="true" appearance="minimal" style="left:767px; top:80px; width:245px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo3" ref="/root/main/admlinfo/atdoctid" disabled="true" appearance="minimal" style="left:767px; top:104px; width:245px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/init/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo8" ref="/root/main/admlinfo/insukind" disabled="true" appearance="minimal" style="left:581px; top:80px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/init/insukind">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_realcd" ref="/root/main/ihgtinfo/realcd" navindex="19" appearance="minimal" style="left:757px; top:128px; width:60px; height:19px; ">
- <choices>
- <itemset nodeset="/root/temp/realcd/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <hint>
- <![CDATA[보증인과의 관계]]>
- </hint>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setFocus("ipt_addr");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_real1" ref="/root/main/ihgtinfo/real1" navindex="23" appearance="minimal" style="left:757px; top:152px; width:60px; height:19px; ">
- <choices>
- <itemset nodeset="/root/temp/realcd/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <hint>
- <![CDATA[보증인과의 관계]]>
- </hint>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setFocus("ipt_addr1");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_real2" ref="/root/main/ihgtinfo/real2" navindex="27" appearance="minimal" style="left:757px; top:176px; width:60px; height:19px; ">
- <choices>
- <itemset nodeset="/root/temp/realcd/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <hint>
- <![CDATA[보증인과의 관계]]>
- </hint>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setFocus("ipt_addr2");
- ]]>
- </script>
- </select1>
- <button id="btn_deleteRow" class="btn2_letter3" style="left:1039px; top:639px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (grd_dssuinfo.row >= 1) {
- grd_dssuinfo.addStatus(grd_dssuinfo.row, "delete");
- grd_dssuinfo.cellStyle("background-image", grd_dssuinfo.row, 0) = "../../../com/commonweb/images/icon_d.gif";
- model.setvalue("/root/main/dssuinfo/grddssuinfo[" + grd_dssuinfo.row+"]/state", "D");
- }
- ]]>
- </script>
- </button>
- <button id="btn_addRow" class="btn2_letter3" style="left:983px; top:639px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_dssuinfo.addRow();
- grd_dssuinfo.cellStyle("background-image", grd_dssuinfo.row, 0) = "../../../com/commonweb/images/icon_i.gif";
- model.setvalue("/root/main/dssuinfo/grddssuinfo["+ grd_dssuinfo.row+"]/state", "I");
- model.setvalue("/root/main/dssuinfo/grddssuinfo["+ grd_dssuinfo.row+"]/pid", model.getvalue("/root/send/cond1/pid"));
- model.setvalue("/root/main/dssuinfo/grddssuinfo["+ grd_dssuinfo.row+"]/indd", model.getvalue("/root/main/admlinfo/indd"));
- model.setvalue("/root/main/dssuinfo/grddssuinfo["+ grd_dssuinfo.row+"]/cretno", model.getvalue("/root/main/admlinfo/cretno"));
- // grd_dssuinfo.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_insihgt" class="btn5_letter5" style="left:1119px; top:6px; width:75px; height:19px; ">
- <caption>보증인저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sPid = model.getValue("/root/send/cond1/pid");
- var sGrnTerNm = model.getValue("/root/main/ihgtinfo/grnternm");
- if (sPid != "" && sGrnTerNm != "") {
- model.setValue("/root/send/insihgt/pid", model.getValue("/root/send/cond1/pid"));
- model.setValue("/root/send/insihgt/indd", model.getValue("/root/main/admlinfo/indd"));
- model.setValue("/root/send/insihgt/grnternm", model.getValue("/root/main/ihgtinfo/grnternm"));
- model.setValue("/root/send/insihgt/grntertel", model.getValue("/root/main/ihgtinfo/grntertel"));
- model.setValue("/root/send/insihgt/realcd", model.getValue("/root/main/ihgtinfo/realcd"));
- model.setValue("/root/send/insihgt/addr", model.getValue("/root/main/ihgtinfo/addr"));
- model.setValue("/root/send/insihgt/grnternm1", model.getValue("/root/main/ihgtinfo/grnternm1"));
- model.setValue("/root/send/insihgt/grntertel1", model.getValue("/root/main/ihgtinfo/grntertel1"));
- model.setValue("/root/send/insihgt/real1", model.getValue("/root/main/ihgtinfo/real1"));
- model.setValue("/root/send/insihgt/addr1", model.getValue("/root/main/ihgtinfo/addr1"));
- model.setValue("/root/send/insihgt/grnternm2", model.getValue("/root/main/ihgtinfo/grnternm2"));
- model.setValue("/root/send/insihgt/grntertel2", model.getValue("/root/main/ihgtinfo/grntertel2"));
- model.setValue("/root/send/insihgt/real2", model.getValue("/root/main/ihgtinfo/real2"));
- model.setValue("/root/send/insihgt/addr2", model.getValue("/root/main/ihgtinfo/addr2"));
- model.setValue("/root/send/insihgt/state", model.getValue("/root/main/ihgtinfo/state"));
-
- submit("TXPMI01003");
- } else {
- messageBox("저장할 내역이 없습니다!!", "I");
- }
- ]]>
- </script>
- </button>
- <button id="btn_insihdc" class="btn5_letter2" style="left:1105px; top:457px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sPid = model.getValue("/root/send/cond1/pid");
- var sWorkDD = model.getValue("/root/main/insihdc/workdd");
- if (sPid != "" && sWorkDD != "") {
- model.setValue("/root/send/insihdc/pid", model.getValue("/root/send/cond1/pid"));
- if(model.getValue("/root/send/insihdc/state") != "u"){
- model.setValue("/root/send/insihdc/state", "i");
- model.setValue("/root/send/insihdc/indd", model.getValue("/root/main/admlinfo/indd"));
- model.setValue("/root/send/insihdc/cretno", model.getValue("/root/main/admlinfo/cretno"));
- }else{
- model.setValue("/root/send/insihdc/indd", model.getValue("/root/main/insihdc/indd"));
- model.setValue("/root/send/insihdc/cretno", model.getValue("/root/main/insihdc/cretno"));
- model.setValue("/root/send/insihdc/state", "u");
- }
- model.setValue("/root/send/insihdc/cnstflag", "3");
- model.setValue("/root/send/insihdc/cnstdetlseqno", model.getValue("/root/main/insihdc/cnstdetlseqno"));
- model.setValue("/root/send/insihdc/workdd", model.getValue("/root/main/insihdc/workdd"));
- model.setValue("/root/send/insihdc/cnstspec", model.getValue("/root/main/insihdc/cnstspec"));
-
- if(submit("TXPMI01001")) { //상담내역저장 PMIHIHDC
- model.resetInstanceNode("/root/send/insihdc");
- model.resetInstanceNode("/root/main/insihdc");
- }
- submit("TRPMI01008");
- model.setValue("/root/main/insihdc/workdd", getCurrentDate());
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="btn_delihdc" class="btn5_letter2" style="left:1151px; top:457px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var iSelectedRow = grd_ihdcinfo.row;
- if (iSelectedRow > 0) {
- model.setValue("/root/send/insihdc/pid", model.getValue("/root/send/cond1/pid"));
- model.setValue("/root/send/insihdc/indd", model.getValue("/root/main/admlinfo/indd"));
- model.setValue("/root/send/insihdc/cnstdetlseqno", model.getValue("/root/main/insihdc/cnstdetlseqno"));
-
- model.resetInstanceNode("/root/main/insihdc");
-
- if (submit("TXPMI01002")) { //상담내역저장 PMIHIHDC
- model.resetInstanceNode("/root/send/insihdc");
- }
- submit("TRPMI01008");
- } else {
- messageBox("삭제할 상담일지를", "C002");
- return;
- }
- // fInitialize();
- ]]>
- </script>
- </button>
- </group>
- <group id="group5" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="btn_clear" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/send");
-
- model.resetInstanceNode("/root/main/uncolist");
- model.resetInstanceNode("/root/main/ptbsinfo");
- model.resetInstanceNode("/root/main/admlinfo");
- model.resetInstanceNode("/root/main/ihgtinfo/grnternm");
- model.resetInstanceNode("/root/main/ihgtinfo/grntertel");
- model.resetInstanceNode("/root/main/ihgtinfo/addr");
- model.resetInstanceNode("/root/main/ihgtinfo/grnternm1");
- model.resetInstanceNode("/root/main/ihgtinfo/grntertel1");
- model.resetInstanceNode("/root/main/ihgtinfo/addr1");
- model.resetInstanceNode("/root/main/ihgtinfo/grnternm2");
- model.resetInstanceNode("/root/main/ihgtinfo/grntertel2");
- model.resetInstanceNode("/root/main/ihgtinfo/addr2");
- model.resetInstanceNode("/root/main/otptinptinfo");
- model.resetInstanceNode("/root/main/admiopmiinfo");
- model.resetInstanceNode("/root/main/ihdcinfo");
- model.resetInstanceNode("/root/main/dssuinfo");
- model.resetInstanceNode("/root/main/insihdc");
-
- model.setValue("/root/send/reference/fstrgstdt1", getCurrentDate());
- model.setValue("/root/send/reference/fstrgstdt2", getCurrentDate());
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button9" class="btn3_letter6" style="left:0px; top:5px; width:104px; height:22px; ">
- <caption>민원환자관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMPMC00100");
- ]]>
- </script>
- </button>
- <button id="button10" class="btn3_letter6" style="left:107px; top:5px; width:104px; height:22px; ">
- <caption>수진환자관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMPMC00300");
- ]]>
- </script>
- </button>
- <button id="button11" class="btn3_letter6" style="left:214px; top:5px; width:104px; height:22px; ">
- <caption>특이환자관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMPMC01300");
- ]]>
- </script>
- </button>
- <button id="button12" class="btn3_letter6" style="left:321px; top:5px; width:104px; height:22px; ">
- <caption>미수입금관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMPAM00100");
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|