memberdetail.vm 4.57 KB
<title>会员明细报表</title>
<div class="xn-breadcrumb xn-width auto clearfix ">
    <ul class="breadcrumb">
        <li><a class="icon icon-home_page" href="$customizationLink.setTarget("index")"></a></li>
        <li><a href="$customizationLink.setTarget("report")">报表中心</a></li>
        <li class="active">会员明细报表</li>

    </ul>
</div>

<div class="xn-main  auto xn-width  clearfix" ng-controller="MemberDetailController">
    <div class="pm-task-bottom-top pm-plan-bottom-top  mt_10  mb_10 clearfix">
        <h3>会员明细报表</h3>
    </div>
    <div class="xn-form-table-wrap">
        <div class="xn-input-line clearfix">
            <div class="xn_search_box auto">
                <div class="xn-input-line  clearfix">
                    <label class="xn-col-sm-4 l-h-34 xn-text-right">企业店名:</label>
                    <div class="xn-col-sm-10">
                        <input type="text" class="form-control" ng-model="vm.name">
                    </div>

                    <label class="xn-col-sm-4 l-h-34 xn-text-right">会员账号:</label>
                    <div class="xn-col-sm-10">
                        <input type="text" class="form-control" ng-model="vm.memberAccount">
                    </div>

                    <label class="xn-col-sm-4 l-h-34 xn-text-right">会员手机:</label>
                    <div class="xn-col-sm-10">
                        <input type="text" class="form-control" ng-model="vm.mobile">
                    </div>
                </div>
                <div class="xn-input-line clearfix pt_10">
                    <div class="xn-input-line  clearfix">
                        <button class="btn btn-success btn-sm w_80 f-right ml_10"  ng-click="doExport()">批量导出</button>
                        <button type="button" class="btn btn-success btn-sm w_80 f-right"  ng-click="doFind()">查询</button>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!--数据展示-->
    <div class="xn-table-wrap xn-table-wrap_pt-15">
        <table class="table table-bordered table-striped ">
            <thead>
            <tr>
                <th class="xn-col-sm-3">店铺名称</th>
                <th class="xn-col-sm-6">会员账号</th>
                <th class="xn-col-sm-3">会员状态</th>
                <th class="xn-col-sm-3">联系人</th>
                <th class="xn-col-sm-4">联系电话</th>
                <th class="xn-col-sm-4">手机</th>
                <th class="xn-col-sm-3">分销模式</th>
                <th class="xn-col-sm-3">会员等级</th>
                <th class="xn-col-sm-3">订单总数</th>
                <th class="xn-col-sm-3">订单总额</th>
                <th class="xn-col-sm-3">会员卡余额</th>
                <th class="xn-col-sm-3">积分余额</th>

            </tr>
            </thead>
            <tbody id="tbody">
            <tr class="line" ng-repeat="member in companyMember">
                <td class="xn-col-sm-3">{{member.name}}</td>
                <td class="xn-col-sm-6">{{member.account}}</td>
                <td class="xn-col-sm-3">{{member.customerState | CustomerState}}</td>
                <td class="xn-col-sm-3">{{member.firstName}}</td>
                <td class="xn-col-sm-4">{{member.number}}</td>
                <td class="xn-col-sm-4">{{member.mobilePhone}}</td>
                <td class="xn-col-sm-3">{{member.customerType | CustomerType}}</td>
                <td class="xn-col-sm-3">{{member.levelName}}</td>
                <td class="xn-col-sm-3">{{member.orderCount}}</td>
                <td class="xn-col-sm-3">{{member.orderAmount}}</td>
                <td class="xn-col-sm-3">{{member.balance}}</td>
                <td class="xn-col-sm-3">{{member.point}}</td>


            </tr>
            <tr ng-show="vm.totalCount == 0">
                <td colspan="12" class="xn-center">无法找到相应的记录</td>
            </tr>

            </tbody>
        </table>
        <div class="xn-text-center clearfix" >
            <div class="f-left mt_20 mb_10">共{{vm.totalCount}}条</div>
            <pagination  ng-show="vm.totalCount>vm.pageSize"  ng-change="getList()"  max-size="5" total-items="vm.totalCount"
                         ng-model="vm.pageNumber" items-per-page="vm.pageSize"  class="pagination-sm"  boundary-links="true"
                         previous-text="&lsaquo;" next-text="&rsaquo;" first-text="&laquo;" last-text="&raquo;"></pagination>
        </div>
                </div>

</div>
<script type="text/javascript" src="$customizationContent.getURI('dist/scripts/report.js')"></script>