UPD:风控优化页面

master
duLingLing 5 years ago
parent aceb124d3d
commit c01428bc1f

@ -451,7 +451,7 @@ margin-bottom: 10%;"/>
</p>
<ul class="sidebar-menu" ng-class="{'active':Risk}">
<li ui-sref-active="active">
<a ui-sref="analysis_monitoring.risk_business_bd" ng-if="('100' | withRole)" ui-sref-opts="{reload:true}">
<a ui-sref="analysis_monitoring.risk_business.risk_business_bd" ng-if="('100' | withRole)" ui-sref-opts="{reload:true}">
<i class="fa fa-list-alt"></i> <span>风控业务|Risk Business</span>
</a>
</li>

@ -107,7 +107,7 @@ define(['angular', 'jquery', 'uiRouter', './monitoring/analysis-monitoring'],
templateUrl: '/static/analysis/templates/risk_business_bd.html',
cache: false,
controller: 'riskBusinessCtrl'
}).state('analysis_monitoring.riskEvent_detail', {
}).state('analysis_monitoring.risk_business.riskEvent_detail', {
url: '/{risk_id}/detail',
templateUrl: '/static/analysis/templates/riskEvent_detail.html',
controller: 'riskEventDetailCtrl',
@ -116,7 +116,7 @@ define(['angular', 'jquery', 'uiRouter', './monitoring/analysis-monitoring'],
return $http.get('/risk/business/events/' + $stateParams.risk_id);
}]
}
}).state('analysis_monitoring.riskEvent_detail_bd', {
}).state('analysis_monitoring.risk_business.riskEvent_detail_bd', {
url: '/{risk_id}/bd/detail',
templateUrl: '/static/analysis/templates/riskEvent_detail_bd.html',
controller: 'riskEventDetailCtrl',
@ -125,11 +125,11 @@ define(['angular', 'jquery', 'uiRouter', './monitoring/analysis-monitoring'],
return $http.get('/risk/business/events/' + $stateParams.risk_id);
}]
}
}).state('analysis_monitoring.risk_business.new_riskEvent', {
}).state('analysis_monitoring.risk_business.risk_business.new_riskEvent', {
url: '/new_riskEvent',
templateUrl: '/static/analysis/templates/new_riskEvent.html',
controller: 'newRiskEventCtrl'
}).state('analysis_monitoring.riskEvent_detail.audit_material', {
}).state('analysis_monitoring.risk_business.riskEvent_detail.audit_material', {
url: '/audit_material',
templateUrl: '/static/analysis/templates/audit_material.html',
controller: 'auditMaterialCtrl'
@ -423,7 +423,7 @@ define(['angular', 'jquery', 'uiRouter', './monitoring/analysis-monitoring'],
content: 'Update riskEvent successfully',
type: 'success'
});
$state.reload('analysis_monitoring.riskEvent_detail');
$state.reload('analysis_monitoring.risk_business.riskEvent_detail');
}, function (resp) {
commonDialog.alert({
title: 'Error',
@ -451,7 +451,7 @@ define(['angular', 'jquery', 'uiRouter', './monitoring/analysis-monitoring'],
content: 'Are you sure?'
}).then(function () {
$http.put('/risk/business/channel/' + channel + '/permission/' + channelFlag, $scope.riskEvent).then(function () {
$state.reload('analysis_monitoring.riskEvent_detail');
$state.reload('analysis_monitoring.risk_business.riskEvent_detail');
}, function (resp) {
commonDialog.alert({
title: 'Failed to change ' + channel + ' channel permission status',
@ -470,7 +470,7 @@ define(['angular', 'jquery', 'uiRouter', './monitoring/analysis-monitoring'],
content: 'Are you sure?'
}).then(function () {
$http.put('/risk/business/partner/' + isValid, $scope.riskEvent).then(function () {
$state.reload('analysis_monitoring.riskEvent_detail');
$state.reload('analysis_monitoring.risk_business.riskEvent_detail');
}, function (resp) {
commonDialog.alert({title: 'Error', content: resp.data.message, type: 'error'});
})

@ -18,10 +18,10 @@
<div class="nav-tabs-custom">
<ul class="nav nav-tabs">
<li ui-sref-active-eq="active">
<a ui-sref="analysis_monitoring.riskEvent_detail" ui-sref-opts="{reload:true}">Risk Detail</a>
<a ui-sref="analysis_monitoring.risk_business.riskEvent_detail" ui-sref-opts="{reload:true}">Risk Detail</a>
</li>
<li ui-sref-active="active">
<a ui-sref=".audit_material" ui-sref-opts="{reload:true}">Audit material</a>
<a ui-sref="analysis_monitoring.risk_business.riskEvent_detail.audit_material" ui-sref-opts="{reload:true}">Audit material</a>
</li>
<li>
<div class="btn-group pull-right" role="group" aria-label="..." ng-if="('10000000000'|withRole) && (riskEvent.result_type==1 || riskEvent.result_type==4)">
@ -384,7 +384,7 @@
</a>
<a role="button"
ng-click="goBack()"
ui-sref="analysis_monitoring.risk_business"
class="btn btn-info pull-right">返回
</a>

@ -203,7 +203,7 @@
</button>
<a role="button"
class="btn btn-info"
ui-sref=".new_riskEvent"
ui-sref="analysis_monitoring.risk_business.new_riskEvent"
title="New Event" ng-if="'10000000000'|withRole">
<i class="fa fa-plus"></i> New Event
</a>
@ -265,7 +265,7 @@
<a class="text-primary"
role="button"
title="Detail"
ui-sref="analysis_monitoring.riskEvent_detail({risk_id:riskEvent.risk_id})">
ui-sref="analysis_monitoring.risk_business.riskEvent_detail({risk_id:riskEvent.risk_id})">
<i class="fa fa-search"></i> Detail
</a>
</td>

@ -152,7 +152,7 @@
<a class="text-primary"
role="button"
title="Detail"
ui-sref="analysis_monitoring.riskEvent_detail_bd({risk_id:riskEvent.risk_id})">
ui-sref="analysis_monitoring.risk_business.riskEvent_detail_bd({risk_id:riskEvent.risk_id})">
<i class="fa fa-search"></i> Detail
</a>
</td>

Loading…
Cancel
Save