fix 优化风控权限

master
luoyang 5 years ago
parent b602e08f00
commit a04f2604db

@ -25,7 +25,7 @@
</li>
</ul>
<div class="tab-content" ui-view>
<div class="row" ng-if="!editFlag">
<div class="row" ng-if="!editFlag && ('10000000000'|withRole)">
<div class="col-sm-12">
<div class="nav-tabs-custom">
<div class="tab-content">
@ -191,13 +191,15 @@
<div class="col-xs-2" ng-if="enableChannel == 1">
<button class="btn btn-info"
type="button"
ng-click="updateChannel(riskEvent.order_type, false, true)">临时关闭渠道
ng-click="updateChannel(riskEvent.order_type, false, true)"
ng-if="'10000000000'|withRole">临时关闭渠道
</button>
</div>
<div class="col-xs-2" ng-if="clientInfo.is_valid == 1">
<button class="btn btn-info"
type="button"
ng-click="updateClient(true, true)">临时关闭商户
ng-click="updateClient(true, true)"
ng-if="'10000000000'|withRole">临时关闭商户
</button>
</div>
</div>
@ -208,11 +210,12 @@
<div class="col-xs-6">
<input type="checkbox"
bs-switch
ng-model="clientInfo.is_valid">
ng-model="clientInfo.is_valid"
ng-if="'10000000000'|withRole">
</div>
</div>
<div class="form-group">
<div class="form-group" ng-if="'10000000000'|withRole">
<label class="control-label col-sm-2">加入用户黑名单</label>
<div class="col-xs-6">
<input type="checkbox"
@ -227,17 +230,19 @@
<div class="col-xs-2" ng-if="riskEvent.temporary_close_channel != 1 && enableChannel == 1">
<button class="btn btn-info"
type="button"
ng-click="updateChannel(riskEvent.order_type, false, false)">关停渠道
ng-click="updateChannel(riskEvent.order_type, false, false)"
ng-if="'10000000000'|withRole">关停渠道
</button>
</div>
<div class="col-xs-2" ng-if="riskEvent.temporary_close_merchant != 1 && clientInfo.is_valid == 1">
<button class="btn btn-info"
type="button"
ng-click="updateClient(true, false)">关停商户
ng-click="updateClient(true, false)"
ng-if="'10000000000'|withRole">关停商户
</button>
</div>
<div class="col-xs-2">
<div class="col-xs-2" ng-if="'10000000000'|withRole">
<button class="btn btn-info"
ng-if="enableChannel == 0"
type="button"
@ -247,12 +252,13 @@
<div class="col-xs-2" ng-if="clientInfo.is_valid == 0">
<button class="btn btn-info"
type="button"
ng-click="updateClient(false, false)">重新启用商户
ng-click="updateClient(false, false)"
ng-if="'10000000000'|withRole">重新启用商户
</button>
</div>
</div>
<div class="form-group" ng-if="riskEvent.channel_result != null">
<div class="form-group" ng-if="riskEvent.channel_result != null && ('10000000000'|withRole)">
<label class="control-label col-sm-2">Channel Handle Result</label>
<div class="col-sm-10">
<p class="form-control-static">
@ -359,13 +365,13 @@
</div>
<a role="button"
ng-if="riskEvent.result_type <= 1 && riskEvent.order_type < 4"
ng-if="riskEvent.result_type <= 1 && riskEvent.order_type < 4 && ('10000000000'|withRole)"
class="btn btn-info"
ng-click="resendUploadEmail()">Send Email {{riskEvent.result_type == 1 ? 'again' : ''}}
</a>
<a role="button"
ng-if="riskEvent.order_type == 4 && riskEvent.result_type == 0"
ng-if="riskEvent.order_type == 4 && riskEvent.result_type == 0 && ('10000000000'|withRole)"
class="btn btn-info"
ng-click="resendUploadEmail()">Send Warning Email
</a>

@ -204,7 +204,7 @@
<a role="button"
class="btn btn-info"
ui-sref=".new_riskEvent"
title="New Event">
title="New Event" ng-if="'10000000000'|withRole">
<i class="fa fa-plus"></i> New Event
</a>
</div>

Loading…
Cancel
Save