123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet ype="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>
- <srventr>
- <srventrlist/>
- </srventr>
- <srventrdt>
- <srventrdtlist/>
- </srventrdt>
- </main>
- <send>
- <search>
- <instcd/>
- <asrventrnm/>
- <srventrcd/>
- </search>
- <save>
- <srventrlist/>
- <srventrdtlist/>
- </save>
- </send>
- <temp/>
- <init/>
- </root>
- </instance>
- <submission id="TRRPB18101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/srventr"/>
- <submission id="TRRPB18102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/srventrdt"/>
- <submission id="TXRPB18101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
- </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/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fInitialize()
- {
- model.removeNodeset(grd_srventrlist.nodeset);
- model.removeNodeset(grd_srventrdtlist.nodeset);
-
- misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","N","N");
- cmb_instcd.value = getUserInfo("dutplceinstcd");
-
- misfMsterDetailSet(grd_srventrlist, null, "TRRPB18101", "Y");
- misfMsterDetailSet(grd_srventrdtlist, grd_srventrlist, "TRRPB18102", "Y");
-
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-right:8; ">
- <group id="group2" scroll="auto" style="left:0px; top:33px; width:1195px; height:744px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:40px; "/>
- <caption id="caption278" class="tit_2" style="left:5px; top:62px; width:162px; height:14px; ">업체List</caption>
- <line id="line207" class="line_1" style="x1:0px; y1:77px; x2:1190px; y2:76px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="8" style="left:1115px; top:18px; width:56px; height:22px; text-align:left; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfMsterDetailRetrieve();
- // submit("TRRPB18101");
- // model.setValue("/root/send/search/srventrcd","");
- // model.setValue("/root/send/search/srventrnm","");
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line3" class="line_4" style="x1:1095px; y1:15px; x2:1095px; y2:46px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:105px; top:20px; width:175px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_instcd" class="search_name" style="left:5px; top:20px; width:105px; height:17px; ">기 관 :</caption>
- <caption id="caption22" class="search_name" style="left:335px; top:20px; width:103px; height:17px; ">업 체 명 :</caption>
- <input id="ipt_srventrnm" ref="/root/send/search/asrventrnm" class="input_search" style="left:438px; top:20px; width:185px; height:19px; "/>
- <button id="btn_excelsave" class="btn2_letter3" style="left:386px; top:55px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_srventrlist, "A");
- misfGridInit(grd_srventrdtlist);
-
- btn_dtaddrow.disabled = true;
- btn_dtdelrow.disabled = true;
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter3" style="left:440px; top:55px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_srventrlist, "D");
- ]]>
- </script>
- </button>
- <datagrid id="grd_srventrlist" nodeset="/root/main/srventr/srventrlist" caption="기관^업체코드^업체명" colsep="^" colwidth="100, 100, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:80px; width:495px; height:630px; ">
- <col ref="instcd" visibility="hidden"/>
- <col ref="srventrcd" visibility="hidden"/>
- <col ref="srventrnm" type="input"/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- if( grd_srventrlist.valueMatrix(grd_srventrlist.row, grd_srventrlist.colRef("srventrcd")) == "" ) {
- messageBox("저장되지 않은 data가 있습니다. 먼저 저장해주세요.","C999");
- return;
- }
-
- // model.setValue("/root/send/search/srventrcd", grd_srventrlist.valueMatrix(grd_srventrlist.row, grd_srventrlist.colRef("srventrcd")));
- misfMsterDetailRetrieve();
-
- btn_dtaddrow.disabled = false;
- btn_dtdelrow.disabled = false;
-
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_srventrdtlist" nodeset="/root/main/srventrdt/srventrdtlist" caption="기관^업체코드^시작일^종료일^차수^종료여부^비고^시작일_old" colsep="^" colwidth="100, 100, 120, 120, 100, 100, 100, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:498px; top:80px; width:692px; height:630px; ">
- <col ref="instcd" visibility="hidden" style="text-align:center; "/>
- <col ref="srventrcd" visibility="hidden" style="text-align:center; "/>
- <col ref="contfromdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="conttodd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="contdg" type="input" style="text-align:center; "/>
- <col ref="contendyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="cmt" type="input" style="text-align:center; "/>
- <col ref="oldcontfromdd" visibility="hidden"/>
- </datagrid>
- <button id="btn_dtdelrow" class="btn2_letter3" disabled="true" style="left:1139px; top:55px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_srventrdtlist, "D");
- ]]>
- </script>
- </button>
- <button id="btn_dtaddrow" class="btn2_letter3" disabled="true" style="left:1085px; top:55px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfGridIUD(grd_srventrdtlist, "A");
- grd_srventrdtlist.valueMatrix(grd_srventrdtlist.row, grd_srventrdtlist.colRef("contendyn")) = "N";
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- <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:14px; ">용역업체관리</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
- <line id="line75" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
- <button id="btn_save" class="btn4_letter2" style="left:1132px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfSave("TXRPB18101");
-
- if (model.getValue(gvErrorMsgPath + "/type") != "error"){
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|