123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 |
- <?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>부서코드 HELP</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <teamcodelist>
- <teamcd/>
- <teamnm/>
- </teamcodelist>
- </main>
- <target/>
- <init>
- <refcond>
- <label>과(팀)코드</label>
- <value>deptcd</value>
- <label>과(팀)명</label>
- <value>deptnm</value>
- </refcond>
- </init>
- <send>
- <deptref>
- <refcond/>
- <deptnm/>
- <deptcd/>
- <instcd/>
- <basedd/>
- </deptref>
- <comcdref>
- <cdgrupid/>
- <cdid/>
- <cdnm/>
- </comcdref>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- misfGridInit(grd_deptlist);
-
- model.copyNode("root/main","/root/target/validation");
-
- //alert(model.getValue("/root/target/defaultvalue/instcd"));
- //alert(model.getValue("/root/target/defaultvalue/basedd"));
- model.setValue("/root/send/deptref/instcd",model.getValue("/root/target/defaultvalue/instcd"));
- model.setValue("/root/send/deptref/basedd",model.getValue("/root/target/defaultvalue/basedd"));
-
- model.setValue("/root/send/deptref/refcond","deptnm");
-
- model.refresh();
- // rdo_refcond.value == "deptnm" ;
-
- ipt_refcond.attribute("imemode") = "hangul";
-
- // rdo_refcond.select(1);
- model.setFocus("ipt_refcond");
-
- if(instance1.selectNodes("/root/target/validation/deptcodelist").length == 0)
- {
- btn_search.dispatch("DOMActivate");
- }
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRRPS90601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/deptref" resultref="/root/main"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="600" pageheight="550" guideline="2,343;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:580px; height:520px; ">
- <group id="group2" style="left:0px; top:0px; width:580px; height:30px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:580px; height:29px; "/>
- <input id="ipt_refcond" ref="/root/send/deptref/deptnm" class="input_s_essential" style="left:269px; top:6px; width:99px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_search" class="btn1_letter2" style="left:519px; top:4px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(rdo_refcond.value == "deptnm") {
- model.setValue("/root/send/deptref/deptnm",ipt_refcond.label);
- }
- else {
- model.setValue("/root/send/deptref/deptcd",ipt_refcond.label);
- }
- submit("TRRPS90601");
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:515px; y1:0px; x2:515px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption2" class="search_name" style="left:185px; top:6px; width:86px; height:17px; ">조회조건:</caption>
- <select1 id="rdo_refcond" ref="/root/send/deptref/refcond" class="radio_search" appearance="full" cols="2" overflow="visible" style="left:3px; top:4px; width:125px; height:20px; border-style:solid; ">
- <choices>
- <itemset nodeset="/root/init/refcond">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if(rdo_refcond.value == "deptnm") {
- ipt_refcond.attribute("imemode") = "hangul";
- }
- else if (rdo_refcond.value == "deptcd") {
- ipt_refcond.attribute("imemode") = "disabled";
- }
- else {
- ipt_refcond.attribute("imemode") = "disabled";
- }
-
- model.setFocus("ipt_refcond");
- ]]>
- </script>
- </select1>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:35px; width:99px; height:14px; ">과(팀) 리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:50px; x2:580px; y2:50px; "/>
- <datagrid id="grd_deptlist" nodeset="/root/main/teamcodelist" caption="과(팀)코드^과(팀)명" colsep="^" colwidth="128, 409" dataheight="23" defaultrows="0" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:55px; width:580px; height:465px; ">
- <col ref="teamcd"/>
- <col ref="teamnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( grd_deptlist.isCell(event.target) && grd_deptlist.row >= grd_deptlist.fixedRows )
- {
- btn_confirm.dispatch("DOMActivate");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_deptlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:521px; width:580px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:461px; top:2px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfPopUpListReturn(grd_deptlist);
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:520px; top:2px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfPopUpListCancel();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:518px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|