waysun一路陽(yáng)光

          不輕易服輸,不輕言放棄.--心是夢(mèng)的舞臺(tái),心有多大,舞臺(tái)有多大。踏踏實(shí)實(shí)做事,認(rèn)認(rèn)真真做人。

            BlogJava :: 首頁(yè) :: 新隨筆 :: 聯(lián)系 ::  :: 管理 ::
            167 隨筆 :: 1 文章 :: 64 評(píng)論 :: 0 Trackbacks

          <%@ page contentType="text/html;charset=UTF-8"%>
          <%@ taglib prefix="ww" uri="/struts-tags" %>
          <%@ taglib prefix="display" uri="/WEB-INF/displaytag-el.tld" %>
          <html>
          <head>
          <title>申請(qǐng)表</title>
          <link rel="stylesheet" href="/uniframework/style/default.css">
          <link rel="stylesheet" href="/uniframework/style/displaytag.css">
          <link rel="stylesheet" href="/uniframework/style/dhtmlxtabbar.css">
          <link rel="stylesheet" href="/uniframework/script/jscalendar/skins/theme.css">
          <script src="/uniframework/script/jscalendar/calendar.js"></script>
          <script src="/uniframework/script/jscalendar/calendar-setup.js"></script>
          <script src="/uniframework/script/jscalendar/calendar-lang.js"></script>
          <script src="/uniframework/script/clientValid.js"></script>
          <script src="/uniframework/script/provider.js"></script>
          <script src="/uniframework/script/enterKeydown.js"></script>
          <script src="/uniframework/script/dhtmlxcommon.js"></script>
          <script src="/uniframework/script/dhtmlxtabbar.js"></script>
          <script src="/uniframework/script/dhtmlxtabbar_start.js"></script>
          <link rel="stylesheet" href="/uniframework/style/buttonMenu.css">
          <script src="/uniframework/script/buttonMenu.js"></script>
          <script src="/uniframework/script/incident_userIncident.js"></script>
          <script src="/uniframework/script/incidentAjax.js"></script>
          <script type='text/javascript' src='/uniframework/dwr/interface/itsmservicelocator.js'></script>
          <script type='text/javascript' src='/uniframework/dwr/engine.js'></script>
          <script type='text/javascript' src='/uniframework/dwr/util.js'></script> 
          <script type="text/javascript">
          /**
           * 清空查詢條件
           */
          function clean(form)
          {
           form.all("model.configApply.NUMBER").value = "";
           form.all("model.configApply.APPLYER_DEPT_NAME").value = "";
           form.all("model.configApply.APPLER").value = "";
          }
          function queryReturn(form,frame)
          {
              frame.name = "iframe1";
              form.target = frame.name;
           form.action="/uniframework/configuration.action?actName=showReturnQuery&info="+currSeleTabId;
           form.submit();
          }

          var currSeleTabId='returning';
          var selectTab="";
          function oninit(tabbarId)
          {
           var tabbar = window[tabbarId];
           selectTab=tabbar;
           tabbar.setOnSelectHandler(seleTable_func);
          }
          function seleTable_func(idn,ido)
          {
           currSeleTabId = idn;
           //alert(idn);
           var form=document.form1;
           var number=form.NUMBER.value;
           var name=form.APPLYER.value;
           var address=form.APPLYER_DEPT_NAME.value;
           var url="/uniframework/configuration.action?actName=showReturnQuery&info="+idn;
           var url1="&model.configApply.number="+number+"&model.configApply.APPLYER="+name+"&model.configApply.APPLYER_DEPT_NAME="+address;
           selectTab.setContentHref(idn,encodeURI(url+url1))
           return true;
          }

          </script>
          </head>


          <body onLoad="form1.NUMBER.focus();">
          <form name="form1" method="post" action="" target="_self">
              <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
               <tr>
              <td width="100%" height="22" valign="top">
               <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="100%" height="22" class=table_title_bg070><span class="text_l14"><img src="/uniframework/images/a01.gif" width="19" height="18"><a class="ameth" href="/uniframework/jsp/provider/moduleHomepage.jsp">資產(chǎn)借用申請(qǐng)</a> &gt;</span></td>
                   <td width="*" valign="top" background="/uniframework/images/table_title_bg070.gif">&nbsp;</td>
                  </tr>
                 </table>
                </td>
               </tr>
           </table><br>
           
           <table width="97%" height="40" border="0" cellspacing="0" cellpadding="0">
            <tr>
               <td>
                 <fieldset class="fieldset" >
                  <legend class="legend"><img src="/uniframework/images/dot12.gif">&nbsp;查詢條件</legend>
                  <table class="fieldsettable" height="30" >
                 <tr height="30">
                  <td class="text17">編號(hào):</td>
                  <td class="text18"><input type="text" class="Input12" id="NUMBER" name="model.configApply.NUMBER" value="<ww:property value = "model.configApply.NUMBER"/>" title="請(qǐng)輸入要查詢的編號(hào)"></td>
                  <td class="text19">部門:</td>
                  <td class="text20">   
                      <input name="model.configApply.APPLYER_DEPT_NAME" type="text" class="Input12" id="APPLYER_DEPT_NAME" value="<ww:property value = "model.configApply.APPLYER_DEPT_NAME"/>">
                 </tr>  
                 <tr height="30">
                  <td class="text17">歸還人:</td>
                  <td class="text18" colspan="2">    
                      <input name="model.configApply.APPLYER" type="text" class="Input12" id="APPLYER" value="<ww:property value = "model.configApply.APPLYER"/>">
                    </td>
                 </tr>  
                </table>
                 </fieldset><br>
                 <table width="94%" border="0" cellpadding="0" cellspacing="0">
                  <tr height="70%">
                   <td width="65%" align="right">
                  <button  class="btn3_mouseout btn0"   onclick="queryReturn(form1,document.frames[0])">查 詢</button>
                 </td>
                 <td width="2%"></td>
                          <td width="5%" align="right">
                              <button class="btn3_mouseout btn0" onclick="clean(form1)">重 置</button>
              
                 </td>   
                          <td width="2%"></td>
                          <td width="5%"> 
                    <button  class="btn3_mouseout btn0" onclick="self.location='/uniframework/configuration.action?actName=toAddAssetsReturn'">新 增</button>
                          </td>
                  </tr>
               </table>
             </td>
            </tr>
            <tr>
               <td>
          <table width="100%" border="0" cellpadding="0" cellspacing="0">
              <tr>
               <td>
                       <div hrefmode="iframe" id="a_tabbar" class="dhtmlxTabBar" imgpath="/uniframework/images/dhTabbarImg/" style="width:98%; height:410px;"  skinColors="#FCFBFC,#F4F3EE" oninit="oninit('a_tabbar');">           
                           <div id="returning" width="100" name="歸還中" href="/uniframework/configuration.action?actName=showReturnQuery&info=initreturn" ></div>
                           <div id="returned" width="100" name="已歸還" href="/uniframework/configuration.action?actName=showReturnQuery&info=returned"></div>
                        <div id="no" width="100" name="審批未通過(guò)" href="/uniframework/configuration.action?actName=showReturnQuery&info=no"></div>
                        <div id="all" width="100" name="所有" href="/uniframework/configuration.action?actName=showReturnQuery&info=all" ></div>
                       </div>
               </td>
              </tr>
          </table>
             </td>
            </tr>
           </table>
           </form>
          </body>

          </html>

          posted on 2008-08-05 10:37 weesun一米陽(yáng)光 閱讀(403) 評(píng)論(0)  編輯  收藏 所屬分類: AJAX總結(jié)備用
          主站蜘蛛池模板: 岢岚县| 沙雅县| 海晏县| 榕江县| 江川县| 临江市| 武功县| 集安市| 十堰市| 云梦县| 宝丰县| 绥宁县| 沂南县| 广安市| 灵宝市| 静安区| 黑龙江省| 德清县| 巴彦县| 余庆县| 建德市| 沙田区| 盘锦市| 孟村| 邵东县| 尼勒克县| 大悟县| 乌什县| SHOW| 驻马店市| 霍城县| 卢龙县| 遂平县| 隆回县| 东兴市| 红原县| 通山县| 通州市| 乌兰察布市| 双流县| 遵义县|