123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
- <%@taglib prefix="p" uri="http://www.test.com/jsp/permission" %>
- <!doctype html>
- <html>
- <head>
- <%@ include file="../../common/head.jsp"%>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <link href="../res/css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet" />
- <script src="../res/js/plugins/bootstrap-table/bootstrap-table.js"></script>
- <script src="../res/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
- <script src="../res/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
- <script>
-
- function test(value,row,index){
- // return '<a href="#">' + row['id'] + '</a>';
- return '<a href="#">编辑 </a>|<a href="#">删除</a>';
- }
-
- function format_action(value,row,index){
- var orderId;
- var type=0;
- //订单编号为空
- if(row.orderId!=null){
- orderId=row.orderId
- type=1;
- }else{
- orderId=row.id;
- type=0;
- }
- var id=row.order
- var returnhtml = '<a href="javascript:show('+orderId+','+type+');">查看详情 </a>';
- return returnhtml;
- }
-
- function show(id,type){
- $.openDlg({
- url:'transfer.cs?action=view&id=' +id+'&type='+type,
- title:'查看详情',
- width:'95%',
- height:'95%',
- });
- }
-
-
- $(function(){
- $('#btnSearch').click(function () {
- window.location.href = "<%=basePath%>statistics/export.cs";
- });
-
-
- });
- </script>
- </head>
- <body class="gray-bg">
- <div class="wrapper wrapper-content animated fadeInUp">
- <!-- <div class="ibox " style=""> -->
- <!-- <div class="ibox-content"> -->
- <div class="row row-lg">
- <div class="col-sm-12">
- <div class="ibox-content m-b-sm border-bottom">
- <label><a href="#" id="btnSearch" class="btn btn-primary"><i class="icon-search"></i>导出</a></label>
- </div>
- <table id="tab_user"
- data-toggle="table"
- data-url="list2.cs"
- data-method="get"
- data-click-to-select="true"
- data-pagination="true"
- data-data-type="json"
- data-show-refresh="true"
- data-show-columns="true"
- data-show-toggle="true"
- data-search-on-enter-key="true"
- data-toolbar="#def_toolbar"
- data-side-pagination="server"
- data-query-params="queryParams"
- data-mobile-responsive="true"
- >
- <thead>
- <tr>
- <th data-checkbox="true" data-click-to-select="true"></th>
- <th data-field="product_name">产品名称</th>
- <th data-field="gc">所属类别</th>
- <th data-field="user_name">用户姓名</th>
- <th data-field="view_time_str">浏览时间</th>
- <th data-field="view_cont">浏览次数</th>
- <th data-field="tj">是否推介</th>
- <th data-field="modify_date_str">推介时间</th>
- <th data-field="customer_name">客户名称</th>
- <th data-field="will_cnt">订单数量</th>
- <th data-field="ordertype">订单类型</th>
- <th data-field="state_name">推介状态</th>
- <th data-field="modify_date_str">状态时间</th>
- <th data-field="saler_name">跟单人员</th>
- </tr>
- </thead>
- </table>
-
- </div>
-
- </div>
-
- <!-- </div> -->
- <!-- </div> -->
- </div>
-
- </body>
- </html>
|