123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260 |
- <?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>
- <icbpinfo>
- <bzplcergstno/>
- <bizplcenm/>
- <prsdnm/>
- <bizplcetel/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseq/>
- <detladdr/>
- <addr/>
- <bizplceseqno/>
- <bizplcergstseqno/>
- <flag/>
- </icbpinfo>
- <grdicbp>
- <grdicbpinfo>
- <bzplcergstno/>
- <bizplcenm/>
- <prsdnm/>
- <bizplcetel/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseq/>
- <addr/>
- <detladdr/>
- <bizplceseqno/>
- <bizplcergstseqno/>
- </grdicbpinfo>
- </grdicbp>
- </main>
- <send>
- <ref>
- <cond>0</cond>
- <reference/>
- </ref>
- </send>
- <init>
- </init>
- </root>
- </instance>
- <submission id="TRPMC03701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/ref" resultref="/root/main/grdicbp"/>
- <submission id="TXPMC03701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/icbpinfo"/>
- </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/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript">
- <![CDATA[
- //화면 초기화
- function fInitialize(){
- // model.removeNodeset("/root/main/grdicbp/grdicbpinfo");
- model.resetInstanceNode("/root/main/icbpinfo");
- model.setValue("/root/main/icbpinfo/zipcd1","000");
- model.setValue("/root/main/icbpinfo/zipcd2","000");
- model.setValue("/root/main/icbpinfo/zipcdseq","1");
- model.setValue("/root/main/icbpinfo/addr","-");
- model.setValue("/root/main/icbpinfo/detladdr","-");
- model.setFocus("ipt_bzplcergstno");
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.removeNodeset("/root/main/grdicbp/grdicbpinfo");
- fInitialize();
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="517" pageheight="379" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:501px; height:363px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:61px; width:126px; height:13px; ">산재사업장관리</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:76px; x2:501px; y2:76px; "/>
- <line id="line2" class="line_2" style="x1:0px; y1:103px; x2:501px; y2:103px; "/>
- <line id="line3" class="line_2" style="x1:0px; y1:127px; x2:501px; y2:127px; "/>
- <group id="group1" style="left:0px; top:335px; width:501px; height:28px; ">
- <button id="btn_save" class="btn4_letter2" style="left:333px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var reference = model.getValue("/root/main/icbpinfo/bzplcergstno");
- model.setValue("/root/main/icbpinfo/flag", "I");
- submit("TXPMC03701");
-
- fInitialize();
-
- model.setValue("/root/send/ref/cond", "1");
- model.setValue("/root/send/ref/reference", reference);
- model.refresh();
-
- submit("TRPMC03701");
- ]]>
- </script>
- </button>
- <button id="btn_exit" class="btn4_letter2" style="left:445px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <close ev:event="onclick"/>
- </button>
- <line id="line5" class="line_6" style="x1:0px; y1:0px; x2:501px; y2:-15px; "/>
- <button id="btn_delete" class="btn4_letter2" style="left:389px; top:5px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var reference = model.getValue("/root/main/icbpinfo/bzplcergstno");
- model.setValue("/root/main/icbpinfo/flag", "D");
- submit("TXPMC03701");
-
- fInitialize();
-
- model.setValue("/root/send/ref/cond", "0");
- model.setValue("/root/send/ref/reference", reference);
- model.refresh();
-
- submit("TRPMC03701");
- ]]>
- </script>
- </button>
- <button id="btn_clear" class="btn4_letter3" style="left:265px; top:5px; width:68px; height:22px; font-size:11px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- </group>
- <line id="line4" class="line_3" style="x1:0px; y1:177px; x2:501px; y2:177px; "/>
- <caption id="caption5" class="cell_1" style="left:0px; top:81px; width:100px; height:23px; vertical-align:middle; ">사업장등록번호</caption>
- <caption id="caption6" class="cell_1" style="left:0px; top:105px; width:100px; height:23px; vertical-align:middle; ">사업장연락처</caption>
- <caption id="caption7" class="cell_1" style="left:252px; top:105px; width:100px; height:23px; vertical-align:middle; ">대표자명</caption>
- <datagrid id="grd_iaiwsearch" nodeset="/root/main/grdicbp/grdicbpinfo" caption="사업장등록번호^사업장명^대표자명^사업장연락처^zipcd1^zipcd2^zipcdseq^addr^상세주소^순번" colsep="^" colwidth="90, 140, 55, 80, 0, 0, 0, 0, 114, 0" dataheight="23" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:181px; width:501px; height:149px; ">
- <col disabled="true" ref="bzplcergstno"/>
- <col disabled="true" ref="bizplcenm"/>
- <col disabled="true" ref="prsdnm"/>
- <col disabled="true" ref="bizplcetel"/>
- <col disabled="true" ref="zipcd1"/>
- <col disabled="true" ref="zipcd2"/>
- <col disabled="true" ref="zipcdseq"/>
- <col disabled="true" ref="addr"/>
- <col disabled="true" ref="detladdr"/>
- <col disabled="true" ref="bizplceseqno"/>
- <col disabled="true" ref="bizplcergstseqno"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if( isDataCell() ){
- var row = grd_iaiwsearch.row;
- if (row >= grd_iaiwsearch.fixedrows){
- model.setValue("/root/main/icbpinfo/bzplcergstno", model.getValue("/root/main/grdicbp/grdicbpinfo[" + row + "]/bzplcergstno"));
- model.setValue("/root/main/icbpinfo/bizplcenm", model.getValue("/root/main/grdicbp/grdicbpinfo[" + row + "]/bizplcenm"));
- model.setValue("/root/main/icbpinfo/bizplcetel", model.getValue("/root/main/grdicbp/grdicbpinfo[" + row + "]/bizplcetel"));
- model.setValue("/root/main/icbpinfo/prsdnm", model.getValue("/root/main/grdicbp/grdicbpinfo[" + row + "]/prsdnm"));
- model.setValue("/root/main/icbpinfo/zipcd1", model.getValue("/root/main/grdicbp/grdicbpinfo[" + row + "]/zipcd1"));
- model.setValue("/root/main/icbpinfo/zipcd2", model.getValue("/root/main/grdicbp/grdicbpinfo[" + row + "]/zipcd2"));
- model.setValue("/root/main/icbpinfo/zipcdseq", model.getValue("/root/main/grdicbp/grdicbpinfo[" + row + "]/zipcdseq"));
- model.setValue("/root/main/icbpinfo/addr", model.getValue("/root/main/grdicbp/grdicbpinfo[" + row + "]/addr"));
- model.setValue("/root/main/icbpinfo/detladdr", model.getValue("/root/main/grdicbp/grdicbpinfo[" + row + "]/detladdr"));
- model.setValue("/root/main/icbpinfo/bizplceseqno", model.getValue("/root/main/grdicbp/grdicbpinfo[" + row + "]/bizplceseqno"));
- model.setValue("/root/main/icbpinfo/bizplcergstseqno", model.getValue("/root/main/grdicbp/grdicbpinfo[" + row + "]/bizplcergstseqno"));
- model.refresh();
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_iaiwsearch.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="button37" class="icon_search" navindex="16" style="left:210px; top:131px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rcv_zipcdhead_path = '/root/main/icbpinfo/zipcd1';
- var rcv_zipcdfoot_path = '/root/main/icbpinfo/zipcd2';
- var rcv_seqno_path = '/root/main/icbpinfo/zipcdseq';
- var rcv_address_path = '/root/main/icbpinfo/addr';
- var term = model.getValue("recv_zipcdhead_path");
-
- zbcfOpenZipCodeList("address", term, rcv_zipcdhead_path, rcv_zipcdfoot_path, rcv_seqno_path, rcv_address_path);
-
- model.setValue("/root/main/icbpinfo/detladdr", "");
- model.setFocus("ipt_detladdr");
- ipt_detladdr.refresh();
- ]]>
- </script>
- </button>
- <output id="ipt_addr" ref="/root/main/icbpinfo/addr" class="output_fix" appearance="output" style="left:234px; top:130px; width:267px; height:19px; "/>
- <input id="ipt_detladdr" ref="/root/main/icbpinfo/detladdr" class="input_default" navindex="17" style="left:103px; top:155px; width:398px; height:19px; "/>
- <caption id="caption78" class="cell_1" style="left:0px; top:129px; width:100px; height:23px; vertical-align:middle; ">우편번호</caption>
- <input id="ipt_zipcd1" ref="/root/main/icbpinfo/zipcd1" class="input_default" navindex="13" maxlength="3" format="999" style="left:103px; top:130px; width:35px; height:19px; "/>
- <input id="ipt_zipcd2" ref="/root/main/icbpinfo/zipcd2" class="input_default" navindex="14" maxlength="3" format="999" style="left:141px; top:130px; width:35px; height:19px; "/>
- <input id="ipt_zipcdseq" ref="/root/main/icbpinfo/zipcdseq" class="input_default" navindex="15" visibility="visible" maxlength="1" format="999" style="left:179px; top:130px; width:25px; height:19px; "/>
- <caption id="caption80" class="cell_1" style="left:0px; top:153px; width:100px; height:23px; vertical-align:middle; ">상세주소</caption>
- <input id="ipt_bzplcergstno" ref="/root/main/icbpinfo/bzplcergstno" navindex="1" style="left:103px; top:82px; width:146px; height:19px; "/>
- <input id="ipt_bizplcetel" ref="/root/main/icbpinfo/bizplcetel" navindex="3" style="left:103px; top:106px; width:146px; height:19px; "/>
- <input id="ipt_prsdnm" ref="/root/main/icbpinfo/prsdnm" navindex="4" imemode="hangul" style="left:355px; top:106px; width:146px; height:19px; "/>
- <line id="line6" class="line_2" style="x1:0px; y1:151px; x2:501px; y2:151px; "/>
- <group id="group2" style="left:0px; top:10px; width:501px; height:35px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:500px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:425px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (model.getValue("/root/send/ref/reference") == "") {
- model.setValue("/root/send/ref/cond", "");
- }
- submit("TRPMC03701");
- ]]>
- </script>
- </button>
- <line id="line7" class="line_4" style="x1:415px; y1:4px; x2:415px; y2:31px; border-color:#ffcc99; border-style:solid; "/>
- <input id="ipt_reference" ref="/root/send/ref/reference" navindex="0" style="left:204px; top:9px; width:136px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- inputEnterKey("btn_search", "DOMActivate");
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_cond" ref="/root/send/ref/cond" class="combo_search" appearance="minimal" style="left:103px; top:9px; width:97px; height:19px; ">
- <choices>
- <item>
- <label>사업장명</label>
- <value>0</value>
- </item>
- <item>
- <label>사업장등록번호</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setValue("/root/send/ref/reference", "");
- model.setFocus("ipt_reference");
- ]]>
- </script>
- </select1>
- <caption id="caption19" class="search_name" style="left:14px; top:9px; width:86px; height:17px; ">조회조건 :</caption>
- </group>
- <line id="line9" class="line_6" style="x1:0px; y1:333px; x2:501px; y2:333px; "/>
- <caption id="caption2" class="cell_1" style="left:253px; top:81px; width:100px; height:23px; vertical-align:middle; ">사업장명</caption>
- <input id="ipt_bizplcenm" ref="/root/main/icbpinfo/bizplcenm" navindex="2" imemode="hangul" style="left:356px; top:82px; width:145px; height:19px; "/>
- <input id="input1" ref="/root/main/icbpinfo/bizplceseqno" visibility="hidden" style="left:475px; top:55px; width:15px; height:15px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|