赞
踩
- <body>
- <jsp:include page="DownloadAndPolicySearch.jsp" flush="true"/>
- <script type="text/javascript">
- function searchPolicyForPage() {
- var ttt = $("#searchInpput").val();
- grid.load({'key':ttt});
- }
- </script>
- <div class="top">
- <div class="content">
- <a href="<%=request.getContextPath() %>/fabao/shouye.htm" class="logo"></a>
- <a href="#" class="search" οnclick="gotoSearch();"></a>
- <input tyle="text" placeholder="点击搜索" οnclick="gotoSearch();" name="searchInpput" id="searchInpput" class="searchInp f_r"/><br/>
- <a href="<%=request.getContextPath() %>/fabao/shouye.htm" class="menu_a f_r">首页</a>
- </div>
- </div>
- <div class="content" style="padding-top: 50px;">
- <div class="f_l" style="width:290px;height: 750px;background: #f0f0f0;margin-bottom: 50px;">
- <a href="<%=request.getContextPath() %>/fabao/list.htm" class="menu_b">发包公告</a>
- <a href="<%=request.getContextPath() %>/fabao/listZhongbiao.htm" class="menu_b">中标公示</a>
- <a href="<%=request.getContextPath() %>/fabao/listFeibiao.htm" class="menu_b">废标公示</a>
- <a href="<%=request.getContextPath() %>/fabao/listDownload.htm" class="menu_b menu_b_ac">下载专区</a>
- <a href="<%=request.getContextPath() %>/fabao/listPolicy.htm" class="menu_b">政策法规</a>
- </div>
- <div class="f_r" style="width:900px;height: 750px;background: #f0f0f0">
- <div class="list_title">下载专区</div>
- <div class="mini-fit">
- <div id="grid" class="mini-datagrid" style="width:100%;height:100%;" allowResize="false"
- pageSize="26" showPageSize="true" showPager="true" idField="id" multiSelect="false" showTotalCount="true"
- url="<%=request.getContextPath() %>/fabao/getDownloadList.action" >
- <div property="columns">
- <div type="indexcolumn" headerAlign="center" width="5">序号</div>
- <div field="w_bdmc" width="70" headerAlign="center" allowSort="true" renderer="test">表单名称</div>
- <div field="w_sj" width="25" headerAlign="center" align="center" allowSort="true" >发布时间</div>
- <div displayField="下载" width="15" headerAlign="center" align="center" allowSort="true" renderer="test2">点击下载</div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="content bottom cl">
- <%=ConstantBean.COPYRIGHT_QIDU %>
- </div>
- </body>
- </html>
- <script type="text/javascript">
- mini.parse();
- var grid = mini.get("grid");
- if(('${key }' != null || '${issueDate }' != null || '${projectType }'!=null || '${projectCode }'!=null || '${deadline }'!=null)){
- var projectName = '${key }';
- var issueDate = '${issueDate }';
- var projectType = '${projectType }';
- var projectCode = '${projectCode }';
- var deadline = '${deadline }';
- grid.load({'key':projectName,'issueDate':issueDate,'projectType':projectType,'projectCode':projectCode,'deadline':deadline});
- }else if(('${key }' == null ||('${key }' == "") && ('${issueDate }' == null || '${issueDate }' == "") && ('${projectType }'==null || '${projectType }'=="") && ('${projectCode }'==null|| '${projectCode }'=="") && ('${deadline }'==null|| '${deadline }'==""))){
- grid.load();
- }
-
- function test2(e){
- var row = e.record;
- return "<a href='<%=request.getContextPath() %>/fabao/download.action?filename="+row.filename+"' >下载</a>";
- }
- </script>

Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。