waysun一路阳光

不轻易服输,不轻言放弃.--心是梦的舞台,心有多大,舞台有多大。踏踏实实做事,认认真真做人。

  BlogJava :: 首页 :: 新随笔 :: 联系 ::  :: 管理 ::
  167 随笔 :: 1 文章 :: 64 评论 :: 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>申请表</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">资产借用申请</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">编号:</td>
        <td class="text18"><input type="text" class="Input12" id="NUMBER" name="model.configApply.NUMBER" value="<ww:property value = "model.configApply.NUMBER"/>" title="请输入要查询的编号"></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="审批未通过" 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一米阳光 阅读(380) 评论(0)  编辑  收藏 所属分类: AJAX总结备用

只有注册用户登录后才能发表评论。


网站导航: