123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * @(#)SPPIZ00800_산정코드조회.xrw
- * 수정이력
- * - 2007.05.01 / 최초작성 / 이창재
- * - 2007.07.25 / 쿼리변경으로 send 조건중 repcd 노드 삭제 / 정주미
- *
- * - opener 에서 전달받는 조건 경로
- /root/hidden/cond
- * - opener 로 전달하는 결과값 경로
- * opener.root.hidden.sppiz00800.rslt.clcd
- -->
- <?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="">
- <send>
- <insukind/>
- <estmcls/>
- <estmmncd/>
- <todd/>
- </send>
- <main>
- <list1>
- <clcd>
- <estmclsnm/>
- <estmcls/>
- <estmmncd/>
- <estmcd/>
- <estmcdnm/>
- <addmthd/>
- <pnt/>
- <amt/>
- <rate/>
- <todd/>
- </clcd>
- </list1>
- </main>
- <init>
- <P0008list>
- </P0008list>
- <P0173list>
- <P0173>
- <cdnm/>
- <cdid/>
- </P0173>
- </P0173list>
- </init>
- <hidden>
- <cond/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 공통코드를 조회한다.
- // (ZBC001.js) com.ZBCMCODE에서 기초코드 값을 가져와서 Combo 컨트롤 item으로 설정하기 위해 사용한다.
- zbcfGetCodeList(new Array("P0008","P0173" ), new Array("/root/init/P0008list","/root/init/P0173list") );
-
- if (checkOpener()) {
- fCheckOpener(); // 팝업용인 경우
-
- // 팝업용 조회의 경우 opener에서 전달한 보험유형과 산정분류를 변경할 수 없다.
- cmb_insukind.disabled = true; // 보험유형
- cmb_estmcls.disabled = true; // 산정분류
- } else {
- fInitialize(); // 화면을 초기화한다.
- model.refresh();
-
- // 팝업용 화면이 아닌 경우 "닫기" Btn은 사용하지 않는다.
- btn_close.disabled = true;
- }
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPIZ00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list1"/>
- </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/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
- // 팝업용인 경우
- function fCheckOpener() {
- model.copyNode("/root/send", "/root/hidden/cond");
- if (checkOpener()) { // (common.js) 자신을 Open한 opener의 현재 UID가 자신을 open한 시점의 UID와 비교하여 변경되었는지 여부를 반환
- if (model.getValue("/root/send/insukind") && model.getValue("/root/send/estmcls")) {
- model.resetInstanceNode("/root/send/estmmncd");
- submit("TRPIZ00801");
- var cond_estmmncd = model.getValue("/root/hidden/cond/estmmncd");
- if (cond_estmmncd) {
- for (var i = 1; i < grd_clcdmast.rows; i++) {
- if (cond_estmmncd == model.getValue("/root/main/list1/clcd["+ i +"]/estmmncd")) {
- grd_clcdmast.row = i;
- i = grd_clcdmast.rows;
- }
- }
- }
- }
- }
- }
- // 화면을 초기화한다.
- function fInitialize() {
- model.removeNodeset("/root/main/list1/clcd");
- model.resetInstanceNode("/root/send");
- model.setValue("/root/send/insukind", "11"); // 보험유형은 필수항목이므로 "건강보험"을 기본값으로 설정한다.
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="913" pageheight="540" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" overflow="scroll" scroll="auto" style="left:0px; top:0px; width:897px; height:513px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:45px; width:121px; height:14px; ">산정코드조회내역</caption>
- <line id="line1" class="line_1" style="width:896px; x1:0px; y1:60px; x2:896px; y2:60px; "/>
- <datagrid id="grd_clcdmast" nodeset="/root/main/list1/clcd" class="datagrid2" caption="산정분류명^산정분류
코드^산정의미
코드^산정코드^산정명칭^방법^점수^가격^요율^종료일자" colsep="^" colwidth="120, 56, 57, 55, 270, 40, 60, 60, 55, 75" dataheight="25" ellipsis="true" explorerbar="sortshowmove" mergecellsfixedcols="byrow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" tooltip="true" style="left:0px; top:65px; width:896px; height:448px; ">
- <col disabled="true" ref="estmclsnm" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0173list/P0173">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="estmcls" style="text-align:center; "/>
- <col ref="estmmncd" style="text-align:center; "/>
- <col ref="estmcd" style="text-align:center; "/>
- <col ref="estmcdnm"/>
- <col ref="addmthd" style="text-align:center; "/>
- <col ref="pnt" format="#.00" style="text-align:right; "/>
- <col ref="amt" style="text-align:right; "/>
- <col ref="rate" format="#.00" style="text-align:right; "/>
- <col ref="todd" format="yyyy-mm-dd" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (grd_clcdmast.isCell(event.target) && grd_clcdmast.row >= grd_clcdmast.fixedRows) {
- if (checkOpener()) { // (common.js) 자신을 Open한 opener의 현재 UID가 자신을 open한 시점의 UID와 비교하여 변경되었는지 여부를 반환
- var row = grd_clcdmast.row;
- model.copyNode(opener.root.hidden.sppiz00800.rslt.clcd, "/root/main/list1/clcd["+row+"]");
- window.close();
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_clcdmast.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <group id="group2" style="left:0px; top:0px; width:896px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:896px; height:35px; "/>
- <caption id="caption4" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">보험유형 :</caption>
- <caption id="caption5" class="search_name" style="left:433px; top:9px; width:112px; height:17px; ">산정의미코드 :</caption>
- <caption id="caption6" class="search_name" style="left:605px; top:9px; width:86px; height:17px; ">종료일자 :</caption>
- <line id="line13" class="line_4" style="x1:805px; y1:7px; x2:805px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter2" navindex="5" style="left:820px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(model.getValue("/root/send/insukind") == "") {
- messageBox("보험유형을","C002");
- model.setFocus("cmb_insukind");
- return false;
- }
- model.removenode("/root/main/list1");
-
- submit("TRPIZ00801");
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:224px; top:9px; width:86px; height:17px; ">산정분류 :</caption>
- <select1 id="cmb_insukind" ref="/root/send/insukind" class="combo_s_essential" navindex="1" appearance="minimal" style="left:104px; top:8px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0008list/P0008[cdid != '42' and cdid != '51' and cdid != '61' and cdid != '71']">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_estmcls" ref="/root/send/estmcls" navindex="2" appearance="minimal" style="left:313px; top:8px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0173list/P0173[cdid != '-']">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_estmmncd" ref="/root/send/estmmncd" class="input_search" navindex="3" maxlength="5" format="99999" style="left:548px; top:8px; width:37px; height:19px; "/>
- <input id="ipt_todd" ref="/root/send/todd" class="input_search" navindex="4" inputtype="date" format="yyyy-mm-dd" style="left:694px; top:8px; width:91px; height:19px; "/>
- </group>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:513px; width:897px; height:27px; ">
- <button id="btn_close" class="btn4_letter2" navindex="7" style="left:840px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close(); // F5 실행시 IE를 종료시킨다.
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" navindex="6" style="left:769px; top:5px; width:68px; height:27px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- if (checkOpener()) { // 팝업용 조회의 경우 opener에서 전달한 보험유형과 산정분류를 설정한다.
- model.setValue("/root/send/insukind", model.getValue("/root/hidden/cond/insukind"));
- model.setValue("/root/send/estmcls", model.getValue("/root/hidden/cond/estmcls"));
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:896px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|