123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178 |
- <?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>전화번호조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- </list>
- <cond>
- <condflag>2</condflag>
- <data/>
- <flag>U</flag>
- <condflag2>2</condflag2>
- </cond>
- </main>
- <send>
- </send>
- <init>
- <searchitem/>
- </init>
- <popinfo>
- <refinfo>
- <serchitem/>
- </refinfo>
- </popinfo>
- <HideData>
- <searchdd/>
- </HideData>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- fInitialize();
- ]]>
- </script>
- <submission id="TRMNZ00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/list"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript">
- <![CDATA[
- /*
- 초기화 작업을 합니다.
- */
- function fInitialize(){
- model.setFocus("ipt_data");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="605" pageheight="435" style="border-color:#c7a3cf; ">
- <group id="group5" scroll="auto" style="left:0px; top:13px; width:605px; height:420px; border-color:#c7a3cf; border-style:solid; ">
- <datagrid id="grd_userlist" nodeset="/root/main/list/telinfo" caption="기관^과구분^부서구분^전화번호^소속기관코드^소속부서코드" colwidth="115, 147, 190, 132, 0, 0" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="32" style="left:0px; top:75px; width:603px; height:343px; ">
- <col ref="instnm" style="text-align:center; "/>
- <col ref="centnm"/>
- <col ref="deptnm"/>
- <col ref="telno" style="text-align:center; "/>
- <col ref="posinstcd"/>
- <col ref="posdeptcd"/>
- </datagrid>
- <datagrid id="grd_userlist2" nodeset="/root/main/list/userinfo" caption="기관^부서^사용자ID^사용자명^전화번호^nzone" colwidth="122, 180, 54, 61, 86, 59" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="32" style="left:-1px; top:74px; width:603px; height:343px; ">
- <col ref="instnm" style="text-align:center; "/>
- <col ref="deptnm"/>
- <col ref="userid" secretendposition="5" secretmark="*" secretstartposition="3" style="text-align:center; "/>
- <col ref="usernm" style="text-align:center; "/>
- <col ref="mpphon" style="text-align:center; "/>
- <col ref="nzone" style="text-align:center; "/>
- </datagrid>
- <group id="group2" style="left:0px; top:10px; width:603px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:603px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="search_name" style="left:15px; top:9px; width:87px; height:17px; ">검색조건 :</caption>
- <line id="line1" style="x1:525px; y1:7px; x2:525px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter2" style="left:534px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var flag = model.getValue(cmb_flag.attribute("ref"));
-
- model.makeValue("/root/send/reqdata/condflag" , model.getValue(rdo_condflag.attribute("ref")));
- model.makeValue("/root/send/reqdata/condflag2", model.getValue(rdo_condflag2.attribute("ref")));
- model.makeValue("/root/send/reqdata/data" , model.getValue("/root/main/cond/data"));
- model.makeValue("/root/send/reqdata/instcd" , getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/reqdata/flag" , flag);
-
-
- submit("TRMNZ00401");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="rdo_condflag" ref="/root/main/cond/condflag" visibility="hidden" appearance="full" cols="3" overflow="visible" style="left:175px; top:11px; width:195px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>과구분</label>
- <value>1</value>
- </item>
- <item>
- <label>부서구분</label>
- <value>2</value>
- </item>
- <item>
- <label>전화번호</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_data" ref="/root/main/cond/data" imemode="hangul" style="left:375px; top:9px; width:140px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == "13") {
- setInputNodeCurText();
- btn_search.dispatch("DOMActivate");
-
- model.setValue("/root/main/cond/data", "");
- ipt_data.refresh();
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_flag" ref="/root/main/cond/flag" appearance="minimal" style="left:105px; top:9px; width:65px; height:19px; ">
- <choices>
- <item>
- <label>부서</label>
- <value>D</value>
- </item>
- <item>
- <label>사용자</label>
- <value>U</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var flag = model.getValue(cmb_flag.attribute("ref"));
-
- if(flag == "D") {
- rdo_condflag.visible = true;
- rdo_condflag2.visible = false;
- model.setValue(rdo_condflag.attribute("ref"), "2");
- grd_userlist.visible = true;
- grd_userlist2.visible= false;
-
- } else if(flag == "U") {
- rdo_condflag.visible = false;
- rdo_condflag2.visible = true;
- model.setValue(rdo_condflag2.attribute("ref"), "2");
- grd_userlist.visible = false;
- grd_userlist2.visible= true;
- }
- ]]>
- </script>
- </select1>
- <select1 id="rdo_condflag2" ref="/root/main/cond/condflag2" appearance="full" cols="3" overflow="visible" style="left:175px; top:11px; width:140px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>사용자ID</label>
- <value>1</value>
- </item>
- <item>
- <label>사용자명</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- </group>
- <caption id="caption9" class="tit_2" style="left:0px; top:57px; width:111px; height:14px; vertical-align:middle; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">전화번호조회</caption>
- <line id="line12" class="line_1" style="x1:0px; y1:72px; x2:603px; y2:73px; "/>
- <!-- 사용자전화번호 -->
- </group>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:603px; height:14px; ">전화번호 검색</caption>
- </xhtml:body>
- </xhtml:html>
|