123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186 |
- <?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>프로젝트 ID HELP</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <projectidlist/>
- </list>
- </main>
- <send>
- <retrparams>
- <flag>name</flag>
- <retrnm/>
- <useyn>Y</useyn>
- </retrparams>
- <tempparams>
- <emplno/>
- <emplnm/>
- </tempparams>
- </send>
- <init/>
- <temp/>
- <target/>
- </root>
- </instance>
- <submission id="TRRAC00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/retrparams" resultref="/root/main/list"/>
- <submission id="TXRAC00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list/projectidlist" 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="../../../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.copyNode("/root/main/list", "/root/target/validation");
-
- misfMsterDetailSet(grd_projectidlist, null, "TRRAC00801", "Y");
-
- if(instance1.selectNodes("/root/target/validation/projectidlist").length == 0)
- {
- model.removenode("/root/main/list/projectidlist");
-
- btn_search.dispatch("DOMActivate");
- }
- model.refresh();
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="730" pageheight="480" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" style="left:0px; top:0px; width:710; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:190px; height:14px; ">프로젝트ID HELP</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:12px; width:710px; height:432px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:7px; width:710px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="tit_2" style="left:10px; top:49px; width:190px; height:13px; ">프로젝트ID 목록</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:63px; x2:710px; y2:63px; "/>
- <line id="line21" class="line_4" style="x1:614px; y1:14px; x2:614px; y2:36px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:629px; top:14px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRRAC00801");
-
- misfSetReadOnlyCol(grd_projectidlist, "projectid", true);
- ]]>
- </script>
- </button>
- <input id="ipt_retrnm" ref="/root/send/retrparams/retrnm" class="input_search" style="left:140px; top:15px; width:215px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- ipt_retrnm.value = ipt_retrnm.currentText;
-
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <select1 id="rdo_retrflag" ref="/root/send/retrparams/flag" overflow="visible" appearance="full" cellspacing="5" cols="2" style="left:15px; top:17px; width:119px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>코드명</label>
- <value>name</value>
- </item>
- <item>
- <label>코 드</label>
- <value>code</value>
- </item>
- </choices>
- </select1>
- <datagrid id="grd_projectidlist" nodeset="/root/main/list/projectidlist" caption="프로젝트ID^프로젝트명^시작일자^종료일자^책임자 ID^책임자명^기관코드" colsep="^" colwidth="100, 167, 90, 90, 75, 100, 0" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:68px; width:710px; height:364px; ">
- <col ref="projectid"/>
- <col ref="projectnm"/>
- <col ref="projectfromdd" format="yyyy-mm-dd"/>
- <col ref="projecttodd" format="yyyy-mm-dd"/>
- <col ref="projectmnger"/>
- <col ref="projectmngernm"/>
- <col ref="instcd" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if(grd_projectidlist.col == grd_projectidlist.colRef("projectmnger"))
- {
- rpbfOpenPopUpList("SPRPB00101", opt_emplno, "emplno,emplnm", "", "N");
- grd_projectidlist.valueMatrix(grd_projectidlist.row, grd_projectidlist.colRef("projectmnger")) = model.getValue("/root/send/tempparams/emplno");
- grd_projectidlist.valueMatrix(grd_projectidlist.row, grd_projectidlist.colRef("projectmngernm")) = model.getValue("/root/send/tempparams/emplnm");
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( grd_projectidlist.row >= grd_projectidlist.fixedRows && grd_projectidlist.isCell(event.target))
- {
- misfPopUpListReturn(grd_projectidlist);
- }
- ]]>
- </script>
- </datagrid>
- <output id="opt_emplno" ref="/root/send/tempparams/emplno" visibility="hidden" style="left:410px; top:44px; width:20px; height:19px; "/>
- <select1 id="rdo_termflag" ref="/root/send/retrparams/useyn" class="radio_search" visibility="visible" overflow="visible" appearance="full" cellspacing="20" cols="2" style="left:470px; top:17px; width:175px; height:20px; vertical-align:middle; border-style:none; ">
- <choices>
- <item>
- <label>사용</label>
- <value>Y</value>
- </item>
- <item>
- <label>종료</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" visibility="visible" style="left:360px; top:17px; width:120px; height:17px; ">조 회 구 분 :</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:449px; width:710px; height:27px; ">
- <line id="line1" class="line_6" style="x1:0px; y1:0px; x2:610px; y2:-10px; "/>
- <button id="btn_close" class="btn4_letter2" style="left:644px; top:2px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_cnfm" class="btn4_letter2" style="left:586px; top:2px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_projectidlist.dispatch("ondblclick");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|