123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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="">
- <send>
- <termflag/>
- <fromdd/>
- <todd/>
- <insukind/>
- </send>
- <main>
- <list01>
- <gridacptnolist>
- <insukind/>
- <ioflag/>
- <ordfildcd/>
- <clamflagcd/>
- <clamno/>
- <acptno/>
- <acptdd/>
- <cnt/>
- <judgdg/>
- <instcd/>
- </gridacptnolist>
- </list01>
- </main>
- </root>
- </instance>
- <submission id="TRPIF30304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list01"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 공통코드 Load작업
- CommCode_Load();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- // 공통코드 Load작업
- function CommCode_Load() {
- // 관련 Control 초기화
-
- if(model.getValue("/root/send/insukind") == "11") {
- cap_title.value = "접수번호조회(보험)";
- } else if(model.getValue("/root/send/insukind") == "21") {
- cap_title.value = "접수번호조회(의료급여)";
- } else if(model.getValue("/root/send/insukind") == "41") {
- cap_title.value = "접수번호조회(산재)";
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="700" pageheight="400">
- <group id="group3" scroll="auto" style="left:5px; top:0px; width:682px; height:353px; ">
- <line id="line8" class="line_1" style="x1:0px; y1:87px; x2:682px; y2:87px; "/>
- <group id="group4" style="left:0px; top:25px; width:680px; height:35px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:680px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line18" class="line_4" style="x1:579px; y1:7px; x2:579px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption31" style="left:196px; top:11px; width:15px; height:15px; ">~</caption>
- <select1 id="cmb_termflag" ref="/root/send/termflag" class="combo_search" appearance="minimal" style="left:9px; top:8px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>진료년월</label>
- <value>1</value>
- </item>
- <item>
- <label>청구년월</label>
- <value>2</value>
- </item>
- <item>
- <label>접수일자</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(cmb_termflag.value == "1" || cmb_termflag.value== "2") {
- ipt_fromdd.attribute("format") = "yyyy-mm";
- ipt_todd.attribute("format") = "yyyy-mm";
- model.setFocus("ipt_fromdd");
- model.refresh();
- } else if(cmb_termflag.value == "3") {
- ipt_fromdd.attribute("format") = "yyyy-mm-dd";
- ipt_todd.attribute("format") = "yyyy-mm-dd";
- model.setFocus("ipt_fromdd");
- model.refresh();
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_fromdd" ref="/root/send/fromdd" style="left:120px; top:8px; width:70px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- ipt_todd.value = ipt_fromdd.value;
- ]]>
- </script>
- </input>
- <input id="ipt_todd" ref="/root/send/todd" style="left:215px; top:8px; width:70px; height:19px; "/>
- <button id="btn_cancel" class="btn1_letter2" style="left:600px; top:8px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(cmb_termflag.value == null || cmb_termflag.value == "") {
- alert("조회조건을 선택해 주세요");
- model.setFocus("cmb_termflag");
- return false;
- } else if(ipt_fromdd.value== "" || ipt_fromdd.value== null) {
- alert("시작일을 입력해 주세요");
- model.setFocus("ipt_fromdd");
- return false;
- }else if(ipt_todd.value== "" || ipt_todd.value== null) {
- alert("종료일을 입력해 주세요");
- model.setFocus("ipt_todd");
- return false;
- } else if(ipt_fromdd.value > ipt_todd.value) {
- alert("시작일은 종료일보다 클수 없습니다.");
- model.setFocus("ipt_fromdd");
- return false;
- } else {
- model.resetInstanceNode("/root/main/list01");
- submit("TRPIF30304");
- }
-
- // btn_acptno.selected = true;
-
- ]]>
- </script>
- </button>
- <select1 id="cmb_insukind" ref="/root/send/insukind" appearance="minimal" style="left:400px; top:8px; width:85px; height:19px; ">
- <choices>
- <item>
- <label>보험</label>
- <value>11</value>
- </item>
- <item>
- <label>의료급여</label>
- <value>21</value>
- </item>
- <item>
- <label>산재</label>
- <value>41</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/send/insukind") == "11") {
- cap_title.value = "접수번호조회(보험)";
- } else if(model.getValue("/root/send/insukind") == "21") {
- cap_title.value = "접수번호조회(의료급여)";
- } else if(model.getValue("/root/send/insukind") == "41") {
- cap_title.value = "접수번호조회(산재)";
- }
- ]]>
- </script>
- </select1>
- <caption id="caption1" class="search_name" style="left:315px; top:9px; width:80px; height:17px; ">보험유형</caption>
- </group>
- <caption id="caption7" class="tit_2" style="left:6px; top:70px; width:113px; height:14px; ">접수번호 리스트</caption>
- <datagrid id="grd_acptnolist" nodeset="/root/main/list01/gridacptnolist" caption="보험유형^내원유형^청구분야^청구형태^청구번호^접수번호^접수일자^건수^심사차수^기관코드" colsep="^" colwidth="70, 70, 85, 90, 80, 80, 80, 80, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:92px; width:680px; height:258px; ">
- <col ref="insukind" style="text-align:center; "/>
- <col ref="ioflag" style="text-align:center; "/>
- <col ref="ordfildcd" style="text-align:center; "/>
- <col ref="clamflagcd" style="text-align:center; "/>
- <col ref="clamno" style="text-align:center; "/>
- <col ref="acptno" style="text-align:center; "/>
- <col ref="acptdd" style="text-align:center; "/>
- <col ref="cnt" style="text-align:center; "/>
- <col ref="judgdg" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var row_cnt = grd_acptnolist.row;
- var insukind = model.getValue("/root/send/insukind");
- //if( destNode == null ) {
- // opener.grd_pifhrtns.addRow();
- //}
- if(row_cnt >0) {
-
- if(opener.javascript.getParameter("SPPIF30302_RTNTYPE") == 'P' ){
-
- opener.javascript.setParameter("SPPIF30302_acptno", model.getValue("/root/main/list01/gridacptnolist["+row_cnt+"]/acptno")); // 접수번호
- opener.javascript.setParameter("SPPIF30302_clamno", model.getValue("/root/main/list01/gridacptnolist["+row_cnt+"]/clamno")); // 청구번호
- opener.javascript.setParameter("SPPIF30302_judgdg", model.getValue("/root/main/list01/gridacptnolist["+row_cnt+"]/judgdg")); // 심사차수
-
- }else{
-
- opener.model.makeNode("/root/send/send01/acptno"); // 접수번호
- opener.model.makeNode("/root/main/list001/U0001/clamno"); // 청구번호
- opener.model.makeNode("/root/main/list002/U0002/judgdg"); // 심사차수
-
- if(insukind == "11") {
- //opener.model.setValue("/root/main/list01/gridpifhrtns/rtnflag", grd_rtnbalance.valueMatrix(row_cnt,0));
- opener.model.setValue("/root/send/send01/acptno", model.getValue("/root/main/list01/gridacptnolist["+row_cnt+"]/acptno")); // 접수번호
- opener.model.setValue("/root/main/list001/U0001/clamno", model.getValue("/root/main/list01/gridacptnolist["+row_cnt+"]/clamno")); // 청구번호
- opener.model.setValue("/root/main/list002/U0002/judgdg", model.getValue("/root/main/list01/gridacptnolist["+row_cnt+"]/judgdg")); // 심사차수
- opener.ipt_acptno.value = model.getValue("/root/main/list01/gridacptnolist["+row_cnt+"]/acptno");
- opener.cmb_clamno.value = model.getValue("/root/main/list01/gridacptnolist["+row_cnt+"]/clamno");
- opener.cmb_judgdg.value = model.getValue("/root/main/list01/gridacptnolist["+row_cnt+"]/judgdg");
- } else if(insukind == "21") {
- //opener.model.makeNode("/root/main/list00/list002/judgdglist/judgdg");
- //opener.model.makeNode("/root/main/list00/list002/clamno/clamno");
- opener.model.setValue("/root/send/send01/acptno", model.getValue("/root/main/list01/gridacptnolist["+row_cnt+"]/acptno")); // 접수번호
- opener.model.setValue("/root/main/list00/list003/judgdglist/judgdg", model.getValue("/root/main/list01/gridacptnolist["+row_cnt+"]/judgdg")); // 심사차수
- opener.model.setValue("/root/main/list00/list002/clamno/clamno", model.getValue("/root/main/list01/gridacptnolist["+row_cnt+"]/clamno")); // 청구번호
- opener.ipt_acptno.value = model.getValue("/root/main/list01/gridacptnolist["+row_cnt+"]/acptno");
- opener.ipt_clamno.value = model.getValue("/root/main/list01/gridacptnolist["+row_cnt+"]/clamno");
- opener.cmb_judgdg.value = model.getValue("/root/main/list01/gridacptnolist["+row_cnt+"]/judgdg");
- } else if(insukind = "41") {
- opener.model.setValue("/root/send/send01/acptno", model.getValue("/root/main/list01/gridacptnolist["+row_cnt+"]/acptno")); // 접수번호
- opener.model.setValue("/root/main/list001/U0001/clamno", model.getValue("/root/main/list01/gridacptnolist["+row_cnt+"]/clamno")); // 청구번호
- opener.model.setValue("/root/main/list002/U0002/judgdg", model.getValue("/root/main/list01/gridacptnolist["+row_cnt+"]/judgdg")); // 심사차수
- opener.ipt_acptno.value = model.getValue("/root/main/list01/gridacptnolist["+row_cnt+"]/acptno");
- opener.cmb_clamno.value = model.getValue("/root/main/list01/gridacptnolist["+row_cnt+"]/clamno");
- opener.cmb_judgdg.value = model.getValue("/root/main/list01/gridacptnolist["+row_cnt+"]/judgdg");
- }
- }
-
- model.close();
- //opener.grd_pifhrtns.rebuild();
- }
-
-
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group1" scroll="auto" style="left:5px; top:353px; width:680px; height:27px; ">
- <button id="button36" class="btn4_letter2" style="left:620px; top:3px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.close();
- ]]>
- </script>
- </button>
- </group>
- <group id="group2" style="left:6px; top:5px; width:384px; height:13px; ">
- <caption id="cap_title" class="tit_1" style="left:5px; top:0px; width:164px; height:13px; ">접수번호조회</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|