218 lines
9.7 KiB
Plaintext
218 lines
9.7 KiB
Plaintext
<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="Admin_Member_DCData.aspx.cs" Inherits="Mtxfw.VipSite.Admin_Member_DCData" %>
|
|
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head id="Head1" runat="server">
|
|
<title></title>
|
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
|
<meta http-equiv="Cache-Control" content="no-store" />
|
|
<meta http-equiv="Pragma" content="no-cache" />
|
|
<meta http-equiv="Expires" content="0" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=7,IE=9,IE=10" />
|
|
<script src="/Scripts/jquery-1.9.1.min.js" type="text/javascript"></script>
|
|
<script src="/Scripts/common.js" type="text/javascript"></script>
|
|
<link href="/css/bootstrap.min.css" type="text/css" rel="stylesheet" />
|
|
|
|
<!-- Basic Styles -->
|
|
|
|
<meta name="description" content="">
|
|
<meta name="author" content="">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
|
|
<link rel="stylesheet" type="text/css" media="screen" href="/css/bootstrap.css">
|
|
<!--[if IE 7]>
|
|
<link rel="stylesheet" type="text/css" media="screen" href="/css/font-awesome-ie7.min.css">
|
|
<![endif]-->
|
|
<link rel="stylesheet" type="text/css" media="screen" href="/css/smartadmin-production.css">
|
|
<link rel="stylesheet" type="text/css" media="screen" href="/css/smartadmin-skins.css">
|
|
|
|
|
|
<link rel="stylesheet" type="text/css" media="screen" href="/css/your_style.css">
|
|
|
|
<!-- Demo purpose only: goes with demo.js, you can delete this css when designing your own WebApp -->
|
|
<link rel="stylesheet" type="text/css" media="screen" href="/css/demo.css">
|
|
|
|
|
|
<!-- FAVICONS -->
|
|
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
|
|
<link rel="icon" href="/favicon.ico" type="image/x-icon">
|
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="/css/cjadd.css">
|
|
<script src="Scripts/setdate.js" type="text/javascript"></script>
|
|
<script type="text/javascript">
|
|
|
|
function dconchange() {
|
|
|
|
for (var i = 0; i < 14; i++) {
|
|
|
|
if ($("#DataType_" + i).prop("checked") == true) {
|
|
var t = parseInt($("#DataType_" + i).val());
|
|
if (t == 11) {
|
|
$("#ordertype").show();
|
|
$("#orderState").show();
|
|
} else {
|
|
$("#ordertype").hide();
|
|
$("#orderState").hide();
|
|
}
|
|
if (t == 13) {
|
|
$("#smtype").show();
|
|
} else {
|
|
$("#smtype").hide();
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
$(document).ready(function () {
|
|
dconchange();
|
|
});
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<form runat="server">
|
|
<!-- RIBBON -->
|
|
<div id="ribbon">
|
|
|
|
<span class="ribbon-button-alignment"> <span id="refresh" class="btn btn-ribbon" data-title="refresh" rel="tooltip" data-placement="bottom" data-original-title="<i class='text-warning fa fa-warning'></i> 注意!这会重新设置小工具的排位." data-html="true" data-reset-msg="刷新网站?"><i class="fa fa-refresh"></i></span> </span>
|
|
|
|
<!-- breadcrumb -->
|
|
<ol class="breadcrumb">
|
|
<li><a href="/" target="_top">主页</a></li>
|
|
<li><a href="/Member_Index.aspx">会员中心首页</a></li>
|
|
<li><a href="/Admin_Member_config.aspx">后台管理</a></li>
|
|
<li>导出数据</li>
|
|
</ol>
|
|
<!-- end breadcrumb -->
|
|
</div>
|
|
<!-- END RIBBON -->
|
|
<!-- MAIN CONTENT -->
|
|
<div style="opacity: 1;" id="content">
|
|
<div class="frontMain">
|
|
|
|
<h1 class="title01"><span class="semi-bold">导出数据</span></h1>
|
|
<div class="MainContent">
|
|
<%if (t == 0)
|
|
{%>
|
|
<table width="100%" border="0" class="data_table2" cellspacing="1" cellpadding="0">
|
|
<tr>
|
|
<th style=" width:120px;">导出类型</th>
|
|
<td><asp:RadioButtonList ID="DataType" runat="server" RepeatDirection="Horizontal" RepeatColumns="6">
|
|
<asp:ListItem Value="0" Selected="True">会员</asp:ListItem>
|
|
<asp:ListItem Value="4">未激活会员</asp:ListItem>
|
|
<asp:ListItem Value="1">未发放提现</asp:ListItem>
|
|
<asp:ListItem Value="5">已发放提现</asp:ListItem>
|
|
<asp:ListItem Value="2">所有充值</asp:ListItem>
|
|
<asp:ListItem Value="3">奖金明细</asp:ListItem>
|
|
<asp:ListItem Value="6">余额明细</asp:ListItem>
|
|
<%--<asp:ListItem Value="7">消费券明细</asp:ListItem>--%>
|
|
<%--<asp:ListItem Value="8">补贴卷明细</asp:ListItem>--%>
|
|
<%--<asp:ListItem Value="9">权益值明细</asp:ListItem>--%>
|
|
<asp:ListItem Value="11">订单信息</asp:ListItem>
|
|
<asp:ListItem Value="12">操作日志</asp:ListItem>
|
|
<%--<asp:ListItem Value="13">线下扫码</asp:ListItem> --%>
|
|
<asp:ListItem Value="14">兑换劵明细</asp:ListItem>
|
|
</asp:RadioButtonList></td>
|
|
</tr>
|
|
<tr id="smtype" style=" display:none;">
|
|
<th>扫码类型</th>
|
|
<td>
|
|
<asp:DropDownList ID="Drop_smtype" runat="server">
|
|
<asp:ListItem Value="">全部记录</asp:ListItem>
|
|
<asp:ListItem Value="0">扫码</asp:ListItem>
|
|
<asp:ListItem Value="1">积分</asp:ListItem>
|
|
</asp:DropDownList>
|
|
</td>
|
|
</tr>
|
|
<tr id="ordertype" style=" display:none;">
|
|
<th>订单状态</th>
|
|
<td> <asp:DropDownList ID="Drop_ttype" runat="server">
|
|
<asp:ListItem Text="所有订单" Value=""></asp:ListItem>
|
|
<asp:ListItem Text="商城订单" Value="0"></asp:ListItem>
|
|
<asp:ListItem Text="精选商品订单" Value="2"></asp:ListItem>
|
|
<asp:ListItem Text="服务中心订单" Value="4"></asp:ListItem>
|
|
<asp:ListItem Text="事业联盟订单" Value="8"></asp:ListItem>
|
|
<asp:ListItem Text="助农专区订单" Value="9"></asp:ListItem>
|
|
<asp:ListItem Text="推广员订单" Value="10"></asp:ListItem>
|
|
<asp:ListItem Text="爆品专区订单" Value="11"></asp:ListItem>
|
|
<asp:ListItem Text="补贴专区订单" Value="12"></asp:ListItem>
|
|
<asp:ListItem Text="体验专区订单" Value="13"></asp:ListItem>
|
|
</asp:DropDownList></td>
|
|
</tr>
|
|
<tr id="orderState" style=" display:none;">
|
|
<th>订单状态</th>
|
|
<td><asp:DropDownList ID="Drop_State" runat="server">
|
|
<asp:ListItem Text="全部订单" Value=""></asp:ListItem>
|
|
<asp:ListItem Text="未发货" Value="1"></asp:ListItem>
|
|
<asp:ListItem Text="已发货" Value="2"></asp:ListItem>
|
|
</asp:DropDownList></td>
|
|
</tr>
|
|
<tr>
|
|
<th>会员账户</th>
|
|
<td><asp:TextBox ID="Text_UserName" runat="server"></asp:TextBox></td>
|
|
</tr>
|
|
<tr>
|
|
<th>时间选择</th>
|
|
<td><asp:TextBox ID="Text_SJ" onfocus="ca_show('Text_SJ', this, '-');" runat="server"></asp:TextBox>-<asp:TextBox ID="Text_SJ2" onfocus="ca_show('Text_SJ2', this, '-');" runat="server"></asp:TextBox></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th></th>
|
|
<td>
|
|
<div class="title">
|
|
<asp:Button ID="Btn_DCData" runat="server" Text="确认导出" OnClientClick="$('#Btn_DCData').val('正在提交...');$('#Btn_DCData').attr('Enabled',false);" CssClass="abtn" />
|
|
<input type="button" value="<<返回" class="abtn" onclick="history.go(-1);" />
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<%} %>
|
|
<table width="100%" class="data_table">
|
|
<tr>
|
|
<th style="width:30%"><b>导出日期</b></th>
|
|
<th><b>文件名称</b></th>
|
|
<th><b>文件大小</b></th>
|
|
<th><b>操作</b></th>
|
|
</tr>
|
|
<asp:Repeater ID="Repeater1" runat="server">
|
|
<ItemTemplate>
|
|
<tr <%#(Container.ItemIndex + 1)%2==0?"bgColor=\"#f4f4f4\" onmouseover=\"this.bgColor='#fdff7e'\" onmouseout='this.bgColor=\"#f4f4f4\"'":"bgColor=\"#ffffff\" onmouseover=\"this.bgColor='#fdff7e'\" onmouseout='this.bgColor=\"#ffffff\"'"%>>
|
|
<td><%#Eval("FileLastWriteTime").ToString()%></td>
|
|
<td><%#Eval("FileName")%></td>
|
|
<td><%#Eval("FileLength")%>kb</td>
|
|
<td><a href="<%#ConfigurationManager.AppSettings["Dw_Data"]+Eval("FileName")%>" target="_blank">下载</a> <asp:LinkButton ID="Btn_Delete" CommandName='<%#Eval("FileName") %>' OnCommand="Delete_Click"
|
|
OnClientClick="return confirm('确定要删除吗?')" runat="server">删除</asp:LinkButton></td>
|
|
</tr>
|
|
</ItemTemplate>
|
|
</asp:Repeater>
|
|
|
|
<tr>
|
|
<td colspan="4" style="text-align:center">
|
|
<webdiyer:AspNetPager ID="AspNetPager1" AlwaysShow="true" runat="server"
|
|
FirstPageText="首页" LastPageText="尾页" NextPageText="下一页"
|
|
CustomInfoHTML="共 <font color="red">%RecordCount%</font> 条记录 当前 <font color="red">%CurrentPageIndex%/%PageCount%</font> 页"
|
|
PrevPageText="上一页" ShowPageIndexBox="Always" ShowCustomInfoSection="Left"
|
|
SubmitButtonText="Go" TextAfterPageIndexBox="页" ShowBoxThreshold="100"
|
|
CurrentPageButtonPosition="Center" ShowMoreButtons="False" PageIndexBoxType="DropDownList"
|
|
TextBeforePageIndexBox="转到" UrlPaging="True">
|
|
</webdiyer:AspNetPager>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="4" style="color:red;text-align:center">
|
|
系统安全提醒:下载完毕,请及时删除以上文件!
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</html>
|