|
|
|
@ -78,24 +78,32 @@
|
|
|
|
|
<loadingbar ng-if="client_loading"></loadingbar>
|
|
|
|
|
<div class="col-sm-12 col-xs-12">
|
|
|
|
|
<div style="margin-top: 5px">
|
|
|
|
|
<div class="list-group col-sm-12 col-xs-12" ng-repeat="(key,clients) in clientsMap">
|
|
|
|
|
<div class="list-group col-sm-12 col-xs-12"
|
|
|
|
|
ng-repeat="(key, clients) in clientsMap">
|
|
|
|
|
<a class="list-group-item active col-sm-12 col-xs-12">
|
|
|
|
|
{{key|choose_merchant_id}}
|
|
|
|
|
|
|
|
|
|
<!--为了页面的优化,注释此段代码,其下亦是如此
|
|
|
|
|
<span ng-show="clients.length>59" class="small-box-footer cursor pull-right"
|
|
|
|
|
ng-click="isCollapsed = !isCollapsed"><span
|
|
|
|
|
ng-if="clients.length>59">更多 <i class="fa fa-arrow-circle-right"
|
|
|
|
|
ng-class="{'i-rotate_90':!isCollapsed}"></i></span></span>
|
|
|
|
|
-->
|
|
|
|
|
</a>
|
|
|
|
|
<a class="list-group-item col-sm-2 col-xs-6 cursor"
|
|
|
|
|
ng-repeat="client in clients | orderBy:'client_count':true"
|
|
|
|
|
ng-click="showClient(client.sub_merchant_id);toShow=!toShow" ng-if="$index<60">
|
|
|
|
|
ng-repeat="client in clients.slice(0, endIndexMap[key]) | orderBy:'client_count':true"
|
|
|
|
|
ng-click="showClient(client.sub_merchant_id); toShow = !toShow">
|
|
|
|
|
<span>
|
|
|
|
|
{{client.sub_merchant_id}} <i class="fa fa-clock-o text-danger"
|
|
|
|
|
{{client.sub_merchant_id}}
|
|
|
|
|
<i class="fa fa-clock-o text-danger"
|
|
|
|
|
title="Using temp Sub Merchant ID"
|
|
|
|
|
ng-if="client.temp_sub_merchant"></i></span>
|
|
|
|
|
ng-if="client.temp_sub_merchant">
|
|
|
|
|
</i>
|
|
|
|
|
</span>
|
|
|
|
|
<span class="badge pull-right position_re">
|
|
|
|
|
{{client.client_count}}
|
|
|
|
|
<div ng-if="sub_merchant_id==client.sub_merchant_id&&toShow" class="popover fade in position_ab"
|
|
|
|
|
<div ng-if="sub_merchant_id==client.sub_merchant_id&&toShow"
|
|
|
|
|
class="popover fade in position_ab"
|
|
|
|
|
role="tooltip" style="display: block;">
|
|
|
|
|
<div class="arrow"></div>
|
|
|
|
|
<h3 class="popover-title popover-color">Clients</h3>
|
|
|
|
@ -104,7 +112,8 @@
|
|
|
|
|
ng-repeat="client_moniker in client_monikers"
|
|
|
|
|
ng-show="$index<client_monikers.length-1"
|
|
|
|
|
ui-sref="partners.detail({clientMoniker:client_moniker.client_moniker})">
|
|
|
|
|
{{client_moniker.client_moniker}}<span class="text-black">,</span>
|
|
|
|
|
{{client_moniker.client_moniker}}
|
|
|
|
|
<span class="text-black">,</span>
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button" class="btn btn-link"
|
|
|
|
|
ng-repeat="client_moniker in client_monikers" ng-if="$last"
|
|
|
|
@ -114,8 +123,8 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
<!--
|
|
|
|
|
<a class="list-group-item col-sm-2 col-xs-6 cursor" ng-hide="isCollapsed"
|
|
|
|
|
ng-repeat="client in clients | orderBy:'client_count':true"
|
|
|
|
|
ng-click="showClient(client.sub_merchant_id);toShow=!toShow" ng-if="$index>59">
|
|
|
|
@ -124,7 +133,7 @@
|
|
|
|
|
title="Using temp Sub Merchant ID"
|
|
|
|
|
ng-if="client.temp_sub_merchant"></i></span>
|
|
|
|
|
<span class="badge pull-right position_re" aria-hidden="true" title="show detail">
|
|
|
|
|
{{client.client_count}}
|
|
|
|
|
{{client.client_count}}</span>
|
|
|
|
|
<div ng-if="sub_merchant_id==client.sub_merchant_id&&toShow" class="popover fade in position_ab"
|
|
|
|
|
role="tooltip" style="display: block;">
|
|
|
|
|
<div class="arrow"></div>
|
|
|
|
@ -145,6 +154,21 @@
|
|
|
|
|
</div>
|
|
|
|
|
</span>
|
|
|
|
|
</a>
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
<a ng-if="clients.length > 60"
|
|
|
|
|
class="list-group-item col-sm-12 col-xs-12 text-center" >
|
|
|
|
|
<span class="small-box-footer cursor"
|
|
|
|
|
ng-click="more(key)"
|
|
|
|
|
ng-if="endIndexMap[key] < clients.length">
|
|
|
|
|
更多 <i class="fa fa-arrow-circle-down"></i>
|
|
|
|
|
</span>
|
|
|
|
|
<span class="small-box-footer cursor pull-right"
|
|
|
|
|
ng-click="packup(key)"
|
|
|
|
|
ng-if="endIndexMap[key] > 60">
|
|
|
|
|
收起 <i class="fa fa-arrow-circle-up"></i>
|
|
|
|
|
</span>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|