123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DZKJ_DistributorAccount.aspx.cs" Inherits="LYFZ.WeixinServers.DZKJ.DZKJ_DistributorAccount" %>
- <!--#include file="/WeiXinAPP/html/head.html" -->
- <!--#include file="/WeiXinAPP/html/leftMenu.html" -->
- <div class="content">
- <ul class="breadcrumb">
- <!--#include file="/WeiXinAPP/html/indexBread.html" -->
- <li class="active">点赞科技分销商列表</li>
- </ul>
- <div class="container-fluid">
- <div class="row-fluid">
- <div style="width: 100%; min-height: 700px;">
- <div class="btn-toolbar">
- <div style="width: 320px; height: 24px; float: left;">
- <form id="tab2">
- <label style="width: 50px; height: 100%; padding-top: 5px; float: left;">关键字</label>
- <div style="width: 200px; height: 100%; float: left; margin-right: 5px;">
- <input id="Keyword" name="Keyword" type="text" class="span12" />
- </div>
- <button class="btn">查询</button>
- </form>
- </div>
- <a class="btn" href="/DZKJ/DZKJ_DistributorAccount.aspx?IsEnabled=0">已禁用</a>
- <a class="btn btn-primary" href="/DZKJ/DZKJ_AddDistributor.aspx"><i class="icon-plus"></i>添加分销商</a>
- <!-- <button class="btn">Import</button>
- <button class="btn">Export</button>-->
- <div class="btn-group">
- </div>
- </div>
- <div class="well">
- <table class="table">
- <thead>
- <tr>
- <th>状态</th>
- <th>分销商企业名</th>
- <th>帐号</th>
- <th>联系人</th>
- <th>性别</th>
- <th>联系电话</th>
- <th>购买总套数</th>
- <th>剩余套数</th>
- <th>注册时间</th>
- <th>最新登录IP</th>
- <th>最新登录时间</th>
- <th style="width: 80px;">操作</th>
- </tr>
- </thead>
- <tbody>
- <%=this.CustomerAccountListHtmlTb.ToString() %>
- </tbody>
- </table>
- </div>
- <%=PagingInfoHtml %>
- </div>
- <!--#include file="/WeiXinAPP/html/DeleteDialog.html" -->
- <!--#include file="/WeiXinAPP/html/footer.html" -->
- </div>
- </div>
- </div>
- <div class="modal hide fade" id="ChargeModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
- <h3 id="myModalLabel">充值</h3>
- </div>
- <div class="modal-body">
- <div class="form-horizontal">
- <div class="control-group">
- <label class="control-label">充值数量:</label>
- <div class="controls">
- <input type="text" name="charge" class="form-control" value="" />
- </div>
- </div>
- </div>
- </div>
- <div class="modal-footer">
- <button class="btn" data-dismiss="modal" aria-hidden="true">取消</button>
- <button class="btn btn-danger" id="btn-confirm">确定</button>
- </div>
- </div>
- <script type="text/javascript">
- function setModalValue(i) {
- $('#myModal').attr("rel", i);
- }
- </script>
- <script type="text/javascript">
- $(document).ready(function () {
- var Keyword = GetQueryString("Keyword");
- if (Keyword) {
- $("#Keyword").val(Keyword);
- }
- var $chargeModel = $("#ChargeModal")
- $('.btn-charge').on('click', function () {
- $chargeModel.data($(this).data());
- })
- $("#btn-confirm").on("click", function () {
- $.post("DZKJ_DistributorAccount.aspx?a=recharge", {
- distributorId: $chargeModel.data("distributorId"),
- amount: $chargeModel.find("input").val()
- }).done(function () {
- window.location.reload();
- });
- })
- });
- //打印出js 对象
- function writeObj(obj) {
- var description = "";
- for (var i in obj) {
- var property = obj[i];
- description += i + " = " + property + "\n";
- }
- alert(description);
- }
- function myModalDefine(objModal) {
- var relValue = objModal.attr("rel");
- document.location = "DZKJ_DistributorAccount.aspx?del=" + relValue;
- }
- </script>
- <!--#include file="/WeiXinAPP/html/bottom.html" -->
|