master
kira 6 years ago
commit 7cd1310384

@ -481,9 +481,9 @@
<a class="text-primary" role="button" title="Detail" <a class="text-primary" role="button" title="Detail"
ng-click="openClientBoard(partner)" ng-click="openClientBoard(partner)"
ng-if="(partner.approve_result==1) || (partner.approve_result == 2 && (partner.source==1 || partner.source==2))"> ng-if="(partner.approve_result==1) || (partner.approve_result == 2 && (partner.source==1 || partner.source==2))">
<span ng-bind="partner.client_moniker"></span><span ng-if="partner.is_valid==0" ng-class="{pass_timeout:partner.is_valid==0}">(已禁用)</span></a> <span ng-bind="partner.client_moniker"></span></a>
<span ng-bind="partner.client_moniker" ng-if="partner.approve_result!=1 && !(partner.approve_result==2 && (partner.source==1 || partner.source==2))"></span> <span ng-bind="partner.client_moniker" ng-if="partner.approve_result!=1 && !(partner.approve_result==2 && (partner.source==1 || partner.source==2))"></span>
<span ng-if="partner.is_valid==0" ng-class="{pass_timeout:partner.is_valid==0}">(已禁用)</span>
<i class="fa fa-sitemap" ng-if="partner.parent_client_id" <i class="fa fa-sitemap" ng-if="partner.parent_client_id"
title="Sub Partner"></i> title="Sub Partner"></i>
<i class="text-danger fa fa-envelope-o" <i class="text-danger fa fa-envelope-o"

@ -1,4 +1,5 @@
$("#bank-li").hide(); $("#bank-li").hide();
$("#bankCard-li").hide();
var currentIndex = 0; var currentIndex = 0;
$(".main .main-left ul li.tab-item").click(function () { $(".main .main-left ul li.tab-item").click(function () {
var selectedIndex = $(this).index(); var selectedIndex = $(this).index();
@ -7,8 +8,10 @@ $(".main .main-left ul li.tab-item").click(function () {
$(this).siblings().children(".s1").removeClass("s1-change-color"); $(this).siblings().children(".s1").removeClass("s1-change-color");
if (selectedIndex == 2) { if (selectedIndex == 2) {
$("#bank-li").show(); $("#bank-li").show();
$("#bankCard-li").show();
} else { } else {
$("#bank-li").hide(); $("#bank-li").hide();
$("#bankCard-li").hide();
} }
}); });

Loading…
Cancel
Save