123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297 |
- <?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>프로젝트 ID HELP</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <email>
- <emaillist/>
- </email>
- </main>
- <send>
- <condition>
- <instcd/>
- <deptcd/>
- <depthngnm/>
- <emplno/>
- <emplnm/>
- <dutplcecd/>
- </condition>
- <acntdept>
- <instcd/>
- <mngtcd>acntdept</mngtcd>
- </acntdept>
- </send>
- <init>
- <code>
- <codelist/>
- </code>
- </init>
- <temp/>
- <target/>
- </root>
- </instance>
- <submission id="TRRAC01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition" resultref="/root/main/list"/>
- <submission id="TRRAZ00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/acntdept" resultref="/root/init/code"/>
- </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" src="../../../mis/miscommonweb/js/RAC001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- //========================================================================================
- //초기화
- //========================================================================================
- function fInitialize()
- {
- model.copyNode("/root/main/email", "/root/target/validation");
-
- model.setValue("/root/send/condition/instcd", getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/acntdept/instcd", getUserInfo("dutplceinstcd"));
-
- model.setValue(ipt_deptcd.attribute("ref"), getUserInfo("dutplcecd"));
- model.setValue(ipt_depthngnm.attribute("ref"), getUserInfo("dutplcenm"));
- model.setValue(ipt_emplno.attribute("ref"), getUserInfo("userid"));
- model.setValue(ipt_name.attribute("ref"), getUserInfo("usernm"));
-
- model.setValue("/root/send/condition/dutplcecd",getUserInfo("dutplcecd"));
-
- submit("TRRAZ00001");
-
- if(model.getValue("/root/init/code/codelist/cdid") != getUserInfo("dutplcecd"))
- {
- ipt_deptcd.disabled = true;
- ipt_depthngnm.disabled = true;
- }
-
- model.refresh();
- btn_search.dispatch("DOMActivate");
- }
-
- //========================================================================================
- //코드 Validation Check
- //========================================================================================
- function fValidationCheck(vgbn, recvlist, pcdgrupid, pNextIndex, pValueControl, pNodeName, pRetrKind)
- {
- if(event.keyCode == 13 || event.name == "xforms-value-changed")
- {
- document.controls(event.currentTarget).value = document.controls(event.currentTarget).currentText;
- misfValidationCheck(vgbn, pcdgrupid, recvlist, pValueControl, pNodeName, pRetrKind);
- model.refresh();
-
- if (pNextIndex != "") {
- model.setFocus(pNextIndex);
- }
- }
- }
-
- function fOpenPopupUserHelp(pCtrl, pInstance)
- {
- misfOpenPopUpList("01", pCtrl, "", pInstance);
- 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; ">DTI Email 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:33px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="tit_2" style="left:10px; top:44px; width:190px; height:13px; ">DTI Email 목록</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:58px; x2:710px; y2:58px; "/>
- <line id="line21" class="line_4" style="x1:629px; y1:34px; x2:629px; y2:11px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:644px; top:14px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset(grd_emaillist.nodeset);
- submit("TRRAC01201");
-
- ]]>
- </script>
- </button>
- <datagrid id="grd_emaillist" nodeset="/root/main/email/emaillist" caption="기관코드^관리부서^관리부서^사원번호^성명^비밀번호^핸드폰^E-mail^사용여부^권한구분" colsep="^" colwidth="0, 85, 120, 100, 100, 0, 0, 250, 0, 0" focuscolor="#ccffff" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="16" rowsep="|" selectionmode="free" style="left:0px; top:65px; width:710px; height:367px; ">
- <col ref="instcd"/>
- <col class="text_center" ref="dept_id"/>
- <col ref="dept_name"/>
- <col class="text_center" ref="user_id"/>
- <col class="text_center" ref="user_name"/>
- <col ref="password"/>
- <col ref="cellphone"/>
- <col ref="email"/>
- <col checkvalue="Y,N" ref="use_yn" type="checkbox"/>
- <col ref="authority"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
-
- if(grd_emaillist.col == grd_emaillist.colRef("deptcd"))
- {
- fOpenPopupDeptHelp(grd_emaillist, "deptcd,depthngnm");
- }
- else if(grd_emaillist.col == grd_emaillist.colRef("emplno"))
- {
- fOpenPopupUserHelp(grd_emaillist, "emplno,emplnm");
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
-
- if(grd_emaillist.col == grd_emaillist.colRef("deptcd") || grd_emaillist.col == grd_emaillist.colRef("depthngnm"))
- {
- misfValidationCheck("02", "", "deptcd,depthngnm");
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( grd_emaillist.isCell(event.target) && grd_emaillist.row >= grd_emaillist.fixedRows )
- {
- btn_confirm.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </datagrid>
- <input id="ipt_depthngnm" ref="/root/send/condition/depthngnm" class="input_s_essential" navindex="3" style="left:180px; top:13px; width:135px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("btn_search");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- racfDeptValidCheck("deptcd,depthngnm");
- ]]>
- </script>
- </input>
- <input id="ipt_deptcd" ref="/root/send/condition/deptcd" class="input_s_essential" navindex="2" style="left:84px; top:13px; width:71px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("btn_search");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- racfDeptValidCheck("deptcd,depthngnm");
- ]]>
- </script>
- </input>
- <caption id="caption7" class="search_name" style="left:16px; top:14px; width:85px; height:17px; ">부 서 :</caption>
- <button id="btn_help" class="icon_search" style="left:159px; top:16px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOpenPopupDeptHelp(ipt_deptcd, "deptcd,depthngnm");
- ]]>
- </script>
- </button>
- <caption id="caption10" class="search_name" style="left:320px; top:15px; width:91px; height:17px; ">사 번 :</caption>
- <input id="ipt_name" ref="/root/send/condition/emplnm" class="input_s_essential" navindex="2" style="left:484px; top:14px; width:135px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("btn_search");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fValidationCheck("12", "emplno,emplnm", "", "btn_search");
- ]]>
- </script>
- </input>
- <button id="btn_emplno" class="icon_search" style="left:463px; top:16px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOpenPopupUserHelp(ipt_emplno, "emplno,emplnm");
- model.refresh();
-
- ]]>
- </script>
- </button>
- <input id="ipt_emplno" ref="/root/send/condition/emplno" class="input_s_essential" navindex="1" maxlength="8" style="left:388px; top:14px; width:71px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13)
- {
- model.setFocus("btn_search");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- fValidationCheck("12", "emplno,emplnm", "", "btn_search");
- ]]>
- </script>
- </input>
- </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_confirm" class="btn4_letter2" style="left:586px; top:2px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfPopUpListReturn(grd_emaillist);
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|